/* ==========================================================================
   Sass Tarot - Site Styles
   Design system: #5D1A45 primary, #D6A5B2 secondary, #F9F5F0 background
   Libre Caslon Text (display) + Manrope (body)
   ========================================================================== */

/* CSS Variables */
:root {
    --sass-magenta: #5D1A45;
    --sass-magenta-dark: #451232;
    --sass-cream: #F9F5F0;
    --sass-cream-dark: #EDE7E0;
    --text-dark: #4A4542;
    --text-muted: #8a7f7a;

    /* Secondary / accent */
    --sass-rose: #D6A5B2;
    --sass-rose-dark: #c08a99;

    /* Legacy aliases for compatibility */
    --color-cream: var(--sass-cream);
    --color-cream-dark: var(--sass-cream-dark);
    --color-magenta: var(--sass-magenta);
    --color-magenta-dark: var(--sass-magenta-dark);
    --color-magenta-light: #7a2458;
    --color-text: var(--text-dark);
    --color-text-light: var(--text-muted);
    --color-gold: #C9A227;
    --color-purple: #5D1A45;

    --font-display: 'Libre Caslon Text', Georgia, serif;
    --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

    --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.15);

    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 12px;

    --transition-fast: 0.15s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-cream);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 0.5em;
    color: var(--color-text);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
    margin: 0 0 1em;
}

a {
    color: var(--color-magenta);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-magenta-dark);
}

/* Image Protection */
img {
    max-width: 100%;
    height: auto;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
}

/* Allow pointer events on clickable card links */
.card-thumbnail img,
.reading-card img {
    pointer-events: auto;
}

/* ==========================================================================
   Header & Navigation - Sasstrology Style
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    z-index: 9999;
    background: var(--sass-cream);
    border-bottom: 1px solid rgba(93, 26, 69, 0.1);
}

.nav-container {
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-cta {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sass-cream) !important;
    background: var(--sass-magenta);
    text-decoration: none;
    padding: 0.7rem 1.4rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--sass-magenta-dark);
    transform: translateY(-1px);
    color: var(--sass-cream) !important;
}

@media (max-width: 600px) {
    .nav-container {
        padding: 0.875rem 1.25rem;
    }

    .nav-logo img {
        height: 32px;
    }

    .nav-cta {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   Main Content - Account for fixed header
   ========================================================================== */

.main-content {
    min-height: calc(100vh - 200px);
    padding-top: 70px; /* Space for fixed header */
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 7rem 2rem 4rem;
    position: relative;
    background: radial-gradient(ellipse 80% 60% at 50% 20%, rgba(93, 26, 69, 0.06) 0%, transparent 50%), var(--sass-cream);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    line-height: 1.15;
    max-width: 16ch;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
}

.hero h1 em {
    font-style: italic;
    color: var(--sass-magenta);
}

.hero-tagline {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sass-magenta);
    margin-bottom: 1.25rem;
}

.hero-description {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 42ch;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .hero {
        padding: 6rem 1.5rem 3rem;
    }
}

/* ==========================================================================
   Homepage hero card cluster (two backs flanking a face-up card)
   ========================================================================== */

.hero-cards {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 1.75rem;
}

.hero-card {
    width: 96px;
    border-radius: 10px;
    overflow: hidden;
    line-height: 0;
    background: var(--sass-cream);
    box-shadow: 0 14px 32px rgba(93, 26, 69, 0.22);
}

.hero-card img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-card-left {
    transform: rotate(-12deg);
    margin-right: -20px;
    z-index: 1;
    animation: hero-float-a 6s ease-in-out infinite;
}

.hero-card-center {
    width: 112px;
    z-index: 3;
    animation: hero-float-b 5s ease-in-out infinite;
}

.hero-card-right {
    transform: rotate(12deg);
    margin-left: -20px;
    z-index: 1;
    animation: hero-float-c 6.5s ease-in-out infinite;
}

@keyframes hero-float-a {
    0%, 100% { transform: rotate(-12deg) translateY(8px); }
    50%      { transform: rotate(-12deg) translateY(0); }
}
@keyframes hero-float-b {
    0%, 100% { transform: translateY(-4px); }
    50%      { transform: translateY(-14px); }
}
@keyframes hero-float-c {
    0%, 100% { transform: rotate(12deg) translateY(8px); }
    50%      { transform: rotate(12deg) translateY(0); }
}

@media (max-width: 600px) {
    .hero-cards { margin-bottom: 1.25rem; }
    .hero-card { width: 74px; }
    .hero-card-center { width: 86px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-card-left   { animation: none; transform: rotate(-12deg) translateY(8px); }
    .hero-card-center { animation: none; transform: translateY(-4px); }
    .hero-card-right  { animation: none; transform: rotate(12deg) translateY(8px); }
}

/* ==========================================================================
   Reading-page header card (one theme-matched card, gently floating)
   ========================================================================== */

.reading-hero-card {
    width: 88px;
    margin: 0 auto 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    line-height: 0;
    background: var(--sass-cream);
    box-shadow: 0 14px 30px rgba(93, 26, 69, 0.2);
    transform: rotate(-4deg);
    animation: reading-card-float 5.5s ease-in-out infinite;
}

.reading-hero-card img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes reading-card-float {
    0%, 100% { transform: rotate(-4deg) translateY(0); }
    50%      { transform: rotate(-4deg) translateY(-9px); }
}

@media (max-width: 600px) {
    .reading-hero-card { width: 72px; margin-bottom: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
    .reading-hero-card { animation: none; }
}

/* ==========================================================================
   Homepage "Ask the Cards" hero question box
   ========================================================================== */

.home-ask-form {
    width: 100%;
    max-width: 540px;
    margin: 2rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.home-ask-input {
    width: 100%;
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.4;
    color: var(--text-dark);
    background: #fff;
    border: 1.5px solid rgba(93, 26, 69, 0.18);
    border-radius: 14px;
    padding: 1rem 1.15rem;
    resize: none;
    box-shadow: 0 8px 28px rgba(93, 26, 69, 0.08);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-ask-input::placeholder { color: var(--text-muted); opacity: 0.75; }

.home-ask-input:focus {
    outline: none;
    border-color: var(--sass-magenta);
    box-shadow: 0 8px 28px rgba(93, 26, 69, 0.16);
}

.home-ask-btn {
    align-self: center;
    font-size: 1.05rem;
    padding: 0.9rem 2.25rem;
}

.home-ask-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    max-width: 560px;
    margin: 1.25rem auto 0;
}

.home-chip {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--sass-magenta);
    background: rgba(93, 26, 69, 0.06);
    border: 1px solid rgba(93, 26, 69, 0.16);
    border-radius: 999px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease;
}

.home-chip:hover {
    background: rgba(93, 26, 69, 0.12);
    border-color: rgba(93, 26, 69, 0.3);
}

.home-ask-note {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
}

@media (max-width: 600px) {
    .home-ask-btn { align-self: stretch; }
}

/* ==========================================================================
   Reading Cards Grid (Homepage) - Daily Content Style from Sasstrology
   ========================================================================== */

.readings-section {
    padding: 5rem 2rem;
    background: var(--sass-magenta);
    color: var(--sass-cream);
}

.readings-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.readings-section .section-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 251, 230, 0.7);
    text-align: center;
    margin-bottom: 0.75rem;
}

.readings-section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 400;
    text-align: center;
    margin-bottom: 0.75rem;
    color: var(--sass-cream);
}

.readings-section .section-sub {
    text-align: center;
    color: rgba(255, 251, 230, 0.8);
    margin-bottom: 3rem;
    font-size: 1.05rem;
}

