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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #0a0a0a;
}

:root {
    --bg: #0a0a0a;
    --panel: rgba(255,255,255,0.04);
    --panel-border: rgba(255,255,255,0.08);
    --accent: #2e8cff;      /* memorial blue */
    --accent-deep: #1b69ff; /* deeper blue */
    --gold: #ffd166;        /* memorial gold */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero-section {
    background: radial-gradient(1200px 600px at 50% -10%, rgba(255, 209, 102, 0.12), transparent 60%),
                linear-gradient(135deg, #121212 0%, #1d1d1d 60%, #2d1b69 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::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 1000 1000"><circle cx="500" cy="500" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="200" cy="300" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="800" cy="200" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="300" cy="800" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="700" cy="700" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.3;
}

.hero-title {
    font-size: 3.6rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Cinzel', serif;
    text-shadow: 0 0 20px rgba(255, 209, 102, 0.25), 2px 2px 4px rgba(0,0,0,0.6);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.7rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--gold);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-description {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.9;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

/* Share Notification Animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.share-notification {
    animation: slideInRight 0.5s ease-out;
}

/* Navigation */
.navigation {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #333;
}

.nav-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 15px 0;
    flex-wrap: wrap;
    gap: 10px;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-link:hover {
    background: linear-gradient(90deg, var(--accent-deep), var(--accent));
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 60px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: white;
}

.memorial-title {
    font-family: 'Cinzel', serif;
    letter-spacing: 0.5px;
    background: linear-gradient(180deg, #ffffff 0%, #ffe9b3 40%, #ffd166 60%, #ffb347 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 30px rgba(255, 209, 102, 0.2);
}

.memorial-subtitle {
    font-family: 'Lora', serif;
}

.title-ornament {
    width: 180px;
    height: 8px;
    margin: 12px auto 28px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(255,209,102,0.7), transparent);
    box-shadow: 0 0 30px rgba(255, 209, 102, 0.4);
}

.section-description {
    font-size: 1.2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #ccc;
    line-height: 1.7;
}

/* Tribute Section */
.tribute-section {
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    color: white;
}

.charlie-legacy { position: relative; }
.charlie-legacy::before {
    content: '';
    position: absolute; inset: -40px 0 -20px 0;
    pointer-events: none;
    background: radial-gradient(800px 200px at 50% 0%, rgba(255, 209, 102, 0.08), transparent 60%);
    filter: blur(12px);
}

.tribute-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: start;
}

.tribute-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.memorial-photo {
    width: 100%;
    height: 400px;
    object-fit: cover;
    filter: grayscale(100%);
}

.memorial-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    padding: 30px 20px 20px;
    text-align: center;
}

.memorial-overlay h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.tribute-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--gold);
}

.lead {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #ddd;
}

.tribute-quotes {
    margin: 30px 0;
}

.tribute-quotes blockquote {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--gold);
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
}

.tribute-quotes cite {
    font-style: italic;
    color: var(--accent);
    font-weight: 500;
}

.tragedy-facts {
    background: rgba(46, 140, 255, 0.12);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(46, 140, 255, 0.25);
}

.tragedy-facts h3 {
    margin-bottom: 15px;
    color: var(--accent);
}

.tragedy-facts ul {
    list-style: none;
}

.tragedy-facts li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tragedy-facts i {
    color: var(--accent);
    width: 16px;
}

/* Evidence Section */
.evidence-section {
    background: #111;
    color: white;
}

.video-container {
    margin-bottom: 50px;
}

.main-video {
    margin-bottom: 30px;
}

.compilation-video, .tribute-video {
    width: 100%;
    max-width: 900px;
    height: auto;
    min-height: 400px;
    aspect-ratio: 16/9;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(255, 0, 0, 0.3);
    display: block;
    margin: 0 auto;
    border: 2px solid rgba(255, 107, 107, 0.5);
    background: #000;
    
    /* Optimize video performance */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
    
    /* Ensure smooth playback */
    object-fit: contain;
    
    /* Fix poster/thumbnail display */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* Mobile-specific optimizations */
    -webkit-playsinline: true;
    
    /* Prevent video zoom on mobile */
    touch-action: manipulation;
}

