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

body {
    font-family: 'Cormorant Garamond', serif;
    background-color: #08080f;
    color: #ddd5c4;
    min-height: 100vh;
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(40, 20, 80, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(80, 50, 20, 0.15) 0%, transparent 50%),
        url('https://www.transparenttextures.com/patterns/stardust.png');
    background-attachment: fixed;
    overflow-x: hidden;
    padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
}

/* ===== TOP BAR ===== */
.top-bar {
    display: flex; justify-content: center; align-items: center;
    gap: 16px; padding: 20px;
}
.top-bar .moon-icon { font-size: 1.4em; color: #D4AF37; opacity: 0.8; }
.top-bar h1 {
    font-family: 'Cinzel', serif; font-size: 1.6em; font-weight: 600;
    letter-spacing: 4px; text-transform: uppercase;
    background: linear-gradient(135deg, #FFDF73, #D4AF37, #996515);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* ===== MAIN CONTAINER ===== */
.main-container { max-width: 900px; margin: 0 auto; padding: 0 20px 40px; }

/* ===== PAGE SECTIONS (SPA) ===== */
.page-section { display: none; animation: fadeInUp 0.5s ease; }
.page-section.active { display: block; }

/* ===== ORACLE SECTION ===== */
.oracle-section { text-align: center; padding: 30px 0 40px; }
.oracle-frame {
    width: 160px; height: 160px; margin: 0 auto 20px;
    position: relative; border-radius: 50%;
}
.oracle-frame::before {
    content: ''; position: absolute; inset: -6px; border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.6); animation: spin-slow 20s linear infinite;
}
.oracle-frame::after {
    content: ''; position: absolute; inset: -14px; border-radius: 50%;
    border: 1px dashed rgba(212, 175, 55, 0.3); animation: spin-slow 30s linear infinite reverse;
}
@keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.oracle-img {
    width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
    border: 3px solid #D4AF37; box-shadow: 0 0 40px rgba(212, 175, 55, 0.4);
    animation: oracle-pulse 5s ease-in-out infinite;
}
@keyframes oracle-pulse {
    0%, 100% { box-shadow: 0 0 25px rgba(212, 175, 55, 0.3); }
    50% { box-shadow: 0 0 55px rgba(212, 175, 55, 0.6); }
}
.oracle-subtitle {
    font-family: 'Cinzel', serif; font-size: 1.1em; color: #D4AF37;
    letter-spacing: 3px; text-transform: uppercase; margin-bottom: 8px;
}
.oracle-desc {
    font-size: 1.15em; font-style: italic; color: rgba(220, 210, 195, 0.8);
    max-width: 400px; margin: 0 auto; line-height: 1.6;
}

/* ===== DIVIDER ===== */
.divider {
    width: 60%; max-width: 300px; height: 1px;
    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.5), transparent);
    margin: 30px auto;
}

/* ===== COSMIC PANEL ===== */
.cosmic-panel {
    max-width: 420px; margin: 0 auto 24px; padding: 20px;
    background: linear-gradient(135deg, rgba(15, 12, 30, 0.8), rgba(10, 8, 20, 0.9));
    border: 1px solid rgba(212, 175, 55, 0.2); border-radius: 16px;
    position: relative; overflow: hidden;
}
.cosmic-panel::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(212, 175, 55, 0.05), transparent 70%);
    pointer-events: none;
}
.cosmic-panel__header {
    font-family: 'Cinzel', serif; font-size: 0.8em; color: #D4AF37;
    text-align: center; letter-spacing: 3px; text-transform: uppercase;
    margin-bottom: 16px; position: relative;
}
.cosmic-panel__grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
    margin-bottom: 14px; position: relative;
}
.cosmic-card {
    text-align: center; padding: 14px 10px; border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: border-color 0.3s ease;
}
.cosmic-card:hover { border-color: rgba(212, 175, 55, 0.3); }
.cosmic-card__icon {
    font-size: 2em; margin-bottom: 4px;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.3));
}
.cosmic-card__name {
    font-family: 'Cinzel', serif; font-size: 0.65em; color: rgba(212, 175, 55, 0.5);
    letter-spacing: 2px; text-transform: uppercase; margin-bottom: 6px;
}
.cosmic-card__label {
    font-family: 'Cinzel', serif; font-size: 0.8em; color: #FFDF73;
    letter-spacing: 1px; margin-bottom: 4px;
}
.cosmic-card__detail {
    font-size: 0.78em; color: rgba(220, 210, 195, 0.65); font-style: italic;
}
.cosmic-panel__energy {
    text-align: center; font-size: 0.85em; font-style: italic;
    color: rgba(220, 210, 195, 0.7); line-height: 1.6;
    position: relative;
}

