:root {
    --bg: #050505;
    --text: #d4d4d4;
    --accent-red: #8b0000;
    --muted: #333;
    --gold: #af9500;
    --cream: #e0e0e0;
}

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

body {
    background-color: #000;
    background-image: url('https://www.transparenttextures.com/patterns/dark-matter.png');
    background-attachment: fixed;
    color: var(--text);
    font-family: 'EB Garamond', serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* CINEMATIC HERO TREATMENT for /dare */
.theme-cinematic {
    background-color: #000;
}

.theme-cinematic .hero-background-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-image: url('/img/fallax-mundi.jpg');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

@media (max-width: 1024px) {
    .theme-cinematic .hero-background-wrapper {
        background-position: center 40%;
    }
}

.theme-cinematic .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.8) 60%, rgba(0,0,0,1) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Reset global anchor defaults to prevent browser styling leaks */
a, a:visited, a:hover, a:active {
    text-decoration: none !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2vmax 20px;
    text-align: center;
    position: relative;
    z-index: 10;
}

@media (min-width: 1024px) {
    .container {
        max-width: 90vw;
        padding: 1vh 5vw;
    }
}

.overlaid-text {
    padding-top: 15vh;
    margin-bottom: 2vh !important;
}

.hero-card-container {
    display: none;
    position: relative;
    z-index: 5;
    justify-content: center;
}

.card-hero {
    max-height: 60vh;
    width: auto;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
    display: block;
}

.hero .face {
    max-height: 50vh;
    width: auto;
    margin: 0 auto;
    display: block;
}

@media (min-width: 1024px) {
    .hero .face {
        max-height: 55vh;
        transform: scale(1.1);
        margin-bottom: 60px; /* Separation: 60px breathing room to avoid overlap */
        position: relative;
        z-index: 2;
    }
}

header h1 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: clamp(2rem, 8vw, 4rem);
    letter-spacing: -2px;
    line-height: 0.9;
    text-transform: uppercase;
    margin-bottom: 60px; /* Added spacing below headline to drop face/quote down */
}

@media (max-width: 768px) {
    header h1 {
        margin-bottom: 30px; /* Proportionally smaller for mobile */
    }
}

.quote-section {
    max-width: 850px;
    margin: 1rem auto;
}

@media (min-width: 1024px) {
    .quote-section {
        max-width: 80vw;
        margin: 0 auto;
    }
}

.quote {
    font-style: italic;
    font-size: 1.6rem;
    color: var(--text);
    line-height: 1.4;
    text-shadow: 0 0 20px rgba(0,0,0,1);
}

@media (min-width: 1440px) {
    .quote {
        font-size: 1.55rem; /* ~10-15% reduction for desktop */
    }
}

.choices {
    margin-top: 2rem; /* Reduced from 4rem to move choice box up */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

@media (max-width: 768px) {
    .choices {
        flex-direction: column;
        gap: 1.5rem;
    }
}

.choice-separator {
    font-family: 'EB Garamond', serif;
    font-style: italic;
    font-size: 1.4rem;
    color: var(--text);
    opacity: 0.7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
}

/* Explicit Button Lockdown */
.btn, a.btn, a.btn:visited {
    display: inline-block;
    text-decoration: none !important;
    text-transform: uppercase;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 1.2rem 3rem;
    border: 2px solid;
    transition: all 0.3s ease;
}

.btn-remain, a.btn-remain, a.btn-remain:visited {
    border-color: var(--cream) !important;
    color: var(--cream) !important;
}

.btn-remain:hover {
    background: rgba(224, 224, 224, 0.1);
}

.btn-dare, a.btn-dare, a.btn-dare:visited {
    border-color: var(--accent-red) !important;
    color: var(--accent-red) !important;
}

.btn-dare:hover {
    background: rgba(139, 0, 0, 0.1);
}

.secondary-line {
    font-style: italic;
    margin: 2rem 0 3rem 0;
    font-size: 1.3rem;
    opacity: 0.8;
}

.pricing-tiers {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.tier-box {
    border: 1px solid #444;
    padding: 3rem 2rem;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.tier-box.featured {
    border: 1px solid #777;
}

.tier-box.anchor {
    border: 1px solid var(--accent-red);
}

.tier-box h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    color: white;
}

.price {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: white;
    margin-bottom: 2rem;
}

.tier-desc {
    font-style: italic;
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 3rem;
    min-height: 4.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-toll {
    text-decoration: none;
    padding: 1rem 2rem;
    font-family: 'Cinzel', serif;
    border: 1px solid #666;
    color: #fff !important;
    transition: 0.5s;
}

.btn-toll:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.05);
}

.tier-box.anchor .btn-toll {
    border-color: var(--accent-red);
    color: #ff3333 !important;
}

.tier-box.anchor .btn-toll:hover {
    background: var(--accent-red);
    color: white !important;
}

footer {
    padding: 4rem 0;
}

.latin {
    font-style: italic;
    font-size: 1.1rem;
    letter-spacing: 2px;
    opacity: 0.5;
}

.fade-in {
    animation: fadeIn 2s ease-in forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Overrides from brief */
@media (min-width: 1024px) {
    .btn-remain {
        color: var(--cream) !important;
        border: 2px solid var(--cream) !important;
    }
}

@media (max-width: 768px) {
    .theme-cinematic .hero-background-wrapper {
        background-attachment: scroll;
        background-position: center 10%;
    }
    .pricing-tiers {
        flex-direction: column;
        align-items: center;
    }
    .tier-box {
        width: 100%;
        margin-bottom: 1.5rem;
    }
}