/* Mobile-specific video styles */
@media (max-width: 768px) {
    .compilation-video, .tribute-video {
        max-width: 100%;
        border-radius: 10px;
        
        /* Mobile video optimizations */
        -webkit-playsinline: true;
        playsinline: true;
        
        /* Prevent fullscreen issues on iOS */
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        
        /* Better mobile performance */
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }
    
    .video-container {
        position: relative;
        /* Prevent mobile scrolling issues */
        overflow: hidden;
    }
    
    /* Mobile video loading indicator */
    .mobile-video-error {
        margin: 10px 0;
    }
}

/* Mobile-first timeline tightening */
@media (max-width: 980px) {
    .timeline { max-width: 560px; }
    .timeline::before { left: 18px; }
    .timeline-item { width: 100%; left: 0 !important; padding-left: 48px !important; padding-right: 0 !important; text-align: left !important; margin: 22px 0; }
    .timeline-item .timeline-marker { left: 10px !important; right: auto !important; }
}

.video-caption {
    text-align: center;
    margin-top: 20px;
}

.video-caption h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--accent);
}

.source-videos h3 {
    margin-bottom: 20px;
    color: var(--accent);
}

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

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



.source-video {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.source-item small {
    color: #ccc;
    font-size: 0.9rem;
    display: block;
    margin-top: 5px;
}

/* YouTube Embed Styles */
.youtube-embed, .main-youtube-embed {
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    margin-bottom: 10px;
}

.main-youtube-embed {
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border-radius: 15px;
}

.youtube-embed iframe, .main-youtube-embed iframe {
    width: 100%;
    border-radius: inherit;
}

.main-youtube-embed iframe {
    height: 400px;
}

.youtube-embed iframe {
    height: 200px;
}

@media (max-width: 768px) {
    .main-youtube-embed iframe {
        height: 250px;
    }
    
    .youtube-embed iframe {
        height: 180px;
    }
}

.key-clips h3 {
    margin-bottom: 30px;
    color: var(--accent);
    font-size: 1.8rem;
}

.clips-description {
    background: rgba(46, 140, 255, 0.1);
    border: 1px solid rgba(46, 140, 255, 0.3);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.1rem;
}

.clips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.clip-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.clip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 107, 107, 0.2);
    border-color: rgba(255, 107, 107, 0.3);
}

.clip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.timestamp {
    font-family: 'Courier New', monospace;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
}

.severity {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.severity.high {
    background: #ff9500;
    color: white;
}

.severity.critical {
    background: #ff0000;
    color: white;
}

.severity.response {
    background: #00ff00;
    color: black;
}

.clip-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--accent);
}

.play-clip {
    background: linear-gradient(90deg, var(--accent-deep), var(--accent));
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.play-clip:hover {
    background: #21b0ff;
    transform: translateY(-2px);
}

.compilation-info {
    margin-top: 40px;
}

.info-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 15px;
}

.info-box h4 {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.info-box i {
    margin-right: 10px;
}

.info-box ul {
    margin: 20px 0;
    padding-left: 20px;
}

.info-box li {
    margin: 10px 0;
    line-height: 1.6;
}

.info-box li strong {
    color: var(--accent);
}





.conclusion {
    background: rgba(46, 140, 255, 0.12);
    border-left: 4px solid var(--gold);
    padding: 20px;
    margin-top: 25px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 500;
}

.severity.response {
    background: linear-gradient(45deg, #00ff00, #32cd32);
    color: black;
    font-weight: 700;
}

/* Timeline Section */
.timeline-section {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    color: white;
}

/* Reduce visual weight for the timeline header/spacing */
.timeline-section .section-title {
    font-size: 2rem;
    margin-bottom: 10px;
}
.timeline-section .section-description {
    font-size: 1.05rem;
    margin: 0 auto 22px;
    max-width: 680px;
}

.timeline {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent), var(--gold));
}

