/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --phone-width: 390px;
    --phone-height: 844px;
    --progress-height: 4px;
    --slide-duration: 8s;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a0a;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}

/* App Container */
.app-container {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #0a0a0a 100%);
}

/* Phone Frame - creates mobile look on desktop */
.phone-frame {
    width: 100%;
    height: 100%;
    max-width: var(--phone-width);
    max-height: var(--phone-height);
    position: relative;
    overflow: hidden;
    background: #000;
}

/* Desktop: show phone frame with rounded corners and shadow */
@media (min-width: 500px) {
    .phone-frame {
        border-radius: 44px;
        box-shadow:
            0 0 0 11px #1c1c1e,
            0 0 0 13px #3a3a3c,
            0 25px 50px -12px rgba(0,0,0,0.5),
            0 50px 100px -20px rgba(0,0,0,0.6);
    }

    /* Notch simulation */
    .phone-frame::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 150px;
        height: 30px;
        background: #000;
        border-radius: 0 0 20px 20px;
        z-index: 200;
    }
}

/* Mobile: full screen */
@media (max-width: 499px) {
    .phone-frame {
        max-width: 100%;
        max-height: 100%;
        border-radius: 0;
    }

    .phone-frame::before {
        display: none;
    }
}

/* Circular Timer */
.circular-timer {
    position: absolute;
    top: 44px;
    right: 20px;
    width: 48px;
    height: 48px;
    z-index: 150;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 499px) {
    .circular-timer {
        top: 16px;
        right: 16px;
        width: 44px;
        height: 44px;
    }
}

.circular-timer svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.timer-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 2;
}

.timer-progress {
    fill: none;
    stroke: #fff;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 100.53;
    stroke-dashoffset: 100.53;
    transition: stroke-dashoffset 0.1s linear;
}

.timer-progress.animating {
    animation: timerFill var(--slide-duration) linear forwards;
}

.timer-progress.paused {
    animation-play-state: paused;
}

@keyframes timerFill {
    from { stroke-dashoffset: 100.53; }
    to { stroke-dashoffset: 0; }
}

/* Progress Bar - now hidden but kept for functionality */
.progress-container {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    z-index: 100;
    display: none; /* Hidden - using circular timer instead */
    gap: 4px;
    padding-top: 20px;
}

@media (max-width: 499px) {
    .progress-container {
        padding-top: 8px;
        top: 8px;
    }
}

.progress-segment {
    flex: 1;
    height: var(--progress-height);
    background: rgba(255,255,255,0.25);
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
}

.progress-segment .fill {
    height: 100%;
    background: #fff;
    width: 0%;
    transition: width 0.1s linear;
}

.progress-segment.complete .fill {
    width: 100%;
}

.progress-segment.active .fill {
    animation: progressFill var(--slide-duration) linear forwards;
}

.progress-segment.paused .fill {
    animation-play-state: paused;
}

@keyframes progressFill {
    from { width: 0%; }
    to { width: 100%; }
}