/* ===== MODE SELECTION ===== */
.mode-section { text-align: center; }
.mode-title {
    font-family: 'Cinzel', serif; font-size: 1em; color: #D4AF37;
    letter-spacing: 3px; text-transform: uppercase; margin-bottom: 25px;
}
.mode-cards { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.mode-card {
    width: 200px; background: linear-gradient(180deg, rgba(20, 15, 35, 0.9), rgba(10, 8, 20, 0.95));
    border: 1px solid rgba(212, 175, 55, 0.35); border-radius: 16px;
    padding: 30px 20px; cursor: pointer; transition: all 0.4s ease;
    position: relative; overflow: hidden;
}
.mode-card::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(212,175,55,0.15), transparent);
    transform: skewX(-20deg); transition: left 0.6s ease;
}
.mode-card:hover::before { left: 200%; }
.mode-card:hover {
    border-color: #D4AF37; transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 30px rgba(212, 175, 55, 0.2);
}
.mode-card .mode-icon { font-size: 2.2em; margin-bottom: 12px; display: block; }
.mode-card .mode-name {
    font-family: 'Cinzel', serif; font-size: 1.05em; color: #FFDF73;
    letter-spacing: 1px; margin-bottom: 10px;
}
.mode-card .mode-desc {
    font-size: 0.95em; color: rgba(200, 190, 170, 0.65); font-style: italic; line-height: 1.5;
}

