/* Enhanced Slasher Professional Design System */
/* Inspired by Cullhouse design patterns */

/* Header Navigation Section for Back Button */
.header-nav-section {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-btn-centered {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(40, 40, 40, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.modern-btn-centered:hover {
    background: linear-gradient(135deg, rgba(255, 68, 68, 0.8), rgba(200, 50, 50, 0.8));
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 68, 68, 0.4);
}

.modern-btn-centered .nav-icon {
    font-size: 1.2rem;
}

.modern-btn-centered .nav-text {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Multi-Page Navigation System */
.page-container {
    display: none;
    min-height: 100vh;
    padding: 20px;
}

.page-container.active {
    display: block;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.page-progress {
    margin-bottom: 20px;
}

.progress-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.step {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: #aaa;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.step.active {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    transform: scale(1.05);
}

.step.completed {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.step.completed::after {
    content: '✓';
    position: absolute;
    right: -8px;
    top: -5px;
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #1a1a1a;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-subtitle {
    color: #ccc;
    font-size: 1.1rem;
    margin: 10px 0 0 0;
}

.page-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.nav-spacer {
    flex-grow: 1;
}

/* Action buttons spacing */
.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.action-buttons .btn {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

/* Override base font with modern professional typography */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1a0a1a 0%, #2d1420 20%, #1a0a2d 50%, #2d1420 80%, #1a0a1a 100%);
    color: #e6edf3;
    line-height: 1.5;
    font-weight: 400;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Professional slasher color palette */
:root {
    --primary-crimson: #dc2626;
    --primary-crimson-hover: #ef4444;
    --primary-crimson-light: rgba(220, 38, 38, 0.1);
    --secondary-dark: #8b0000;
    --secondary-dark-hover: #a50000;
    --accent-blood: #cc0000;
    --accent-gold: #d97706;
    --slasher-green: #059669;
    --surface-dark: #1a0a1a;
    --surface-lighter: #2d1420;
    --surface-light: #3d2832;
    --text-primary: #e6edf3;
    --text-secondary: #8b949e;
    --text-muted: #656d76;
    --border-default: #3d2832;
    --border-muted: #2d1420;
    --shadow-default: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-elevated: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-high: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-blood: 0 0 20px rgba(220, 38, 38, 0.3);
}

/* Professional Layout */
.professional-layout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Screen Management System */
.screen-container {
    display: none;
    min-height: calc(100vh - 200px);
    animation: fadeIn 0.3s ease-in-out;
}

.screen-container.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#setup-screen.active {
    display: block !important;
}

#movie-screen.active {
    display: block !important;
}

#results-screen.active {
    display: block !important;
}

/* Screen Transitions */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Setup Layout */
.setup-layout {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.setup-main {
    display: block;
    max-width: 900px;
    width: 100%;
}

/* Enhanced Navigation */
.professional-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: var(--surface-dark);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    margin-bottom: 24px;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-elevated);
}

.modern-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--primary-crimson);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
}

.modern-btn:hover {
    background: var(--primary-crimson-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-elevated);
    color: white;
    text-decoration: none;
}

.nav-actions {
    display: flex;
    gap: 12px;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--surface-light);
    color: var(--text-primary);
    border: 1px solid var(--border-default);
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-btn:hover {
    background: var(--surface-lighter);
    border-color: var(--primary-crimson);
    transform: translateY(-1px);
}

.nav-icon {
    font-size: 1rem;
}

.nav-text {
    font-size: 0.875rem;
}

/* Professional Header */
.professional-header {
    background: var(--surface-dark);
    border: 1px solid var(--border-default);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 32px;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-elevated);
    position: relative;
    overflow: hidden;
}

.professional-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-crimson), var(--accent-blood), var(--secondary-dark));
}

.header-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 32px;
    align-items: center;
}

.logo-section {
    text-align: center;
}

.main-title {
    font-family: 'Creepster', cursive;
    margin: 0;
    text-align: center;
}

.title-primary {
    display: block;
    font-size: 3.5rem;
    color: var(--primary-crimson);
    text-shadow: 0 0 20px rgba(220, 38, 38, 0.5), 0 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 8px;
}

.title-subtitle {
    display: block;
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 0.5em;
    text-transform: uppercase;
}

.tagline-modern {
    font-family: 'Crimson Pro', serif;
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin: 12px 0;
    font-style: italic;
}

.creator-credit {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Feature Showcase */
.feature-showcase {
    display: grid;
    gap: 16px;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--surface-light);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    border-color: var(--primary-crimson);
    box-shadow: var(--shadow-elevated);
    transform: translateX(4px);
}

.feature-card.enhanced {
    border-color: var(--primary-crimson);
    background: var(--primary-crimson-light);
    box-shadow: var(--shadow-blood);
}

