@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Work+Sans:wght@400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --midnight-blue: #1a237e;
    --deep-teal: #004d40;
    --electric-teal: #00bfa5;
    --soft-white: #eceff1;
    --off-white: #f5f5f5;
    --dark-slate: #0d1421;
    --muted-blue: #90a4ae;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Work Sans', sans-serif;
    background: linear-gradient(135deg, var(--dark-slate) 0%, var(--midnight-blue) 100%);
    color: var(--soft-white);
    line-height: 1.8;
    min-height: 100vh;
}

/* Header */
header {
    background: rgba(13, 20, 33, 0.95);
    backdrop-filter: blur(15px);
    padding: 16px 30px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--electric-teal);
}

.header-main {
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.identity {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.identity-mark {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

.identity-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--electric-teal);
    letter-spacing: 3px;
}

.nav-system ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-system ul li a {
    font-family: 'Work Sans', sans-serif;
    color: var(--muted-blue);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.nav-system ul li a:hover {
    color: var(--electric-teal);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--electric-teal);
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Main */
main {
    margin-top: 88px;
}

/* Showcase */
.showcase {
    padding: 100px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 191, 165, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.showcase h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 60px;
    font-weight: 700;
    color: var(--soft-white);
    margin-bottom: 25px;
    letter-spacing: 4px;
    position: relative;
}

.showcase .desc {
    font-size: 19px;
    color: var(--muted-blue);
    max-width: 780px;
    margin: 0 auto;
    position: relative;
}

/* Panels */
.panels {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 50px 30px;
    max-width: 1350px;
    margin: 0 auto;
}

.panel {
    background: rgba(0, 77, 64, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 191, 165, 0.3);
    border-radius: 15px;
    padding: 40px 35px;
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 400px;
    transition: all 0.4s ease;
}

.panel:hover {
    border-color: var(--electric-teal);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 191, 165, 0.15);
}

.panel-glyph {
    font-size: 52px;
    margin-bottom: 20px;
    display: block;
}

.panel h3 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--electric-teal);
    font-size: 24px;
    margin-bottom: 12px;
    font-weight: 600;
}

.panel p {
    color: var(--muted-blue);
    font-size: 15px;
}

/* Wheel Chamber */
.wheel-chamber {
    background: var(--dark-slate);
    padding: 75px 30px;
    border-top: 1px solid rgba(0, 191, 165, 0.2);
    border-bottom: 1px solid rgba(0, 191, 165, 0.2);
}

.wheel-chamber h2 {
    font-family: 'Cormorant Garamond', serif;
    text-align: center;
    font-size: 46px;
    color: var(--soft-white);
    margin-bottom: 45px;
    letter-spacing: 3px;
}

.chamber-window {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid var(--electric-teal);
    box-shadow: 0 0 60px rgba(0, 191, 165, 0.2);
}

.chamber-window iframe {
    width: 100%;
    height: 670px;
    border: none;
    display: block;
}

/* Virtues */
.virtues {
    padding: 85px 30px;
}

.virtues h2 {
    font-family: 'Cormorant Garamond', serif;
    text-align: center;
    font-size: 42px;
    color: var(--soft-white);
    margin-bottom: 55px;
}

.virtues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    max-width: 1400px;
    margin: 0 auto;
}

.virtue {
    background: rgba(26, 35, 126, 0.2);
    border: 1px solid rgba(0, 191, 165, 0.2);
    border-radius: 12px;
    padding: 35px 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.virtue:hover {
    border-color: var(--electric-teal);
}

.virtue-icon {
    font-size: 46px;
    margin-bottom: 18px;
    display: block;
}

.virtue h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    color: var(--soft-white);
    margin-bottom: 12px;
}

.virtue p {
    color: var(--muted-blue);
    font-size: 14px;
}

/* Prose */
.prose {
    padding: 70px 30px;
    max-width: 950px;
    margin: 0 auto;
}

.prose h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 52px;
    color: var(--electric-teal);
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: 2px;
}

.prose h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    color: var(--soft-white);
    margin: 45px 0 20px;
}

.prose p {
    margin-bottom: 20px;
    color: var(--muted-blue);
    font-size: 17px;
}

.prose ul {
    margin-left: 30px;
    margin-bottom: 25px;
}

.prose ul li {
    margin-bottom: 12px;
    color: var(--muted-blue);
}

/* Footer */
footer {
    background: rgba(13, 20, 33, 0.98);
    padding: 60px 30px 40px;
    border-top: 2px solid var(--electric-teal);
}

.footer-core {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-core h4 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--electric-teal);
    font-size: 22px;
    margin-bottom: 28px;
    letter-spacing: 2px;
}

.footer-row {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-row a {
    color: var(--muted-blue);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-row a:hover {
    color: var(--electric-teal);
}

.footer-fine {
    color: var(--muted-blue);
    font-size: 14px;
    padding-top: 28px;
    border-top: 1px solid rgba(0, 191, 165, 0.2);
    opacity: 0.8;
}

/* Age Gate */
.age-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 20, 33, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.age-gate-inner {
    background: linear-gradient(145deg, var(--midnight-blue) 0%, var(--dark-slate) 100%);
    padding: 55px 50px;
    border-radius: 20px;
    text-align: center;
    max-width: 520px;
    width: 92%;
    border: 2px solid var(--electric-teal);
    box-shadow: 0 0 70px rgba(0, 191, 165, 0.2);
}

.age-gate-inner h2 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--soft-white);
    font-size: 38px;
    margin-bottom: 22px;
    letter-spacing: 2px;
}

.age-gate-inner p {
    color: var(--muted-blue);
    font-size: 17px;
    margin-bottom: 38px;
    line-height: 1.7;
}

.gate-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.gate-action {
    padding: 16px 45px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.gate-action.enter {
    background: var(--electric-teal);
    color: var(--dark-slate);
}

.gate-action.enter:hover {
    background: #00e5c2;
    box-shadow: 0 0 30px rgba(0, 191, 165, 0.4);
}

.gate-action.exit {
    background: transparent;
    color: var(--muted-blue);
    border: 2px solid var(--muted-blue);
}

.gate-action.exit:hover {
    background: var(--muted-blue);
    color: var(--dark-slate);
}

.denied {
    text-align: center;
    padding: 100px 30px;
}

.denied h1 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--electric-teal);
    font-size: 42px;
    margin-bottom: 22px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-system {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--dark-slate);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
    }
    
    .nav-system.active {
        right: 0;
    }
    
    .nav-system ul {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }
    
    .nav-system ul li a {
        font-size: 20px;
    }
    
    .showcase h1 {
        font-size: 38px;
        letter-spacing: 2px;
    }
    
    .showcase .desc {
        font-size: 16px;
    }
    
    .panel {
        min-width: 100%;
    }
    
    .chamber-window iframe {
        height: 450px;
    }
    
    .identity-name {
        font-size: 22px;
    }
    
    .identity-mark {
        width: 40px;
        height: 40px;
    }
    
    .age-gate-inner {
        padding: 40px 28px;
    }
    
    .gate-actions {
        flex-direction: column;
    }
    
    .footer-row {
        flex-direction: column;
        gap: 18px;
    }
}