.reading-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

@media (max-width: 768px) {
    .reading-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .reading-cards {
        grid-template-columns: 1fr;
    }

    .readings-section {
        padding: 4rem 1.5rem;
    }
}

.reading-card {
    background: rgba(255, 251, 230, 0.1);
    border-radius: 6px;
    padding: 1.5rem;
    text-align: left;
    text-decoration: none;
    color: var(--sass-cream);
    transition: background 0.3s ease;
}

.reading-card:hover {
    background: rgba(255, 251, 230, 0.15);
    color: var(--sass-cream);
}

.reading-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--sass-cream);
}

.reading-card p {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(255, 251, 230, 0.75);
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   All Cards Section (Homepage)
   ========================================================================== */

.all-cards-section {
    padding: 6rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
    background: var(--sass-cream);
}

.all-cards-section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 400;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.section-intro {
    text-align: center;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.05rem;
}

.card-group {
    margin-bottom: 3rem;
}

.card-group h3 {
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--sass-magenta);
    border-bottom: 2px solid rgba(93, 26, 69, 0.2);
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
}

.card-group-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.suit-group {
    margin-bottom: 2rem;
}

.suit-title {
    font-family: var(--font-body);
    color: var(--sass-magenta);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

@media (max-width: 600px) {
    .all-cards-section {
        padding: 4rem 1.5rem;
    }
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
}

.card-thumbnail {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: all var(--transition-medium);
    padding: 0.5rem;
    border-radius: var(--radius-md);
}

.card-thumbnail:hover {
    transform: translateY(-4px) scale(1.02);
    background: rgba(93, 26, 69, 0.05);
}

.card-thumbnail-image {
    width: 80px;
    height: 120px;
    background: var(--color-cream-dark);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    position: relative;
    transition: box-shadow var(--transition-medium);
}

.card-thumbnail:hover .card-thumbnail-image {
    box-shadow: var(--shadow-medium);
}

.card-thumbnail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: auto;
}

.card-thumbnail-placeholder {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-magenta) 100%);
    color: white;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
}

.card-thumbnail-name {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--color-text);
    text-align: center;
    line-height: 1.2;
    transition: color var(--transition-fast);
}

.card-thumbnail:hover .card-thumbnail-name {
    color: var(--color-magenta);
}

/* ==========================================================================
   Reading Pages
   ========================================================================== */

.reading-page {
    padding: 2rem 1.5rem 4rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.reading-page h1 {
    color: var(--color-magenta);
}

.reading-intro {
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.reading-area {
    margin-top: 2rem;
}

/* Deck */
.deck-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.deck {
    position: relative;
    width: 150px;
    height: 225px;
    cursor: pointer;
    perspective: 1000px;
    transition: transform var(--transition-medium);
}

.deck:hover {
    transform: scale(1.02);
}

.deck::before,
.deck::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-magenta-dark) 100%);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.deck::before {
    top: 4px;
    left: 4px;
    z-index: 1;
}

.deck::after {
    top: 8px;
    left: 8px;
    z-index: 0;
}

.card {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    z-index: 2;
    transition: transform var(--transition-medium);
}

