/* miris.bar - An Evening at MiRiS Bar */

/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-snap-type: y proximity;
    scroll-behavior: smooth;
}

body {
    background-color: #1A110A;
    color: #F0E8D8;
    font-family: 'Crimson Text', Georgia, serif;
    font-weight: 400;
    font-size: clamp(1rem, 1.7vw, 1.1rem);
    line-height: 1.75;
    overflow-x: hidden;
}

/* === Lamp Glow === */
.lamp-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 0%, rgba(212, 160, 84, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.lamp-glow-small {
    background: radial-gradient(ellipse at 50% 0%, rgba(212, 160, 84, 0.06) 0%, transparent 45%);
}

.section-lamp {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 200px;
    background: radial-gradient(ellipse at 50% 0%, rgba(212, 160, 84, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* === The Entrance === */
.entrance {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    scroll-snap-align: start;
}

.entrance-content {
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeReveal 1.5s ease-out 0.3s forwards;
}

@keyframes fadeReveal {
    to { opacity: 1; transform: translateY(0); }
}

.bar-name {
    font-family: 'Poiret One', cursive;
    font-weight: 400;
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: #D4A054;
    letter-spacing: 0.1em;
    text-shadow:
        0 0 10px rgba(212, 160, 84, 0.5),
        0 0 20px rgba(212, 160, 84, 0.3),
        0 0 40px rgba(212, 160, 84, 0.1);
}

.bar-tagline {
    font-family: 'Crimson Text', Georgia, serif;
    font-style: italic;
    font-size: 1rem;
    color: #8A7A6A;
    margin-top: 16px;
}

.bar-est {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    font-size: 0.75rem;
    color: #8A7A6A;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: 8px;
}

.bar-counter-edge {
    width: 200px;
    height: 3px;
    margin: 40px auto 0;
    background: linear-gradient(to right, transparent, #D4A054, transparent);
    border-radius: 2px;
}

/* === The Menu Board === */
.menu-board {
    position: relative;
    padding: 120px 24px 80px;
    max-width: 1040px;
    margin: 0 auto;
    scroll-snap-align: start;
}

.section-label {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    font-size: clamp(0.7rem, 1.2vw, 0.85rem);
    color: #D4A054;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 32px;
    text-align: center;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    max-width: 960px;
    margin: 0 auto;
}

/* === Menu Card === */
.menu-card {
    background-color: #2A1E14;
    background-image:
        linear-gradient(89deg, #2A1E14 0%, #2E2218 50%, #261C12 100%);
    border: 1px solid rgba(58, 42, 26, 0.4);
    border-radius: 6px;
    padding: 24px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(12px);
}

.menu-card.revealed {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.25s ease;
}

.menu-card:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(212, 160, 84, 0.15);
}

.menu-card .card-title {
    font-family: 'Poiret One', cursive;
    font-weight: 400;
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    color: #D4A054;
    margin-bottom: 8px;
}

.menu-card .card-desc {
    font-family: 'Crimson Text', Georgia, serif;
    font-size: 0.95rem;
    color: #F0E8D8;
    line-height: 1.6;
    margin-bottom: 12px;
}

/* === Status Pills === */
.status-pill {
    display: inline-block;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 3px 12px;
    border-radius: 999px;
    color: #F0E8D8;
}

.status-pill.released {
    background-color: #B8860B;
}

.status-pill.indev {
    background-color: #CC6B2E;
}

.status-pill.concept {
    background-color: #8A7A6A;
}

/* === The Counter === */
.counter {
    position: relative;
    padding: 120px 24px 80px;
    max-width: 1040px;
    margin: 0 auto;
    scroll-snap-align: start;
}

.counter-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 960px;
    margin: 0 auto;
}

/* === Conversations (Devlog Receipts) === */
.conversations {
    display: flex;
    flex-direction: column;
}

.receipt-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.receipt-card {
    background-color: #F0E8D8;
    padding: 20px;
    max-width: 300px;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.8s ease;
}

.receipt-card.revealed {
    opacity: 1;
}

.receipt-date {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #8A7A6A;
    margin-bottom: 8px;
}

.receipt-text {
    font-family: 'Crimson Text', Georgia, serif;
    font-style: italic;
    font-size: 0.9rem;
    color: #3A2A1A;
    line-height: 1.6;
}

/* === Regulars (Team) === */
.regulars {
    display: flex;
    flex-direction: column;
}

.regulars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.regular {
    text-align: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.regular.revealed {
    opacity: 1;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #2A1E14;
    border: 1px solid #D4A054;
    margin: 0 auto 8px;
}

.regular-name {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    font-size: 0.75rem;
    color: #F0E8D8;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.regular-role {
    font-family: 'Crimson Text', Georgia, serif;
    font-style: italic;
    font-size: 0.7rem;
    color: #8A7A6A;
}

/* === Last Call === */
.last-call {
    position: relative;
    padding: 120px 24px 80px;
    text-align: center;
    scroll-snap-align: start;
}

.last-call-content {
    margin-bottom: 40px;
}

.contact-line {
    margin-bottom: 12px;
}

.bar-link {
    font-family: 'Crimson Text', Georgia, serif;
    font-size: 1rem;
    color: #F0E8D8;
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.bar-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: #D4A054;
    transition: width 0.3s ease, left 0.3s ease;
}

.bar-link:hover::after {
    width: 100%;
    left: 0;
}

.bar-link:hover {
    color: #D4A054;
}

.crossed-stirrers {
    margin: 40px auto 80px;
}

/* === Responsive === */
@media (max-width: 700px) {
    .counter-split {
        grid-template-columns: 1fr;
    }

    .regulars-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .receipt-card {
        max-width: 100%;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }
}
