* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --neon-cyan: #00ffff;
    --neon-blue: #0080ff;
    --dark-bg: #0a0a1a;
    --darker-bg: #050510;
    --card-bg: #1a1a2e;
    --sidebar-bg: #0f0f1e;
    --text-primary: #ffffff;
    --text-secondary: #a0a0c0;
    --border-glow: rgba(0, 255, 255, 0.3);
}

body {
    font-family: 'Orbitron', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.layout-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    width: 280px;
    background: var(--sidebar-bg);
    border-right: 2px solid var(--border-glow);
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    box-shadow: 5px 0 20px rgba(0, 255, 255, 0.1);
}

.sidebar-header {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid var(--border-glow);
}

.sidebar-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.sidebar-logo h1 {
    font-size: 1.8rem;
    letter-spacing: 4px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar-nav {
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 1rem 2rem;
    display: block;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.nav-link:hover {
    background: rgba(0, 255, 255, 0.05);
    color: var(--neon-cyan);
    border-left-color: var(--neon-cyan);
}

.nav-link.active {
    background: rgba(0, 255, 255, 0.1);
    color: var(--neon-cyan);
    border-left-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
    background: var(--card-bg);
    border: 2px solid var(--border-glow);
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--neon-cyan);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 280px;
    background: var(--dark-bg);
}

/* Age Verification Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.97);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(10px);
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    max-width: 600px;
    border: 2px solid var(--neon-cyan);
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.3), inset 0 0 40px rgba(0, 255, 255, 0.05);
}

.modal-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.modal-content h2 {
    font-size: 2rem;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.modal-text {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-confirm, .btn-deny {
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-confirm {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
    color: var(--darker-bg);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 30px rgba(0, 255, 255, 0.5);
}

.btn-deny {
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--text-secondary);
}

.btn-deny:hover {
    border-color: #ff0040;
    color: #ff0040;
}

/* Header Banner */
.header-banner {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(0, 128, 255, 0.1));
    padding: 4rem 2rem;
    text-align: center;
    border-bottom: 2px solid var(--border-glow);
    position: relative;
    overflow: hidden;
}

.header-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 255, 255, 0.03) 2px, rgba(0, 255, 255, 0.03) 4px);
    pointer-events: none;
}

.banner-content h1 {
    font-size: 3.5rem;
    letter-spacing: 8px;
    margin-bottom: 1rem;
    position: relative;
    color: var(--neon-cyan);
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch::before {
    color: #ff00ff;
    z-index: -1;
    animation: glitch1 2s infinite;
}

.glitch::after {
    color: #00ffff;
    z-index: -2;
    animation: glitch2 2s infinite;
}

@keyframes glitch1 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitch2 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(2px, -2px); }
    40% { transform: translate(2px, 2px); }
    60% { transform: translate(-2px, -2px); }
    80% { transform: translate(-2px, 2px); }
}

.subtitle {
    font-size: 1.2rem;
    letter-spacing: 4px;
    color: var(--text-secondary);
    position: relative;
}

/* Sections */
.section {
    padding: 4rem 2rem;
}

.section-title {
    font-size: 2.5rem;
    letter-spacing: 4px;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--neon-cyan);
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    letter-spacing: 2px;
}

.content-box {
    max-width: 900px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-glow);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
}

.content-box p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Notices Grid */
.notices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.notice-box {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-glow);
    position: relative;
    transition: all 0.3s ease;
}

.notice-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
    border-color: var(--neon-cyan);
}

.notice-number {
    position: absolute;
    top: -15px;
    right: 20px;
    font-size: 3rem;
    font-weight: 800;
    color: var(--neon-cyan);
    opacity: 0.2;
}

.notice-box h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.notice-box p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Game Showcase */
.game-showcase {
    background: var(--darker-bg);
}

.game-embed {
    max-width: 1000px;
    margin: 0 auto;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--neon-cyan);
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.3);
}

.game-iframe {
    width: 100%;
    height: 650px;
    border: none;
    display: block;
}

/* Features Container */
.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-glow);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 5px 25px rgba(0, 255, 255, 0.2);
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.7;
}

/* Responsibility Section */
.responsibility-section {
    background: var(--card-bg);
}

/* Info Grid (Play Page) */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.info-panel {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-glow);
}

.info-panel h3 {
    color: var(--neon-cyan);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.info-panel p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Game Section Full */
.game-section-full {
    background: var(--darker-bg);
    padding: 2rem 0;
}

.game-wrapper-full {
    width: 100%;
    background: #000;
}

.game-iframe-full {
    width: 100%;
    height: 750px;
    border: none;
    display: block;
}

/* Guidelines Grid */
.guidelines-section {
    background: var(--card-bg);
}

.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.guideline-item {
    background: var(--darker-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-glow);
    text-align: center;
}

.guideline-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.guideline-item h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.guideline-item p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Legal Section */
.legal-section {
    max-width: 1000px;
    margin: 0 auto;
}

.legal-block {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border: 1px solid var(--border-glow);
}

.legal-block.critical {
    border: 2px solid var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.legal-block h2 {
    color: var(--neon-cyan);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    font-size: 1.5rem;
}

.legal-block p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-block ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-block li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

/* Footer */
.footer {
    background: var(--darker-bg);
    padding: 3rem 2rem 1.5rem;
    border-top: 2px solid var(--border-glow);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.footer-col h3 {
    color: var(--neon-cyan);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.footer-col p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: var(--neon-cyan);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-glow);
    color: var(--text-secondary);
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .mobile-toggle {
        display: flex;
    }

    .main-content {
        margin-left: 0;
    }

    .banner-content h1 {
        font-size: 2rem;
        letter-spacing: 4px;
    }

    .subtitle {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }

    .section-title {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    .modal-content {
        margin: 1rem;
        padding: 2rem;
    }

    .modal-content h2 {
        font-size: 1.5rem;
    }

    .modal-buttons {
        flex-direction: column;
    }

    .game-iframe {
        height: 400px;
    }

    .game-iframe-full {
        height: 500px;
    }

    .notices-grid,
    .features-container,
    .guidelines-grid {
        grid-template-columns: 1fr;
    }
}
