/* Sverdris.xyz - Dark Cosmic Theme */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Rajdhani:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cosmic-purple: #6B46C1;
    --deep-purple: #4A2C7E;
    --electric-blue: #4299E1;
    --neon-green: #48BB78;
    --dark-space: #0F0820;
    --darker-space: #070410;
    --panel-bg: #1A1033;
    --text-glow: #E2E8F0;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--dark-space);
    color: var(--text-glow);
    line-height: 1.7;
    position: relative;
    overflow-x: hidden;
}

/* Starfield Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 80%, white, transparent);
    background-size: 200% 200%;
    animation: stars 8s ease infinite;
    opacity: 0.4;
    z-index: -1;
}

@keyframes stars {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-10px, -10px); }
}

/* Top Bar */
.top-bar {
    background: rgba(26, 16, 51, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid var(--cosmic-purple);
    padding: 1.2rem 6%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(107, 70, 193, 0.3);
}

.bar-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-glyph {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--cosmic-purple), var(--electric-blue));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 0 20px rgba(107, 70, 193, 0.5);
}

.site-name {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-glow);
    text-shadow: 0 0 10px rgba(107, 70, 193, 0.8);
    letter-spacing: 3px;
}

.top-menu ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.top-menu a {
    color: var(--text-glow);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 1px;
    transition: all 0.3s;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.top-menu a:hover {
    color: var(--electric-blue);
    text-shadow: 0 0 10px rgba(66, 153, 225, 0.8);
}

.burger-menu {
    display: none;
    background: var(--cosmic-purple);
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(107, 70, 193, 0.5);
}

.burger-menu span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--text-glow);
    margin: 5px 0;
}

/* Main Area */
.main-area {
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 6% 50px;
}

/* Banner */
.main-banner {
    text-align: center;
    padding: 5rem 3rem;
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.2), rgba(66, 153, 225, 0.2));
    border: 2px solid var(--cosmic-purple);
    border-radius: 15px;
    margin-bottom: 4rem;
    box-shadow: 0 10px 40px rgba(107, 70, 193, 0.3);
    position: relative;
    overflow: hidden;
}

.main-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(107, 70, 193, 0.1), transparent);
    animation: scan 4s linear infinite;
}

@keyframes scan {
    0% { transform: translate(-100%, -100%) rotate(45deg); }
    100% { transform: translate(100%, 100%) rotate(45deg); }
}

.main-banner h1 {
    font-family: 'Orbitron', monospace;
    font-size: 4.2rem;
    font-weight: 900;
    color: var(--text-glow);
    text-shadow: 0 0 20px rgba(107, 70, 193, 1);
    margin-bottom: 1.5rem;
    letter-spacing: 4px;
    position: relative;
}

.main-banner p {
    font-size: 1.4rem;
    max-width: 850px;
    margin: 0 auto 2.5rem;
    position: relative;
}

.prime-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--cosmic-purple), var(--electric-blue));
    color: var(--text-glow);
    padding: 1.3rem 3.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 5px 30px rgba(107, 70, 193, 0.5);
    border: 2px solid var(--cosmic-purple);
    letter-spacing: 2px;
    position: relative;
}

.prime-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 45px rgba(107, 70, 193, 0.7);
}

/* Notice Panel */
.notice-panel {
    background: var(--panel-bg);
    border: 2px solid var(--deep-purple);
    border-left: 5px solid var(--neon-green);
    border-radius: 12px;
    padding: 2.5rem;
    margin: 3rem 0;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

.notice-panel h3 {
    color: var(--neon-green);
    font-size: 1.9rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(72, 187, 120, 0.5);
}

.notice-panel ul {
    list-style-position: inside;
}

.notice-panel li {
    margin: 1rem 0;
    font-size: 1.1rem;
}

/* Four Grid */
.four-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin: 4rem 0;
}

