/* Spotify Wrapped Style - Lawsuit Edition */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --spotify-green: #1DB954;
    --spotify-black: #191414;
    --spotify-gray: #282828;
    --text-white: #FFFFFF;
    --text-gray: #B3B3B3;
    --accent-blue: #00D0FF;
    --accent-red: #FF3333;
    --accent-amber: #FFB000;
}

body {
    font-family: 'Circular', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0a0a 50%, #0a0a1a 100%);
    color: var(--text-white);
    overflow: hidden;
    height: 100vh;
    margin: 0;
}

#app {
    position: relative;
    width: 100%;
    height: 100vh;
}

/* Slide Styles */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
    padding: 2rem;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: all;
}

.slide[data-slide="0"] { background: linear-gradient(135deg, #1DB954 0%, #1aa34a 100%); }
.slide[data-slide="1"] { background: linear-gradient(135deg, #FF3333 0%, #cc0000 100%); }
.slide[data-slide="2"] { background: linear-gradient(135deg, #FFB000 0%, #ff8800 100%); }
.slide[data-slide="3"] { background: linear-gradient(135deg, #8B0000 0%, #5a0000 100%); }
.slide[data-slide="4"] { background: linear-gradient(135deg, #4A148C 0%, #311B92 100%); }
.slide[data-slide="5"] { background: linear-gradient(135deg, #B71C1C 0%, #880E4F 100%); }
.slide[data-slide="6"] { background: linear-gradient(135deg, #E65100 0%, #BF360C 100%); }
.slide[data-slide="7"] { background: linear-gradient(135deg, #01579B 0%, #004D40 100%); }
.slide[data-slide="8"] { background: linear-gradient(135deg, #1B5E20 0%, #33691E 100%); }
.slide[data-slide="9"] { background: linear-gradient(135deg, #006064 0%, #004D40 100%); }
.slide[data-slide="10"] { background: linear-gradient(135deg, #263238 0%, #37474F 100%); }
.slide[data-slide="11"] { background: linear-gradient(135deg, #D50000 0%, #C51162 100%); }
.slide[data-slide="12"] { background: linear-gradient(135deg, #BF360C 0%, #D84315 100%); }
.slide[data-slide="13"] { background: linear-gradient(135deg, #AA00FF 0%, #6200EA 100%); }
.slide[data-slide="14"] { background: linear-gradient(135deg, #4A148C 0%, #6A1B9A 100%); }
.slide[data-slide="15"] { background: linear-gradient(135deg, #304FFE 0%, #2962FF 100%); }
.slide[data-slide="16"] { background: linear-gradient(135deg, #1DB954 0%, #1aa34a 100%); }

.content {
    text-align: center;
    max-width: 800px;
    width: 100%;
    animation: fadeInUp 0.8s ease;
}

/* Typography */
h1 {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 900;
    line-height: 1;
    margin: 0.5rem 0;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.5rem, 5vw, 3rem);
    font-weight: 700;
    margin: 1rem 0;
}

.stat-label {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

.stat-number {
    font-size: clamp(4rem, 15vw, 10rem);
    font-weight: 900;
    line-height: 1;
    margin: 1rem 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.stat-unit {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 400;
    margin: 1rem 0;
    opacity: 0.85;
    line-height: 1.4;
}

.case-number {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 600;
    margin-top: 0.5rem;
    opacity: 0.7;
    font-family: 'Courier New', monospace;
}

.case-info {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 500;
    margin: 1.5rem 0;
    opacity: 0.8;
}

.top-item {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 800;
    margin: 2rem 0;
    line-height: 1.2;
}

/* Lists */
.top-5-list {
    margin: 2rem auto;
    max-width: 600px;
    text-align: left;
}

.list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    margin: 0.5rem 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.list-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.list-item.strike {
    opacity: 0.6;
}

.list-item.strike .item-name {
    text-decoration: line-through;
    text-decoration-color: rgba(255, 255, 255, 0.5);
}

.list-item.warning {
    background: rgba(255, 176, 0, 0.15);
    border: 2px solid rgba(255, 176, 0, 0.3);
}

.rank {
    font-size: 1.5rem;
    font-weight: 900;
    min-width: 40px;
    text-align: center;
}

.item-name {
    flex: 1;
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    font-weight: 600;
    padding: 0 1rem;
}

.item-count {
    font-size: 1rem;
    font-weight: 700;
    opacity: 0.7;
}

.status-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-badge.critical {
    background: rgba(255, 176, 0, 0.3);
    color: #FFB000;
    border: 1px solid #FFB000;
}

.subtitle-list {
    margin-top: 2rem;
}

.subtitle-list p {
    margin: 0.8rem 0;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
}

.strike-text {
    text-decoration: line-through;
    text-decoration-color: rgba(255, 255, 255, 0.5);
    opacity: 0.6;
}

/* Timeline */
.timeline {
    margin: 2rem auto;
    max-width: 500px;
    text-align: left;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    position: relative;
    padding-left: 2rem;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.timeline-item.complete {
    opacity: 1;
}

.timeline-item.active {
    opacity: 1;
    font-weight: 700;
}

.timeline-item.active .timeline-dot {
    background: var(--accent-amber);
    box-shadow: 0 0 20px var(--accent-amber);
    animation: pulse 2s infinite;
}

.timeline-dot {
    position: absolute;
    left: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.8);
}

.timeline-item.complete .timeline-dot {
    background: var(--spotify-green);
    border-color: var(--spotify-green);
}

.timeline-item span {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    line-height: 1.4;
}

/* Buttons */
.start-btn,
.share-btn {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.start-btn {
    background: white;
    color: var(--spotify-black);
    margin-top: 3rem;
}

.start-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

.share-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.share-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    padding: 0.8rem 2rem;
    font-size: 1rem;
}

.share-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Navigation */
.navigation {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 2rem;
    z-index: 100;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    transform: scale(1.1);
}

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

.progress-dots {
    display: flex;
    gap: 0.5rem;
}

.progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.progress-dot.active {
    background: white;
    transform: scale(1.3);
}

/* Slide Counter */
.slide-counter {
    position: fixed;
    top: 3.5rem;
    right: 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    z-index: 100;
    font-family: 'Courier New', monospace;
}

/* Countdown */
.countdown {
    margin-top: 2rem;
}

#days-remaining {
    font-weight: 900;
    color: var(--accent-red);
    font-size: 1.3em;
}

/* Progress Bar */
.progress-bar-container {
    width: 100%;
    max-width: 500px;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin: 2rem auto;
}

.progress-bar {
    height: 100%;
    background: white;
    border-radius: 10px;
    transition: width 1s ease;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease;
}

.fade-in-delay {
    animation: fadeInUp 0.6s ease 0.2s backwards;
}

.fade-in-delay-2 {
    animation: fadeInUp 0.6s ease 0.4s backwards;
}

.fade-in-delay-3 {
    animation: fadeInUp 0.6s ease 0.6s backwards;
}

.fade-in-delay-4 {
    animation: fadeInUp 0.6s ease 0.8s backwards;
}

.fade-in-delay-4 {
    animation: fadeInUp 0.6s ease 0.8s backwards;
}

/* Responsive */
@media (max-width: 768px) {
    .slide {
        padding: 1rem;
    }
    
    .navigation {
        bottom: 1rem;
        gap: 1rem;
    }
    
    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .slide-counter {
        top: 3rem;
        right: 1rem;
        font-size: 0.9rem;
    }
    
    .list-item {
        padding: 0.8rem 1rem;
    }
    
    .item-name {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }
    
    .rank {
        font-size: 1.2rem;
        min-width: 30px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

