/* =====================================================
   FLOWSSON WRAPPED - SPOTIFY STYLE
   ===================================================== */

/* CSS Variables - Spotify-inspired palette */
:root {
    /* Primary Colors */
    --spotify-green: #1DB954;
    --spotify-green-light: #1ed760;
    --spotify-black: #121212;
    --spotify-dark: #181818;
    --spotify-gray: #282828;
    --spotify-light-gray: #b3b3b3;
    --spotify-white: #ffffff;

    /* Wrapped Gradients */
    --gradient-green: linear-gradient(135deg, #1DB954 0%, #134e2c 50%, #0a1f12 100%);
    --gradient-purple: linear-gradient(135deg, #8B5CF6 0%, #5B21B6 50%, #2E1065 100%);
    --gradient-orange: linear-gradient(135deg, #F97316 0%, #C2410C 50%, #7C2D12 100%);
    --gradient-pink: linear-gradient(135deg, #EC4899 0%, #BE185D 50%, #831843 100%);
    --gradient-teal: linear-gradient(135deg, #14B8A6 0%, #0D9488 50%, #134E4A 100%);
    --gradient-multi: linear-gradient(135deg, #1DB954 0%, #8B5CF6 33%, #EC4899 66%, #F97316 100%);
    --gradient-multi-static: linear-gradient(135deg, #1DB954 0%, #8B5CF6 33%, #EC4899 66%, #F97316 100%);
    --gradient-yellow: linear-gradient(135deg, #FACC15 0%, #EAB308 50%, #A16207 100%);
    --gradient-coral: linear-gradient(135deg, #FF6B6B 0%, #EE5A5A 50%, #C44D4D 100%);
    --gradient-cyan: linear-gradient(135deg, #06B6D4 0%, #0891B2 50%, #155E75 100%);
    --gradient-alarm: linear-gradient(135deg, #7F1D1D 0%, #450A0A 50%, #000000 100%);
    --gradient-campaign: linear-gradient(135deg, #BE123C 0%, #E11D48 50%, #F43F5E 100%);
    /* Rose/Red for Sale */
    --gradient-weather: linear-gradient(135deg, #475569 0%, #64748B 50%, #94A3B8 100%);
    /* Slate/Grey for Weather */
    --gradient-analysis: linear-gradient(135deg, #4C1D95 0%, #3B82F6 50%, #8B5CF6 100%);


    /* Typography */
    --font-primary: 'Montserrat', 'Circular Std', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-weight-regular: 400;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-black: 900;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;

    /* Animation */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html,
body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: var(--font-primary);
    background: var(--spotify-black);
    color: var(--spotify-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =====================================================
   PRESENTATION CONTAINER
   ===================================================== */

.presentation-container {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* =====================================================
   PROGRESS BAR (Spotify Stories Style)
   ===================================================== */

.progress-bar {
    position: fixed;
    top: var(--spacing-md);
    left: var(--spacing-md);
    right: var(--spacing-md);
    z-index: 100;
}

.progress-segments {
    display: flex;
    gap: 4px;
}

.segment {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.segment::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: var(--spotify-white);
    transition: width var(--transition-medium);
}

.segment.active::after {
    width: 100%;
}

.segment.completed::after {
    width: 100%;
}

/* =====================================================
   SLIDES
   ===================================================== */

.slides-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

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

.slide-content {
    text-align: center;
    padding: var(--spacing-xl);
    padding-bottom: 120px;
    /* Extra space for nav buttons */
    max-width: 800px;
    width: 100%;
}

/* Slide Backgrounds */
.slide[data-bg="gradient-green"] {
    background: var(--gradient-green);
}

.slide[data-bg="gradient-purple"] {
    background: var(--gradient-purple);
}

.slide[data-bg="gradient-orange"] {
    background: var(--gradient-orange);
}

.slide[data-bg="gradient-pink"] {
    background: var(--gradient-pink);
}

.slide[data-bg="gradient-teal"] {
    background: var(--gradient-teal);
}

.slide[data-bg="gradient-multi"] {
    background: var(--gradient-multi);
}

.slide[data-bg="gradient-yellow"] {
    background: var(--gradient-yellow);
}

.slide[data-bg="gradient-coral"] {
    background: var(--gradient-coral);
}

.slide[data-bg="gradient-cyan"] {
    background: var(--gradient-cyan);
}

.slide[data-bg="gradient-multi-static"] {
    background: var(--gradient-multi-static);
}

.slide[data-bg="gradient-alarm"] {
    background: var(--gradient-alarm);
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* =====================================================
   SLIDE 1 - INTRO
   ===================================================== */

.spotify-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: rgba(0, 0, 0, 0.3);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 50px;
    margin-bottom: var(--spacing-xl);
    animation: fadeInDown 0.8s ease forwards;
}

.spotify-icon {
    width: 24px;
    height: 24px;
    fill: var(--spotify-green);
}

.spotify-badge span {
    font-size: 0.9rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.main-title-container {
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.main-title {
    font-size: clamp(3rem, 12vw, 8rem);
    font-weight: var(--font-weight-black);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-md);
}

.title-word {
    display: block;
}

.title-word.highlight {
    color: var(--spotify-green-light);
    text-shadow: 0 0 60px rgba(29, 185, 84, 0.5);
}

.subtitle {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: var(--font-weight-semibold);
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    animation: fadeIn 1s ease 0.8s forwards;
    opacity: 0;
}

/* Floating Shapes */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--spotify-green) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #8B5CF6 0%, transparent 70%);
    bottom: 10%;
    left: -50px;
    animation-delay: 1s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, #EC4899 0%, transparent 70%);
    top: 40%;
    right: 5%;
    animation-delay: 2s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, #F97316 0%, transparent 70%);
    bottom: 20%;
    right: 20%;
    animation-delay: 3s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.1);
    }
}

.scroll-hint {
    position: absolute;
    bottom: 100px;
    /* Moved up to avoid nav buttons */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    animation: pulse 2s ease infinite;
    opacity: 0.7;
}

.scroll-hint span {
    font-size: 0.9rem;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.arrow-down {
    width: 20px;
    height: 20px;
    border-right: 3px solid white;
    border-bottom: 3px solid white;
    transform: rotate(45deg);
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.7;
        transform: translateX(-50%) translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(10px);
    }
}

/* =====================================================
   SLIDE 2 - BESÖKARE (Stats)
   ===================================================== */

.slide-intro {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: var(--font-weight-semibold);
    opacity: 0.9;
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 0.6s ease forwards;
}

.big-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.stat-number {
    font-size: clamp(5rem, 20vw, 12rem);
    font-weight: var(--font-weight-black);
    line-height: 1;
    background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: countUp 1s ease forwards;
}

.stat-label {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.9;
}

.stat-context {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    opacity: 0.85;
}

.highlight-text {
    color: var(--spotify-green-light);
    font-weight: var(--font-weight-bold);
}

/* =====================================================
   SLIDE 3 - PLOCK HIGHLIGHT
   ===================================================== */

.plock-highlight {
    margin-top: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.percentage-badge {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: var(--font-weight-black);
    background: rgba(0, 0, 0, 0.3);
    padding: var(--spacing-sm) var(--spacing-xl);
    border-radius: 20px;
    display: inline-block;
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 40px rgba(255, 255, 255, 0.4);
        transform: scale(1.02);
    }
}

.percentage-context {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    opacity: 0.9;
    max-width: 400px;
}

/* =====================================================
   SLIDE 3 - PEAK HOURS
   ===================================================== */

.time-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.time-value {
    font-size: clamp(4rem, 15vw, 10rem);
    font-weight: var(--font-weight-black);
    font-variant-numeric: tabular-nums;
}

.time-dash {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: var(--font-weight-bold);
    opacity: 0.6;
}

.time-context {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
}

.time-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: 20px;
    display: inline-flex;
}

.mini-stat {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: var(--font-weight-bold);
}

.mini-label {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    opacity: 0.8;
}

/* =====================================================
   SLIDE 4 - TOP AVDELNING
   ===================================================== */

.department-showcase {
    margin-bottom: var(--spacing-lg);
}

.department-icon {
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: var(--spacing-sm);
    animation: bounce 2s ease infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.department-name {
    font-size: clamp(1.5rem, 6vw, 4rem);
    font-weight: var(--font-weight-black);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.1;
    white-space: nowrap;
}

.department-stats {
    display: flex;
    justify-content: center;
}

.dept-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: 20px;
}

.dept-value {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: var(--font-weight-black);
    color: var(--spotify-green-light);
}

.dept-label {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    opacity: 0.9;
}

.dept-stat-row {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
}

.stat-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-label-small {
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.7;
    margin-bottom: 4px;
}

.dept-value-dim {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: var(--font-weight-bold);
    opacity: 0.5;
    text-decoration: line-through;
    text-decoration-color: rgba(255, 255, 255, 0.3);
}

.dept-value-highlight {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: var(--font-weight-black);
    color: var(--spotify-green-light);
    text-shadow: 0 0 30px rgba(29, 185, 84, 0.3);
}

.stat-arrow {
    font-size: clamp(2rem, 5vw, 3rem);
    opacity: 0.5;
    padding: 0 var(--spacing-sm);
}

/* =====================================================
   SLIDE 5 - CONVERSION
   ===================================================== */

.conversion-display {
    margin: var(--spacing-xl) 0;
}

.conversion-ring {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto;
}

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

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

.ring-progress {
    fill: none;
    stroke: var(--spotify-green);
    stroke-width: 12;
    stroke-linecap: round;
    stroke-dasharray: 565.48;
    stroke-dashoffset: 565.48;
    animation: ringProgress 1.5s ease forwards 0.5s;
}

@keyframes ringProgress {
    to {
        stroke-dashoffset: 435.42;
        /* 565.48 * (1 - 0.23) */
    }
}

.ring-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ring-value {
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: var(--font-weight-black);
}

.ring-label {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

.conversion-context {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    opacity: 0.9;
}

/* =====================================================
   SLIDE 5 - ENGAGEMENT
   ===================================================== */

.slide-5 .slide-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding-top: 60px;
    padding-bottom: 100px;
}

.slide-5 .slide-intro {
    margin-bottom: var(--spacing-sm);
}

.engagement-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    flex: 1;
    justify-content: center;
    max-height: 60vh;
}

.engagement-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.engagement-image img {
    width: auto;
    height: auto;
    max-width: 80vw;
    max-height: 35vh;
    display: block;
    border-radius: 12px;
    object-fit: contain;
}

.engagement-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    padding: var(--spacing-xs) var(--spacing-lg);
    border-radius: 12px;
}

.engagement-value {
    font-size: clamp(2rem, 8vw, 3.5rem);
    font-weight: var(--font-weight-black);
    color: var(--spotify-green-light);
    line-height: 1;
    text-shadow: 0 0 30px rgba(29, 185, 84, 0.5);
}

.engagement-label {
    font-size: clamp(0.8rem, 2vw, 1.1rem);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

.engagement-context {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: var(--font-weight-bold);
    max-width: 90%;
    background: rgba(0, 0, 0, 0.25);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 10px;
}

/* =====================================================
   SLIDE 6 - GAMLA HALL
   ===================================================== */

.slide-6 .slide-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 60px;
    padding-bottom: 140px;
}

.slide-6 .slide-intro {
    margin-bottom: var(--spacing-xs);
}

.gamla-hall-showcase {
    margin-bottom: var(--spacing-sm);
}

.hall-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    margin-bottom: var(--spacing-sm);
}

.hall-image img {
    width: auto;
    height: auto;
    max-width: 85vw;
    max-height: 35vh;
    display: block;
    border-radius: 12px;
    object-fit: contain;
}

.hall-name {
    font-size: clamp(1.8rem, 6vw, 3.5rem);
    font-weight: var(--font-weight-black);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--spotify-black);
}

.slide[data-bg="gradient-yellow"] .slide-intro {
    color: var(--spotify-black);
}

.slide[data-bg="gradient-yellow"] .engagement-context {
    color: var(--spotify-black);
    background: rgba(0, 0, 0, 0.15);
    margin-top: var(--spacing-xs);
}

.gamla-hall-stat {
    background: rgba(0, 0, 0, 0.2);
    margin: var(--spacing-xs) auto;
    padding: var(--spacing-xs) var(--spacing-lg);
}

.gamla-hall-stat .engagement-value {
    color: var(--spotify-black);
    text-shadow: none;
    font-size: clamp(1.8rem, 6vw, 3rem);
}

.gamla-hall-stat .engagement-label {
    color: var(--spotify-black);
}

/* =====================================================
   SLIDE 7 - BADKAR / SPEEDBUMP
   ===================================================== */

.slide-7 .slide-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 60px;
    padding-bottom: 140px;
}

.slide-7 .slide-intro {
    margin-bottom: var(--spacing-xs);
}

.badkar-showcase {
    margin-bottom: var(--spacing-sm);
}

.badkar-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    margin-bottom: var(--spacing-sm);
}

.badkar-image img {
    width: auto;
    height: auto;
    max-width: 85vw;
    max-height: 35vh;
    display: block;
    border-radius: 12px;
    object-fit: contain;
}

.badkar-title {
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: var(--font-weight-black);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--spotify-white);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.speedbump-info {
    background: rgba(0, 0, 0, 0.25);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 16px;
    max-width: 90%;
}

.speedbump-text {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    font-weight: var(--font-weight-bold);
    color: var(--spotify-white);
    margin-bottom: var(--spacing-xs);
}

.speedbump-benefit {
    font-size: clamp(1rem, 3vw, 1.4rem);
    color: var(--spotify-white);
    opacity: 0.95;
}

/* =====================================================
   SLIDE 8 - ÖPPEN DISPLAY
   ===================================================== */

.slide-8 .slide-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 60px;
    padding-bottom: 140px;
}

.slide-8 .slide-intro {
    margin-bottom: var(--spacing-xs);
}

.display-showcase {
    margin-bottom: var(--spacing-sm);
}

.display-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    margin-bottom: var(--spacing-sm);
}

.display-image img {
    width: auto;
    height: auto;
    max-width: 85vw;
    max-height: 35vh;
    display: block;
    border-radius: 12px;
    object-fit: contain;
}

.display-title {
    font-size: clamp(1.8rem, 6vw, 3.5rem);
    font-weight: var(--font-weight-black);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--spotify-white);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.display-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.25);
    padding: var(--spacing-xs) var(--spacing-lg);
    border-radius: 12px;
    margin: var(--spacing-xs) auto;
}

.display-value {
    font-size: clamp(2rem, 8vw, 3.5rem);
    font-weight: var(--font-weight-black);
    color: var(--spotify-green-light);
    line-height: 1;
    text-shadow: 0 0 30px rgba(29, 185, 84, 0.5);
}

.display-label {
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

.display-context {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: var(--font-weight-bold);
    max-width: 90%;
    background: rgba(0, 0, 0, 0.2);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 10px;
    margin-top: var(--spacing-xs);
}

/* =====================================================
   SLIDE 9 - FINALE
   ===================================================== */

.slide-9 .slide-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 60px;
    padding-bottom: 140px;
}

.slide-9 .slide-intro {
    margin-bottom: var(--spacing-xs);
}

.finale-showcase {
    margin-bottom: var(--spacing-sm);
}

.finale-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    margin-bottom: var(--spacing-sm);
}

.finale-image img {
    width: auto;
    height: auto;
    max-width: 85vw;
    max-height: 35vh;
    display: block;
    border-radius: 12px;
    object-fit: contain;
}

.finale-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    padding: var(--spacing-sm) var(--spacing-xl);
    border-radius: 16px;
    margin: var(--spacing-xs) auto;
}

.finale-value {
    font-size: clamp(2.5rem, 10vw, 5rem);
    font-weight: var(--font-weight-black);
    color: var(--spotify-green-light);
    line-height: 1;
    text-shadow: 0 0 40px rgba(29, 185, 84, 0.6);
}

.finale-label {
    font-size: clamp(1rem, 3vw, 1.4rem);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

.finale-message {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-weight: var(--font-weight-bold);
    max-width: 90%;
    background: rgba(0, 0, 0, 0.25);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 12px;
    margin-top: var(--spacing-xs);
}

.slide-9 .outro-message {
    margin-top: var(--spacing-md);
}

.slide-9 .outro-message p {
    font-size: clamp(1.3rem, 4vw, 2rem);
}

/* =====================================================
   SLIDE 10 - MINDRE BRA (Hazard Design - Grid Layout)
   ===================================================== */

.slide-10 .slide-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 40px 100px 40px;
    /* Reduced bottom padding */
    height: 100%;
    position: relative;
    background: repeating-linear-gradient(45deg,
            rgba(0, 0, 0, 0.2),
            rgba(0, 0, 0, 0.2) 10px,
            transparent 10px,
            transparent 20px);
    gap: 20px;
}

/* Intro - Top Left */
.slide-10 .slide-intro {
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: 'Courier New', monospace;
    color: #F87171;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border: 1px solid #F87171;
    padding: 4px 12px;
    margin: 0;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.8);
    z-index: 20;
}