/* ===== READING AREA ===== */
.reading-area { display: none; animation: fadeInUp 0.8s ease; }
.reading-area.active { display: block; }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.reading-header { text-align: center; margin-bottom: 30px; }
.reading-mode-label {
    font-family: 'Cinzel', serif; font-size: 0.9em; color: #D4AF37;
    letter-spacing: 3px; text-transform: uppercase; margin-bottom: 5px;
}
.reading-mode-title {
    font-family: 'Cinzel', serif; font-size: 1.8em;
    background: linear-gradient(135deg, #FFDF73, #D4AF37);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 8px;
}

/* ===== LOADING ===== */
.loading-area { text-align: center; padding: 40px 0; display: none; }
.loading-area.active { display: block; }
.loading-spinner {
    width: 50px; height: 50px; border: 3px solid rgba(212, 175, 55, 0.2);
    border-top-color: #D4AF37; border-radius: 50%;
    animation: spin 1s linear infinite; margin: 0 auto 15px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text {
    font-family: 'Cinzel', serif; color: #D4AF37; font-size: 1em;
    letter-spacing: 2px; animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ===== TAROT CARDS ===== */
.cards-row {
    display: flex; justify-content: center; gap: 24px; flex-wrap: wrap;
    perspective: 1200px; margin-bottom: 30px;
}
.card-wrapper {
    width: 240px; display: flex; flex-direction: column; align-items: center;
    opacity: 0; transform: translateY(40px); transition: all 0.6s ease;
}
.card-wrapper.visible { opacity: 1; transform: translateY(0); }
.card-position-label {
    font-family: 'Cinzel', serif; font-size: 0.8em;
    color: rgba(212, 175, 55, 0.6); letter-spacing: 3px;
    text-transform: uppercase; margin-bottom: 10px;
}
.card {
    width: 100%; aspect-ratio: 606 / 953; position: relative;
    transition: transform 0.9s; transform-style: preserve-3d;
}
.card-face {
    position: absolute; width: 100%; height: 100%;
    backface-visibility: hidden; border-radius: 12px; overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5), 0 0 15px rgba(212,175,55,0.15);
}
.card-back {
    background-image: url('/static/card_back.jpg');
    background-size: cover; background-position: center;
}
.card-front {
    transform: rotateY(180deg); display: flex; align-items: center;
    justify-content: center; background: #0d0d15;
}
.card.flipped { transform: rotateY(180deg); }
.card-front img { width: 100%; height: 100%; object-fit: contain; border-radius: 12px; }
.card-name {
    font-family: 'Cinzel', serif; color: #FFDF73; margin-top: 12px;
    font-size: 1em; text-align: center; letter-spacing: 1px;
}
.card-interpretation {
    color: rgba(220, 210, 195, 0.9); font-size: 1em; font-style: italic;
    text-align: center; margin-top: 8px; padding: 0 5px; line-height: 1.6; min-height: 60px;
}
.card-interpretation .interp-loading { color: #D4AF37; animation: pulse 2s ease-in-out infinite; }

/* ===== FINAL INTERPRETATION ===== */
.final-interpretation {
    text-align: center; padding: 25px 30px; margin-top: 10px;
    background: linear-gradient(180deg, rgba(20, 15, 35, 0.6), rgba(10, 8, 20, 0.8));
    border: 1px solid rgba(212, 175, 55, 0.2); border-radius: 12px;
    opacity: 0; transition: opacity 1s ease;
}
.final-interpretation.visible { opacity: 1; }
.final-label {
    font-family: 'Cinzel', serif; font-size: 0.8em; color: #D4AF37;
    letter-spacing: 3px; text-transform: uppercase; margin-bottom: 10px;
}
.final-text {
    font-size: 1.15em; font-style: italic; color: rgba(255, 223, 115, 0.85); line-height: 1.7;
}

/* ===== RESTART BUTTON ===== */
.restart-btn {
    display: none; margin: 30px auto 0; padding: 14px 36px;
    font-family: 'Cinzel', serif; font-size: 1em; color: #FFDF73;
    background: linear-gradient(45deg, #1A0B2E, #2A114B);
    border: 1.5px solid rgba(212, 175, 55, 0.5); border-radius: 50px;
    cursor: pointer; letter-spacing: 2px; text-transform: uppercase;
    transition: all 0.3s ease; position: relative; overflow: hidden;
}
.restart-btn::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(212,175,55,0.3), transparent);
    transform: skewX(-20deg); animation: shimmer 3s infinite;
}
@keyframes shimmer { 0% { left: -100%; } 100% { left: 200%; } }
.restart-btn:hover {
    border-color: #D4AF37; transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5), 0 0 20px rgba(212, 175, 55, 0.3);
}

/* ===== AD BANNER ===== */
.ad-banner {
    margin: 24px auto; padding: 18px 20px; max-width: 600px;
    background: linear-gradient(135deg, rgba(20, 15, 35, 0.7), rgba(15, 12, 28, 0.85));
    border: 1px solid rgba(212, 175, 55, 0.15); border-radius: 12px;
    text-align: center; position: relative; overflow: hidden;
    min-height: 80px; display: flex; align-items: center; justify-content: center;
}
.ad-banner::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(212,175,55,0.03) 50%, transparent 70%);
    animation: shimmer-ad 6s infinite;
}
@keyframes shimmer-ad {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
.ad-banner__content {
    position: relative; z-index: 1;
}
.ad-banner__text {
    font-family: 'Cinzel', serif; font-size: 0.85em; color: rgba(212, 175, 55, 0.5);
    letter-spacing: 2px; text-transform: uppercase;
}
.ad-banner__subtext {
    font-size: 0.9em; font-style: italic; color: rgba(200, 190, 170, 0.45);
    margin-top: 4px; line-height: 1.5;
}
/* WebView'da native reklam geldiğinde gizlenecek */
.ad-banner--native-loaded .ad-banner__content { display: none; }

/* ===== BOTTOM NAVIGATION ===== */
.bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(8, 8, 15, 0.92);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: 6px 0 calc(6px + env(safe-area-inset-bottom, 0px));
    display: flex; justify-content: space-around; align-items: center;
}
.bottom-nav__item {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px; padding: 6px 12px; cursor: pointer;
    text-decoration: none; border: none; background: none;
    transition: all 0.3s ease; min-width: 64px;
    -webkit-tap-highlight-color: transparent;
}
.bottom-nav__icon {
    width: 24px; height: 24px; color: rgba(200, 190, 170, 0.5);
    transition: all 0.3s ease;
}
.bottom-nav__icon svg { width: 100%; height: 100%; }
.bottom-nav__label {
    font-family: 'Cinzel', serif; font-size: 0.65em; letter-spacing: 1px;
    color: rgba(200, 190, 170, 0.5); text-transform: uppercase;
    transition: all 0.3s ease;
}
.bottom-nav__item.active .bottom-nav__icon { color: #D4AF37; }
.bottom-nav__item.active .bottom-nav__label { color: #D4AF37; }
.bottom-nav__item.active {
    position: relative;
}
.bottom-nav__item.active::after {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 32px; height: 2px; background: #D4AF37; border-radius: 0 0 2px 2px;
}
.bottom-nav__item:active { transform: scale(0.92); }

/* ===== READINGS HISTORY PAGE ===== */
.readings-page { padding-top: 10px; }
.readings-page__title {
    font-family: 'Cinzel', serif; font-size: 1.3em; color: #D4AF37;
    text-align: center; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 24px;
}
.readings-list { display: flex; flex-direction: column; gap: 14px; }
.reading-card {
    background: linear-gradient(180deg, rgba(20, 15, 35, 0.8), rgba(10, 8, 20, 0.9));
    border: 1px solid rgba(212, 175, 55, 0.2); border-radius: 14px;
    padding: 18px 20px; cursor: pointer; transition: all 0.3s ease;
}
.reading-card:hover, .reading-card:active {
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4), 0 0 15px rgba(212, 175, 55, 0.1);
}
.reading-card__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.reading-card__mode {
    font-family: 'Cinzel', serif; font-size: 0.8em; color: #D4AF37;
    letter-spacing: 2px; text-transform: uppercase;
}
.reading-card__date { font-size: 0.8em; color: rgba(220, 210, 195, 0.55); }
.reading-card__cards {
    display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap;
}
.reading-card__chip {
    font-size: 0.8em; padding: 4px 10px; border-radius: 20px;
    background: rgba(212, 175, 55, 0.1); color: rgba(255, 223, 115, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.15);
}
.reading-card__preview {
    font-size: 0.9em; font-style: italic; color: rgba(220, 210, 195, 0.7);
    line-height: 1.6; max-height: 3.2em; overflow: hidden;
    transition: max-height 0.4s ease;
    position: relative;
}
.reading-card__preview.expanded {
    max-height: 1000px;
}
.reading-card__preview:not(.expanded)::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 24px; background: linear-gradient(transparent, rgba(10, 8, 20, 0.95));
    pointer-events: none;
}
.reading-card__toggle {
    display: block; margin-top: 8px; padding: 0; border: none; background: none;
    font-family: 'Cinzel', serif; font-size: 0.75em; color: #D4AF37;
    letter-spacing: 1px; cursor: pointer; opacity: 0.7;
    transition: opacity 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}