.feature-icon {
    font-size: 2rem;
    min-width: 48px;
    text-align: center;
}

.feature-content h3 {
    margin: 0 0 4px 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.feature-content p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Enhanced Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Crimson Pro', Georgia, serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

/* Professional Button System */
.btn, .btn-secondary {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    letter-spacing: 0.025em;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 0.875rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn {
    background: linear-gradient(135deg, var(--primary-crimson) 0%, var(--secondary-dark) 100%);
    color: white;
    box-shadow: var(--shadow-default);
}

.btn:hover {
    background: linear-gradient(135deg, var(--primary-crimson-hover) 0%, var(--primary-crimson) 100%);
    box-shadow: var(--shadow-elevated);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--surface-light);
    color: var(--text-primary);
    border: 1px solid var(--border-default);
    box-shadow: var(--shadow-default);
}

.btn-secondary:hover {
    background: var(--surface-lighter);
    border-color: var(--border-muted);
    color: var(--text-primary);
    box-shadow: var(--shadow-elevated);
    transform: translateY(-1px);
}

/* Special Button Variants */
.primary-action {
    background: linear-gradient(135deg, var(--primary-crimson) 0%, var(--secondary-dark) 100%);
    font-size: 1rem;
    padding: 16px 32px;
    font-weight: 600;
}

.secondary-action {
    background: var(--surface-light);
    border: 2px solid var(--border-default);
    color: var(--text-primary);
}

.special-action {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #b45309 100%);
    color: white;
}

.btn-icon {
    font-size: 1rem;
}

/* Professional Card System */
.card {
    background: var(--surface-dark);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-default);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    border-color: var(--border-muted);
    box-shadow: var(--shadow-elevated);
}

.card-elevated {
    box-shadow: var(--shadow-high);
    background: var(--surface-lighter);
}

/* Section Styling */
.section-card {
    background: var(--surface-dark);
    border: 1px solid var(--border-default);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-elevated);
}

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

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.section-icon {
    font-size: 1.5rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 400;
}

/* Form Enhancements */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.enhanced {
    background: var(--surface-light);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-default);
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.label-icon {
    font-size: 1rem;
    color: var(--primary-crimson);
}

.form-input, .form-select {
    padding: 12px 16px;
    background: var(--surface-darker, #0f0a0f);
    border: 1px solid var(--border-default);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.875rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
}

.form-input:focus, .form-select:focus {
    outline: none;
    border-color: var(--primary-crimson);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.input-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
    font-style: italic;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .professional-layout {
        max-width: 100%;
        padding: 16px;
    }
    
    .header-content {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }
    
    .feature-showcase {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .professional-nav {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }
    
    .nav-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .title-primary {
        font-size: 2.5rem;
    }
    
    .title-subtitle {
        font-size: 1rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
}

/* Animation Effects */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.screen-container {
    animation: slideInUp 0.4s ease-out;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary-crimson);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========== ENHANCED RESULTS SCREEN ========== */

.results-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    animation: fadeIn 0.5s ease-out;
}

/* Movie Header Section */
.movie-results-header {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 24px;
    margin-bottom: 32px;
    padding: 24px;
    background: var(--surface-dark);
    border-radius: 16px;
    border: 1px solid var(--border-default);
    box-shadow: var(--shadow-elevated);
}

.movie-poster {
    background: linear-gradient(135deg, var(--primary-crimson) 0%, var(--secondary-dark) 100%);
    border-radius: 12px;
    padding: 24px;
    color: white;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.movie-poster::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" patternUnits="userSpaceOnUse" width="100" height="100"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.poster-content {
    position: relative;
    z-index: 2;
}

.poster-content h1 {
    font-family: 'Creepster', cursive;
    font-size: 2rem;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.movie-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
}

.movie-details span {
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    backdrop-filter: blur(10px);
}

/* Stats Overview */
.movie-stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    align-content: start;
}

.stat-card {
    background: var(--surface-light);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-elevated);
    border-color: var(--primary-crimson);
}

.stat-icon {
    font-size: 2rem;
    min-width: 48px;
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-crimson);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Killer Reveal */
.killer-reveal-modern {
    background: var(--surface-dark);
    border: 2px solid var(--primary-crimson);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    text-align: center;
    box-shadow: var(--shadow-blood);
}

/* Results Tabs */
.results-tabs {
    display: flex;
    background: var(--surface-light);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 24px;
    overflow-x: auto;
}

.tab-btn {
    flex: 1;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    min-width: 140px;
}

.tab-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    background: var(--primary-crimson);
    color: white;
    box-shadow: var(--shadow-default);
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.tab-content.active {
    display: block;
}