.timeline-item {
    position: relative;
    margin: 30px 0;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
    padding-right: 50px;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 50px;
}

.timeline-marker {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    top: 0;
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-marker {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-marker {
    left: -10px;
}

.tragedy .timeline-marker {
    background: #333;
    border: 3px solid var(--accent);
}

.attack .timeline-marker {
    background: #ff0000;
}

.conspiracy .timeline-marker {
    background: #ff9500;
}

.exploitation .timeline-marker {
    background: #ff0000;
}

.response .timeline-marker {
    background: #00ff00;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 18px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-content h3 {
    color: var(--accent);
    margin-bottom: 10px;
}

.timeline-content time {
    font-size: 0.9rem;
    color: #ccc;
    font-weight: 500;
}

.quote-box {
    background: rgba(46, 140, 255, 0.1);
    border-left: 4px solid var(--gold);
    padding: 15px;
    margin: 15px 0;
    border-radius: 5px;
    font-style: italic;
}

/* Analysis Section */
.analysis-section {
    background: #0a0a0a;
    color: white;
}

.analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.analysis-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.analysis-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(46, 140, 255, 0.25);
}

.card-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.analysis-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--accent);
}

.impact-meter {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.meter {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.meter-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.meter.critical .meter-fill {
    background: linear-gradient(90deg, var(--accent-deep), var(--accent));
}

.meter.high .meter-fill {
    background: linear-gradient(90deg, #ff9500, #ffaa00);
}

.impact-label, .impact-value {
    font-size: 0.9rem;
    font-weight: 500;
}

.comparison-section {
    margin-top: 50px;
}

.comparison-section h3 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--accent);
    font-size: 1.8rem;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.comparison-item {
    padding: 30px;
    border-radius: 15px;
    border: 2px solid;
}

.comparison-item.good {
    background: rgba(0, 255, 0, 0.05);
    border-color: #00ff00;
}

.comparison-item.bad {
    background: rgba(255, 0, 0, 0.05);
    border-color: #ff0000;
}

.comparison-item h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.comparison-item.good h4 {
    color: #00ff00;
}

.comparison-item.bad h4 {
    color: #ff0000;
}

.comparison-item ul {
    list-style: none;
}

.comparison-item li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.comparison-item.good li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00ff00;
    font-weight: bold;
}

.comparison-item.bad li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #ff0000;
    font-weight: bold;
}

/* Accountability Section */
.accountability-section {
    background: linear-gradient(135deg, #1a1a1a, #2d1b69);
    color: white;
}

.call-to-action {
    text-align: center;
    margin-bottom: 50px;
}

.call-to-action h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.action-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.action-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
    padding: 28px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--panel-border);
    transition: all 0.3s ease;
    box-shadow: 0 18px 40px rgba(255, 107, 107, 0.12), 0 0 0 1px rgba(255, 209, 102, 0.07) inset;
    backdrop-filter: blur(2px);
}

.action-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(255, 107, 107, 0.25), 0 0 0 1px rgba(255, 209, 102, 0.18) inset;
    border-color: rgba(255, 209, 102, 0.35);
}

.action-card i {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 16px;
}

.action-card h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    background: linear-gradient(180deg, #ffffff, #bfe1ff 40%, var(--accent) 60%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

.final-message {
    max-width: 800px;
    margin: 50px auto;
}

.message-box {
    background: rgba(46, 140, 255, 0.10);
    border: 1px solid rgba(46, 140, 255, 0.28);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
}

.photo-card { padding: 0; overflow: hidden; position: relative; }
.photo-card img.family-photo {
    width: 100%; height: 100%; display: block; object-fit: cover; min-height: 260px;
    filter: saturate(105%) contrast(102%);
}
.photo-card::after {
    content: '';
    position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,0.55) 100%);
}
.photo-card figcaption {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; color: #f6f3ea;
    font-family: 'Lora', serif; font-size: 0.95rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

.photo-card figcaption .caption-pill {
    display: inline-block;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,209,102,0.6);
    padding: 8px 12px;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.45), inset 0 0 10px rgba(255,209,102,0.15);
    color: #fff;
    backdrop-filter: blur(2px);
}