/* Title - Strict Relative Positioning */
.alarm-title {
    position: relative;
    transform: rotate(-1deg);
    font-family: 'Courier New', monospace;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: var(--font-weight-black);
    text-transform: uppercase;
    letter-spacing: -0.05em;
    line-height: 1;
    color: #000;
    background: #F87171;
    padding: 10px 30px;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.5);
    z-index: 20;
    white-space: nowrap;
    margin: 0;
    flex-shrink: 0;
}

/* Image Showcase - Maximize Space */
.alarm-showcase {
    position: relative;
    width: 100%;
    max-width: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    /* Take all available space */
    min-height: 0;
    margin: 0;
}

.alarm-image {
    position: relative;
    border-radius: 0;
    box-shadow: 0 0 0 4px #EF4444, 15px 15px 0 rgba(127, 29, 29, 0.6);
    transform: rotate(1deg);
    z-index: 10;
    width: auto;
    max-width: 100%;
    max-height: 100%;
    display: flex;
}

.alarm-image img {
    width: auto;
    height: auto;
    max-height: 55vh;
    /* Increased max height */
    max-width: 100%;
    display: block;
    object-fit: contain;
}

/* Bottom Container - Side-by-Side to save vertical space */
.alarm-bottom-container {
    display: flex;
    flex-direction: row;
    /* Force row */
    justify-content: center;
    align-items: center;
    gap: 40px;
    width: 100%;
    max-width: 900px;
    margin: 0;
    flex-shrink: 0;
}

