/* Year in Review - Web Styles (Matching Mobile) */

/* ============================================================================
   Core Modal Styles
   ============================================================================ */

.yir-modal {
    font-family: Palatino, 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
}

.yir-gradient {
    background: linear-gradient(180deg, #0f0f1e 0%, #1a1a2e 50%, #0f0f1e 100%);
}

/* ============================================================================
   Progress Bar
   ============================================================================ */

.yir-progress-dot {
    height: 3px;
    border-radius: 1.5px;
    background-color: rgba(255, 255, 255, 0.2);
    flex: 1;
    transition: background-color 0.3s ease;
}

.yir-progress-dot.active {
    background-color: #e5d1a9;
}

.yir-progress-dot.completed {
    background-color: rgba(255, 255, 255, 0.5);
}

/* ============================================================================
   Navigation
   ============================================================================ */

.yir-back-button {
    color: rgba(255, 255, 255, 0.7);
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.yir-back-button.faded {
    opacity: 0.3;
}

.yir-hint-text {
    font-size: 14px;
    color: #e5d1a9;
    opacity: 0.8;
    font-family: Palatino, serif;
}

/* ============================================================================
   Slide Container
   ============================================================================ */

.yir-slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 24px 40px;
    opacity: 0;
    transition: opacity 0.4s ease-out;
}

.yir-slide.active {
    opacity: 1;
}

/* ============================================================================
   Typography (Matching Mobile Palatino System)
   ============================================================================ */

.yir-title {
    font-size: 22px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 8px;
    line-height: 1.3;
    font-family: Palatino, 'Palatino Linotype', serif;
}

.yir-title-bold {
    font-weight: 700;
}

.yir-subtitle {
    font-size: 14px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    margin-bottom: 24px;
    font-family: Palatino, serif;
}

.yir-body-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    text-align: center;
    font-family: Palatino, serif;
}

.yir-label {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-family: Palatino, serif;
}

.yir-gold-text {
    color: #e5d1a9;
}

/* ============================================================================
   Title Slide - Book Cover with Floating Particles
   ============================================================================ */

.yir-title-slide {
    justify-content: flex-start;
    padding-top: 100px;
}

.yir-brand-text {
    font-size: 14px;
    letter-spacing: 4px;
    color: #e5d1a9;
    margin-bottom: 24px;
    font-family: Palatino, serif;
}

.yir-book-container {
    position: relative;
    width: 70%;
    max-width: 280px;
    margin-bottom: 32px;
}

.yir-book-cover {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 15px 30px rgba(229, 209, 169, 0.3);
}

.yir-chapter-name {
    font-size: 24px;
    font-weight: 700;
    color: #3D3D3D;
    text-align: center;
    line-height: 1.35;
    font-family: Palatino, 'Palatino Linotype', serif;
    position: absolute;
    bottom: 25%;
    left: 10%;
    right: 10%;
}

.yir-user-name {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 16px;
    font-family: Palatino, serif;
}

.yir-year-badge {
    font-size: 14px;
    color: #e5d1a9;
    letter-spacing: 0.5px;
    margin-top: 8px;
    font-family: Palatino, serif;
}

/* Floating particles */
.yir-particles-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.yir-particle {
    position: absolute;
    border-radius: 50%;
    background: #e5d1a9;
    animation: yir-float-up 4s ease-in-out infinite;
}

@keyframes yir-float-up {
    0% { transform: translateY(0) scale(1); opacity: 0.6; }
    50% { opacity: 1; }
    100% { transform: translateY(-40vh) scale(0.5); opacity: 0; }
}

/* ============================================================================
   Stats Slide - Matching Mobile Card Design
   ============================================================================ */