/* Accountability intro banner */
.accountability-intro {
    margin: 24px auto 10px;
    max-width: 920px;
    background: linear-gradient(180deg, rgba(46,140,255,0.12), rgba(255,209,102,0.10));
    border: 1px solid rgba(46,140,255,0.25);
    border-left: 4px solid var(--gold);
    padding: 20px 24px;
    border-radius: 12px;
    text-align: center;
}

.accountability-intro h3 {
    margin-bottom: 8px;
    color: var(--accent);
}

.accountability-intro p {
    color: #ddd;
}

@media (min-width: 1200px) {
    /* Encourage a balanced layout on very wide screens */
    .action-items { grid-template-columns: repeat(4, 1fr); }
}

.message-box h3 {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.signature {
    margin-top: 30px;
    font-size: 1.1rem;
}

.share-section {
    text-align: center;
    margin-top: 50px;
}

.share-section h3 {
    margin-bottom: 30px;
    color: var(--accent);
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.share-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.facebook {
    background: #4267b2;
    color: white;
}

.share-btn.email {
    background: #34495e;
    color: white;
}

.share-btn.tiktok {
    background: #000000;
    color: white;
}

.share-btn.universal {
    background: linear-gradient(135deg, var(--accent-deep), var(--accent));
    color: white;
    font-weight: bold;
    font-size: 16px;
    padding: 15px 30px;
    box-shadow: 0 5px 15px rgba(46, 140, 255, 0.35);
    animation: pulse 2s infinite;
}

.share-btn.universal:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 140, 255, 0.5);
}

@keyframes pulse {
    0% { box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3); }
    50% { box-shadow: 0 5px 25px rgba(255, 107, 107, 0.5); }
    100% { box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3); }
}

.share-description {
    margin-bottom: 20px;
    color: #ccc;
    font-size: 0.95rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.share-btn.instagram {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
    color: white;
}

.share-btn.copy {
    background: #95a5a6;
    color: white;
}

.share-btn.download {
    background: #2ecc71;
    color: white;
    text-decoration: none;
}

.video-actions {
    margin-top: 15px;
    text-align: center;
}

.download-video-btn {
    background: linear-gradient(45deg, var(--accent-deep), var(--accent));
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.download-video-btn:hover {
    background: linear-gradient(45deg, var(--accent), #21b0ff);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 140, 255, 0.35);
}

.download-video-btn i {
    font-size: 0.9rem;
}

.video-container {
    position: relative;
    width: 100%;
}

.video-fallback {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    z-index: 5;
    max-width: 400px;
}

.video-fallback h4 {
    color: var(--accent);
    margin-bottom: 15px;
}

.retry-btn {
    background: var(--accent);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.retry-btn:hover {
    background: #21b0ff;
    transform: translateY(-2px);
}

.video-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Footer */
.footer {
    background: #000;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: var(--accent);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #ccc;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .tribute-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .family-photo {
        height: 300px;
    }
    
    .clips-compilation-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 60px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }
    
    .timeline-item .timeline-marker {
        left: 10px !important;
        right: auto !important;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: center;
    }
    
    .share-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .source-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .clips-grid {
        grid-template-columns: 1fr;
    }
    
    .analysis-grid {
        grid-template-columns: 1fr;
    }
    
    .action-items {
        grid-template-columns: 1fr;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2aa1ff;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

.analysis-card,
.clip-card,
.action-card,
.timeline-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Print Styles */
@media print {
    .navigation,
    .share-section {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero-section {
        background: none;
        color: black;
    }
}/* Mobile cleanup: hide noisy overlays */
@media (max-width: 768px) {
  .video-status,
  .video-loading,
  .video-error { display: none !important; }
}