.alarm-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #000;
    padding: 15px 25px;
    border: 2px solid #EF4444;
    box-shadow: 6px 6px 0 rgba(239, 68, 68, 0.3);
    transform: rotate(-1deg);
    flex-shrink: 0;
}

.alarm-value {
    font-family: 'Courier New', monospace;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: var(--font-weight-bold);
    color: #EF4444;
    line-height: 0.9;
    text-shadow: 3px 3px 0 #7F1D1D;
    white-space: nowrap;
}

.alarm-label {
    font-family: 'Courier New', monospace;
    font-size: clamp(0.7rem, 1.2vw, 0.9rem);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #FCA5A5;
    margin-top: 5px;
}

.alarm-message {
    font-family: 'Courier New', monospace;
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    font-weight: var(--font-weight-bold);
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    color: #FCA5A5;
    border-left: 5px solid #EF4444;
    text-align: left;
    line-height: 1.4;
    max-width: 450px;
    margin-left: 0;
    /* Remove problematic margin */
}

.slide[data-bg="gradient-analysis"] {
    background: var(--gradient-analysis);
}

/* =====================================================
   SLIDE 11 - ANALYSIS
   ===================================================== */

.slide-11 .slide-content {
    display: flex;
    /* We will use inner wrappers now */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    height: 100%;
}