/* Story Container */
.story-container {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Slides */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 28px 50px;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-content {
    width: 100%;
    max-width: 340px;
    text-align: center;
}

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

/* Gradient Backgrounds */
.gradient-intro { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); }
.gradient-purple { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.gradient-blue { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.gradient-teal { background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); }
.gradient-dark { background: linear-gradient(135deg, #232526 0%, #414345 100%); }
.gradient-warm { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.gradient-naples { background: linear-gradient(135deg, #c94b4b 0%, #4b134f 100%); }
.gradient-coral { background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%); }
.gradient-gold { background: linear-gradient(135deg, #f7971e 0%, #ffd200 100%); }
.gradient-red { background: linear-gradient(135deg, #cb2d3e 0%, #ef473a 100%); }
.gradient-maroon { background: linear-gradient(135deg, #870000 0%, #190a05 100%); }
.gradient-space { background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%); }
.gradient-purple-dark { background: linear-gradient(135deg, #4a0e4e 0%, #1a1a2e 100%); }
.gradient-sepia { background: linear-gradient(135deg, #3e2723 0%, #5d4037 100%); }
.gradient-vintage { background: linear-gradient(135deg, #2c1810 0%, #4a3728 100%); }
.gradient-gem { background: linear-gradient(135deg, #134e5e 0%, #71b280 100%); }
.gradient-audio { background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); }
.gradient-series { background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%); }
.gradient-hope { background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); }
.gradient-finale { background: linear-gradient(135deg, #8e2de2 0%, #4a00e0 100%); }
.gradient-finale-2 { background: linear-gradient(135deg, #4a00e0 0%, #8e2de2 100%); }
.gradient-end { background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%); }

/* New gradients for expanded slides */
.gradient-streak { background: linear-gradient(135deg, #2d3436 0%, #636e72 100%); }
.gradient-winter { background: linear-gradient(135deg, #5c6bc0 0%, #7986cb 50%, #9fa8da 100%); }
.gradient-naples-dark { background: linear-gradient(135deg, #1a0a1e 0%, #4b134f 100%); }
.gradient-decisive { background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); }
.gradient-gold-dark { background: linear-gradient(135deg, #b77d20 0%, #8b5a00 100%); }
.gradient-ancient { background: linear-gradient(135deg, #3d2914 0%, #5c4023 50%, #8b6914 100%); }
.gradient-grace { background: linear-gradient(135deg, #283e51 0%, #4b79a1 100%); }
.gradient-jungle { background: linear-gradient(135deg, #134e4a 0%, #166534 100%); }
.gradient-fantasy { background: linear-gradient(135deg, #4a1c6b 0%, #7c3aed 100%); }
.gradient-defiant { background: linear-gradient(135deg, #1f1f1f 0%, #434343 100%); }
.gradient-cold { background: linear-gradient(135deg, #2c3e50 0%, #4ca1af 100%); }
.gradient-genre-rate { background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%); }
.gradient-length { background: linear-gradient(135deg, #373b44 0%, #4286f4 100%); }
.gradient-contrast { background: linear-gradient(135deg, #0f0c29 0%, #302b63 100%); }
.gradient-reflection { background: linear-gradient(135deg, #1a535c 0%, #4ecdc4 100%); }
.gradient-series-dark { background: linear-gradient(135deg, #141e30 0%, #243b55 100%); }
.gradient-values { background: linear-gradient(135deg, #614385 0%, #516395 100%); }
.gradient-critical { background: linear-gradient(135deg, #333333 0%, #1a1a1a 100%); }
.gradient-hope-dark { background: linear-gradient(135deg, #004d40 0%, #00796b 100%); }
.gradient-joy { background: linear-gradient(135deg, #ff6f00 0%, #ffab00 100%); }
.gradient-identity { background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #4fc3f7 100%); }
.gradient-standard { background: linear-gradient(135deg, #232526 0%, #414345 100%); }
.gradient-alchemised { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); }
.gradient-celtic { background: linear-gradient(135deg, #2d5016 0%, #4a7c23 100%); }
.gradient-quirk { background: linear-gradient(135deg, #642b73 0%, #c6426e 100%); }
.gradient-rainbow { background: linear-gradient(135deg, #e55d87 0%, #5fc3e4 100%); }
.gradient-discovery { background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); }
.gradient-personal { background: linear-gradient(135deg, #2c3e50 0%, #4ca1af 100%); }
.gradient-memory { background: linear-gradient(135deg, #1a1a2e 0%, #4a4a6a 100%); }
.gradient-bittersweet { background: linear-gradient(135deg, #3a1c71 0%, #d76d77 50%, #ffaf7b 100%); }
.gradient-spirit { background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%); }
.gradient-skeptic { background: linear-gradient(135deg, #434343 0%, #000000 100%); }

/* Typography */
.slide-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 24px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    line-height: 1.05;
    color: #fff;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

.year-badge {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(255,255,255,0.12);
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.tap-hint {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Big Stats */
.big-stat {
    margin: 24px 0;
}

.stat-number {
    font-size: 100px;
    font-weight: 700;
    color: #fff;
    display: block;
    line-height: 1;
    letter-spacing: -3px;
}

.stat-label {
    font-size: 26px;
    color: rgba(255,255,255,0.85);
    display: block;
    margin-top: 8px;
    font-weight: 500;
}

.stat-comparison {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    margin-top: 24px;
}

.stat-comparison strong {
    color: #fff;
}

/* Pace Stats */
.pace-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin: 32px 0;
}

.pace-item {
    text-align: center;
}

.pace-number {
    font-size: 60px;
    font-weight: 700;
    color: #fff;
    display: block;
    line-height: 1;
}

.pace-label {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-top: 8px;
}

.pace-divider {
    width: 2px;
    height: 70px;
    background: rgba(255,255,255,0.25);
    border-radius: 1px;
}

.insight-text {
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    margin-top: 24px;
    line-height: 1.5;
}

.insight-text strong {
    color: #fff;
}

/* Charts */
.chart-container {
    width: 100%;
    height: 200px;
    margin: 24px 0;
}

.chart-callout {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    margin-top: 16px;
}

.chart-callout strong {
    color: #fff;
}

/* Author Spotlight */
.author-spotlight {
    margin: 24px 0;
}

.author-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    margin: 0 auto 20px;
    border: 2px solid rgba(255,255,255,0.2);
}

.author-name {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    color: #fff;
    margin-bottom: 8px;
}

.author-stat {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
}

/* Series Display */
.series-display {
    margin: 24px 0;
}

.series-books {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 24px;
}

.book-spine {
    width: 52px;
    height: 85px;
    background: linear-gradient(135deg, #c94b4b 0%, #8b3a3a 100%);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 22px;
    box-shadow: 4px 4px 15px rgba(0,0,0,0.35);
    animation: slideUp 0.5s ease forwards;
    animation-delay: calc(var(--delay) * 0.15s);
    opacity: 0;
    transform: translateY(20px);
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.series-name {
    font-size: 20px;
    color: #fff;
    margin-bottom: 12px;
    font-weight: 600;
}

.series-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.stars {
    color: #ffd700;
    font-size: 20px;
}

.rating-num {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
}

.quote-text {
    font-size: 14px;
    font-style: italic;
    color: rgba(255,255,255,0.8);
    margin-top: 28px;
    line-height: 1.5;
}

/* Rating Personality */
.rating-personality {
    margin: 24px 0;
}

.personality-badge {
    display: inline-block;
    padding: 12px 28px;
    background: rgba(0,0,0,0.25);
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #fff;
    margin-bottom: 28px;
    border: 1px solid rgba(255,255,255,0.15);
}

.rating-avg {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.big-rating {
    font-size: 80px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.rating-context {
    font-size: 17px;
    color: rgba(255,255,255,0.7);
    margin-top: 8px;
}

/* Rating Bars */
.rating-bars {
    margin: 24px 0;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.star-label {
    width: 85px;
    text-align: right;
    font-size: 13px;
    color: #ffd700;
    flex-shrink: 0;
}

.bar-track {
    flex: 1;
    height: 28px;
    background: rgba(255,255,255,0.1);
    border-radius: 14px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 14px;
    width: 0;
    animation: barGrow 1s ease forwards;
    animation-delay: 0.3s;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 12px;
}

.bar-fill span {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.bar-fill.red {
    background: linear-gradient(90deg, #ff6b6b 0%, #ee5a24 100%);
}

.bar-fill.zero {
    background: transparent;
}

.bar-fill.zero span {
    color: rgba(255,255,255,0.4);
    padding-left: 12px;
}

@keyframes barGrow {
    to { width: var(--width); }
}

/* Five Star List */
.five-star-list {
    text-align: left;
}

.five-star-book {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.15);
    animation: fadeInUp 0.4s ease forwards;
    opacity: 0;
}

.five-star-book:nth-child(1) { animation-delay: 0.1s; }
.five-star-book:nth-child(2) { animation-delay: 0.15s; }
.five-star-book:nth-child(3) { animation-delay: 0.2s; }
.five-star-book:nth-child(4) { animation-delay: 0.25s; }
.five-star-book:nth-child(5) { animation-delay: 0.3s; }
.five-star-book:nth-child(6) { animation-delay: 0.35s; }
.five-star-book:nth-child(7) { animation-delay: 0.4s; }

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

.book-title {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: rgba(0,0,0,0.9);
    margin-bottom: 3px;
}

.book-author {
    font-size: 13px;
    color: rgba(0,0,0,0.55);
}

/* Hype Fail */
.hype-fail {
    margin: 32px 0;
}

.hype-book {
    background: rgba(0,0,0,0.2);
    padding: 28px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

.book-name {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    display: block;
    margin-bottom: 16px;
}

.hype-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 12px;
}

.community, .you {
    font-size: 15px;
    color: rgba(255,255,255,0.75);
}

.you {
    color: #fff;
    font-weight: 700;
}

.ratings-count {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
}

/* One Star List */
.quote-large {
    font-size: 21px;
    font-style: italic;
    color: rgba(255,255,255,0.9);
    line-height: 1.45;
    margin-bottom: 32px;
}

.one-star-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.one-star-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
}

.one-star-icon {
    color: #ff6b6b;
    font-size: 18px;
}

/* Genre Bubbles */
.genre-bubbles {
    width: 100%;
    height: 300px;
    position: relative;
    margin: 24px 0;
}

.genre-bubble {
    position: absolute;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    font-weight: 600;
    animation: bubbleFloat 3s ease-in-out infinite;
    cursor: default;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.genre-bubble span {
    font-size: 10px;
    line-height: 1.2;
    padding: 5px;
}

@keyframes bubbleFloat {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50% { transform: translate(-50%, -50%) translateY(-6px); }
}

/* Genre Ranking */
.genre-ranking {
    text-align: left;
}

.genre-rank {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    animation: fadeInUp 0.4s ease forwards;
    opacity: 0;
}

.genre-rank:nth-child(1) { animation-delay: 0.1s; }
.genre-rank:nth-child(2) { animation-delay: 0.2s; }
.genre-rank:nth-child(3) { animation-delay: 0.3s; }
.genre-rank:nth-child(4) { animation-delay: 0.4s; }
.genre-rank:nth-child(5) { animation-delay: 0.5s; }

.rank-num {
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 15px;
    flex-shrink: 0;
}

.genre-name {
    flex: 1;
    font-size: 17px;
    color: #fff;
    font-weight: 500;
}

.genre-count {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
}

/* Era Comparison */
.era-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 32px 0;
}

.era-stat {
    text-align: center;
    padding: 22px 18px;
    background: rgba(255,255,255,0.08);
    border-radius: 18px;
    min-width: 110px;
}

.era-stat.old {
    background: rgba(255,215,0,0.15);
    border: 1px solid rgba(255,215,0,0.25);
}

.era-rating {
    font-size: 44px;
    font-weight: 700;
    color: #fff;
    display: block;
    line-height: 1;
}

.era-label {
    font-size: 11px;
    color: rgba(255,255,255,0.65);
    margin-top: 8px;
}

.era-vs {
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    font-weight: 500;
}

/* Timeline */
.timeline {
    margin: 32px 0;
    position: relative;
}

.timeline-book {
    text-align: center;
    padding: 22px;
    background: rgba(255,255,255,0.08);
    border-radius: 16px;
    margin-bottom: 20px;
}

.timeline-year {
    font-size: 40px;
    font-weight: 700;
    color: #ffd700;
    display: block;
    line-height: 1;
}

.timeline-title {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    margin-top: 8px;
}

.timeline-line {
    width: 2px;
    height: 45px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
    margin: 0 auto;
    border-radius: 1px;
}

/* Hidden Gems */
.hipster-badge {
    background: rgba(255,255,255,0.12);
    padding: 32px;
    border-radius: 24px;
    margin-bottom: 28px;
    border: 1px solid rgba(255,255,255,0.1);
}

.hipster-icon {
    font-size: 44px;
    display: block;
    margin-bottom: 12px;
}

.hipster-stat {
    font-size: 52px;
    font-weight: 700;
    color: #fff;
    display: block;
    line-height: 1;
}

.hipster-text {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-top: 8px;
}

.most-obscure {
    text-align: center;
}

.obscure-label {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.obscure-title {
    font-size: 19px;
    font-weight: 600;
    color: #fff;
    margin: 12px 0;
}

.obscure-stat {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
}

/* Audiobook */
.audio-stat {
    margin: 24px 0;
}

.headphones-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.audio-number {
    font-size: 88px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.audio-label {
    font-size: 20px;
    color: rgba(255,255,255,0.7);
    margin-top: 8px;
}

/* Series Stats */
.series-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 32px;
}

.series-stat-item {
    text-align: center;
}

.series-big {
    font-size: 60px;
    font-weight: 700;
    color: #fff;
    display: block;
    line-height: 1;
}

.series-label {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    margin-top: 8px;
}

.completed-series {
    background: rgba(255,255,255,0.08);
    padding: 22px;
    border-radius: 18px;
}

.completed-label {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.series-badge {
    display: inline-block;
    padding: 10px 18px;
    background: rgba(255,255,255,0.12);
    border-radius: 24px;
    font-size: 13px;
    color: #fff;
    margin: 5px;
}

/* Optimistic Activist */
.personality-quote {
    font-size: 23px;
    font-style: italic;
    color: rgba(255,255,255,0.95);
    line-height: 1.45;
    margin-bottom: 32px;
}

.activist-books {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.activist-book {
    background: rgba(0,0,0,0.18);
    padding: 18px;
    border-radius: 14px;
    text-align: left;
}

.activist-title {
    font-weight: 600;
    color: #fff;
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
}

.activist-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
}

/* Verdict */
.verdict-title {
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    color: #fff;
    margin-bottom: 18px;
    line-height: 1.1;
}

.verdict-subtitle {
    font-size: 17px;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
}

/* Wants List */
.wants-list {
    text-align: left;
}

.want-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    font-size: 15px;
    color: #fff;
    animation: fadeInUp 0.4s ease forwards;
    opacity: 0;
}

.want-item:nth-child(1) { animation-delay: 0.1s; }
.want-item:nth-child(2) { animation-delay: 0.2s; }
.want-item:nth-child(3) { animation-delay: 0.3s; }
.want-item:nth-child(4) { animation-delay: 0.4s; }
.want-item:nth-child(5) { animation-delay: 0.5s; }

.check {
    color: #4ade80;
    font-weight: bold;
    font-size: 18px;
}

/* Final */
.final-message {
    margin-bottom: 44px;
}

.final-quote {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-style: italic;
    color: #fff;
    margin-bottom: 32px;
    line-height: 1.3;
}

.final-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 14px;
    color: rgba(255,255,255,0.65);
}

.dot {
    color: rgba(255,255,255,0.3);
}

.restart-btn {
    position: relative;
    z-index: 200;
    padding: 16px 44px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 32px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.restart-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.02);
}

/* Navigation */
.nav-hints {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    pointer-events: none;
}

.nav-left, .nav-right {
    flex: 1;
    pointer-events: auto;
    cursor: pointer;
}

.nav-left {
    flex: 0.3;
}

.nav-right {
    flex: 0.7;
}

/* Pause Indicator */
.pause-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 16px 32px;
    background: rgba(0,0,0,0.75);
    border-radius: 12px;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 50;
    backdrop-filter: blur(10px);
}

.pause-indicator.visible {
    opacity: 1;
    visibility: visible;
}

/* Animations */
.fade-in-delay {
    animation: fadeIn 1s ease 0.5s forwards;
    opacity: 0;
}

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

/* Responsive adjustments */
@media (max-height: 750px) {
    .hero-title {
        font-size: 44px;
    }

    .stat-number {
        font-size: 80px;
    }

    .pace-number {
        font-size: 50px;
    }

    .slide {
        padding: 60px 24px 40px;
    }

    .big-rating {
        font-size: 68px;
    }
}

@media (max-height: 650px) {
    .hero-title {
        font-size: 38px;
    }

    .stat-number {
        font-size: 64px;
    }

    .slide {
        padding: 55px 20px 35px;
    }
}

/* ============================================
   NEW STYLES FOR EXPANDED SLIDES
   ============================================ */

/* Streak Display */
.streak-display {
    margin: 32px 0;
}

.streak-number {
    font-size: 100px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.streak-label {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    margin-top: 12px;
}

.insight-text.subtle {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

.gap-date {
    font-size: 12px;
    opacity: 0.7;
}

/* Slump Stats */
.slump-stat {
    margin: 24px 0;
}

.slump-number {
    font-size: 120px;
    font-weight: 700;
    color: #fff;
    display: block;
    line-height: 1;
}

.slump-label {
    font-size: 24px;
    color: rgba(255,255,255,0.7);
}

.slump-context {
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    margin-top: 16px;
}

/* Quote Blocks */
.quote-block {
    max-width: 320px;
}

.quote-mark {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    color: rgba(255,255,255,0.2);
    line-height: 0;
    display: block;
    margin-bottom: -20px;
}

.big-quote {
    font-family: 'Crimson Pro', serif;
    font-size: 26px;
    font-style: italic;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 24px;
}

.medium-quote {
    font-family: 'Crimson Pro', serif;
    font-size: 22px;
    font-style: italic;
    color: #fff;
    line-height: 1.45;
    margin-bottom: 16px;
}

.quote-kicker {
    font-family: 'Crimson Pro', serif;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.quote-continuation {
    font-family: 'Crimson Pro', serif;
    font-size: 18px;
    font-style: italic;
    color: rgba(255,255,255,0.85);
    margin-bottom: 20px;
    line-height: 1.5;
}

.quote-attribution {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    font-style: normal;
}

.quote-block.critical .quote-mark { color: rgba(255,100,100,0.3); }
.quote-block.melancholy .quote-mark { color: rgba(100,150,255,0.3); }
.quote-block.reflective .quote-mark { color: rgba(100,255,200,0.3); }
.quote-block.powerful .quote-mark { color: rgba(100,255,150,0.3); }
.quote-block.sharp .quote-mark { color: rgba(255,255,255,0.15); }

/* Zero Display */
.zero-display {
    margin: 32px 0;
}

.zero-number {
    font-size: 150px;
    font-weight: 700;
    color: #fff;
    line-height: 0.9;
}

.zero-label {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    margin-top: 16px;
}

.insight-text.dramatic {
    font-size: 17px;
    font-style: italic;
}

/* Five Star Intro */
.five-star-intro {
    margin: 24px 0;
}

.star-burst {
    font-size: 36px;
    color: #fff;
    display: block;
    margin-bottom: 16px;
    animation: starPulse 2s ease-in-out infinite;
}

@keyframes starPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.five-count {
    font-size: 100px;
    font-weight: 700;
    color: rgba(0,0,0,0.85);
    line-height: 1;
}

.five-label {
    font-size: 20px;
    color: rgba(0,0,0,0.6);
    margin-top: 8px;
}

/* Spotlight Book */
.spotlight-book {
    margin: 24px 0;
}

.spotlight-book.small {
    margin: 16px 0;
}

.spotlight-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.2;
}

.spotlight-book.small .spotlight-title {
    font-size: 26px;
}

.spotlight-author {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 16px;
}

.spotlight-rating {
    font-size: 28px;
    color: #ffd700;
}

.spotlight-divergence {
    display: flex;
    justify-content: center;
    gap: 24px;
    font-size: 14px;
}

.you-rated {
    color: #ffd700;
    font-weight: 600;
}

.community-rated {
    color: rgba(255,255,255,0.6);
}

.quote-text.italic {
    font-style: italic;
}

.insight-text.small {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-top: 16px;
}

/* One Star Details */
.one-star-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.one-star-title {
    font-weight: 600;
    font-size: 15px;
}

.one-star-gap {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

/* Genre Ratings */
.genre-rating-list {
    text-align: left;
}

.genre-rate-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.genre-rate-item.top {
    color: #fff;
}

.genre-rate-item.bottom {
    color: rgba(255,255,255,0.5);
}

.genre-rate-name {
    font-size: 17px;
    font-weight: 500;
}

.genre-rate-stars {
    font-size: 15px;
    color: #ffd700;
}

.genre-rate-item.bottom .genre-rate-stars {
    color: rgba(255,215,0,0.5);
}

.genre-rate-divider {
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.genre-rate-divider::before {
    content: '...';
    color: rgba(255,255,255,0.3);
    letter-spacing: 4px;
}

/* Timeline Author */
.timeline-author {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
}

/* Length Extremes */
.length-extremes {
    margin: 24px 0;
}

.length-item {
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.08);
    border-radius: 16px;
    margin-bottom: 16px;
}

.length-pages {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    display: block;
    line-height: 1;
}

.length-unit {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

.length-title {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-top: 8px;
    display: block;
}

.length-divider {
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    margin: 8px 0;
}

/* Hipster Compare */
.hipster-compare {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}

.hipster-item {
    text-align: center;
    padding: 24px;
    border-radius: 20px;
    width: 100%;
    max-width: 280px;
}

.hipster-item.obscure {
    background: rgba(113, 178, 128, 0.2);
    border: 1px solid rgba(113, 178, 128, 0.3);
}

.hipster-item.mainstream {
    background: rgba(239, 71, 58, 0.15);
    border: 1px solid rgba(239, 71, 58, 0.25);
}

.hipster-num {
    font-size: 44px;
    font-weight: 700;
    color: #fff;
    display: block;
}

.hipster-context {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.hipster-book {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-top: 8px;
    display: block;
}

.hipster-vs {
    font-size: 14px;
    color: rgba(255,255,255,0.4);
}

/* Series Compare */
.series-compare {
    margin: 24px 0;
}

.series-compare-item {
    text-align: center;
    padding: 24px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.series-compare-item.loved {
    background: rgba(255,215,0,0.15);
    border: 1px solid rgba(255,215,0,0.25);
}

.series-compare-item.meh {
    background: rgba(255,255,255,0.08);
}

.series-compare-name {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    display: block;
    margin-bottom: 8px;
}

.series-compare-rating {
    font-size: 28px;
    color: #ffd700;
}

.series-compare-item.meh .series-compare-rating {
    color: rgba(255,215,0,0.6);
}

.series-compare-vs {
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    margin: 8px 0;
}

/* Values List */
.values-list {
    text-align: left;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    animation: fadeInUp 0.4s ease forwards;
    opacity: 0;
}

.value-item:nth-child(1) { animation-delay: 0.1s; }
.value-item:nth-child(2) { animation-delay: 0.2s; }
.value-item:nth-child(3) { animation-delay: 0.3s; }
.value-item:nth-child(4) { animation-delay: 0.4s; }
.value-item:nth-child(5) { animation-delay: 0.5s; }

.value-icon {
    font-size: 24px;
    width: 36px;
    text-align: center;
}

.value-text {
    font-size: 16px;
    color: #fff;
}

/* Identity Traits */
.identity-traits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 24px 0;
}

.trait {
    display: inline-block;
    padding: 12px 20px;
    background: rgba(255,255,255,0.12);
    border-radius: 24px;
    font-size: 14px;
    color: #fff;
    font-weight: 500;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.trait:nth-child(1) { animation-delay: 0.1s; }
.trait:nth-child(2) { animation-delay: 0.2s; }
.trait:nth-child(3) { animation-delay: 0.3s; }
.trait:nth-child(4) { animation-delay: 0.4s; }
.trait:nth-child(5) { animation-delay: 0.5s; }
.trait:nth-child(6) { animation-delay: 0.6s; }

/* Standard Quote */
.standard-quote {
    max-width: 320px;
}

.standard-quote .big-quote {
    font-size: 20px;
    margin-bottom: 16px;
}

.standard-quote .quote-kicker {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
}

/* ============================================
   NEW STYLES FOR EXPANDED SLIDES V2
   ============================================ */

/* Epic Stat - Alchemised */
.epic-stat {
    margin: 24px 0;
}

.epic-pages {
    font-size: 80px;
    font-weight: 700;
    color: #fff;
    display: block;
    line-height: 1;
}

.epic-label {
    font-size: 18px;
    color: rgba(255,255,255,0.6);
}

.epic-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: #fff;
    margin-top: 16px;
}

/* Quirk List */
.quirk-intro {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
}

.quirk-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
}

.quirk-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    font-size: 13px;
    color: #fff;
    animation: fadeInUp 0.4s ease forwards;
    opacity: 0;
}

.quirk-tag:nth-child(1) { animation-delay: 0.1s; }
.quirk-tag:nth-child(2) { animation-delay: 0.15s; }
.quirk-tag:nth-child(3) { animation-delay: 0.2s; }
.quirk-tag:nth-child(4) { animation-delay: 0.25s; }
.quirk-tag:nth-child(5) { animation-delay: 0.3s; }
.quirk-tag:nth-child(6) { animation-delay: 0.35s; }
.quirk-tag:nth-child(7) { animation-delay: 0.4s; }
.quirk-tag:nth-child(8) { animation-delay: 0.45s; }

/* Diversity Stat */
.diversity-stat {
    margin: 24px 0;
}

.diversity-number {
    font-size: 100px;
    font-weight: 700;
    color: #fff;
    display: block;
    line-height: 1;
}

.diversity-label {
    font-size: 20px;
    color: rgba(255,255,255,0.8);
    margin-top: 8px;
}

.diversity-detail {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-top: 16px;
    max-width: 280px;
}

/* Discovery List */
.discovery-intro {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}

.discovery-list {
    text-align: left;
}

.discovery-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    animation: fadeInUp 0.4s ease forwards;
    opacity: 0;
}

.discovery-item:nth-child(1) { animation-delay: 0.1s; }
.discovery-item:nth-child(2) { animation-delay: 0.2s; }
.discovery-item:nth-child(3) { animation-delay: 0.3s; }
.discovery-item:nth-child(4) { animation-delay: 0.4s; }

.discovery-title {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    display: block;
    margin-bottom: 4px;
}

.discovery-stat {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

/* Personal Quote Block */
.quote-block.personal .quote-mark {
    color: rgba(255,200,150,0.3);
}