.reading-card__toggle:hover { opacity: 1; }
.reading-card__fav {
    color: rgba(212, 175, 55, 0.3); font-size: 1.1em; cursor: pointer;
    transition: all 0.3s ease; background: none; border: none; padding: 4px;
}
.reading-card__fav.active { color: #D4AF37; }
.readings-empty {
    text-align: center; padding: 60px 20px;
}
.readings-empty__icon { font-size: 3em; opacity: 0.3; margin-bottom: 16px; }
.readings-empty__text {
    font-family: 'Cinzel', serif; color: rgba(200, 190, 170, 0.4);
    font-size: 1em; letter-spacing: 2px;
}

/* ===== JOURNAL PAGE ===== */
.journal-page { padding-top: 10px; }
.journal-page__title {
    font-family: 'Cinzel', serif; font-size: 1.3em; color: #D4AF37;
    text-align: center; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 24px;
}
.journal-list { display: flex; flex-direction: column; gap: 12px; }
.journal-empty { text-align: center; padding: 60px 20px; }
.journal-empty__icon { font-size: 3em; opacity: 0.3; margin-bottom: 16px; }
.journal-empty__text {
    font-family: 'Cinzel', serif; color: rgba(200, 190, 170, 0.4);
    font-size: 1em; letter-spacing: 2px; margin-bottom: 8px;
}
.journal-empty__sub {
    font-size: 0.95em; font-style: italic; color: rgba(200, 190, 170, 0.3); line-height: 1.5;
    max-width: 280px; margin: 0 auto;
}

/* Journal Entry Card */
.journal-entry {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 16px 18px; border-radius: 14px;
    background: linear-gradient(180deg, rgba(20, 15, 35, 0.7), rgba(10, 8, 20, 0.85));
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: border-color 0.3s ease;
}
.journal-entry:hover { border-color: rgba(212, 175, 55, 0.35); }
.journal-entry__mood {
    font-size: 2em; flex-shrink: 0; line-height: 1;
    filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.3));
}
.journal-entry__body { flex: 1; min-width: 0; }
.journal-entry__header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px;
}
.journal-entry__mood-label {
    font-family: 'Cinzel', serif; font-size: 0.85em; color: #D4AF37;
    letter-spacing: 1px;
}
.journal-entry__date {
    font-size: 0.75em; color: rgba(200, 190, 170, 0.4);
}
.journal-entry__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.journal-entry__tag {
    font-size: 0.75em; padding: 3px 10px; border-radius: 20px;
    background: rgba(212, 175, 55, 0.08); color: rgba(255, 223, 115, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.12);
}

