@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #0a1628;
    --secondary-dark: #132039;
    --accent-neon: #00ff88;
    --accent-blue: #00d4ff;
    --text-primary: #e8edf5;
    --text-secondary: #a0b3d4;
    --border-color: #1e3a5f;
    --overlay-bg: rgba(10, 22, 40, 0.95);
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0d1f3a 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* Age Gate Screen */
.age-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-bg);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.age-gate.hidden {
    display: none;
}

.gate-container {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--primary-dark) 100%);
    border: 2px solid var(--accent-neon);
    border-radius: 12px;
    padding: 3rem;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.3);
    animation: slideUp 0.4s ease;
}

.gate-container h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent-neon);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.gate-container p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.gate-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.gate-btn {
    padding: 0.9rem 2.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gate-btn.yes {
    background: var(--accent-neon);
    color: var(--primary-dark);
}

.gate-btn.yes:hover {
    background: #00cc6e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
}

.gate-btn.no {
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--border-color);
}

.gate-btn.no:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

/* Gate Screen (alternate naming) */
.gate-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-bg);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.gate-panel {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--primary-dark) 100%);
    border: 2px solid var(--accent-neon);
    border-radius: 12px;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.3);
    animation: slideUp 0.4s ease;
    position: relative;
}

.gate-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
    pointer-events: none;
    animation: pulse 3s ease-in-out infinite;
}

.gate-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent-neon);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.gate-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.gate-info {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.gate-accept {
    background: var(--accent-neon);
    color: var(--primary-dark);
}

.gate-accept:hover {
    background: #00cc6e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
}

.gate-deny {
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--border-color);
}

.gate-deny:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* Header / Topbar */
header,
.topbar {
    background: var(--secondary-dark);
    border-bottom: 2px solid var(--border-color);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-container,
.topbar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo,
.brand {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent-neon);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-mark {
    font-size: 1.8rem;
    color: var(--accent-neon);
}

.brand-text {
    font-weight: 800;
    letter-spacing: 4px;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-neon), var(--accent-blue));
}

nav ul,
.nav-wrapper {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

nav a,
.nav-item {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
}

nav a::after,
.nav-item::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-neon);
    transition: width 0.3s ease;
}

nav a:hover,
.nav-item:hover,
.nav-item.active {
    color: var(--accent-neon);
}

nav a:hover::after,
.nav-item:hover::after,
.nav-item.active::after {
    width: 100%;
}

.menu-toggle,
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    background: transparent;
    border: none;
}

.menu-toggle span,
.burger span {
    width: 28px;
    height: 3px;
    background: var(--accent-neon);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

/* Main Content */
main,
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Hero Section */
.hero,
.hero-area {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, rgba(19, 32, 57, 0.8) 100%);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 3rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.hero-text {
    text-align: center;
}

.hero-heading {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent-neon);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-subtext {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
    animation: pulse 6s ease-in-out infinite;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--accent-neon);
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    z-index: 1;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.stat-box {
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid var(--accent-neon);
    border-radius: 8px;
    padding: 1.5rem;
}

.stat-box h3 {
    font-size: 1.8rem;
    color: var(--accent-neon);
    margin-bottom: 0.5rem;
}

.stat-box p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Section Styles */
section,
.info-block,
.requirements-grid,
.game-display,
.features-display {
    margin-bottom: 3rem;
}

.info-block {
    background: rgba(19, 32, 57, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
}

.text-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.text-content p {
    margin-bottom: 1.5rem;
}

h2,
.section-heading {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    border-left: 4px solid var(--accent-neon);
    padding-left: 1rem;
}

.req-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.req-card {
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.req-card:hover {
    border-color: var(--accent-neon);
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 255, 136, 0.2);
}

.req-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.req-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-neon);
    margin-bottom: 1rem;
}

.req-desc {
    color: var(--text-secondary);
    line-height: 1.7;
}

