html, body {
    background-color: black;
    color: white;
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

header {
    padding: 20px;
    background-color: #333;
    width: 100%;
}

header nav {
    display: flex;
    justify-content: center;
    gap: 30px;
}

header nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    position: relative;
}

header nav a.blocked::after {
    content: attr(title);
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: #555;
    color: #fff;
    padding: 5px;
    border-radius: 3px;
    display: none;
    white-space: nowrap;
}

header nav a.blocked:hover::after {
    display: block;
}

header nav a.blocked {
    cursor: not-allowed;
    color: grey;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.logo img {
    max-width: 80%;
    height: auto;
}

.description {
    margin: 20px 0;
    padding: 0 20px;
    font-size: 18px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 20px;
    flex: 1;
}

.game-block {
    background-color: #222;
    margin: 10px;
    padding: 20px;
    width: 646px;
    text-align: left;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    max-width: 90vw; /* Adjust to prevent horizontal overflow */
    overflow: hidden; /* Ensure content doesn't cause overflow */
}

.game-block iframe {
    width: 100%; /* Ensure iframe takes full width of the container */
}

.game-block:hover {
    transform: scale(1.05);
}

.footer {
    background-color: #333;
    padding: 20px;
    margin-top: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer a {
    color: #FFA500;
    text-decoration: none;
}

.footer .social-media {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.footer .social-media a img {
    width: 24px;
    height: 24px;
}

.copyright {
    margin-top: 20px;
    font-size: 14px;
    color: grey;
}