/* ===== JOURNAL MODAL ===== */
.journal-modal {
    position: fixed; inset: 0; z-index: 2000;
    display: flex; align-items: flex-end; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.4s ease;
}
.journal-modal.active { opacity: 1; visibility: visible; }
.journal-modal__overlay {
    position: absolute; inset: 0;
    background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px);
}
.journal-modal__content {
    position: relative; z-index: 1; width: 100%; max-width: 440px;
    background: linear-gradient(180deg, #141020, #0a0810);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 24px 24px 0 0; padding: 28px 24px 36px;
    transform: translateY(100%); transition: transform 0.4s ease;
}
.journal-modal.active .journal-modal__content { transform: translateY(0); }
.journal-modal__header {
    font-family: 'Cinzel', serif; font-size: 1.2em; color: #D4AF37;
    text-align: center; letter-spacing: 2px; margin-bottom: 24px;
}
.journal-modal__section { margin-bottom: 22px; }
.journal-modal__label {
    font-family: 'Cinzel', serif; font-size: 0.75em; color: rgba(212, 175, 55, 0.6);
    letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; text-align: center;
}

/* Mood Selector */
.mood-selector {
    display: flex; justify-content: center; gap: 12px;
}
.mood-btn {
    width: 52px; height: 52px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.03); border: 2px solid rgba(212, 175, 55, 0.15);
    font-size: 1.6em; cursor: pointer;
    transition: all 0.3s ease; display: flex; align-items: center; justify-content: center;
    -webkit-tap-highlight-color: transparent;
}
.mood-btn:hover { border-color: rgba(212, 175, 55, 0.4); transform: scale(1.08); }
.mood-btn.active {
    border-color: #D4AF37; background: rgba(212, 175, 55, 0.12);
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

/* Tag Selector */
.tag-selector {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
}
.tag-btn {
    padding: 7px 14px; border-radius: 20px; font-size: 0.85em;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: rgba(200, 190, 170, 0.55); cursor: pointer;
    font-family: 'Cormorant Garamond', serif;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}
.tag-btn:hover { border-color: rgba(212, 175, 55, 0.4); color: rgba(200, 190, 170, 0.8); }
.tag-btn.active {
    border-color: #D4AF37; background: rgba(212, 175, 55, 0.12);
    color: #FFDF73;
}

/* Save Button */
.journal-modal__save {
    display: block; width: 100%; padding: 14px; margin-top: 6px;
    font-family: 'Cinzel', serif; font-size: 1em; color: #FFDF73;
    background: linear-gradient(45deg, #1A0B2E, #2A114B);
    border: 1.5px solid rgba(212, 175, 55, 0.5); border-radius: 50px;
    cursor: pointer; letter-spacing: 2px; text-transform: uppercase;
    transition: all 0.3s ease;
}

/* ===== FOOTER ===== */
.footer {
    text-align: center; margin-top: 50px; padding: 20px;
    font-family: 'Cinzel', serif; font-size: 0.75em;
    color: rgba(212, 175, 55, 0.45); letter-spacing: 3px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

/* ===== SPLASH SCREEN ===== */
.splash-screen {
    position: fixed; inset: 0; z-index: 9999; background: #08080f;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.splash-screen.hide { opacity: 0; transform: translateY(-30px); pointer-events: none; }
.splash-moon {
    font-size: 5em; color: #D4AF37; animation: splash-float 3s ease-in-out infinite;
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.5), 0 0 80px rgba(212, 175, 55, 0.2);
    margin-bottom: 20px;
}
@keyframes splash-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(3deg); }
}
.splash-title {
    font-family: 'Cinzel', serif; font-size: 2.8em; letter-spacing: 6px; text-transform: uppercase;
    background: linear-gradient(135deg, #FFDF73, #D4AF37, #996515);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 16px;
}
.splash-title span {
    display: inline-block; opacity: 0; transform: translateY(15px);
    animation: letter-in 0.5s forwards;
}
@keyframes letter-in { to { opacity: 1; transform: translateY(0); } }
.splash-subtitle {
    font-family: 'Cormorant Garamond', serif; font-size: 1.15em; font-style: italic;
    color: rgba(200, 190, 170, 0.6); opacity: 0; animation: fade-in 1s 1.5s forwards; letter-spacing: 1px;
}
@keyframes fade-in { to { opacity: 1; } }
.splash-line {
    width: 80px; height: 1px;
    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.5), transparent);
    margin: 20px 0; opacity: 0; animation: fade-in 1s 1.2s forwards;
}
.splash-stars { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.splash-star {
    position: absolute; width: 2px; height: 2px; background: rgba(212, 175, 55, 0.6);
    border-radius: 50%; animation: twinkle 3s ease-in-out infinite;
}
@keyframes twinkle {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

/* ===== QUOTA BADGE ===== */
.quota-badge {
    display: flex; align-items: center; gap: 14px;
    max-width: 320px; margin: 0 auto 28px;
    padding: 14px 18px; border-radius: 14px;
    background: linear-gradient(135deg, rgba(20, 15, 35, 0.8), rgba(15, 12, 28, 0.9));
    border: 1px solid rgba(212, 175, 55, 0.2);
}
.quota-badge__icon {
    font-size: 1.8em; color: #D4AF37;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    flex-shrink: 0;
}
.quota-badge__info { flex: 1; }
.quota-badge__label {
    font-family: 'Cinzel', serif; font-size: 0.7em; color: rgba(212, 175, 55, 0.7);
    letter-spacing: 2px; text-transform: uppercase; margin-bottom: 6px;
}
.quota-badge__bar {
    width: 100%; height: 6px; border-radius: 3px;
    background: rgba(255, 255, 255, 0.06); overflow: hidden; margin-bottom: 5px;
}
.quota-badge__fill {
    height: 100%; border-radius: 3px;
    background: linear-gradient(90deg, #D4AF37, #FFDF73);
    transition: width 0.6s ease, background 0.6s ease;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}
.quota-badge__text {
    font-size: 0.8em; color: rgba(200, 190, 170, 0.6);
    font-style: italic;
}

/* ===== LIMIT REACHED ===== */
.limit-reached {
    text-align: center; padding: 50px 20px;
    animation: fadeInUp 0.8s ease;
}
.limit-reached__icon {
    font-size: 3.5em; margin-bottom: 16px;
    animation: splash-float 3s ease-in-out infinite;
}
.limit-reached__title {
    font-family: 'Cinzel', serif; font-size: 1.2em; color: #D4AF37;
    letter-spacing: 2px; margin-bottom: 12px;
}
.limit-reached__sub {
    font-size: 1em; font-style: italic; color: rgba(200, 190, 170, 0.5);
    line-height: 1.6; max-width: 300px; margin: 0 auto;
}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 700px) {
    .top-bar h1 { font-size: 1.2em; letter-spacing: 2px; }
    .mode-cards { flex-direction: column; align-items: center; gap: 15px; }
    .mode-card { width: 85%; max-width: 280px; padding: 24px 18px; }
    .card-wrapper { width: 85%; max-width: 260px; }
    .reading-mode-title { font-size: 1.4em; }
    .oracle-frame { width: 120px; height: 120px; }
    .splash-title { font-size: 2em !important; }
    .splash-moon { font-size: 3.5em !important; }
    .quota-badge { max-width: 85%; }
}