/* Summary Tab */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.summary-card {
    background: var(--surface-dark);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.2s ease;
}

.summary-card:hover {
    border-color: var(--primary-crimson);
    box-shadow: var(--shadow-elevated);
}

.summary-card h3 {
    margin-bottom: 12px;
    color: var(--text-primary);
    font-size: 1.1rem;
}

/* Character Results Grid */
.character-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.character-result-card {
    background: var(--surface-dark);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.character-result-card.survivor {
    border-color: var(--slasher-green);
    background: rgba(5, 150, 105, 0.05);
}

.character-result-card.deceased {
    border-color: var(--primary-crimson);
    background: rgba(220, 38, 38, 0.05);
}

.character-result-card.killer {
    border-color: var(--secondary-dark);
    background: rgba(139, 0, 0, 0.1);
}

/* Death Timeline */
.death-timeline {
    background: var(--surface-dark);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 24px;
}

.timeline-event {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    margin-bottom: 12px;
    background: var(--surface-light);
    border-radius: 8px;
    position: relative;
}

.timeline-event::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-crimson);
    border-radius: 2px;
}

/* Analytics Tab */
.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.analytics-card {
    background: var(--surface-dark);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 20px;
}

.analytics-card h3 {
    margin-bottom: 16px;
    color: var(--text-primary);
}

/* Legacy Tab */
.legacy-content {
    display: grid;
    gap: 24px;
}

.franchise-stats, .survivor-gallery, .achievements {
    background: var(--surface-dark);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 24px;
}

/* Action Buttons */
.results-actions {
    margin-top: 40px;
    text-align: center;
}

.primary-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.secondary-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.action-primary {
    background: linear-gradient(135deg, var(--primary-crimson) 0%, var(--secondary-dark) 100%);
    color: white;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
}

.action-secondary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #b45309 100%);
    color: white;
    padding: 16px 32px;
}

.action-special {
    background: linear-gradient(135deg, var(--slasher-green) 0%, #047857 100%);
    color: white;
    padding: 16px 32px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .movie-results-header {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .results-tabs {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: none;
        min-width: auto;
    }
    
    .summary-grid, .analytics-grid {
        grid-template-columns: 1fr;
    }
    
    .primary-actions, .secondary-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* Villain Creator Styles */
.villain-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.villain-abilities {
    margin-top: 24px;
}

.ability-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--surface-light);
    border: 1px solid var(--border-default);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkbox-item:hover {
    background: var(--surface-lighter);
    border-color: var(--primary-crimson);
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-crimson);
    cursor: pointer;
}

.checkbox-item span {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

/* Hidden utility class */
.hidden {
    display: none !important;
}

/* Edgic Analysis Styles */
.edgic-analysis-container {
    padding: 24px;
    background: var(--surface-dark);
    border-radius: 12px;
    border: 1px solid var(--border-default);
}

.edgic-table-container {
    overflow-x: auto;
    margin: 24px 0;
    border-radius: 8px;
    border: 1px solid var(--border-default);
}

.edgic-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface-light);
}

.edgic-table th {
    background: var(--primary-crimson);
    color: white;
    padding: 16px 12px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.edgic-table th:last-child {
    border-right: none;
}

.edgic-table td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid var(--border-default);
    border-right: 1px solid var(--border-default);
}

.edgic-table td:last-child {
    border-right: none;
}

.edgic-table .character-col {
    text-align: left;
    font-weight: 600;
    background: var(--surface-lighter);
}