@media (min-width: 769px) {
    .slide-content.analysis-grid {
        flex-direction: row;
        align-items: center;
        /* Center vertically */
        justify-content: center;
        gap: 80px;
        text-align: left;
        max-width: 1200px;
        margin: 0 auto;
    }

    .analysis-col-left {
        flex: 1;
        max-width: 500px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .analysis-col-right {
        flex: 1;
        max-width: 600px;
    }
}

.slide-11 .slide-intro {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 25px;
    display: inline-block;
    align-self: flex-start;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.analysis-header {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: var(--font-weight-black);
    margin-bottom: 30px;
    line-height: 1.1;
    margin-top: 0;
}

.research-citation {
    margin-top: 30px;
    font-size: 0.85rem;
    opacity: 0.6;
    font-style: italic;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 15px;
    width: 100%;
}

.analysis-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.analysis-item {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.25);
    padding: 25px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    opacity: 0;
    animation: slideInRight 0.5s ease forwards;
    transition: transform 0.3s ease;
}

.analysis-item:hover {
    transform: translateX(-5px);
    background: rgba(0, 0, 0, 0.35);
}

.analysis-item:nth-child(1) {
    animation-delay: 0.2s;
}

.analysis-item:nth-child(2) {
    animation-delay: 0.4s;
}

.analysis-item:nth-child(3) {
    animation-delay: 0.6s;
}

.analysis-number {
    font-family: 'Circular Std', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--spotify-green);
    margin-right: 30px;
    line-height: 1;
    min-width: 50px;
}