.yir-stats-card {
    background: #FFFDF9;
    border-radius: 16px;
    padding: 24px;
    width: calc(100% - 64px);
    max-width: 320px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.yir-stat-row {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.yir-stat-item {
    text-align: center;
    flex: 1;
}

.yir-stat-number {
    font-size: 42px;
    font-weight: 300;
    color: #2D2D3A;
    letter-spacing: 2px;
    line-height: 1;
    font-family: Palatino, serif;
}

.yir-stat-label {
    font-size: 14px;
    color: #6A6A7A;
    margin-top: 4px;
    font-family: Palatino, serif;
}

.yir-stat-divider {
    height: 1px;
    width: 80%;
    margin: 16px auto;
    background: #e5d1a9;
    opacity: 0.6;
}

.yir-insight-text {
    font-size: 14px;
    color: #4A4A5A;
    line-height: 1.7;
    text-align: center;
    font-family: Palatino, serif;
}

/* ============================================================================
   Themes Slide - Flip Cards with Gradients
   ============================================================================ */

.yir-themes-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: calc(100% - 48px);
    max-width: 340px;
}

.yir-theme-card {
    background: linear-gradient(135deg, rgba(35, 25, 70, 0.95) 0%, rgba(25, 18, 50, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.yir-theme-card:hover {
    transform: scale(1.02);
}

.yir-theme-card.expanded {
    background: linear-gradient(135deg, rgba(40, 30, 80, 0.95) 0%, rgba(30, 20, 60, 0.98) 100%);
    border-color: rgba(255, 255, 255, 0.2);
}

.yir-theme-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.yir-theme-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.yir-theme-icon svg {
    width: 20px;
    height: 20px;
    color: #fff;
}

.yir-theme-name {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    flex: 1;
    line-height: 1.4;
    font-family: Palatino, 'Palatino Linotype', serif;
}

.yir-theme-accent {
    width: 40px;
    height: 2px;
    background: #e5d1a9;
    border-radius: 1px;
    margin-top: 8px;
}

.yir-theme-hint {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 8px;
    font-family: Palatino, serif;
}

.yir-theme-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin-top: 16px;
    display: none;
    font-family: Palatino, serif;
}

.yir-theme-card.expanded .yir-theme-description {
    display: block;
}

.yir-theme-card.expanded .yir-theme-hint {
    display: none;
}

/* ============================================================================
   Goals Slide - Carousel with Cards
   ============================================================================ */

.yir-goals-header {
    text-align: center;
    margin-bottom: 24px;
}

.yir-goals-count {
    font-size: 72px;
    font-weight: 700;
    color: #e5d1a9;
    line-height: 1;
    font-family: Palatino, 'Palatino Linotype', serif;
}

.yir-goals-label {
    font-size: 28px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    font-family: Palatino, 'Palatino Linotype', serif;
}

.yir-goals-carousel {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: calc(100% - 48px);
    max-width: 320px;
    max-height: 300px;
    overflow-y: auto;
    padding: 4px;
}

.yir-goal-card {
    background: rgba(30, 25, 50, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.yir-goal-check {
    width: 24px;
    height: 24px;
    border-radius: 12px;
    background: #e5d1a9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.yir-goal-check svg {
    width: 14px;
    height: 14px;
    color: #1a1530;
}

.yir-goal-content {
    flex: 1;
}

.yir-goal-title {
    font-size: 15px;
    color: #fff;
    line-height: 1.5;
    font-family: Palatino, serif;
}

.yir-goal-date {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 4px;
    font-family: Palatino, serif;
}

/* ============================================================================
   Tension Slide - Yin Yang with Poles
   ============================================================================ */

.yir-tension-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(100% - 48px);
    max-width: 340px;
}

.yir-yin-yang-wrapper {
    position: relative;
    width: 100%;
    max-width: 280px;
    margin-bottom: 24px;
}

.yir-yin-yang-container {
    position: relative;
    width: 65%;
    max-width: 220px;
    margin: 0 auto;
    padding: 30px 0;
}

.yir-yin-yang {
    width: 100%;
    height: auto;
    opacity: 0.85;
    animation: yir-rotate-slow 60s linear infinite;
}

@keyframes yir-rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.yir-tension-word {
    position: absolute;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 3px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    font-family: Palatino, 'Palatino Linotype', serif;
}

.yir-tension-left {
    top: 5%;
    left: 0;
    color: #8B7355;
}

.yir-tension-right {
    bottom: 5%;
    right: 0;
    color: #9C93D6;
}

.yir-tension-description {
    background: rgba(30, 25, 50, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    width: 100%;
}

.yir-tension-description p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    text-align: center;
    font-family: Palatino, serif;
}

/* ============================================================================
   Emotions Slide - Floating Orbs
   ============================================================================ */

.yir-emotions-container {
    position: relative;
    width: calc(100% - 48px);
    height: 260px;
    max-width: 340px;
}

.yir-emotion-orb {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.yir-emotion-orb:hover {
    transform: scale(1.1) !important;
}

.yir-emotion-name {
    font-size: 11px;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.85);
    text-transform: capitalize;
    text-align: center;
    padding: 0 4px;
    font-family: Palatino, serif;
}

.yir-emotion-percent {
    font-size: 9px;
    color: rgba(0, 0, 0, 0.7);
    font-family: Palatino, serif;
}

/* Emotion colors matching mobile */
.yir-emotion-joy { background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%); }
.yir-emotion-happy { background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%); }
.yir-emotion-calm { background: linear-gradient(135deg, #93C5FD 0%, #60A5FA 100%); }
.yir-emotion-peaceful { background: linear-gradient(135deg, #93C5FD 0%, #60A5FA 100%); }
.yir-emotion-sadness { background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 100%); }
.yir-emotion-sad { background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 100%); }
.yir-emotion-anger { background: linear-gradient(135deg, #F87171 0%, #EF4444 100%); }
.yir-emotion-angry { background: linear-gradient(135deg, #F87171 0%, #EF4444 100%); }
.yir-emotion-fear { background: linear-gradient(135deg, #C084FC 0%, #A855F7 100%); }
.yir-emotion-anxiety { background: linear-gradient(135deg, #C084FC 0%, #A855F7 100%); }
.yir-emotion-surprise { background: linear-gradient(135deg, #F472B6 0%, #EC4899 100%); }
.yir-emotion-love { background: linear-gradient(135deg, #4ADE80 0%, #22C55E 100%); }
.yir-emotion-gratitude { background: linear-gradient(135deg, #FB923C 0%, #F97316 100%); }
.yir-emotion-grateful { background: linear-gradient(135deg, #FB923C 0%, #F97316 100%); }
.yir-emotion-hope { background: linear-gradient(135deg, #2DD4BF 0%, #14B8A6 100%); }
.yir-emotion-trust { background: linear-gradient(135deg, #4ADE80 0%, #22C55E 100%); }
.yir-emotion-anticipation { background: linear-gradient(135deg, #FDE047 0%, #FACC15 100%); }
.yir-emotion-excited { background: linear-gradient(135deg, #FDE047 0%, #FACC15 100%); }
.yir-emotion-default { background: linear-gradient(135deg, #A78BFA 0%, #8B5CF6 100%); }

/* Emotion insight frame */
.yir-emotion-insight {
    margin-top: 24px;
    text-align: center;
}

.yir-emotion-insight-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    font-style: italic;
    font-family: Palatino, serif;
}

.yir-emotion-insight-name {
    font-size: 22px;
    font-weight: 700;
    color: #e5d1a9;
    letter-spacing: 2px;
    margin-top: 4px;
    font-family: Palatino, 'Palatino Linotype', serif;
}

/* ============================================================================
   Spark Slide - Journal Card with Typewriter
   ============================================================================ */

.yir-spark-card {
    background: #FFFDF9;
    border-radius: 16px;
    padding: 24px;
    width: calc(100% - 48px);
    max-width: 320px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.yir-spark-date-badge {
    display: inline-block;
    padding: 6px 12px;
    background: #3D1B89;
    border-radius: 12px;
    margin-bottom: 16px;
}

.yir-spark-date-text {
    font-size: 12px;
    color: #fff;
    font-family: Palatino, serif;
}

.yir-spark-excerpt {
    font-size: 16px;
    font-style: italic;
    color: #2D2D3A;
    line-height: 1.6;
    min-height: 80px;
    font-family: Palatino, serif;
}

.yir-typewriter-cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background: #8B5CF6;
    margin-left: 2px;
    animation: yir-blink 0.7s step-end infinite;
    vertical-align: text-bottom;
}

@keyframes yir-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.yir-spark-reflection {
    font-size: 14px;
    color: #4A4A5A;
    line-height: 1.6;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(229, 209, 169, 0.3);
    font-family: Palatino, serif;
}

.yir-spark-whisper {
    font-size: 13px;
    font-style: italic;
    color: #e5d1a9;
    text-align: center;
    margin-top: 12px;
    font-family: Palatino, serif;
}

/* ============================================================================
   Mentors Slide - Circular Layout with Round Table
   ============================================================================ */

.yir-mentors-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.yir-mentors-stage {
    position: relative;
    width: 85%;
    max-width: 320px;
    aspect-ratio: 1 / 0.7;
    margin-bottom: 20px;
}

.yir-round-table {
    width: 100%;
    height: auto;
    opacity: 0.8;
}

.yir-mentor-portrait {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.yir-mentor-portrait.active {
    transform: scale(1.1);
}

.yir-mentor-glow {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 209, 169, 0.4) 0%, transparent 70%);
    top: -4px;
    left: -4px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.yir-mentor-portrait.active .yir-mentor-glow {
    opacity: 1;
}

.yir-mentor-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: border-color 0.3s ease;
}

.yir-mentor-portrait.active .yir-mentor-circle {
    border-color: #e5d1a9;
}

.yir-mentor-image {
    width: 52px;
    height: 52px;
    object-fit: cover;
}

.yir-mentor-info {
    text-align: center;
    margin-top: 6px;
}

.yir-mentor-name {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    font-family: Palatino, 'Palatino Linotype', serif;
}

.yir-mentor-role {
    font-size: 10px;
    color: #e5d1a9;
    font-family: Palatino, serif;
}

.yir-mentor-count {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.5);
    font-family: Palatino, serif;
}

.yir-wisdom-box {
    background: rgba(30, 25, 50, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    width: calc(100% - 48px);
    max-width: 320px;
    min-height: 80px;
}

.yir-wisdom-text {
    font-size: 14px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    text-align: center;
    transition: opacity 0.15s ease;
    font-family: Palatino, serif;
}

.yir-wisdom-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.yir-wisdom-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.2s ease;
}

.yir-wisdom-indicator.active {
    width: 8px;
    height: 8px;
    background: #e5d1a9;
}

/* ============================================================================
   Progress Slide - Breaking Wall Animation
   ============================================================================ */

.yir-progress-container {
    width: calc(100% - 48px);
    max-width: 340px;
}

.yir-progress-title {
    text-align: center;
    margin-bottom: 24px;
}

.yir-progress-title-text {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.75);
    font-family: Palatino, serif;
}

.yir-progress-title-emphasis {
    font-size: 24px;
    font-weight: 700;
    color: #e5d1a9;
    font-family: Palatino, 'Palatino Linotype', serif;
}

.yir-barrier-container {
    position: relative;
    width: 100%;
    height: 140px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.yir-wall {
    position: relative;
    width: 60px;
    height: 100px;
}

.yir-wall-piece {
    position: absolute;
    width: 60px;
    height: 100px;
    background: linear-gradient(180deg, #4a3a6a 0%, #2d2245 50%, #1a1530 100%);
    border-radius: 4px;
    transition: transform 0.8s cubic-bezier(0.34, -0.5, 0.64, 1.5), opacity 0.8s ease;
}

.yir-wall-piece.breaking {
    transform: translate(var(--tx, 0), var(--ty, 0)) rotate(var(--rot, 0));
    opacity: 0;
}

.yir-wall-crack {
    position: absolute;
    width: 2px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 1px;
}

.yir-wall-debris {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #4a3a6a;
    transform: rotate(45deg);
    opacity: 0;
}

.yir-stickman {
    position: absolute;
    width: 50px;
    height: 50px;
    transform: scale(0);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10;
}

.yir-stickman.visible {
    transform: scale(1);
}

.yir-progress-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.yir-progress-card {
    background: rgba(30, 25, 50, 0.8);
    border-radius: 16px;
    padding: 20px;
}

.yir-progress-card.highlight {
    background: rgba(40, 30, 60, 0.9);
    border: 1px solid rgba(229, 209, 169, 0.3);
}

.yir-progress-card-label {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-family: Palatino, 'Palatino Linotype', serif;
}

.yir-obstacle-name {
    font-size: 18px;
    font-weight: 700;
    color: #e5d1a9;
    text-align: center;
    margin-bottom: 12px;
    font-family: Palatino, 'Palatino Linotype', serif;
}

.yir-progress-card-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    font-family: Palatino, serif;
}

/* ============================================================================
   Archetype Slide
   ============================================================================ */

.yir-archetype-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(100% - 48px);
    max-width: 340px;
}

.yir-archetype-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
    font-family: Palatino, serif;
}

.yir-archetype-image-container {
    position: relative;
    margin-bottom: 20px;
}

.yir-archetype-image {
    width: 55vw;
    max-width: 180px;
    height: auto;
    border-radius: 50%;
    animation: yir-archetype-pulse 2s ease-in-out infinite;
}

@keyframes yir-archetype-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.yir-archetype-the {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 4px;
    margin-bottom: 4px;
    font-family: Palatino, serif;
}

.yir-archetype-name {
    font-size: 32px;
    font-weight: 700;
    color: #e5d1a9;
    letter-spacing: 6px;
    margin-bottom: 16px;
    font-family: Palatino, 'Palatino Linotype', serif;
}

.yir-archetype-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    text-align: center;
    margin-bottom: 20px;
    font-family: Palatino, serif;
}

.yir-qualities-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.yir-quality-badge {
    background: rgba(229, 209, 169, 0.08);
    border: 1px solid #e5d1a9;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 12px;
    color: #fff;
    font-family: Palatino, serif;
}

/* ============================================================================
   Invitation Slide
   ============================================================================ */

.yir-invitation-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(100% - 48px);
    max-width: 340px;
}

.yir-vow-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 24px;
    width: 100%;
    margin-bottom: 24px;
}

.yir-vow-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    font-family: Palatino, serif;
}

.yir-vow-text {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 1.5;
    text-align: center;
    font-family: Palatino, 'Palatino Linotype', serif;
}

.yir-prompt-card {
    background: rgba(30, 25, 50, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    width: 100%;
    margin-bottom: 24px;
}

.yir-prompt-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    font-family: Palatino, serif;
}

.yir-prompt-text {
    font-size: 16px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    font-family: Palatino, serif;
}

.yir-reflection-button {
    background: rgba(255, 253, 249, 0.92);
    border: 1px solid rgba(229, 209, 169, 0.5);
    border-radius: 16px;
    padding: 16px 32px;
    cursor: pointer;
    transition: transform 0.1s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.yir-reflection-button:hover {
    transform: scale(1.02);
}

.yir-reflection-button:active {
    transform: scale(0.98);
}

.yir-reflection-button-text {
    font-size: 16px;
    font-weight: 600;
    color: #3D1B89;
    font-family: Palatino, 'Palatino Linotype', serif;
}

.yir-reflection-button-icon {
    color: #e5d1a9;
}

.yir-complete-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 20px;
    cursor: pointer;
    transition: color 0.2s ease;
    font-family: Palatino, serif;
}

.yir-complete-text:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================================================
   Exit Overlay
   ============================================================================ */

.yir-exit-overlay {
    background: linear-gradient(180deg, #F5E6D3 0%, #EABD8C 30%, #D4A574 60%, #e5d1a9 100%);
    opacity: 0;
    transition: opacity 0.8s ease;
}

.yir-exit-overlay.visible {
    opacity: 1;
}

/* ============================================================================
   Entry Card (on home page)
   ============================================================================ */

.yir-entry-card {
    position: relative;
    background: linear-gradient(135deg, #3D1B89 0%, #2A1460 50%, #9C93D6 100%);
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.yir-entry-card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
}

.yir-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    animation: yir-shimmer 4s infinite;
}

@keyframes yir-shimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

.yir-entry-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.yir-entry-text {
    flex: 1;
    padding-right: 16px;
}

.yir-entry-year {
    font-size: 14px;
    color: #e5d1a9;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.yir-entry-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    font-family: Palatino, 'Palatino Linotype', serif;
}

.yir-entry-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    font-family: Palatino, 'Palatino Linotype', serif;
}

.yir-entry-icon {
    display: flex;
    align-items: center;
    gap: 8px;
}

.yir-entry-book {
    width: 56px;
    height: 56px;
}

.yir-entry-chevron {
    color: rgba(255, 255, 255, 0.6);
}

.yir-entry-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #e5d1a9;
    opacity: 0.8;
}

/* ============================================================================
   Loading State
   ============================================================================ */

.yir-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ============================================================================
   Responsive Adjustments
   ============================================================================ */

@media (max-height: 700px) {
    .yir-slide { padding: 60px 20px 30px; }
    .yir-title { font-size: 20px; }
    .yir-stat-number { font-size: 36px; }
    .yir-book-container { width: 60%; }
    .yir-chapter-name { font-size: 20px; }
    .yir-archetype-image { max-width: 140px; }
    .yir-archetype-name { font-size: 26px; }
    .yir-goals-count { font-size: 56px; }
    .yir-yin-yang-container { max-width: 180px; }
}

@media (min-width: 768px) {
    .yir-slide { padding: 100px 48px 60px; }
    .yir-stats-card { max-width: 380px; }
    .yir-themes-container { max-width: 400px; }
    .yir-progress-container { max-width: 400px; }
}
