body {
    font-family: 'Roboto', sans-serif;
    background-color: #F7F7F7;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar .logo {
    font-size: 2rem;
    font-weight: bold;
    color: #ff0000;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s, transform 0.3s;
}

.nav-links a:hover {
    color: #ff0000;
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 3rem 2rem;
    background: #f8f8f8;
}

.hero h1 {
    margin: 0;
    font-size: 3rem;
    color: #333333;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
}

/* Game Links Section */
.game-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 1rem 2rem;
}

.game-card {
    background-color: #ff0000;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 1.5rem 3rem;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease; /* Smoother transition */
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.game-card:hover {
    background-color: #cc0000;
    transform: scale(1.05);  /* Slight scale up for a more polished hover effect */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);  /* A bit more shadow on hover */
}


/* Responsive adjustments */
@media (max-width: 1200px) {
    .game-links {
        justify-content: center;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .game-links {
        gap: 1rem;
    }

    .game-card {
        flex-basis: auto; /* Allow the buttons to adjust naturally */
        padding: 1rem 2.5rem;  /* Slightly increased padding */
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .game-links {
        gap: 0.5rem;
    }

    .game-card {
        flex-basis: 100%; /* Stack buttons fully on small screens */
        padding: 0.75rem 2rem;  /* Increased padding on smaller screens */
        font-size: 1rem;
    }
}

/* Games header */
.games {
    text-align: center;
}

.games h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}



/* About Section */
.about {
    padding: 4rem 2rem;
    text-align: center;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about p {
    font-size: 1.25rem;
    color: #555;
}

/* Tab Container Styles */
.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.tab-container {
    width: 100%;
    margin-bottom: 20px;
}

.tabs {
    display: flex;
    justify-content: space-between;
    background-color: #333333;
    border-bottom: 2px solid #b30000;
}

.tabs button {
    background-color: inherit;
    color: white;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 20px;
    transition: background-color 0.3s ease;
    font-size: 16px;
    flex-grow: 1;
    text-align: center;
}

.tabs button:hover {
    background-color: #b30000;
}

.tabs button.active {
    background-color: #b30000;
    font-weight: bold;
}

.tabcontent {
    display: none;
    padding: 20px;
    animation: fadeEffect 0.5s;
    background-color: #ffffff;
    color: #333333;
    text-align: left;
}

.tabcontent h2 {
    margin-top: 0;
}

/* Fade in animation */
@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}

/* Contact Section */
.contact {
    padding: 4rem 2rem;
    text-align: center;
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact p {
    font-size: 1.25rem;
    color: #555;
}

/* Footer Styles */
.footer {
    text-align: center;
    padding: 2rem 2rem;
    background-color: #f8f8f8;
    border-top: 1px solid #e0e0e0;
}

.footer p {
    margin: 0;
    color: #333;
    font-size: 0.9rem;
}