.analysis-text h3 {
    font-size: clamp(1.2rem, 1.5vw, 1.4rem);
    font-weight: 800;
    margin-bottom: 5px;
    color: #fff;
    margin-top: 0;
}

.analysis-text p {
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    opacity: 0.9;
    margin: 0;
    line-height: 1.4;
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* =====================================================
   SLIDE 12 - CONCLUSION
   ===================================================== */

.slide[data-bg="gradient-conclusion"] {
    background: linear-gradient(135deg, #065F46 0%, #059669 50%, #10B981 100%);
    /* Emerald/Green data vibes */
}

.slide-12 .slide-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
}

.conclusion-header {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: var(--font-weight-black);
    margin-bottom: 40px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.conclusion-text {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    line-height: 1.5;
    margin-bottom: 50px;
    max-width: 800px;
    font-weight: 500;
    opacity: 0.9;
}

.conclusion-emphasized {
    background: #000;
    color: #fff;
    padding: 30px 40px;
    border-radius: 20px;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: var(--font-weight-black);
    transform: rotate(-2deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--spotify-green);
    display: inline-block;
    max-width: 900px;
    line-height: 1.3;
    margin-bottom: 40px;
}

.flowsson-blue {
    color: #3B82F6;
    /* Bright Blue */
    display: inline-block;
    font-weight: 800;
}

.outro-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 15px 25px;
    font-size: 1rem;
    font-weight: 600;
    transform: rotate(2deg);
    margin-top: 20px;
    animation: float 3s ease-in-out infinite;
    max-width: 300px;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(2deg);
    }

    50% {
        transform: translateY(-10px) rotate(2deg);
    }

    100% {
        transform: translateY(0px) rotate(2deg);
    }
}

