* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Orbitron', sans-serif;
    background: #0a0e27;
    color: #e0e0e0;
    line-height: 1.6;
    min-height: 100vh;
}

/* Navigation */
.navbar {
    background: linear-gradient(90deg, #0a0e27 0%, #1a1f3a 100%);
    border-bottom: 2px solid #00ffaa;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 255, 170, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.8rem;
    font-weight: 900;
    color: #00ffaa;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    color: #00ffaa;
    border-bottom: 2px solid #00ffaa;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-hamburger span {
    width: 28px;
    height: 3px;
    background: #00ffaa;
    transition: 0.3s;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, #1a1f3a 0%, #2d3561 100%);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 170, 0.03) 2px,
        rgba(0, 255, 170, 0.03) 4px
    );
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    color: #00ffaa;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 255, 170, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #b0b0b0;
    letter-spacing: 2px;
}

.hero-divider {
    width: 100px;
    height: 3px;
    background: #00ffaa;
    margin: 2rem auto 0;
    box-shadow: 0 0 10px rgba(0, 255, 170, 0.5);
}

/* Main Container */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* Card Styles */
.card {
    background: rgba(26, 31, 58, 0.6);
    border: 1px solid #2d3561;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.card-title {
    color: #00ffaa;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

/* Alert Grid */
.alert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.alert-card {
    background: rgba(26, 31, 58, 0.8);
    border-radius: 8px;
    padding: 1.5rem;
    border-left: 4px solid;
}

.alert-primary {
    border-left-color: #ff0055;
}

.alert-success {
    border-left-color: #00ffaa;
}

.alert-warning {
    border-left-color: #ffaa00;
}

.alert-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.alert-icon {
    font-size: 2rem;
}

.alert-card h3 {
    color: #00ffaa;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

/* Game Feature */
.game-feature {
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.8) 0%, rgba(45, 53, 97, 0.6) 100%);
}

.feature-desc {
    color: #b0b0b0;
    margin-bottom: 1.5rem;
}

.game-frame {
    width: 100%;
    height: 600px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #00ffaa;
    box-shadow: 0 0 20px rgba(0, 255, 170, 0.3);
}

.game-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Tech Features */
.tech-features {
    margin: 3rem 0;
}

.section-title {
    color: #00ffaa;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    letter-spacing: 3px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.tech-card {
    background: rgba(26, 31, 58, 0.6);
    border: 1px solid #2d3561;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.tech-card:hover {
    transform: translateY(-5px);
    border-color: #00ffaa;
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.tech-card h3 {
    color: #00ffaa;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

/* Responsibility Card */
.responsibility-card {
    background: linear-gradient(135deg, rgba(0, 255, 170, 0.1) 0%, rgba(26, 31, 58, 0.8) 100%);
    border: 1px solid #00ffaa;
}

.support-resources {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.support-resources h3 {
    color: #00ffaa;
    margin-bottom: 1rem;
}

.resource-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.resource-btn {
    background: #00ffaa;
    color: #0a0e27;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: 700;
    transition: all 0.3s;
    letter-spacing: 1px;
}

.resource-btn:hover {
    background: #00cc88;
    transform: scale(1.05);
}

/* Footer */
.site-footer {
    background: #0a0e27;
    border-top: 2px solid #00ffaa;
    padding: 2rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #00ffaa;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.footer-section a {
    display: block;
    color: #b0b0b0;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #00ffaa;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #2d3561;
    color: #b0b0b0;
    letter-spacing: 1px;
}

/* Age Gate */
.age-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.age-gate.hidden {
    display: none;
}

.gate-container {
    background: linear-gradient(135deg, #1a1f3a 0%, #2d3561 100%);
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #00ffaa;
    position: relative;
    max-width: 500px;
}

.gate-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00ffaa, #00cc88, #00ffaa);
    border-radius: 10px;
    z-index: -1;
    opacity: 0.3;
    filter: blur(10px);
}

.gate-container h2 {
    color: #00ffaa;
    margin-bottom: 1rem;
    font-size: 2rem;
    letter-spacing: 3px;
}

.gate-icon {
    font-size: 4rem;
    margin: 1rem 0;
}

.gate-question {
    font-weight: 700;
    color: #00ffaa;
    margin-top: 1.5rem;
}

.gate-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-grant,
.btn-deny {
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 1px;
}

.btn-grant {
    background: #00ffaa;
    color: #0a0e27;
}

.btn-deny {
    background: #666;
    color: #fff;
}

.btn-grant:hover,
.btn-deny:hover {
    transform: scale(1.05);
}

/* Play Page */
.controls-card {
    margin-bottom: 2rem;
}

.controls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.control-item strong {
    color: #00ffaa;
    display: block;
    margin-bottom: 0.5rem;
}

.game-description,
.strategy-card,
.notice-card {
    background: rgba(26, 31, 58, 0.6);
}

.strategy-card h3,
.game-description h3,
.notice-card h3 {
    color: #00ffaa;
    margin-bottom: 1rem;
}

.tips-list {
    margin-left: 2rem;
}

.tips-list li {
    margin-bottom: 0.5rem;
}

.notice-card {
    border-left: 4px solid #ffaa00;
}

/* Legal Pages */
.legal-page {
    max-width: 1000px;
}

.legal-title {
    color: #00ffaa;
    font-size: 2.5rem;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.legal-date {
    color: #b0b0b0;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.legal-card h2 {
    color: #00ffaa;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.legal-card ul {
    margin-left: 2rem;
    margin-top: 0.5rem;
}

.legal-card li {
    margin-bottom: 0.5rem;
}

.warning-card {
    border: 2px solid #ffaa00;
    background: linear-gradient(135deg, rgba(255, 170, 0, 0.1) 0%, rgba(26, 31, 58, 0.8) 100%);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 70px);
        background: #1a1f3a;
        flex-direction: column;
        padding: 2rem;
        transition: right 0.3s;
        border-left: 2px solid #00ffaa;
    }

    .nav-links.active {
        right: 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .game-frame {
        height: 400px;
    }

    .gate-container {
        margin: 0 1rem;
        padding: 2rem;
    }

    .gate-buttons {
        flex-direction: column;
    }

    .alert-grid {
        grid-template-columns: 1fr;
    }
}
