@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Exo+2:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cyber-dark: #0a0a0f;
    --cyber-darker: #050508;
    --cyber-accent: #00ff9d;
    --cyber-secondary: #ff00ff;
    --cyber-blue: #00d4ff;
    --cyber-text: #e0e0e0;
    --cyber-muted: #7a7a8a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Exo 2', sans-serif;
    background: var(--cyber-dark);
    color: var(--cyber-text);
    line-height: 1.7;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    letter-spacing: 2px;
}

a {
    color: var(--cyber-accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--cyber-secondary);
    text-shadow: 0 0 10px var(--cyber-secondary);
}

/* Header Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--cyber-darker) 0%, rgba(10,10,15,0.95) 100%);
    border-bottom: 1px solid var(--cyber-accent);
    box-shadow: 0 0 30px rgba(0,255,157,0.2);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.site-logo {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--cyber-accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 20px var(--cyber-accent);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    font-family: 'Orbitron', monospace;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    border-color: var(--cyber-accent);
    background: rgba(0,255,157,0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--cyber-accent);
    transition: all 0.3s ease;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--cyber-darker);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid var(--cyber-accent);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
}

/* Main Content */
main {
    padding-top: 80px;
    min-height: calc(100vh - 200px);
}

.hero-section {
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--cyber-darker) 0%, var(--cyber-dark) 50%, rgba(0,255,157,0.05) 100%);
    border-bottom: 1px solid rgba(0,255,157,0.3);
}

.hero-section h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--cyber-accent), var(--cyber-blue), var(--cyber-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--cyber-muted);
}

/* Notice Cards */
.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.notice-card {
    background: linear-gradient(145deg, rgba(0,255,157,0.05) 0%, transparent 100%);
    border: 1px solid rgba(0,255,157,0.3);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.notice-card:hover {
    border-color: var(--cyber-accent);
    box-shadow: 0 0 30px rgba(0,255,157,0.2);
    transform: translateY(-5px);
}

.notice-card h3 {
    font-size: 1.1rem;
    color: var(--cyber-accent);
    margin-bottom: 1rem;
}

.notice-card p {
    color: var(--cyber-muted);
    font-size: 0.95rem;
}

/* Game Container */
.game-section {
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.game-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--cyber-accent);
}

.game-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    max-height: 700px;
    border: 2px solid var(--cyber-accent);
    box-shadow: 0 0 50px rgba(0,255,157,0.3);
    overflow: hidden;
    background: var(--cyber-darker);
}

.game-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Content Sections */
.content-section {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.content-section h2 {
    font-size: 1.8rem;
    color: var(--cyber-accent);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0,255,157,0.3);
}

.content-section p {
    margin-bottom: 1rem;
    color: var(--cyber-text);
}

.content-section ul {
    list-style: none;
    margin: 1rem 0;
}

.content-section ul li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
}

.content-section ul li::before {
    content: '▸';
    color: var(--cyber-accent);
    position: absolute;
    left: 0;
}

/* Widget Section */
.widget-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.widget {
    background: rgba(0,255,157,0.03);
    border: 1px solid rgba(0,255,157,0.2);
    padding: 2rem;
}

.widget h3 {
    color: var(--cyber-accent);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.widget p {
    color: var(--cyber-muted);
    font-size: 0.9rem;
}

/* Page Header */
.page-header {
    padding: 4rem 2rem 2rem;
    text-align: center;
    background: linear-gradient(180deg, var(--cyber-darker) 0%, var(--cyber-dark) 100%);
    border-bottom: 1px solid rgba(0,255,157,0.3);
}

.page-header h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--cyber-accent);
}

/* Footer */
.site-footer {
    background: var(--cyber-darker);
    border-top: 1px solid var(--cyber-accent);
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-content h4 {
    color: var(--cyber-accent);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.responsible-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.responsible-links a {
    color: var(--cyber-muted);
    font-size: 0.9rem;
}

.footer-copy {
    color: var(--cyber-muted);
    font-size: 0.85rem;
}

/* Age Verification Popup */
.age-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5,5,8,0.98);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.age-popup {
    background: var(--cyber-dark);
    border: 2px solid var(--cyber-accent);
    padding: 3rem;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 0 60px rgba(0,255,157,0.4);
}

.age-popup h2 {
    color: var(--cyber-accent);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.age-popup p {
    color: var(--cyber-text);
    margin-bottom: 2rem;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-btn {
    padding: 1rem 2.5rem;
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid var(--cyber-accent);
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.age-btn.yes {
    background: var(--cyber-accent);
    color: var(--cyber-dark);
}

.age-btn.yes:hover {
    box-shadow: 0 0 30px var(--cyber-accent);
}

.age-btn.no {
    background: transparent;
    color: var(--cyber-accent);
}

.age-btn.no:hover {
    background: rgba(255,0,100,0.2);
    border-color: #ff0064;
    color: #ff0064;
}

.hidden {
    display: none !important;
}

/* Play Page */
.play-container {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.play-container h1 {
    text-align: center;
    font-size: 2rem;
    color: var(--cyber-accent);
    margin-bottom: 1.5rem;
}

.game-info {
    background: rgba(0,255,157,0.05);
    border: 1px solid rgba(0,255,157,0.3);
    padding: 1.5rem;
    margin-top: 2rem;
    text-align: center;
}

.game-info h3 {
    color: var(--cyber-accent);
    margin-bottom: 0.5rem;
}

.game-info p {
    color: var(--cyber-muted);
    font-size: 0.9rem;
}

/* Legal Pages */
.legal-content {
    padding: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.legal-content h2 {
    color: var(--cyber-accent);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0,255,157,0.2);
}

.legal-content h3 {
    color: var(--cyber-blue);
    font-size: 1.2rem;
    margin: 1.5rem 0 0.75rem;
}

.legal-content p {
    margin-bottom: 1rem;
    color: var(--cyber-text);
}

.legal-content ul {
    margin: 1rem 0 1rem 1.5rem;
}

.legal-content ul li {
    margin-bottom: 0.5rem;
    color: var(--cyber-text);
}

.last-updated {
    color: var(--cyber-muted);
    font-size: 0.85rem;
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,255,157,0.2);
}