max-width: 300px;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(2deg);
    }

    50% {
        transform: translateY(-10px) rotate(2deg);
    }

    100% {
        transform: translateY(0px) rotate(2deg);
    }
}

/* =====================================================
   NEW ANALYSIS SLIDES (CAMPAIGN & WEATHER)
   ===================================================== */

.slide[data-bg="gradient-campaign"] {
    background: var(--gradient-campaign);
}

.slide[data-bg="gradient-weather"] {
    background: var(--gradient-weather);
}

.analysis-slide-header {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    /* Increased size */
    font-weight: 900;
    margin-bottom: 30px;
    line-height: 1.1;
}

.analysis-slide-text {
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    /* Increased size */
    line-height: 1.5;
    margin-bottom: 40px;
    max-width: 900px;
    opacity: 0.95;
    font-weight: 500;
}

.analysis-slide-conclusion {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px 35px;
    border-radius: 16px;
    border-left: 6px solid #fff;
    text-align: left;
    max-width: 900px;
}

.analysis-slide-conclusion h3 {
    font-size: 1.4rem;
    /* Increased size */
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.analysis-slide-conclusion p {
    font-size: 1.8rem;
    /* Increased size */
    font-weight: 700;
    line-height: 1.2;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .slide-content.analysis-grid {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .analysis-sidebar {
        margin-bottom: 20px;
    }

    .slide-10 .slide-content {
        padding: 80px 20px 20px 20px;
    }

    .alarm-bottom-container {
        flex-direction: column;
        gap: 20px;
    }

    .alarm-title {
        font-size: 2rem;
        top: 20px;
    }

    .alarm-image img {
        max-height: 40vh;
    }

    .alarm-stat {
        width: 100%;
    }

    .alarm-message {
        width: 100%;
        max-width: 100%;
    }
}

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

.card-icon {
    font-size: 2rem;
}

.card-value {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: var(--font-weight-black);
}

.card-label {
    font-size: clamp(0.8rem, 2vw, 1rem);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

.outro-message {
    margin-top: var(--spacing-lg);
}

.outro-message p {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: var(--font-weight-bold);
}

.outro-message .small {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    opacity: 0.7;
    margin-top: var(--spacing-xs);
}

/* =====================================================
   NAVIGATION
   ===================================================== */

.nav-buttons {
    position: fixed;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-md);
    z-index: 100;
}

.nav-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.nav-btn:active {
    transform: scale(0.95);
}

.nav-btn svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.nav-btn:disabled:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.2);
}

/* =====================================================
   ANIMATIONS
   ===================================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

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

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 768px) {
    .summary-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-sm);
    }

    .summary-card {
        padding: var(--spacing-md);
    }

    .nav-buttons {
        bottom: var(--spacing-lg);
    }

    .nav-btn {
        width: 48px;
        height: 48px;
    }

    .conversion-ring {
        width: 220px;
        height: 220px;
    }

    .time-display {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .slide-content {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .progress-bar {
        top: var(--spacing-sm);
        left: var(--spacing-sm);
        right: var(--spacing-sm);
    }
}