.edgic-table .archetype-col {
    text-align: left;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Edgic Rating Colors */
.edgic-cp { background: #3b82f6; color: white; font-weight: 600; }
.edgic-mor { background: #10b981; color: white; font-weight: 600; }
.edgic-utr { background: #f59e0b; color: white; font-weight: 600; }
.edgic-ott { background: #ef4444; color: white; font-weight: 600; }
.edgic-na { background: #6b7280; color: white; font-weight: 600; }

/* Edgic Legend */
.edgic-legend {
    margin-top: 24px;
    padding: 20px;
    background: var(--surface-light);
    border-radius: 8px;
    border: 1px solid var(--border-default);
}

.legend-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.legend-header h3 {
    margin: 0;
    color: var(--primary-crimson);
    font-size: 1rem;
    font-weight: 600;
}

.legend-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.legend-section h4 {
    margin: 0 0 12px 0;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
}

.legend-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
}

.legend-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.75rem;
    min-width: 32px;
    text-align: center;
}

.legend-badge.cp { background: #3b82f6; color: white; }
.legend-badge.mor { background: #10b981; color: white; }
.legend-badge.utr { background: #f59e0b; color: white; }
.legend-badge.ott { background: #ef4444; color: white; }
.legend-badge.na { background: #6b7280; color: white; }

.legend-number, .legend-letter {
    padding: 4px 8px;
    background: var(--surface-lighter);
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.75rem;
    min-width: 32px;
    text-align: center;
    color: var(--text-primary);
}

/* Film Synopsis Styles */
.synopsis-container {
    padding: 24px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(40, 40, 40, 0.95));
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
}

.synopsis-table-container {
    overflow-x: auto;
    margin: 24px 0;
    border-radius: 8px;
    border: 1px solid var(--border-default);
}

.synopsis-table {
    width: 100%;
    border-collapse: collapse;
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.95), rgba(50, 50, 50, 0.95));
    border-radius: 8px;
    overflow: hidden;
}

.synopsis-table th {
    background: linear-gradient(135deg, #ff4444, #d32f2f);
    color: white;
    padding: 18px 16px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.synopsis-table td {
    padding: 18px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    vertical-align: top;
    color: white;
    transition: background-color 0.2s ease;
}

.synopsis-table tbody tr:hover {
    background: rgba(255, 68, 68, 0.1);
}

.synopsis-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.synopsis-table tbody tr:nth-child(even):hover {
    background: rgba(255, 68, 68, 0.1);
}

.synopsis-table .film-col {
    width: 200px;
    font-weight: 600;
    color: var(--text-primary);
}

.synopsis-table .horror-meter-col {
    width: 150px;
    text-align: center;
}

.synopsis-table .synopsis-col {
    color: var(--text-secondary);
    line-height: 1.5;
}

.horror-meter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.horror-meter-score {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-crimson);
}

.horror-meter-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.synopsis-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}

/* Final Body Count Table */
.final-body-count-container {
    padding: 24px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(40, 40, 40, 0.95));
    border-radius: 12px;
    border: 1px solid var(--border-default);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
}

.body-count-table-container {
    overflow-x: auto;
    margin: 24px 0;
    border-radius: 8px;
    border: 1px solid var(--border-default);
}

.body-count-table {
    width: 100%;
    border-collapse: collapse;
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.95), rgba(50, 50, 50, 0.95));
    border-radius: 8px;
    overflow: hidden;
}

.body-count-table th {
    background: linear-gradient(135deg, #ff4444, #d32f2f);
    color: white;
    padding: 18px 14px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.body-count-table th:last-child {
    border-right: none;
}

.body-count-table td {
    padding: 14px 12px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 500;
    color: white;
    transition: background-color 0.2s ease;
}

.body-count-table td:last-child {
    border-right: none;
}

.body-count-table .character-col {
    text-align: left;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
}

.body-count-table tbody tr:hover {
    background: rgba(255, 68, 68, 0.1);
}

.body-count-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.body-count-table tbody tr:nth-child(even):hover {
    background: rgba(255, 68, 68, 0.1);
}

.body-count-table .archetype-col {
    text-align: center;
    vertical-align: middle;
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Status badges for body count table */
.status-alive {
    background: var(--slasher-green);
    color: white;
    padding: 4px 12px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 0.8rem;
}

.status-attacked {
    background: #f59e0b;
    color: white;
    padding: 4px 12px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 0.8rem;
}

.status-killed, .status-dead {
    background: var(--primary-crimson);
    color: white;
    padding: 4px 12px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 0.8rem;
}

.status-killer {
    background: #8b0000;
    color: white;
    padding: 4px 12px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 0.8rem;
}

.status-na {
    background: #6b7280;
    color: white;
    padding: 4px 12px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 0.8rem;
}

/* Supervillain Reveal Styles */
.supervillain-reveal {
    background: linear-gradient(135deg, #8b0000, #4b0000);
    border: 2px solid #ff0000;
    color: white;
    text-align: center;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.supervillain-reveal::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: villainGleam 3s infinite;
}

@keyframes villainGleam {
    0% { left: -100%; }
    100% { left: 100%; }
}

.villain-identity {
    margin: 24px 0;
}

.villain-name {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ff6666;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
    margin-bottom: 8px;
}

.villain-type {
    font-size: 1.2rem;
    color: #ffcccc;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.villain-details {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.villain-backstory {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 16px;
    color: #ffeeee;
}

.villain-abilities {
    font-size: 1rem;
    color: #ff9999;
}

.supervillain-tagline {
    font-size: 1rem;
    color: #ffdddd;
    margin-top: 16px;
    font-style: italic;
}

.killer-identity {
    font-size: 1.5rem;
    margin: 15px 0;
    color: var(--primary-crimson);
    font-weight: 600;
}

/* Responsive Design for New Tables */
@media (max-width: 768px) {
    .legend-content {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .final-body-count {
        flex-direction: column;
        gap: 12px;
    }
    
    .count-section {
        padding: 12px;
    }
    
    .count-stats {
        gap: 6px;
    }
    
    .villain-name {
        font-size: 2rem;
    }
    
    .supervillain-reveal {
        padding: 20px;
    }
}

/* Premium Analytics Styles */
.relationship-analysis {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.relationship-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.relationship-stat {
    background: linear-gradient(145deg, var(--surface-lighter) 0%, var(--surface-light) 100%);
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.relationship-stat .stat-number {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-crimson);
    margin-bottom: 4px;
}

.relationship-stat .stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.relationship-details {
    background: var(--surface-lighter);
    border-radius: 8px;
    padding: 16px;
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.relationship-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.relationship-detail:last-child {
    border-bottom: none;
}

.relationship-icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.relationship-text {
    color: var(--text-primary);
    flex: 1;
}

/* Luck vs Skill Analysis */
.luck-skill-analysis {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.analysis-chart {
    background: var(--surface-lighter);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.analysis-bars {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.analysis-bar {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bar-label {
    font-weight: 600;
    color: var(--text-primary);
    width: 60px;
    text-align: right;
}

.bar-container {
    flex: 1;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    height: 24px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.8s ease-out;
    position: relative;
}

.luck-bar {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.skill-bar {
    background: linear-gradient(90deg, var(--slasher-green), #10b981);
}

.bar-value {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.analysis-insights {
    background: var(--surface-lighter);
    border-radius: 8px;
    padding: 16px;
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.analysis-insights h4 {
    color: var(--primary-crimson);
    margin: 0 0 12px 0;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.insight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
}

.insight-icon {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.insight-text {
    color: var(--text-primary);
    flex: 1;
    font-size: 0.95rem;
}

/* Animation for analytics reveal */
.relationship-analysis,
.luck-skill-analysis {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

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

/* Mobile responsive for premium analytics */
@media (max-width: 768px) {
    .relationship-stats {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 10px;
    }
    
    .relationship-stat {
        padding: 12px 8px;
    }
    
    .relationship-stat .stat-number {
        font-size: 1.5rem;
    }
    
    .analysis-bar {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }
    
    .bar-label {
        text-align: left;
        width: auto;
    }
}

/* Phase-Based Pagination Styles */
.act-navigation {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 20px 0;
    padding: 16px 0;
    border-bottom: 1px solid rgba(220, 38, 38, 0.2);
}

.act-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 20px;
    background: linear-gradient(145deg, var(--surface-lighter), var(--surface-light));
    border: 2px solid rgba(220, 38, 38, 0.3);
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
    font-family: inherit;
}

.act-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: rgba(255, 255, 255, 0.1);
}

.act-nav-btn.active,
.act-nav-btn:hover:not(:disabled) {
    background: linear-gradient(145deg, var(--primary-crimson-light), var(--primary-crimson));
    border-color: var(--primary-crimson);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.act-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-crimson);
}

.act-nav-btn.active .act-number,
.act-nav-btn:hover:not(:disabled) .act-number {
    color: white;
}

.act-name {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.act-screen {
    display: none;
    animation: fadeInSlide 0.5s ease-out forwards;
}

.act-screen.active {
    display: block;
}

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

.act-header {
    text-align: center;
    margin: 20px 0;
    padding: 24px 16px;
    background: linear-gradient(145deg, var(--surface-lighter), var(--surface-light));
    border-radius: 12px;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.act-title {
    font-size: 1.8rem;
    margin: 0 0 8px 0;
    color: var(--primary-crimson);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.act-description {
    margin: 0;
    color: var(--text-secondary);
    font-size: 1rem;
    font-style: italic;
}

.act-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 20px 0;
    padding: 16px;
    background: rgba(42, 42, 42, 0.6);
    border-radius: 8px;
    flex-wrap: wrap;
}

.act-controls .btn {
    min-width: 120px;
}

.act-controls .btn.primary {
    background: linear-gradient(145deg, var(--primary-crimson), var(--secondary-dark));
    border-color: var(--primary-crimson);
}

.act-controls .btn.primary:hover {
    background: linear-gradient(145deg, var(--primary-crimson-hover), var(--secondary-dark-hover));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.act-status {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 10px 0;
    padding: 8px;
    background: rgba(42, 42, 42, 0.4);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.universal-controls {
    position: sticky;
    bottom: 20px;
    background: rgba(26, 10, 26, 0.95);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(220, 38, 38, 0.2);
    margin-top: 20px;
    backdrop-filter: blur(10px);
    text-align: center;
}

/* Act-specific movie log styling */
#act1-log .event-item {
    border-left: 3px solid var(--slasher-green);
}

#act2-log .event-item {
    border-left: 3px solid var(--accent-gold);
}

#act3-log .event-item {
    border-left: 3px solid var(--primary-crimson);
}

/* Mobile responsive for act navigation */
@media (max-width: 768px) {
    .act-navigation {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .act-nav-btn {
        flex-direction: row;
        width: 100%;
        max-width: 200px;
        justify-content: center;
        gap: 8px;
    }
    
    .act-number {
        font-size: 1.2rem;
    }
    
    .act-name {
        font-size: 0.8rem;
    }
    
    .act-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .act-controls .btn {
        width: 100%;
        max-width: 200px;
    }
    
    .act-title {
        font-size: 1.4rem;
    }
}

/* Spectator Killer Selection Styles */
#spectator-killer-selection {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a0a1a 0%, #2d1420 20%, #1a0a2d 50%, #2d1420 80%, #1a0a1a 100%);
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
}

.spectator-cast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.spectator-character-card {
    background: linear-gradient(145deg, var(--surface-lighter), var(--surface-light));
    border: 2px solid rgba(220, 38, 38, 0.3);
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.spectator-character-card:hover {
    border-color: var(--primary-crimson);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

.spectator-character-card.selected {
    border-color: var(--primary-crimson);
    background: linear-gradient(145deg, var(--primary-crimson-light), var(--surface-light));
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
}

.spectator-character-card .character-portrait {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 12px;
    overflow: hidden;
    border: 2px solid var(--primary-crimson);
    position: relative;
}

.spectator-character-card .character-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spectator-character-card .portrait-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--surface-light), var(--surface-lighter));
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-crimson);
}

.spectator-character-card .character-info {
    text-align: center;
}

.spectator-character-card .character-info h3 {
    margin: 0 0 4px 0;
    color: var(--text-primary);
    font-size: 1.2rem;
}

.spectator-character-card .character-archetype {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0 0 8px 0;
    font-style: italic;
}

.spectator-character-card .character-stats {
    display: flex;
    justify-content: space-around;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.selection-indicator {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.selection-indicator.selected {
    background: var(--primary-crimson);
    color: white;
    transform: scale(1.2);
    box-shadow: 0 0 12px rgba(220, 38, 38, 0.6);
}

.selection-status {
    text-align: center;
    font-size: 1.1rem;
    margin: 20px 0;
    padding: 12px;
    border-radius: 8px;
    background: rgba(42, 42, 42, 0.6);
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.action-buttons .btn {
    min-width: 160px;
    font-size: 1rem;
}

.action-buttons .btn.primary {
    background: linear-gradient(145deg, var(--primary-crimson), var(--secondary-dark));
    border-color: var(--primary-crimson);
}

.action-buttons .btn.primary:hover:not(:disabled) {
    background: linear-gradient(145deg, var(--primary-crimson-hover), var(--secondary-dark-hover));
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.4);
}

.action-buttons .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* Mobile responsive for spectator selection */
@media (max-width: 768px) {
    .spectator-cast-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 16px;
    }
    
    .spectator-character-card {
        padding: 12px;
    }
    
    .spectator-character-card .character-portrait {
        width: 60px;
        height: 60px;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .action-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* Modern Character Analysis Card Redesign */
.character-analysis-card-modern {
    background: linear-gradient(145deg, #1a1a1a, #252525);
    border-radius: 16px;
    border: 1px solid #333;
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    overflow: hidden;
}

.character-analysis-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
    border-color: #444;
}

.card-header-modern {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: linear-gradient(135deg, #2a2a2a, #1e1e1e);
    border-bottom: 1px solid #333;
}

.portrait-section-modern {
    position: relative;
    flex-shrink: 0;
}

.portrait-img-modern, .portrait-fallback-modern {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #444;
    background: linear-gradient(135deg, #333, #444);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    color: #fff;
}

.portrait-img-modern {
    display: block;
}

.status-badge-modern {
    position: absolute;
    bottom: -5px;
    right: -5px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.status-badge-modern.status-alive {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
}

.status-badge-modern.status-dead {
    background: linear-gradient(135deg, #dc2626, #991b1b);
    color: white;
}

.status-badge-modern.status-killer {
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    color: white;
}

.character-info-modern {
    flex: 1;
    min-width: 0;
}

.character-name-modern {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.character-meta-modern {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.archetype-modern, .age-modern {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.archetype-modern {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
}

.age-modern {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
}

.rating-section-modern {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-stars-modern {
    display: flex;
    gap: 2px;
}

.rating-stars-modern .star {
    font-size: 16px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.rating-text-modern {
    font-size: 13px;
    color: #ccc;
    font-weight: 500;
}

.card-body-modern {
    padding: 24px;
    background: linear-gradient(135deg, #1e1e1e, #1a1a1a);
}

.quote-section-modern {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
}

.quote-icon-modern {
    font-size: 20px;
    flex-shrink: 0;
    opacity: 0.7;
}

.memorable-quote-modern {
    font-size: 14px;
    color: #e5e7eb;
    font-style: italic;
    margin: 0;
    line-height: 1.5;
}

.stats-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-item-modern {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.stat-item-modern:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.stat-icon-modern {
    font-size: 24px;
    flex-shrink: 0;
}

.stat-details-modern {
    display: flex;
    flex-direction: column;
}

.stat-value-modern {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.stat-label-modern {
    font-size: 11px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.section-title-modern {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.death-section-modern, .killer-section-modern {
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.death-stats-modern, .killer-stats-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}

.death-stat-modern, .killer-stat-modern {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.death-label-modern, .killer-label-modern {
    font-size: 11px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.death-value-modern, .killer-value-modern {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

/* Responsive adjustments for modern cards */
@media (max-width: 768px) {
    .card-header-modern {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .character-meta-modern {
        justify-content: center;
    }
    
    .stats-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .death-stats-modern, .killer-stats-modern {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* Enhanced Death Timeline Redesign */
.death-timeline-modern {
    padding: 24px;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-radius: 16px;
    border: 1px solid #333;
}

.timeline-stats-header {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-box-timeline {
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    padding: 20px 24px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #333;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    min-width: 120px;
}

.stat-number {
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 12px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.timeline-visualization {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.act-timeline-section {
    background: linear-gradient(135deg, #1e1e1e, #252525);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #333;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.act-header-timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #333;
}

.act-title-timeline {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.act-stats-timeline {
    display: flex;
    align-items: center;
    gap: 16px;
}

.death-count-act {
    font-size: 14px;
    color: #dc2626;
    font-weight: 600;
}

.act-progress-bar {
    width: 120px;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #dc2626, #991b1b);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.deaths-in-act {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.death-card-modern {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(145deg, #252525, #1a1a1a);
    border-radius: 12px;
    border: 1px solid #444;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.death-card-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border-color: #666;
}

.death-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #dc2626, #991b1b);
}

.death-number {
    font-size: 24px;
    font-weight: 900;
    color: #dc2626;
    background: linear-gradient(135deg, #3a1515, #2a1010);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #dc2626;
    flex-shrink: 0;
}

.death-portrait {
    position: relative;
    flex-shrink: 0;
}

.death-portrait img, .portrait-fallback-death {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #666;
    background: linear-gradient(135deg, #333, #444);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

.death-overlay {
    position: absolute;
    bottom: -4px;
    right: -4px;
    font-size: 20px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    padding: 4px;
    border: 2px solid #dc2626;
}

.death-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.victim-name {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.victim-archetype {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
}

.death-method-tag {
    display: inline-block;
    padding: 4px 10px;
    background: linear-gradient(135deg, #dc2626, #991b1b);
    color: white;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    max-width: fit-content;
}

.death-timing {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.no-deaths-act {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    color: #6b7280;
    text-align: center;
}

.no-deaths-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.no-deaths-text {
    font-size: 16px;
    font-weight: 600;
}

.survivors-section {
    margin-top: 32px;
    padding: 24px;
    background: linear-gradient(135deg, #1a3a1a, #1e2a1e);
    border-radius: 16px;
    border: 2px solid #22c55e;
}

.survivors-title {
    font-size: 24px;
    font-weight: 800;
    color: #22c55e;
    margin: 0 0 24px 0;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.survivors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.survivor-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    border-radius: 12px;
    border: 2px solid #22c55e;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.2);
    transition: all 0.3s ease;
}

.survivor-card.killer-survivor {
    border-color: #7c3aed;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.2);
}

.survivor-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
}

.survivor-card.killer-survivor:hover {
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.3);
}

.survivor-portrait {
    position: relative;
    flex-shrink: 0;
}

.survivor-portrait img, .portrait-fallback-survivor {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #22c55e;
    background: linear-gradient(135deg, #333, #444);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

.killer-survivor .survivor-portrait img,
.killer-survivor .portrait-fallback-survivor {
    border-color: #7c3aed;
}

.survivor-status {
    position: absolute;
    bottom: -4px;
    right: -4px;
    font-size: 18px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    padding: 4px;
    border: 2px solid #22c55e;
}

.killer-survivor .survivor-status {
    border-color: #7c3aed;
}

.survivor-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.survivor-name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.survivor-role {
    font-size: 12px;
    color: #22c55e;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.killer-survivor .survivor-role {
    color: #7c3aed;
}

/* Responsive adjustments for death timeline */
@media (max-width: 768px) {
    .timeline-stats-header {
        gap: 16px;
    }
    
    .stat-box-timeline {
        padding: 16px 20px;
        min-width: 100px;
    }
    
    .act-header-timeline {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .deaths-in-act {
        grid-template-columns: 1fr;
    }
    
    .death-card-modern {
        padding: 16px;
    }
    
    .survivors-grid {
        grid-template-columns: 1fr;
    }
}

/* Enhanced Legacy Tab Redesign */
.legacy-modern-container {
    padding: 24px;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-radius: 16px;
    border: 1px solid #333;
    max-width: none;
}

.legacy-main-title {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    text-align: center;
    margin: 0 0 32px 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.franchise-overview-section {
    margin-bottom: 48px;
}

.franchise-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.overview-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    border-radius: 12px;
    border: 1px solid #444;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.overview-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.overview-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.overview-details {
    flex: 1;
}

.overview-number {
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}

.overview-label {
    font-size: 12px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.legacy-section-title {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 24px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.current-movie-section {
    margin-bottom: 48px;
}

.movie-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.movie-stat-card {
    padding: 24px;
    background: linear-gradient(135deg, #1e1e1e, #252525);
    border-radius: 12px;
    border: 1px solid #333;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.stat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #333;
}

.stat-icon {
    font-size: 24px;
}

.stat-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.stat-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 16px;
}

.metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.metric-value {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.metric-label {
    font-size: 11px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.rating-card {
    grid-column: span 1;
}

.rating-display {
    text-align: center;
}

.rating-text {
    font-size: 20px;
    font-weight: 800;
    color: #f59e0b;
    margin-bottom: 8px;
}

.rating-description {
    font-size: 14px;
    color: #9ca3af;
    font-style: italic;
}

.hall-of-fame-section {
    margin-bottom: 48px;
}

.hall-of-fame-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.hall-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    border-radius: 12px;
    border: 2px solid;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hall-card.final-girl {
    border-color: #f59e0b;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

.hall-card.sole-survivor {
    border-color: #22c55e;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
}

.hall-card.first-victim {
    border-color: #dc2626;
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.3);
}

.hall-card.killer {
    border-color: #7c3aed;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}

.hall-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.hall-portrait {
    position: relative;
    flex-shrink: 0;
}

.hall-portrait img, .hall-portrait-fallback {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #444;
    background: linear-gradient(135deg, #333, #444);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

.hall-crown {
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 20px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    padding: 4px;
}

.hall-info {
    flex: 1;
}

.hall-title {
    font-size: 14px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.hall-name {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.hall-description {
    font-size: 12px;
    color: #6b7280;
    font-style: italic;
}

.achievements-section {
    margin-bottom: 48px;
}

.achievements-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.achievement-card-modern {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(145deg, #252525, #1a1a1a);
    border-radius: 12px;
    border: 2px solid;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.achievement-card-modern.unlocked {
    opacity: 1;
}

.achievement-card-modern.locked {
    opacity: 0.5;
    filter: grayscale(1);
}

.achievement-card-modern.rarity-common {
    border-color: #6b7280;
}

.achievement-card-modern.rarity-uncommon {
    border-color: #22c55e;
}

.achievement-card-modern.rarity-rare {
    border-color: #3b82f6;
}

.achievement-card-modern.rarity-epic {
    border-color: #7c3aed;
}

.achievement-card-modern.rarity-legendary {
    border-color: #f59e0b;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
}

.achievement-card-modern:hover.unlocked {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.achievement-icon-modern {
    font-size: 32px;
    flex-shrink: 0;
}

.achievement-details {
    flex: 1;
}

.achievement-name-modern {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.achievement-description {
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 8px;
}

.achievement-rarity {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6b7280;
}

.franchise-history-section {
    margin-bottom: 24px;
}

.franchise-timeline {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.timeline-movie {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(145deg, #252525, #1a1a1a);
    border-radius: 12px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.timeline-movie.current {
    border-color: #f59e0b;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

.timeline-movie:hover {
    transform: translateX(4px);
}

.timeline-marker {
    font-size: 18px;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.timeline-content {
    flex: 1;
}

.timeline-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.timeline-year {
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 8px;
}

.timeline-stats {
    display: flex;
    gap: 16px;
}

.timeline-stat {
    font-size: 12px;
    color: #6b7280;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.no-hall-entries, .no-timeline {
    text-align: center;
    color: #6b7280;
    font-style: italic;
    padding: 40px 20px;
}

/* Responsive adjustments for Legacy tab */
@media (max-width: 768px) {
    .franchise-overview-grid, .movie-stats-grid, .hall-of-fame-grid, .achievements-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .overview-card, .hall-card, .achievement-card-modern {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .timeline-movie {
        flex-direction: column;
        text-align: center;
    }
}


