/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-image: url('../images/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.site-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

/* Header Styles */
.site-header {
    position: relative;
    z-index: 10;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-nav {
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 1px;
    transition: color 0.3s;
    text-transform: uppercase;
}

.nav-links a:hover, .nav-links a.active {
    color: #2a4fd0;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* Main Content Styles */
.site-content {
    flex: 1;
    position: relative;
    z-index: 5;
    padding: 40px 20px;
}

.home-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.main-title {
    font-size: 48px;
    margin-bottom: 40px;
    color: #fff;
    text-shadow: 0 0 10px rgba(42, 79, 208, 0.7);
}

/* Registration Form Styles */
.registration-container {
    background-color: rgba(26, 26, 26, 0.95);
    max-width: 500px;
    margin: 0 auto 60px;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(42, 79, 208, 0.5);
    color: #fff;
    border: 1px solid #2a4fd0;
}

.register-title {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 500;
    color: #fff;
}

.seconds-text {
    color: #2a4fd0;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #2a4fd0;
    background-color: rgba(26, 26, 26, 0.8);
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    margin-top: 5px;
    margin-right: 10px;
}

.checkbox-group label {
    font-size: 12px;
    line-height: 1.4;
}

.register-btn, .play-btn, .submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #2a4fd0;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.register-btn:hover, .play-btn:hover, .submit-btn:hover {
    background-color: #3a5fe0;
    transform: translateY(-2px);
}

/* Featured Games Section */
.featured-games-section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    margin-bottom: 40px;
    color: #fff;
}

.games-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.game-card {
    background-color: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(42, 79, 208, 0.3);
    width: 220px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #2a4fd0;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(42, 79, 208, 0.5);
}

.game-image {
    height: 150px;
    overflow: hidden;
    position: relative;
}

.game-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(26, 26, 26, 1) 0%, rgba(26, 26, 26, 0) 50%);
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-info {
    padding: 15px;
}

.game-info h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #fff;
}

.play-btn {
    padding: 10px;
    font-size: 14px;
}

/* Why Choose Us Section - Redesigned with diagonal gradient cards */
.why-choose-us-section {
    padding: 80px 0;
    background-color: #000;
    position: relative;
    overflow: hidden;
    margin: 60px 0;
}

.why-choose-title {
    color: #fff;
    font-size: 48px;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    z-index: 2;
    font-weight: 400;
}

.features-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.feature-card {
    position: relative;
    border-radius: 20px;
    padding: 40px 30px;
    width: 100%;
    max-width: 350px;
    text-align: center;
    border: 1px solid #2a4fd0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #1a1a1a;
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Diagonal gradient overlay */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, #2a4fd0 150%);
    z-index: 0;
    transition: background 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(42, 79, 208, 0.4);
}

.feature-card:hover::before {
    background: linear-gradient(135deg, transparent 0%, #2a4fd0 120%);
}

.feature-title {
    color: #fff;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.feature-text {
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Disclaimer Section */
.disclaimer-section {
    background-color: rgba(26, 26, 26, 0.8);
    padding: 30px;
    border-radius: 15px;
    margin: 60px auto;
    max-width: 1000px;
    border: 1px solid #2a4fd0;
}

.disclaimer-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #fff;
}

.disclaimer-text {
    font-size: 14px;
    color: #ccc;
    text-align: left;
}

/* Footer Styles */
.site-footer {
    position: relative;
    z-index: 10;
    background-color: rgba(20, 20, 30, 0.9);
    padding: 40px 0 20px;
    border-top: 1px solid rgba(42, 79, 208, 0.3);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 2fr;
    }
}

.footer-logo h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
}

.footer-nav h4, .footer-legal h4, .footer-support h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #2a4fd0;
}

.footer-nav ul, .footer-legal ul, .footer-support ul {
    list-style: none;
}

.footer-nav a, .footer-legal a, .footer-support a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    line-height: 2;
    transition: color 0.3s;
}

.footer-nav a:hover, .footer-legal a:hover, .footer-support a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 15px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    border: 1px solid #2a4fd0;
    box-shadow: 0 0 30px rgba(42, 79, 208, 0.5);
}

.modal-content h2 {
    color: #2a4fd0;
    margin-bottom: 15px;
    font-size: 28px;
}

.modal-content p {
    color: #fff;
    margin-bottom: 20px;
    font-size: 16px;
}

.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.age-btn {
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.age-btn.confirm {
    background-color: #2a4fd0;
    color: #fff;
}

.age-btn.confirm:hover {
    background-color: #3a5fe0;
    transform: translateY(-2px);
}

.age-btn.deny {
    background-color: #333;
    color: #fff;
}

.age-btn.deny:hover {
    background-color: #444;
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(42, 79, 208, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(42, 79, 208, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(42, 79, 208, 0);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.8s ease forwards;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .features-grid {
        gap: 20px;
    }

    .feature-card {
        max-width: 300px;
        padding: 30px 20px;
    }

    .feature-title {
        font-size: 24px;
    }

    .feature-text {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background-color: #1a1a1a;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        transition: left 0.3s ease;
        z-index: 100;
    }

    .nav-links.active {
        left: 0;
    }

    .main-title {
        font-size: 36px;
    }

    .section-title, .why-choose-title {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .games-grid {
        gap: 15px;
    }

    .game-card {
        width: 45%;
    }

    .why-choose-us-section {
        padding: 60px 0;
    }

    .features-grid {
        flex-direction: column;
        align-items: center;
    }

    .feature-card {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 28px;
    }

    .section-title, .why-choose-title {
        font-size: 24px;
    }

    .registration-container {
        padding: 20px;
    }

    .game-card {
        width: 100%;
    }

    .why-choose-us-section {
        padding: 40px 0;
    }

    .feature-card {
        padding: 25px 15px;
    }

    .feature-title {
        font-size: 22px;
    }

    .feature-text {
        font-size: 14px;
    }
}