:root {
    --bar-dark: #1c1410;
    --bourbon: #2a2018;
    --back-room: #322a1e;
    --bar-gold: #c9a74e;
    --warm-cream: #e8dcc8;
    --aged-bronze: #a09080;
    --highlight-amber: #d4870e;
    --etched-glass: #5a5040;
}

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

body {
    font-family: 'Crimson Text', serif;
    background: var(--bar-dark);
    color: var(--warm-cream);
    overflow-x: hidden;
}

/* Section Layout */
.section {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
}

.bar-side {
    background: var(--bar-dark);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.patron-side {
    background: var(--bourbon);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 5vw, 5rem);
    position: relative;
}

/* Diagonal Clip */
.counter-section .bar-side {
    clip-path: polygon(0 0, 100% 4%, 100% 96%, 0 100%);
    background: var(--back-room);
}

.menu-section .bar-side {
    background: var(--bourbon);
}

.backroom-section .bar-side {
    background: var(--bar-dark);
}

.backroom-section .patron-side {
    background: var(--back-room);
}

/* Sunburst */
.sunburst {
    position: absolute;
    width: 120%;
    height: 120%;
    opacity: 0.5;
}

/* Door Frame */
.doorframe {
    position: relative;
    z-index: 2;
    width: 160px;
    height: 220px;
    border: 2px solid var(--bar-gold);
    border-radius: 80px 80px 0 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 1.5rem;
    opacity: 0.7;
}

.door-arch {
    text-align: center;
}

.arch-text {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    color: var(--bar-gold);
    opacity: 0.6;
}

/* Entrance Content */
.entrance-content {
    max-width: 450px;
}

.bar-name {
    font-family: 'Poiret One', cursive;
    font-size: clamp(2.4rem, 5.5vw, 4.5rem);
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--bar-gold);
    line-height: 1.1;
}

.deco-line {
    width: 80px;
    height: 1px;
    background: var(--bar-gold);
    margin: 1.5rem 0;
    opacity: 0.5;
}

.bar-tagline {
    font-family: 'Poiret One', cursive;
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    color: var(--aged-bronze);
    margin-bottom: 1rem;
}

.bar-description {
    font-family: 'Crimson Text', serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--warm-cream);
    opacity: 0.8;
    margin-bottom: 2rem;
}

/* Enter Prompt */
.enter-prompt {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--bar-gold);
    transition: color 0.3s ease;
}

.enter-prompt:hover {
    color: var(--highlight-amber);
}

.arrow-down {
    width: 18px;
    height: 18px;
    animation: bobDown 2s ease-in-out infinite;
}

@keyframes bobDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* Section Titles */
.section-title {
    font-family: 'Poiret One', cursive;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--bar-gold);
    margin-bottom: 0.5rem;
}

.deco-divider {
    text-align: center;
    margin: 1rem 0 1.5rem;
    position: relative;
}

.deco-divider::before,
.deco-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--etched-glass);
}

.deco-divider::before { left: 0; }
.deco-divider::after { right: 0; }

.deco-diamond {
    color: var(--bar-gold);
    font-size: 0.8rem;
    opacity: 0.6;
    position: relative;
    z-index: 1;
    background: var(--bourbon);
    padding: 0 0.5rem;
}

.backroom-section .deco-diamond {
    background: var(--back-room);
}

.section-body {
    font-family: 'Crimson Text', serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.75;
    color: var(--warm-cream);
    opacity: 0.85;
    margin-bottom: 1.5rem;
}

/* Drink Menu */
.drink-menu {
    margin-top: 1.5rem;
}

.drink-item {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.75rem 0;
    border-bottom: 1px dotted var(--etched-glass);
}

.drink-name {
    font-family: 'Poiret One', cursive;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    color: var(--bar-gold);
    white-space: nowrap;
}

.drink-dots {
    flex: 1;
    border-bottom: 1px dotted var(--etched-glass);
    min-width: 20px;
    margin-bottom: 4px;
}

.drink-desc {
    font-family: 'Crimson Text', serif;
    font-size: 0.85rem;
    font-style: italic;
    color: var(--aged-bronze);
    white-space: nowrap;
}

/* Etched Glass Panel */
.etched-glass-panel {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.4;
}

.glass-pattern {
    width: 100%;
    height: 100%;
}

/* Pendant Light */
.pendant-light {
    position: relative;
    width: 80px;
    height: 80px;
}

.light-glow {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 135, 14, 0.4) 0%, transparent 70%);
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
}

/* Topic Board */
.topic-board {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.topic-card {
    padding: 1.5rem;
    border: 1px solid var(--etched-glass);
    transition: border-color 0.3s ease, transform 0.3s ease;
    position: relative;
}

.topic-card:hover {
    border-color: var(--bar-gold);
    transform: translateY(-3px);
}

.topic-number {
    font-family: 'Poiret One', cursive;
    font-size: 1.8rem;
    color: var(--bar-gold);
    opacity: 0.4;
    display: block;
    margin-bottom: 0.5rem;
}

.topic-name {
    font-family: 'Poiret One', cursive;
    font-size: 1.2rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bar-gold);
    margin-bottom: 0.5rem;
}

.topic-desc {
    font-family: 'Crimson Text', serif;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--aged-bronze);
}

/* Closing Quote */
.closing-quote {
    border-left: 2px solid var(--bar-gold);
    padding-left: 1.5rem;
    margin: 2rem 0;
}

.quote-text {
    font-family: 'Crimson Text', serif;
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--warm-cream);
}

.quote-attribution {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    color: var(--aged-bronze);
    margin-top: 0.5rem;
    letter-spacing: 0.1em;
}

/* Bar Footer */
.bar-footer {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid var(--etched-glass);
}

.footer-domain {
    font-family: 'Poiret One', cursive;
    font-size: 1rem;
    letter-spacing: 0.15em;
    color: var(--bar-gold);
}

.footer-hours {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.65rem;
    color: var(--aged-bronze);
    letter-spacing: 0.1em;
}

/* Reveal Animations */
.patron-side > div > * {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.visible .patron-side > div > * {
    opacity: 1;
    transform: translateY(0);
}

.section.visible .patron-side > div > *:nth-child(1) { transition-delay: 0.1s; }
.section.visible .patron-side > div > *:nth-child(2) { transition-delay: 0.15s; }
.section.visible .patron-side > div > *:nth-child(3) { transition-delay: 0.2s; }
.section.visible .patron-side > div > *:nth-child(4) { transition-delay: 0.25s; }
.section.visible .patron-side > div > *:nth-child(5) { transition-delay: 0.3s; }
.section.visible .patron-side > div > *:nth-child(6) { transition-delay: 0.35s; }
.section.visible .patron-side > div > *:nth-child(7) { transition-delay: 0.4s; }

/* Entrance always visible */
.entrance-section .patron-side > div > * {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .section {
        grid-template-columns: 1fr;
        grid-template-rows: 30vh 1fr;
    }

    .bar-side {
        min-height: 30vh;
    }

    .patron-side {
        padding: 2rem 1.5rem;
    }

    .topic-board {
        grid-template-columns: 1fr;
    }

    .drink-item {
        flex-direction: column;
        gap: 0.2rem;
    }

    .drink-dots {
        display: none;
    }
}
