:root {
    --gold: #d4af37;
    --gold-glow: rgba(212, 175, 55, 0.4);
    --dark-bg: #1a1a1a;
    --accent-brown: #2c1e14;
}

body {
    margin: 0; padding: 0;
    background-color: var(--dark-bg);
    font-family: 'Montserrat', sans-serif;
    color: #e0e0e0;
    overflow-x: hidden;
}

.speakeasy-header {
    text-align: center;
    padding: 40px 20px;
    background: radial-gradient(circle at center, #2c1e14 0%, #1a1a1a 100%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.main-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin: 0; color: #fff;
    line-height: 1.1;
}

.main-title span { font-style: italic; color: var(--gold); }

.mode-selector {
    display: flex; justify-content: center;
    max-width: 600px; margin: 30px auto 0;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 5px; overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.mode-btn {
    flex: 1; padding: 12px;
    background: transparent; border: none;
    color: #888; cursor: pointer;
    font-size: 0.75rem; letter-spacing: 2px;
    text-transform: uppercase; transition: all 0.3s ease;
}

.mode-btn.active { background: rgba(212, 175, 55, 0.1); color: var(--gold); }

#speakeasy-container {
    padding-top: 50px;
    display: flex; justify-content: center;
}

.radio-box {
    width: 600px; padding: 40px;
    background: #1a120c; border-radius: 20px;
    border: 2px solid #3d2b1f; box-shadow: 0 30px 60px rgba(0,0,0,0.8);
    position: relative; text-align: center;
}

.visualizer-container {
    height: 60px; background: rgba(0,0,0,0.4);
    border-radius: 10px; margin-bottom: 30px;
    display: flex; align-items: center; justify-content: center; gap: 4px;
}

.viz-bar {
    width: 4px; height: 10px; background: var(--gold);
    border-radius: 2px; opacity: 0.5;
    transition: height 0.1s ease-out, opacity 0.1s ease-out;
}

.radio-container {
    position: relative; width: 250px;
    display: inline-block; cursor: pointer;
    transition: transform 0.3s;
}

.radio-image { width: 100%; filter: sepia(0.4); }

.mic-overlay {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100px; height: 100px;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; border: 2px solid var(--gold);
}

.radio-box.listening .mic-overlay {
    opacity: 1; animation: mic-pulse 1.5s infinite;
}

@keyframes mic-pulse {
    50% { transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 0 50px var(--gold-glow); }
}

#user-input-display { color: var(--gold); font-style: italic; margin-top: 20px; font-size: 1.1rem; min-height: 40px; opacity: 0.8; }
#ai-output-display { color: #fff; margin-top: 10px; font-size: 1.3rem; font-weight: 300; min-height: 60px; line-height: 1.4; }
#status-text { color: #888; font-size: 0.8rem; margin-top: 20px; text-transform: uppercase; letter-spacing: 1px; }

/* Recipe Card Styling */
.recipe-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    display: flex; align-items: center; justify-content: center;
    z-index: 1000;
    transition: opacity 0.5s ease;
}

.recipe-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.recipe-card-premium {
    width: 90%;
    max-width: 550px;
    background: #111;
    color: #fff;
    padding: 10px;
    border: 1px solid var(--gold);
    position: relative;
    box-shadow: 0 0 100px rgba(212, 175, 55, 0.2);
}

.card-border {
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 40px;
    text-align: center;
}

.card-header {
    font-size: 0.75rem;
    letter-spacing: 4px;
    color: var(--gold);
    opacity: 0.8;
    margin-bottom: 20px;
}

.recipe-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--gold);
    margin: 0 0 15px 0;
}

.recipe-tagline {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.4rem;
    color: var(--gold);
    opacity: 0.9;
    margin-bottom: 30px;
}

.card-content {
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #bbb;
}

.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.5), transparent);
    margin: 25px 0;
}

.section-label {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 15px;
}

.ingredients-list {
    list-style: none;
    padding: 0; margin: 0;
    color: #e0e0e0;
}

.ingredients-list li {
    margin-bottom: 5px;
    font-weight: 300;
}

.order-btn {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 15px 40px;
    margin-top: 40px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 0.9rem;
}

.order-btn:hover {
    background: var(--gold);
    color: #111;
}

.diamond { font-size: 0.8rem; vertical-align: middle; margin: 0 5px; }