.card-back {
    background: linear-gradient(135deg, var(--color-magenta) 0%, var(--color-purple) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-back-fallback {
    background: linear-gradient(135deg, var(--color-magenta) 0%, var(--color-purple) 100%);
}

.card-back-fallback::after {
    content: 'TAROT';
    font-family: var(--font-display);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.2em;
    writing-mode: vertical-rl;
}

.deck-instruction {
    color: var(--color-text-light);
    font-size: 0.9rem;
    font-style: italic;
}

/* Shuffle Animation */
.deck.shuffling .card {
    animation: shuffle 0.6s ease-in-out;
}

@keyframes shuffle {
    0%, 100% { transform: translateX(0) rotate(0); }
    25% { transform: translateX(-30px) rotate(-5deg); }
    50% { transform: translateX(30px) rotate(5deg); }
    75% { transform: translateX(-15px) rotate(-2deg); }
}

/* Draw Animation */
.deck.drawing .card {
    animation: draw 0.8s ease forwards;
}

@keyframes draw {
    0% { transform: scale(1) translateY(0); opacity: 1; }
    50% { transform: scale(1.1) translateY(-50px); opacity: 1; }
    100% { transform: scale(0.8) translateY(-100px); opacity: 0; }
}

/* Result Container */
.result-container {
    margin-top: 2rem;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.drawn-card {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.card-image-container {
    width: 180px;
    height: 270px;
    margin: 0 auto;
    background: var(--color-cream-dark);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    position: relative;
}

.card-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-placeholder {
    display: none;
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-magenta) 100%);
    color: white;
    font-family: var(--font-display);
}

.card-placeholder span {
    font-size: 3rem;
    font-weight: 600;
}

.reversed-label {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: var(--color-purple);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-sm);
}

.drawn-card.is-reversed .card-image-container {
    transform: rotate(180deg);
}

.result-content {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.card-name {
    color: var(--color-magenta);
}

.card-description,
.card-meaning,
.card-explanation {
    color: var(--color-text);
    line-height: 1.7;
}

/* Answer Badge (Yes/No) */
.answer-badge {
    display: inline-block;
    padding: 0.5rem 2rem;
    margin-bottom: 1rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
}

.answer-badge.yes {
    background: linear-gradient(135deg, #7a2458 0%, #5D1A45 100%);
    color: white;
}

.answer-badge.no {
    background: linear-gradient(135deg, #F44336 0%, #C62828 100%);
    color: white;
}

.answer-badge.maybe {
    background: linear-gradient(135deg, var(--color-gold) 0%, #A68A1F 100%);
    color: white;
}

/* Keywords */
.keywords {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.keyword {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: transparent;
    color: var(--sass-magenta);
    border: 1.5px solid var(--sass-magenta);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 20px;
    transition: all var(--transition-fast);
}

.keyword:hover {
    background: var(--sass-magenta);
    color: white;
}

/* Daily Reading Extras */
.reflection-section {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: left;
}

.reflection-section h3 {
    color: var(--color-magenta);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.reflection-prompts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reflection-prompts li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-cream-dark);
    color: var(--color-text);
}

.reflection-prompts li:last-child {
    border-bottom: none;
}

.share-section {
    background: var(--color-cream-dark);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin: 2rem 0;
}

.share-section h3 {
    color: var(--sass-rose-dark);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.share-box {
    background: white;
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 1rem;
    font-style: italic;
}

/* Three Card Spread */
.three-card-spread {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (max-width: 600px) {
    .three-card-spread {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.spread-card {
    text-align: center;
}

.spread-card .position-label {
    color: var(--sass-rose-dark);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.spread-card .card-image-container {
    width: 120px;
    height: 180px;
}

.spread-card .card-name {
    font-size: 1rem;
    margin-top: 1rem;
}

.spread-card .card-meaning {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* ==========================================================================
   Buttons - Sasstrology Style
   ========================================================================== */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-medium);
    margin: 0.25rem;
}

.btn-primary {
    background: var(--color-magenta);
    color: white;
}

.btn-primary:hover {
    background: var(--color-magenta-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: white;
}

.btn-secondary {
    background: white;
    color: var(--color-magenta);
    border: 2px solid var(--color-magenta);
}

.btn-secondary:hover {
    background: var(--color-magenta);
    color: white;
    transform: translateY(-2px);
}

/* ==========================================================================
   Card Detail Page
   ========================================================================== */

.card-detail-page {
    padding: 2rem 1.5rem 4rem;
    max-width: 800px;
    margin: 0 auto;
}

.breadcrumb {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.breadcrumb a {
    color: var(--color-text-light);
}

.breadcrumb a:hover {
    color: var(--color-magenta);
}

.card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.card-image-large {
    width: 200px;
    height: 300px;
    margin: 0 auto;
    background: var(--color-cream-dark);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    position: relative;
}

.card-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-placeholder-large {
    display: none;
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-magenta) 100%);
    color: white;
    font-family: var(--font-display);
    text-align: center;
    padding: 1rem;
}

.card-placeholder-large span:first-child {
    font-size: 3rem;
    font-weight: 600;
}

.placeholder-name {
    font-size: 1rem !important;
    opacity: 0.8;
}

.card-content h1 {
    color: var(--color-magenta);
    text-align: center;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.arcana-badge,
.suit-badge,
.number-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 20px;
}

.arcana-badge.major {
    background: var(--sass-magenta);
    color: white;
}

.arcana-badge.minor {
    background: var(--sass-rose);
    color: white;
}

.suit-badge {
    background: var(--color-cream-dark);
    color: var(--color-text);
}

.number-badge {
    background: var(--color-cream-dark);
    color: var(--color-text-light);
}

.card-description {
    text-align: center;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.keywords-section {
    margin-bottom: 2rem;
}

.keywords-section h2 {
    font-size: 1rem;
    color: var(--sass-rose-dark);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.meaning-section {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.meaning-section h2 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.meaning-section.upright h2 {
    color: #5D1A45;
}

.meaning-section.reversed h2 {
    color: var(--sass-rose-dark);
}

.meaning-section p {
    margin: 0;
    line-height: 1.7;
}

.faq-section {
    margin: 2rem 0;
}

.faq-section h2 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.faq-item {
    background: white;
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: all var(--transition-medium);
}

.faq-item:hover {
    box-shadow: var(--shadow-soft);
}

.faq-item h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.faq-item p {
    margin: 0;
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.cta-section {
    text-align: center;
    background: linear-gradient(135deg, var(--color-cream-dark) 0%, white 100%);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-top: 3rem;
}

.cta-section h2 {
    font-size: 1.25rem;
    color: var(--color-magenta);
}

.cta-section p {
    color: var(--color-text-light);
}

.cta-buttons {
    margin-top: 1rem;
}

/* ==========================================================================
   Footer - Sasstrology Style
   ========================================================================== */

.site-footer {
    padding: 3rem 2rem;
    background: var(--sass-magenta);
    color: var(--sass-cream);
    margin-top: 0;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-logo img {
    height: 35px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(255, 251, 230, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--sass-cream);
}

.footer-copy {
    width: 100%;
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: rgba(255, 251, 230, 0.5);
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 251, 230, 0.15);
}

@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Sass Bounce Animation (for scroll indicators, etc.) */
@keyframes sassBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.bounce {
    animation: sassBounce 2s infinite;
}

/* ==========================================================================
   Multi-Phase Interactive Reading Styles (NEW)
   Focus -> Shuffle -> Spread -> Reveal flow
   ========================================================================== */

/* Card dimensions for interactive readings */
:root {
    --interactive-card-width: 140px;
    --interactive-card-height: 240px;
}

/* Container for interactive readings */
.tarot-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1.5rem;
}

.tarot-page-header {
    text-align: center;
    padding: 3rem 1.5rem;
}

.tarot-page-header h1 {
    font-size: 2.5rem;
    color: var(--sass-magenta);
    margin-bottom: 1rem;
}

.tarot-page-header p {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Breadcrumbs for reading pages */
.breadcrumbs {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--sass-magenta);
}

.breadcrumbs span {
    margin: 0 0.5rem;
}

/* Phase container */
.tarot-phase {
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Focus Phase */
.tarot-focus-phase {
    text-align: center;
}

.focus-content {
    max-width: 400px;
}

.focus-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    color: var(--sass-magenta);
}

.focus-circle {
    width: 100%;
    height: 100%;
}

@keyframes pulse-ring {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.6;
    }
}

.focus-message {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.focus-instruction {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

/* Deck Selection Phase */
.tarot-deck-select-phase {
    text-align: center;
}

.deck-select-title {
    font-size: 1.75rem;
    color: var(--sass-magenta);
    margin-bottom: 0.5rem;
}

.deck-select-subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.deck-options {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.deck-option {
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.deck-option:hover .deck-preview {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(93, 26, 69, 0.2);
}

.deck-option.selected .deck-preview {
    box-shadow: 0 0 0 3px var(--sass-magenta), 0 10px 30px rgba(93, 26, 69, 0.3);
}

.deck-preview {
    width: var(--interactive-card-width);
    height: var(--interactive-card-height);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.deck-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: auto;
}

.deck-name {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.deck-option.selected .deck-name {
    color: var(--sass-magenta);
}

/* Shuffle Phase */
.tarot-shuffle-phase {
    text-align: center;
}

.shuffle-deck-container {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.shuffle-deck {
    position: relative;
    width: var(--interactive-card-width);
    height: var(--interactive-card-height);
}

.shuffle-card {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.shuffle-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: auto;
}

.shuffle-message {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--sass-magenta);
    margin-bottom: 0.5rem;
}

.shuffle-instruction {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Spread Phase */
.tarot-spread-phase {
    width: 100%;
}

.spread-header {
    text-align: center;
    margin-bottom: 2rem;
}

.spread-title {
    font-size: 1.5rem;
    color: var(--sass-magenta);
    margin-bottom: 0.5rem;
}

.spread-instruction {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.selection-counter {
    font-size: 0.9rem;
    color: var(--sass-magenta);
    font-weight: 600;
}

.selection-counter #selected-count {
    font-size: 1.25rem;
}

.spread-container {
    overflow-x: auto;
    padding: 2rem 0;
    margin: 0 -1.5rem;
}

.card-spread {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-width: max-content;
    padding: 2rem 1.5rem;
    gap: -20px;
    perspective: 1000px;
}

.tarot-spread-phase .spread-card {
    width: var(--interactive-card-width);
    height: var(--interactive-card-height);
    cursor: pointer;
    transform-origin: center bottom;
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
    margin: 0 -15px;
}

.tarot-spread-phase .spread-card:hover {
    z-index: 10;
    transform: translateY(-20px) rotate(0deg) !important;
}

.tarot-spread-phase .spread-card.selected {
    z-index: 20;
    transform: translateY(-40px) rotate(0deg) !important;
}

.tarot-spread-phase .spread-card .card-inner {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.tarot-spread-phase .spread-card:hover .card-inner {
    box-shadow: 0 8px 25px rgba(93, 26, 69, 0.25);
}

.tarot-spread-phase .spread-card.selected .card-inner {
    box-shadow: 0 0 0 3px var(--sass-magenta), 0 12px 35px rgba(93, 26, 69, 0.35);
}

.tarot-spread-phase .spread-card .card-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: auto;
}

.tarot-spread-phase .spread-card .card-glow {
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle at center, rgba(93, 26, 69, 0.3), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.tarot-spread-phase .spread-card.selected .card-glow {
    opacity: 1;
}

@keyframes card-selected {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Reveal Phase */
.tarot-reveal-phase {
    width: 100%;
    text-align: center;
}

.reveal-cards-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.reveal-card-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(var(--interactive-card-width) + 40px);
    animation: fade-up 0.5s ease-out backwards;
    animation-delay: var(--reveal-delay, 0s);
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-card-wrapper .position-label {
    font-family: var(--font-display);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--sass-magenta);
    margin-bottom: 1rem;
    font-weight: 600;
}

.reveal-card {
    width: var(--interactive-card-width);
    height: var(--interactive-card-height);
    perspective: 1000px;
    margin-bottom: 1rem;
}

.reveal-card .card-flipper {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-card.flipped .card-flipper {
    transform: rotateY(180deg);
}

.reveal-card .card-back,
.reveal-card .card-front {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.reveal-card .card-back {
    z-index: 2;
}

.reveal-card .card-front {
    transform: rotateY(180deg);
    background: var(--sass-cream-dark);
}

.reveal-card .card-front img,
.reveal-card .card-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    pointer-events: auto;
}

.reveal-card.reversed .card-front img {
    transform: rotate(180deg);
}

.reveal-card-wrapper .card-name,
.reveal-card-wrapper .card-info .card-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

.reversed-badge,
.card-info .reversed-badge {
    display: inline-block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: var(--sass-magenta);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    margin-bottom: 1rem;
}

.reveal-card-wrapper .card-meaning,
.card-info .card-meaning {
    max-width: 200px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Yes/No Specific Styles */
.yes-no-reveal .reveal-card-wrapper.single-card {
    width: auto;
}

.answer-display {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.answer-display.visible {
    opacity: 1;
    transform: scale(1);
}

.answer-display.yes {
    color: #5D1A45;
}

.answer-display.no {
    color: var(--sass-magenta);
}

.answer-display.maybe {
    color: #F57C00;
}

.answer-explanation {
    max-width: 500px;
    margin: 2rem auto;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Interactive Tarot Buttons */
.tarot-btn {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.tarot-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.tarot-btn-primary {
    background: var(--sass-magenta);
    color: white;
}

.tarot-btn-primary:hover:not(:disabled) {
    background: var(--sass-magenta-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(93, 26, 69, 0.3);
}

.tarot-btn-secondary {
    background: transparent;
    color: var(--sass-magenta);
    border: 2px solid var(--sass-magenta);
}

.tarot-btn-secondary:hover:not(:disabled) {
    background: var(--sass-magenta);
    color: white;
}

.tarot-btn-text {
    background: transparent;
    color: var(--text-muted);
    padding: 0.5rem 1rem;
}

.tarot-btn-text:hover {
    color: var(--sass-magenta);
}

.tarot-focus-phase .tarot-btn-primary {
    margin-bottom: 1rem;
}

/* Responsive adjustments for interactive readings */
@media (max-width: 768px) {
    :root {
        --interactive-card-width: 100px;
        --interactive-card-height: 171px;
    }

    .tarot-page-header h1 {
        font-size: 1.75rem;
    }

    .deck-options {
        gap: 1.5rem;
    }

    .reveal-cards-container {
        gap: 1.5rem;
    }

    .reveal-card-wrapper {
        width: calc(var(--interactive-card-width) + 20px);
    }

    .reveal-card-wrapper .card-meaning {
        max-width: 150px;
        font-size: 0.8rem;
    }

    .answer-display {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    :root {
        --interactive-card-width: 80px;
        --interactive-card-height: 137px;
    }

    .tarot-spread-phase .spread-card {
        margin: 0 -10px;
    }
}

/* ==========================================================================
   Enhanced Reveal Experience
   ========================================================================== */

.reveal-instruction {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--sass-magenta);
    text-align: center;
    margin-bottom: 2rem;
    animation: fade-up 0.5s ease-out;
}

/* Clickable card state */
.reveal-card.clickable {
    cursor: pointer;
}

.reveal-card.clickable:hover .card-flipper {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(93, 26, 69, 0.25);
}

.reveal-card.clickable::after {
    content: 'Click to reveal';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: var(--text-muted);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.reveal-card.clickable:hover::after {
    opacity: 1;
}

/* Focus circle animation on reveal card */
.reveal-card .card-focus-circle {
    position: absolute;
    inset: -20%;
    pointer-events: none;
    opacity: 0;
    z-index: 10;
    color: var(--sass-magenta);
}

.reveal-card .card-focus-circle svg {
    width: 100%;
    height: 100%;
}

.reveal-card .card-focus-circle circle {
    transform-origin: center;
    opacity: 0;
}

.reveal-card.focusing .card-focus-circle {
    opacity: 1;
}

.reveal-card.focusing .card-focus-circle circle:nth-child(1) {
    animation: focus-ring-pulse 0.6s ease-out forwards;
}

.reveal-card.focusing .card-focus-circle circle:nth-child(2) {
    animation: focus-ring-pulse 0.6s ease-out 0.1s forwards;
}

.reveal-card.focusing .card-focus-circle circle:nth-child(3) {
    animation: focus-ring-pulse 0.6s ease-out 0.2s forwards;
}

@keyframes focus-ring-pulse {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* Card info (name and meaning) - hidden until card flipped */
.reveal-card-wrapper .card-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateY(10px);
}

/* Flying away animation for unselected cards */
.spread-card.flying-away {
    pointer-events: none;
}

/* Draw again button animation */
.draw-again-btn {
    margin-top: 1rem;
}

/* ==========================================================================
   Celtic Cross Layout
   ========================================================================== */

.celtic-cross-layout {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, auto);
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    padding: 1rem;
}

/* Celtic Cross responsive - stack on mobile */
@media (max-width: 768px) {
    .celtic-cross-layout {
        grid-template-columns: repeat(2, 1fr);
    }

    .reveal-cards-container {
        flex-direction: column;
        align-items: center;
    }
}

/* ==========================================================================
   Card Lightbox Modal
   ========================================================================== */

.card-lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.card-lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.card-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.card-lightbox-modal {
    position: relative;
    background: var(--sass-cream);
    border-radius: 12px;
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card-lightbox-overlay.active .card-lightbox-modal {
    transform: scale(1) translateY(0);
}

.card-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    font-size: 1.75rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.card-lightbox-close:hover {
    color: var(--sass-magenta);
    transform: scale(1.1);
}

.card-lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card-lightbox-image-wrapper {
    width: 100%;
    max-width: 400px;
    margin-bottom: 1.5rem;
}

.card-lightbox-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    pointer-events: auto;
}

.card-lightbox-image-wrapper img.reversed {
    transform: rotate(180deg);
}

.card-lightbox-info {
    width: 100%;
}

.card-lightbox-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 0.5rem;
}

.card-lightbox-reversed-badge {
    display: inline-block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: var(--sass-magenta);
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 3px;
    margin-bottom: 1rem;
}

.card-lightbox-teaser {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 1.5rem;
}

.card-lightbox-link {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--sass-magenta);
    text-decoration: none;
    transition: color 0.2s ease;
}

.card-lightbox-link:hover {
    color: var(--sass-magenta-dark);
    text-decoration: underline;
}

/* Lightbox-enabled revealed card hover state */
.reveal-card.lightbox-enabled {
    cursor: pointer;
}

.reveal-card.lightbox-enabled:hover .card-flipper {
    transform: rotateY(180deg) scale(1.03);
    box-shadow: 0 12px 40px rgba(93, 26, 69, 0.25);
}

.reveal-card.lightbox-enabled::after {
    content: 'Click to enlarge';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: var(--sass-magenta);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.reveal-card.lightbox-enabled:hover::after {
    opacity: 1;
}

/* Card detail page lightbox trigger */
.card-detail-lightbox {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-detail-lightbox:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(93, 26, 69, 0.25);
}

/* Responsive adjustments for lightbox */
@media (max-width: 480px) {
    .card-lightbox-modal {
        padding: 1.5rem;
        max-width: 95%;
    }

    .card-lightbox-name {
        font-size: 1.25rem;
    }

    .card-lightbox-teaser {
        font-size: 0.9rem;
    }
}


/* ==========================================================================
   Card Detail — Full Redesign
   ========================================================================== */

/* ── Shared eyebrow label ──────────────────────────────────────────────── */
.cd-eyebrow,
.cd-band-eyebrow,
.cd-section-eyebrow {
    font-family: var(--font-body) !important;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--sass-magenta);
    margin: 0 0 0.5rem;
}

.cd-band-eyebrow {
    color: rgba(255,255,255,0.55);
}

.upright-eye  { color: #5D1A45; }
.reversed-eye { color: var(--sass-rose-dark); }

/* ── Hero header ───────────────────────────────────────────────────────── */
.cd-hero {
    padding: 3rem 1.5rem 3.5rem;
}

.cd-hero-inner {
    max-width: 860px;
    margin: 0 auto;
}

.cd-hero .breadcrumb {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.cd-hero .breadcrumb a {
    color: var(--text-muted);
}

.cd-hero .breadcrumb a:hover {
    color: var(--sass-magenta);
}

.cd-hero-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    align-items: flex-start;
}

@media (max-width: 600px) {
    .cd-hero-layout {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
}

/* Card image in hero */
.cd-hero-image {
    width: 200px;
    aspect-ratio: 2 / 3;
    background: var(--sass-cream-dark);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(0,0,0,0.18);
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.cd-hero-image:hover {
    transform: scale(1.02) rotate(-0.5deg);
    box-shadow: 0 16px 56px rgba(93,26,69,0.22);
}

.cd-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Hero text */
.cd-hero-text {
    padding-top: 0.25rem;
}

.cd-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    line-height: 1.05;
    color: var(--text-dark);
    margin: 0 0 0.75rem;
}

.cd-lead {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 1.5rem;
}

.cd-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

/* ── Dark about band ───────────────────────────────────────────────────── */
.cd-about-band {
    background: var(--sass-magenta-dark);
    padding: 4rem 1.5rem;
}

.cd-band-inner {
    max-width: 860px;
    margin: 0 auto;
}

.cd-band-heading {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: white;
    margin: 0 0 1.5rem;
}

.cd-about-body {
    max-width: 660px;
    margin-bottom: 3rem;
}

.cd-about-body p {
    color: rgba(255,255,255,0.82);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.1rem;
}

.cd-about-body p:last-child {
    margin-bottom: 0;
}

/* Keyword theme cards inside dark band */
.cd-theme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 1rem;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 2.5rem;
}

.cd-theme-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-md);
    padding: 1.1rem 1rem;
    transition: background 0.2s;
}

.cd-theme-card:hover {
    background: rgba(255,255,255,0.13);
}

.cd-theme-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 0.4rem;
}

.cd-theme-word {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: white;
    line-height: 1.3;
}

/* ── Body container ────────────────────────────────────────────────────── */
.cd-body {
    max-width: 860px;
    margin: 0 auto;
    padding: 3rem 1.5rem 5rem;
}

/* ── Meanings ──────────────────────────────────────────────────────────── */
.cd-meanings {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 3.5rem;
}

@media (max-width: 600px) {
    .cd-meanings {
        grid-template-columns: 1fr;
    }
}

.cd-meaning {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
}

.cd-meaning h2 {
    font-size: 1.1rem;
    margin: 0 0 0.85rem;
    color: var(--text-dark);
}

.cd-meaning p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-dark);
}

.cd-meaning--upright {
    border-top: 3px solid #5D1A45;
}

.cd-meaning--reversed {
    border-top: 3px solid var(--sass-rose);
}

/* ── Context section ───────────────────────────────────────────────────── */
.cd-context {
    margin-bottom: 3.5rem;
}

.cd-context > h2 {
    font-size: clamp(1.3rem, 3vw, 1.75rem);
    margin: 0.25rem 0 1.5rem;
}

/* Filled pill tabs — matches the transit page dark-tab style */
.cd-tabs {
    display: inline-flex;
    gap: 0.4rem;
    background: var(--sass-cream-dark);
    border-radius: 50px;
    padding: 0.3rem;
    margin-bottom: 1.25rem;
}

.cd-tab {
    background: transparent;
    border: none;
    padding: 0.45rem 1.2rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
    white-space: nowrap;
}

.cd-tab:hover {
    color: var(--text-dark);
}

.cd-tab.active {
    background: var(--sass-magenta);
    color: white;
}

.cd-tab-panels {
    /* no wrapper style needed */
}

.cd-tab-panel {
    display: none;
}

.cd-tab-panel.active {
    display: block;
}

.cd-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 560px) {
    .cd-panel-grid {
        grid-template-columns: 1fr;
    }
}

.cd-panel-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.cd-panel-card.upright  { border-top: 3px solid #5D1A45; }
.cd-panel-card.reversed { border-top: 3px solid var(--sass-rose); }

.cd-panel-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.6rem;
}

.cd-panel-card.upright  .cd-panel-label { color: #5D1A45; }
.cd-panel-card.reversed .cd-panel-label { color: var(--sass-rose-dark); }

.cd-panel-card p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--text-dark);
}

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.cd-faq {
    margin-bottom: 3.5rem;
}

.cd-faq > h2 {
    font-size: clamp(1.3rem, 3vw, 1.75rem);
    margin: 0.25rem 0 1.25rem;
}

.cd-faq-item {
    background: white;
    border-radius: var(--radius-md);
    margin-bottom: 0.6rem;
    border: 1px solid var(--sass-cream-dark);
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.cd-faq-item:hover,
.cd-faq-item[open] {
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.cd-faq-q {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 1.1rem 1.25rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    user-select: none;
}

.cd-faq-q::-webkit-details-marker { display: none; }

.cd-faq-q::after {
    content: '+';
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--sass-magenta);
    flex-shrink: 0;
    line-height: 1;
    transition: transform 0.18s;
}

.cd-faq-item[open] .cd-faq-q::after {
    transform: rotate(45deg);
}

.cd-faq-a {
    margin: 0;
    padding: 0.9rem 1.25rem 1.1rem;
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--text-muted);
    border-top: 1px solid var(--sass-cream-dark);
}

/* Plain FAQ fallback (unenriched cards) */
.cd-faq-plain {
    padding: 1.25rem;
}

.cd-faq-plain h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.cd-faq-plain p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ── CTA ───────────────────────────────────────────────────────────────── */
.cd-cta {
    text-align: center;
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--sass-cream-dark);
}

.cd-cta > h2 {
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    margin: 0.25rem 0 0.5rem;
}

.cd-cta > p:not(.cd-section-eyebrow) {
    font-family: var(--font-body) !important;
    font-style: normal !important;
    color: var(--text-muted);
    margin: 0 0 1.75rem;
    font-size: 0.95rem;
}

.cd-cta-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
}

/* ==========================================================================
   Card Detail — Related Cards
   ========================================================================== */

.cd-related {
    margin-top: 3rem;
}

.cd-related > h2 {
    font-size: clamp(1.3rem, 2.5vw, 1.65rem);
    margin: 0.25rem 0 1.75rem;
}

.cd-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

@media (max-width: 600px) {
    .cd-related-grid {
        grid-template-columns: 1fr;
    }
}

.cd-related-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: white;
    border: 1px solid var(--sass-cream-dark);
    border-radius: var(--radius-lg);
    padding: 1rem;
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.2s;
}

.cd-related-card:hover {
    box-shadow: 0 4px 16px rgba(93,26,69,0.1);
    transform: translateY(-2px);
}

.cd-related-image {
    flex-shrink: 0;
    width: 52px;
}

.cd-related-image img {
    width: 52px;
    border-radius: 4px;
    display: block;
}

.card-placeholder-small {
    width: 52px;
    height: 80px;
    background: var(--sass-cream-dark);
    border-radius: 4px;
    display: none;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.cd-related-info {
    min-width: 0;
}

.cd-related-name {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--sass-magenta);
    margin: 0 0 0.3rem;
    line-height: 1.3;
}

.cd-related-desc {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   Card Detail — Symbols & Imagery Section
   ========================================================================== */

.cd-symbols-band {
    background: var(--sass-cream-dark);
    padding: 4rem 1.5rem;
}

.cd-symbols-inner {
    max-width: 860px;
    margin: 0 auto;
}

.cd-symbols-band .cd-section-eyebrow {
    color: var(--sass-magenta);
}

.cd-symbols-band h2 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    color: var(--text-dark);
    margin: 0.25rem 0 0.5rem;
}

.cd-symbols-hint {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0 0 2rem;
}

.cd-symbols-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

@media (max-width: 700px) {
    .cd-symbols-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 440px) {
    .cd-symbols-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ── Flip card ── */
.cd-symbol-card {
    height: 180px;
    perspective: 1000px;
    cursor: pointer;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.cd-symbol-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: var(--radius-lg);
}

/* Flip on hover (desktop) */
@media (hover: hover) {
    .cd-symbol-card:hover .cd-symbol-inner {
        transform: rotateY(180deg);
    }
}

/* Flip on .flipped class (touch / click) */
.cd-symbol-card.flipped .cd-symbol-inner {
    transform: rotateY(180deg);
}

.cd-symbol-front,
.cd-symbol-back {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem;
}

/* Front — wine background, symbol name */
.cd-symbol-front {
    background: var(--sass-magenta);
    justify-content: flex-end;
}

.cd-symbol-front-number {
    position: absolute;
    top: 1rem;
    right: 1.1rem;
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(255,255,255,0.08);
    line-height: 1;
    user-select: none;
}

/* Decorative line-art accent (keyword-matched, e.g. mountains) */
.cd-symbol-art {
    position: absolute;
    top: 8%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: auto;
    opacity: 0.22;
    pointer-events: none;
    z-index: 0;
}

.cd-symbol-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.3rem;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

.cd-symbol-tap {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin: 0;
}

/* Back — cream background, meaning text */
.cd-symbol-back {
    background: white;
    border: 1px solid var(--sass-cream-dark);
    transform: rotateY(180deg);
    justify-content: flex-start;
    overflow: hidden;
}

.cd-symbol-back-name {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--sass-magenta);
    margin: 0 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cd-symbol-meaning {
    margin: 0;
    font-family: var(--font-body);
    font-size: 0.8rem;
    line-height: 1.55;
    color: var(--text-dark);
}

/* ==========================================================================
   Ask the Cards — conversational AI tarot reading (/chat)
   ========================================================================== */
.tc-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 2rem 1.25rem 4rem;
}

.tc-eyebrow {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-magenta);
    margin: 0 0 0.5rem;
}

/* ── Ask phase ─────────────────────────────────────────────── */
.tc-intro { text-align: center; padding-top: 1rem; }
.tc-title { font-size: clamp(2rem, 6vw, 3rem); margin: 0 0 0.75rem; line-height: 1.1; }
.tc-lead { font-size: 1.05rem; color: var(--text-dark); max-width: 32rem; margin: 0 auto 1.75rem; }

.tc-ask-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-width: 34rem;
    margin: 0 auto;
}
.tc-question {
    width: 100%;
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-dark);
    background: #fff;
    border: 1.5px solid var(--color-cream-dark);
    border-radius: var(--radius-lg);
    padding: 0.9rem 1.1rem;
    resize: vertical;
    box-shadow: var(--shadow-soft);
    transition: border-color var(--transition-fast);
}
.tc-question:focus { outline: none; border-color: var(--sass-rose); }
.tc-ask-btn { align-self: center; min-width: 14rem; }

.tc-suggestions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.5rem auto 0;
    max-width: 36rem;
}
.tc-chip {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--color-magenta);
    background: transparent;
    border: 1px solid var(--sass-rose);
    border-radius: 999px;
    padding: 0.4rem 0.95rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}
.tc-chip:hover { background: var(--sass-rose); color: #fff; }
.tc-disclaimer { font-size: 0.8rem; color: var(--text-muted); margin-top: 1.75rem; }

/* ── Reading phase ─────────────────────────────────────────── */
.tc-your-question {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.25rem;
    text-align: center;
    color: var(--color-magenta);
    margin: 0.5rem 0 1.5rem;
}

.tc-spread {
    display: flex;
    justify-content: center;
    gap: clamp(0.6rem, 3vw, 1.5rem);
    margin-bottom: 2rem;
    flex-wrap: nowrap;
}
.tc-card {
    width: clamp(86px, 28vw, 150px);
    opacity: 0;
    transform: translateY(24px);
    animation: tc-rise 0.5s ease forwards;
    animation-delay: var(--d);
}
@keyframes tc-rise { to { opacity: 1; transform: translateY(0); } }

.tc-card-flip {
    position: relative;
    width: 100%;
    aspect-ratio: 100 / 173;
    transform-style: preserve-3d;
    transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
}
.tc-card.flipped .tc-card-flip { transform: rotateY(180deg); }
.tc-card-face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    background: var(--color-magenta-dark);
}
.tc-card-face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tc-card-front { transform: rotateY(180deg); display: flex; align-items: center; justify-content: center; }
.tc-card-front.reversed img { transform: rotate(180deg); }
.tc-card-fallback {
    display: none;
    padding: 0.5rem;
    font-family: var(--font-display);
    font-size: 0.8rem;
    color: var(--color-cream);
    text-align: center;
}
.tc-card-front.tc-noimg .tc-card-fallback { display: block; }

.tc-card-label { text-align: center; margin-top: 0.6rem; }
.tc-pos {
    display: block;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--color-magenta);
}
.tc-cname {
    display: block;
    font-family: var(--font-display);
    font-size: 0.78rem;
    color: var(--text-dark);
    margin-top: 0.15rem;
}

/* ── Chat thread ───────────────────────────────────────────── */
.tc-thread { display: flex; flex-direction: column; gap: 0.85rem; margin-bottom: 1.25rem; }
.tc-bubble {
    max-width: 88%;
    padding: 0.85rem 1.1rem;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
}
.tc-bubble-user {
    align-self: flex-end;
    background: var(--color-magenta);
    color: var(--color-cream);
    border-bottom-right-radius: 4px;
}
.tc-bubble-reader {
    align-self: flex-start;
    background: #fff;
    color: var(--text-dark);
    border: 1px solid var(--color-cream-dark);
    border-bottom-left-radius: 4px;
    box-shadow: var(--shadow-soft);
}
.tc-dots { display: inline-flex; gap: 4px; padding: 0.15rem 0; }
.tc-dots i {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--sass-rose);
    animation: tc-blink 1.2s infinite ease-in-out both;
}
.tc-dots i:nth-child(2) { animation-delay: 0.2s; }
.tc-dots i:nth-child(3) { animation-delay: 0.4s; }
@keyframes tc-blink { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 1; } }

/* ── Follow-up input ───────────────────────────────────────── */
.tc-followup { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.tc-followup[hidden] { display: none; }
.tc-followup-input {
    flex: 1;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    background: #fff;
    border: 1.5px solid var(--color-cream-dark);
    border-radius: 999px;
    padding: 0.75rem 1.1rem;
}
.tc-followup-input:focus { outline: none; border-color: var(--sass-rose); }
.tc-send-btn {
    font-family: var(--font-body);
    font-weight: 600;
    color: #fff;
    background: var(--color-magenta);
    border: none;
    border-radius: 999px;
    padding: 0 1.4rem;
    cursor: pointer;
    transition: background var(--transition-fast);
}
.tc-send-btn:hover { background: var(--color-magenta-light); }
.tc-restart { display: block; margin: 1.5rem auto 0; }
.tc-restart[hidden] { display: none; }

/* ── Paywall ───────────────────────────────────────────────── */
.tc-paywall { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 1.25rem; }
.tc-paywall[hidden] { display: none; }
.tc-paywall-backdrop { position: absolute; inset: 0; background: rgba(69, 18, 50, 0.55); backdrop-filter: blur(3px); }
.tc-paywall-modal {
    position: relative;
    background: var(--color-cream);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    max-width: 26rem;
    width: 100%;
    padding: 2rem 1.75rem;
    text-align: center;
}
.tc-paywall-modal h2 { font-size: 1.6rem; margin: 0 0 0.6rem; }
.tc-paywall-copy { color: var(--text-dark); font-size: 0.98rem; margin: 0 0 1rem; }
.tc-paywall-perks {
    list-style: none; padding: 0; margin: 0 0 1.5rem;
    text-align: left; display: inline-block;
}
.tc-paywall-perks li {
    position: relative; padding-left: 1.5rem; margin-bottom: 0.5rem;
    font-size: 0.95rem; color: var(--text-dark);
}
.tc-paywall-perks li::before { content: "✦"; position: absolute; left: 0; color: var(--color-magenta); }
.tc-paywall-cta { display: block; width: 100%; }
.tc-paywall-demo {
    display: block; width: 100%; margin-top: 0.75rem;
    background: none; border: none; cursor: pointer;
    font-family: var(--font-body); font-size: 0.82rem;
    color: var(--text-muted); text-decoration: underline;
}
.tc-paywall-close {
    position: absolute; top: 0.5rem; right: 0.75rem;
    background: none; border: none; font-size: 1.6rem; line-height: 1;
    color: var(--text-muted); cursor: pointer;
}
.tc-affiliate-disclosure {
    margin: 0.85rem 0 0; font-size: 0.72rem; color: var(--text-muted);
    text-align: center;
}

/* Inline live-reader handoff (the money CTA) */
.tc-cta {
    display: flex; align-items: center; gap: 0.75rem;
    margin: 1rem 0 0.25rem; padding: 0.9rem 1.1rem;
    background: linear-gradient(135deg, var(--sass-magenta), var(--sass-magenta-dark));
    color: #fff; border-radius: var(--radius-lg, 12px);
    text-decoration: none; box-shadow: 0 6px 18px rgba(69, 18, 50, 0.22);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.tc-cta[hidden] { display: none; }
.tc-cta:hover, .tc-cta:focus { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(69, 18, 50, 0.3); }
.tc-cta-text { display: flex; flex-direction: column; gap: 0.15rem; }
.tc-cta-text strong { font-size: 1.02rem; font-weight: 600; }
.tc-cta-sub { font-size: 0.85rem; opacity: 0.9; }

/* Tap-to-call line under the CTAs */
.tc-cta-phone {
    margin: 0.55rem 0 0; text-align: center;
    font-size: 0.9rem; color: var(--text-muted);
}
.tc-cta-phone[hidden] { display: none; }
.tc-cta-phone a {
    color: var(--sass-magenta); font-weight: 600;
    text-decoration: none; white-space: nowrap;
}
.tc-cta-phone a:hover { text-decoration: underline; }
.tc-paywall-phone {
    margin: 0.6rem 0 0; text-align: center;
    font-size: 0.95rem; color: var(--text-dark);
}
.tc-paywall-phone a {
    color: var(--sass-magenta); font-weight: 700;
    text-decoration: none; white-space: nowrap;
}
.tc-paywall-phone a:hover { text-decoration: underline; }

/* Standalone CTA (card pages + reading pages) */
.cp-cta-wrap { max-width: 680px; margin: 2.5rem auto; }
.cp-cta-wrap .tc-cta { margin: 0; }
.cp-cta-wrap .tc-affiliate-disclosure { margin-top: 0.6rem; }

@media (max-width: 600px) {
    .tc-bubble { max-width: 92%; }
    .tc-spread { gap: 0.5rem; }
}

/* Landing: Ask the Cards promotion */
.hero-cta { display: inline-block; margin-top: 1.5rem; }
.reading-card-featured {
    position: relative;
    background: var(--color-magenta);
    color: var(--color-cream);
    border-color: var(--color-magenta);
}
.reading-card-featured h3 { color: var(--color-cream); }
.reading-card-featured p { color: rgba(249, 245, 240, 0.85); }
.reading-badge {
    display: inline-block;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--color-magenta);
    background: var(--color-cream);
    border-radius: 999px;
    padding: 0.2rem 0.6rem;
    margin-bottom: 0.6rem;
}

/* ==========================================================================
   Oct 2026 refresh: readable results, card links, reading-page guides,
   yes/no table
   ========================================================================== */

/* Revealed cards: give the reading text room to breathe */
.reveal-card-wrapper { width: min(300px, 100%); }
.reveal-card-wrapper .card-meaning,
.card-info .card-meaning { max-width: none; text-align: left; }
.card-full-link {
    display: inline-block; margin-top: 0.6rem;
    font-size: 0.85rem; font-weight: 600;
    color: var(--sass-magenta); text-decoration: none;
}
.card-full-link:hover { text-decoration: underline; }
.answer-explanation .answer-meaning { color: var(--text-muted); font-size: 0.95rem; }
@media (max-width: 768px) {
    .reveal-card-wrapper { width: 100%; max-width: 420px; }
    .reveal-card-wrapper .card-meaning { max-width: none; }
}

/* Crawlable guide under each reading tool */
.reading-guide {
    max-width: 720px; margin: 3rem auto 0; padding: 0 1rem;
    line-height: 1.7; color: var(--color-text);
}
.reading-guide h2 { font-size: 1.6rem; margin: 2.25rem 0 0.75rem; }
.reading-guide h3 { font-size: 1.15rem; margin: 1.5rem 0 0.4rem; }
.reading-guide p { margin: 0 0 1rem; }
.reading-guide ol, .reading-guide ul { margin: 0 0 1rem 1.25rem; }
.reading-guide li { margin-bottom: 0.4rem; }
.reading-guide .positions { list-style: none; margin-left: 0; padding: 0; }
.reading-guide .positions li {
    padding: 0.75rem 1rem; margin-bottom: 0.6rem;
    background: var(--color-cream-dark); border-radius: 10px;
}
.reading-guide .positions strong { color: var(--sass-magenta); }
.reading-guide details {
    border-top: 1px solid rgba(93, 26, 69, 0.15); padding: 0.85rem 0;
}
.reading-guide summary { cursor: pointer; font-weight: 600; }
.reading-guide details p { margin-top: 0.6rem; }
.reading-guide .related-readings { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* Yes/no table */
.yn-table-wrap { overflow-x: auto; }
.yn-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.yn-table th, .yn-table td {
    text-align: left; padding: 0.55rem 0.6rem;
    border-bottom: 1px solid rgba(93, 26, 69, 0.12);
}
.yn-table th { font-family: var(--font-body); font-weight: 700; }
.yn-table a { color: var(--sass-magenta); text-decoration: none; font-weight: 600; }
.yn-badge {
    display: inline-block; min-width: 3.2em; text-align: center;
    padding: 0.1rem 0.45rem; border-radius: 999px;
    font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
}
.yn-yes { background: #e3f1e6; color: #22603a; }
.yn-no { background: #f6e1e4; color: #8a1f35; }
.yn-maybe { background: #f4ecd9; color: #7a5a12; }

/* Yes/no box on card pages */
.cd-yesno { margin: 2.5rem 0; }
.cd-yesno-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cd-yesno-item {
    padding: 1rem 1.1rem; border-radius: 12px; background: var(--color-cream-dark);
}
.cd-yesno-item p { margin: 0.5rem 0 0; }
@media (max-width: 600px) { .cd-yesno-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Tarot Tuesday (recent spreads from the blog)
   ========================================================================== */
.tt-wrap { max-width: 1100px; margin: 0 auto; padding: 3.5rem 1.25rem 1rem; }
.tt-section { margin: 3rem 0 2.5rem; }
.tt-wrap .tt-section { margin: 0; text-align: center; }
.cd-body .tt-section { margin: 3.5rem 0; }
.tt-eyebrow {
    font-family: var(--font-body); font-size: 0.75rem; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--sass-magenta); margin: 0 0 0.4rem;
}
.tt-section h2 { margin: 0 0 0.6rem; }
.tt-intro { color: var(--text-muted); max-width: 620px; margin: 0 0 1.5rem; line-height: 1.6; }
.tt-wrap .tt-intro { margin: 0 auto 2rem; }
.tt-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: left; }
.tt-grid-1 { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
.tt-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.reading-guide .tt-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tt-card {
    display: flex; flex-direction: column; overflow: hidden;
    background: #fff; border: 1px solid rgba(93, 26, 69, 0.12); border-radius: 14px;
    text-decoration: none; color: var(--color-text);
    box-shadow: 0 2px 10px rgba(69, 18, 50, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.tt-card:hover, .tt-card:focus-visible {
    transform: translateY(-2px); color: var(--color-text);
    box-shadow: 0 10px 26px rgba(69, 18, 50, 0.14);
}
.tt-card-image { aspect-ratio: 4 / 3; background: #1d1424; overflow: hidden; }
.tt-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tt-card-body { padding: 1rem 1.1rem 1.15rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.tt-card-meta {
    margin: 0; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em;
    color: var(--sass-magenta);
}
.tt-card-title { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.3; margin: 0; }
.tt-card-excerpt { margin: 0; font-size: 0.9rem; line-height: 1.55; color: var(--text-muted); }
.tt-card-link { margin-top: auto; padding-top: 0.35rem; font-size: 0.85rem; font-weight: 600; color: var(--sass-magenta); }
.tt-footer { margin: 1.25rem 0 0; font-size: 0.9rem; color: var(--text-muted); }
.tt-footer a { color: var(--sass-magenta); font-weight: 600; }
@media (max-width: 860px) {
    .tt-grid, .tt-grid-2, .reading-guide .tt-grid-3 { grid-template-columns: minmax(0, 1fr); }
    .tt-wrap { padding-top: 2.5rem; }
}
.reading-guide .tt-card p, .reading-guide .tt-card h3 { margin: 0; }
.reading-guide .tt-card-title { font-size: 1.12rem; }

/* ==========================================================================
   Site header: matches the sasstrology.com blog header (Kadence theme)
   ========================================================================== */
.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.site-header {
    background-color: #fff7ef;
    background-image: url("https://sasstrology.com/wp-content/themes/restored316-limoncella/images/bottom-of-nav.png");
    background-position: 50% 100%;
    background-repeat: repeat-x;
    background-size: 10px 3px;
    border-bottom: 0;
    font-family: "DM Sans", sans-serif;
}
.site-header .nav-container {
    max-width: 1340px; margin: 0 auto;
    padding: 0.55rem 1.5rem 0.65rem;
    display: flex; align-items: center; gap: 1rem;
}
.site-header .nav-logo { flex-shrink: 0; display: block; line-height: 0; }
.site-header .nav-logo img { width: 108px; height: auto; }
.site-nav { margin-left: auto; }
.site-nav ul, .site-drawer ul { list-style: none; margin: 0; padding: 0; }
.site-nav ul { display: flex; align-items: center; }
.site-nav a, .site-drawer a {
    display: block; padding: 0.6rem 0.8rem;
    font-family: "DM Sans", sans-serif; font-size: 18px; font-weight: 600; line-height: 1.8;
    color: #333; text-decoration: none; transition: color 0.15s ease;
}
.site-nav a:hover, .site-drawer a:hover { color: #9b1960; }
.site-nav a.is-current, .site-drawer a.is-current { color: #9b1960; }
.site-search { position: relative; display: flex; align-items: center; flex-shrink: 0; }
.site-search input {
    width: 290px; padding: 0.55rem 2.6rem 0.55rem 0.8rem;
    font-family: "DM Sans", sans-serif; font-size: 18px; color: #9b1960;
    background: #fff; border: 1px solid #d058b9; border-radius: 5px;
    -webkit-appearance: none; appearance: none;
}
.site-search input::placeholder { color: #9b1960; opacity: 1; }
.site-search input:focus { outline: 2px solid rgba(208, 88, 185, 0.35); outline-offset: 1px; }
.site-search button {
    position: absolute; right: 0.45rem; top: 50%; transform: translateY(-50%);
    background: none; border: 0; padding: 0.3rem; color: #9b1960; cursor: pointer; line-height: 0;
}
.nav-toggle {
    display: none; margin-left: auto; width: 44px; height: 44px;
    background: none; border: 0; cursor: pointer; padding: 10px;
    flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; background: #333; border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
.site-drawer {
    border-top: 1px solid rgba(93, 26, 69, 0.08);
    padding: 0.5rem 1.25rem 1.25rem; background: #fff7ef;
}
.site-drawer[hidden] { display: none; }
.site-drawer a { padding: 0.55rem 0; border-bottom: 1px solid rgba(93, 26, 69, 0.08); }
.site-drawer .site-search { margin-top: 1rem; }
.site-drawer .site-search input { width: 100%; }
.main-content { padding-top: 76px; }

@media (max-width: 1180px) {
    .site-header .site-search input { width: 200px; }
    .site-nav a { padding: 0.6rem 0.6rem; font-size: 17px; }
}
@media (max-width: 1024px) {
    .site-nav, .site-header .nav-container > .site-search { display: none; }
    .nav-toggle { display: flex; }
    .site-header .nav-logo img { width: 88px; }
    .site-header .nav-container { padding: 0.5rem 1rem 0.6rem; }
    .main-content { padding-top: 66px; }
}
@media (min-width: 1025px) {
    .site-drawer { display: none !important; }
}
.site-drawer .site-search { width: 100%; }
.site-drawer .site-search input { flex: 1; width: 100%; }
/* Search box removed from the tarot header (it only searched the blog). */
@media (max-width: 1180px) { .site-nav a { padding: 0.6rem 0.8rem; font-size: 18px; } }

/* Subscribe button: matches the sasstrology.com homepage header button */
.nav-subscribe {
    flex-shrink: 0; margin-left: 0.6rem;
    font-family: "DM Sans", -apple-system, sans-serif; font-size: 0.95rem; font-weight: 600; line-height: 1.6;
    color: #fffbe6; background: #9b1960;
    padding: 0.7rem 1.4rem; border-radius: 4px; text-decoration: none;
    transition: background 0.3s, transform 0.3s;
}
.nav-subscribe:hover, .nav-subscribe:focus-visible {
    color: #fffbe6; background: #7a1349; transform: translateY(-1px);
}
@media (max-width: 1024px) {
    .nav-subscribe { margin-left: auto; padding: 0.6rem 1rem; font-size: 0.85rem; }
    .nav-toggle { margin-left: 0.25rem; }
}