.game-intro {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.game-box {
    background: var(--primary-dark);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.game-embed {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 8px;
}

.game-disclaimer {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding: 1rem;
    background: rgba(255, 136, 0, 0.1);
    border-left: 4px solid #ff8800;
    border-radius: 4px;
}

/* Play Page Styles */
.page-banner {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, rgba(19, 32, 57, 0.8) 100%);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.banner-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-neon);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.banner-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.fullscreen-game {
    margin: 3rem 0;
}

.game-container-full {
    background: var(--primary-dark);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 8px 40px rgba(0, 255, 136, 0.1);
}

.game-frame-max {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 8px;
}

.specs-list {
    list-style: none;
    padding-left: 0;
}

.specs-list li {
    color: var(--text-secondary);
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
}

.specs-list li::before {
    content: '▸';
    position: absolute;
    left: 0.5rem;
    color: var(--accent-neon);
    font-weight: bold;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-tile {
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-tile:hover {
    border-color: var(--accent-blue);
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.2);
}

.tile-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.feature-tile h3 {
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1rem;
}

ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

ul li {
    padding: 0.6rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

ul li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-neon);
    font-weight: bold;
}

/* Warning Panel */
.warning-panel {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 255, 136, 0.1) 100%);
    border: 2px solid var(--accent-neon);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.warning-panel h3 {
    color: var(--accent-neon);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.warning-panel p {
    margin-bottom: 0.8rem;
    line-height: 1.8;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-card {
    background: var(--secondary-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-neon);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.2);
}

.info-card h3 {
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

/* Game Embed */
.game-container {
    background: var(--secondary-dark);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.game-container iframe {
    width: 100%;
    max-width: 900px;
    height: 600px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.2);
}

/* Legal Content */
.legal-content {
    background: var(--secondary-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2.5rem;
    line-height: 1.8;
}

.legal-content h2 {
    margin-top: 2rem;
}

.legal-content h2:first-child {
    margin-top: 0;
}

/* Footer */
footer,
.footer {
    background: var(--secondary-dark);
    border-top: 2px solid var(--border-color);
    padding: 2.5rem 0;
    margin-top: 4rem;
}

.footer-container,
.footer > div:first-child {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-block {
    color: var(--text-secondary);
}

.footer-block h4 {
    color: var(--accent-neon);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.footer-block p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.footer-block ul {
    list-style: none;
    padding: 0;
}

.footer-block ul li {
    margin-bottom: 0.5rem;
}

.footer-block a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-block a:hover {
    color: var(--accent-neon);
}

.footer-bar {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bar p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-neon);
}

.footer-container p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 1rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header-container,
    .topbar-inner {
        padding: 0 1rem;
    }

    .menu-toggle,
    .burger {
        display: flex;
    }

    nav,
    .nav-wrapper {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--secondary-dark);
        border-top: 1px solid var(--border-color);
        display: none;
        padding: 1rem 0;
        flex-direction: column;
        gap: 0;
    }

    nav.active,
    .nav-wrapper.active {
        display: flex;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    nav ul li {
        padding: 1rem 2rem;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-item {
        display: block;
        padding: 1rem 2rem;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
    }

    nav a::after,
    .nav-item::after {
        display: none;
    }

    main,
    .container {
        padding: 2rem 1rem;
    }

    .hero,
    .hero-area {
        padding: 2rem 1.5rem;
    }

    .hero h1,
    .hero-heading {
        font-size: 2rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .brand {
        font-size: 1.3rem;
    }

    .brand-text {
        letter-spacing: 2px;
    }

    .page-banner {
        padding: 2rem 1.5rem;
    }

    .banner-title {
        font-size: 1.8rem;
    }

    .game-frame-max {
        height: 450px;
    }

    .req-container,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    h2 {
        font-size: 1.5rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .game-container {
        padding: 1rem;
    }

    .game-container iframe {
        height: 400px;
    }

    .legal-content {
        padding: 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .gate-container {
        margin: 1rem;
        padding: 2rem;
    }

    .gate-buttons {
        flex-direction: column;
    }

    .gate-btn {
        width: 100%;
    }
}
