@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400;600;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Exo 2', sans-serif;
    background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%);
    color: #dfe9f3;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Starfield Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #eee, transparent),
        radial-gradient(2px 2px at 60px 70px, #fff, transparent),
        radial-gradient(1px 1px at 50px 50px, #ddd, transparent),
        radial-gradient(1px 1px at 130px 80px, #fff, transparent),
        radial-gradient(2px 2px at 90px 10px, #eee, transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

/* Top Navigation Bar */
.top-nav {
    background: linear-gradient(135deg, rgba(15, 32, 39, 0.95) 0%, rgba(32, 58, 67, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #00d4ff;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 1.2rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 900;
    color: #0a0f14;
    animation: rotate-pulse 8s ease-in-out infinite;
}

@keyframes rotate-pulse {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
}

.brand-text {
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(90deg, #00d4ff 0%, #7c3aed 50%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.main-nav a {
    color: #dfe9f3;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 1.5px;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    position: relative;
}

.main-nav a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    padding: 2px;
    background: linear-gradient(135deg, #00d4ff, #7c3aed);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-nav a:hover::before,
.main-nav a.active::before {
    opacity: 1;
}

.main-nav a:hover,
.main-nav a.active {
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Hamburger Menu */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #7c3aed);
    border-radius: 2px;
    transition: 0.3s;
}

/* Main Content */
main {
    max-width: 1600px;
    margin: 0 auto;
    padding: 4rem 2.5rem;
    position: relative;
    z-index: 1;
}

h1 {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 50%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow: 0 0 40px rgba(0, 212, 255, 0.4);
}

h2 {
    font-size: 2.5rem;
    color: #00d4ff;
    margin: 3rem 0 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h3 {
    color: #7c3aed;
    font-size: 1.7rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

p {
    line-height: 2;
    margin-bottom: 1.5rem;
    color: #b8c5d6;
    font-size: 1.1rem;
    font-weight: 300;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
}

.info-card {
    background: linear-gradient(135deg, rgba(20, 40, 60, 0.8) 0%, rgba(10, 20, 35, 0.9) 100%);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.info-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, #00d4ff, #7c3aed, #00d4ff);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.3);
}

.card-emoji {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
    text-align: center;
    filter: drop-shadow(0 0 15px rgba(124, 58, 237, 0.6));
}

/* Game Showcase */
.game-showcase {
    background: linear-gradient(135deg, rgba(10, 20, 35, 0.9) 0%, rgba(20, 40, 60, 0.8) 100%);
    border-radius: 30px;
    padding: 3.5rem;
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
}

.game-showcase::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 30px;
    padding: 3px;
    background: linear-gradient(135deg, #00d4ff, #7c3aed, #00d4ff);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 0;
}

.game-showcase h2 {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.game-wrapper {
    width: 100%;
    height: 720px;
    border: none;
    border-radius: 20px;
    background: #000;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7);
    position: relative;
    z-index: 1;
}

/* Info Section */
.section-block {
    background: rgba(20, 40, 60, 0.5);
    border-left: 5px solid #00d4ff;
    padding: 2.5rem;
    margin: 3rem 0;
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.section-block ul {
    margin-left: 2.5rem;
    margin-top: 1.5rem;
}

.section-block li {
    margin: 1.2rem 0;
    line-height: 1.9;
    color: #b8c5d6;
    font-weight: 300;
}

.section-block li strong {
    color: #00d4ff;
    font-weight: 600;
}

/* Footer */
footer {
    background: linear-gradient(135deg, rgba(15, 32, 39, 0.98) 0%, rgba(10, 15, 20, 0.98) 100%);
    border-top: 3px solid #00d4ff;
    padding: 3.5rem 2.5rem;
    margin-top: 6rem;
    position: relative;
    z-index: 1;
}

.footer-wrapper {
    max-width: 1600px;
    margin: 0 auto;
    text-align: center;
}

.footer-heading {
    font-size: 2rem;
    color: #00d4ff;
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 3.5rem;
    flex-wrap: wrap;
    margin: 2.5rem 0;
}

.footer-nav a {
    color: #7c3aed;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.15rem;
    transition: all 0.3s ease;
    letter-spacing: 1.5px;
}

.footer-nav a:hover {
    color: #00d4ff;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
}

.copyright {
    color: #8b9bb0;
    margin-top: 2.5rem;
    font-size: 1rem;
    font-weight: 300;
}

/* Age Gate Modal */
.age-gate {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    z-index: 5000;
    align-items: center;
    justify-content: center;
}

.age-gate.visible {
    display: flex;
}

.age-gate-box {
    background: linear-gradient(135deg, rgba(20, 40, 60, 0.95) 0%, rgba(10, 20, 35, 0.95) 100%);
    padding: 4rem;
    border-radius: 30px;
    text-align: center;
    max-width: 650px;
    position: relative;
    backdrop-filter: blur(15px);
}

.age-gate-box::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 30px;
    padding: 3px;
    background: linear-gradient(135deg, #00d4ff, #7c3aed, #00d4ff);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
    animation: border-animate 3s linear infinite;
}

@keyframes border-animate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.age-gate-box h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: #00d4ff;
}

.age-gate-box p {
    font-size: 1.35rem;
    margin-bottom: 2rem;
    color: #dfe9f3;
}

.age-actions {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    margin-top: 3rem;
}

.age-button {
    padding: 1.3rem 3.5rem;
    border: none;
    border-radius: 15px;
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Exo 2', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.age-accept {
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    color: #fff;
}

.age-accept:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.6);
}

.age-decline {
    background: transparent;
    border: 2px solid #7c3aed;
    color: #dfe9f3;
}

.age-decline:hover {
    background: #7c3aed;
    border-color: #00d4ff;
}

/* Responsive */
@media (max-width: 968px) {
    h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .main-nav ul {
        position: fixed;
        top: 85px;
        right: -100%;
        width: 300px;
        height: calc(100vh - 85px);
        background: linear-gradient(180deg, rgba(15, 32, 39, 0.98) 0%, rgba(10, 15, 20, 0.98) 100%);
        flex-direction: column;
        align-items: flex-start;
        padding: 2.5rem;
        transition: right 0.3s ease;
        border-left: 3px solid #00d4ff;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(10px);
    }

    .main-nav ul.open {
        right: 0;
    }

    .main-nav a {
        width: 100%;
        padding: 1.2rem;
    }

    .nav-container {
        padding: 1rem 1.5rem;
    }

    .brand-text {
        font-size: 1.6rem;
    }

    main {
        padding: 2.5rem 1.5rem;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .game-wrapper {
        height: 500px;
    }

    .age-gate-box {
        margin: 1.5rem;
        padding: 3rem;
    }

    .age-actions {
        flex-direction: column;
    }
}