.grid-box {
    background: var(--panel-bg);
    border: 2px solid var(--deep-purple);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.grid-box:hover {
    transform: translateY(-8px);
    border-color: var(--cosmic-purple);
    box-shadow: 0 10px 35px rgba(107, 70, 193, 0.4);
}

.box-symbol {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 1.5rem;
}

.grid-box h3 {
    color: var(--electric-blue);
    font-size: 1.7rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 8px rgba(66, 153, 225, 0.5);
}

/* Game Zone */
.game-zone {
    background: var(--panel-bg);
    border: 2px solid var(--cosmic-purple);
    border-radius: 15px;
    padding: 3.5rem;
    margin: 4rem 0;
    text-align: center;
    box-shadow: 0 10px 40px rgba(107, 70, 193, 0.3);
}

.game-zone h2 {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    color: var(--text-glow);
    text-shadow: 0 0 15px rgba(107, 70, 193, 0.8);
    margin-bottom: 2rem;
    letter-spacing: 3px;
}

.game-zone iframe {
    max-width: 100%;
    border-radius: 12px;
    border: 2px solid var(--deep-purple);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

/* Info Section */
.info-section {
    background: var(--panel-bg);
    border: 2px solid var(--deep-purple);
    border-radius: 12px;
    padding: 3.5rem;
    margin: 3rem 0;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

.info-section h2 {
    font-family: 'Orbitron', monospace;
    color: var(--electric-blue);
    font-size: 2.6rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 12px rgba(66, 153, 225, 0.6);
}

.info-section h3 {
    color: var(--neon-green);
    font-size: 1.9rem;
    margin: 2rem 0 1rem;
}

.info-section p {
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

.info-section ul, .info-section ol {
    margin: 1.5rem 0 1.5rem 2.5rem;
}

.info-section li {
    margin-bottom: 1rem;
}

/* Bottom Bar */
.bottom-bar {
    background: var(--darker-space);
    border-top: 2px solid var(--cosmic-purple);
    padding: 4rem 6%;
    margin-top: 5rem;
}

.bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.bottom-nav {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.bottom-nav a {
    color: var(--text-glow);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.bottom-nav a:hover {
    color: var(--electric-blue);
}

.help-panel {
    background: var(--panel-bg);
    border: 2px solid var(--deep-purple);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.help-panel h3 {
    color: var(--neon-green);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(72, 187, 120, 0.5);
}

.help-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.help-list a {
    color: var(--text-glow);
    text-decoration: underline;
}

/* Age Check */
.age-check {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 4, 16, 0.98);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-check.active {
    display: flex;
}

.age-box {
    background: var(--panel-bg);
    border: 3px solid var(--cosmic-purple);
    border-radius: 15px;
    padding: 3.5rem;
    text-align: center;
    max-width: 550px;
    box-shadow: 0 0 60px rgba(107, 70, 193, 0.6);
}

.age-box h2 {
    font-family: 'Orbitron', monospace;
    color: var(--text-glow);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px rgba(107, 70, 193, 0.8);
}

.age-box p {
    margin-bottom: 1rem;
    font-size: 1.15rem;
}

.age-options {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.age-opt {
    padding: 1.2rem 3rem;
    border: 2px solid;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 2px;
    transition: all 0.3s;
}

.age-opt.yes {
    background: linear-gradient(135deg, var(--cosmic-purple), var(--electric-blue));
    color: var(--text-glow);
    border-color: var(--cosmic-purple);
}

.age-opt.no {
    background: transparent;
    color: #888;
    border-color: #444;
}

.age-opt:hover {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .burger-menu {
        display: block;
    }

    .top-menu ul {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background: rgba(26, 16, 51, 0.98);
        width: 100%;
        padding: 2rem;
        transition: left 0.3s;
        border-bottom: 2px solid var(--cosmic-purple);
    }

    .top-menu ul.active {
        left: 0;
    }

    .main-banner h1 {
        font-size: 2.5rem;
    }

    .four-grid {
        grid-template-columns: 1fr;
    }

    .bottom-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .help-list {
        flex-direction: column;
    }
}
