:root {
    --bg-color: #0a0a0a;
    --text-color: #f0f0f0;
    --accent-red: #e74c3c;
    --accent-blue: #3498db;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
}

/* Breaking Banner */
.breaking-banner {
    background-color: var(--accent-red);
    color: white;
    padding: 10px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-heading);
}

.pulse {
    animation: pulse 1.5s infinite;
    display: inline-block;
    margin-right: 5px;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

/* Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header {
    margin-bottom: 20px;
    margin-top: 10px;
}

.header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-transform: uppercase;
    color: white;
    margin-bottom: 5px;
}

.subtitle {
    font-size: 0.9rem;
    color: #888;
}

.uploaded-time {
    color: var(--accent-red);
}

/* Video Player Simulation */
.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    background: #000;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    /* Ensure blur doesn't leak */
    background: #000;
}

.video-placeholder::before {
    content: "";
    position: absolute;
    top: -10px;
    right: -10px;
    bottom: -10px;
    left: -10px;
    /* Extend to avoid white edges */
    background: url('mozaique.jpg') no-repeat center center;
    background-size: cover;
    filter: blur(5px);
    /* The requested blur */
    opacity: 0.8;
}

/* Remove the old blur-bg */

.buffering-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.9);
    z-index: 20;
    color: white;
    text-align: center;
}

.buffering-container p {
    margin-top: 20px;
    font-size: 1.2rem;
    font-family: var(--font-body);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--accent-red);
    animation: spin 1s ease-in-out infinite;
}

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

.overlay {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.play-button {
    background: rgba(231, 76, 60, 0.9);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: transform 0.2s, background 0.2s;
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.5);
}

.play-button svg {
    fill: white;
    width: 40px;
    height: 40px;
    margin-left: 5px;
    /* Visual center adjustment */
}

.video-placeholder:hover .play-button {
    transform: scale(1.1);
    background: #c0392b;
}

.click-to-watch {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Actions */
.actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
}

.btn-primary {
    background-color: var(--accent-blue);
    color: white;
    flex: 1;
    justify-content: center;
    max-width: 300px;
    transition: background 0.2s;
}

.btn-primary:hover {
    background-color: #2980b9;
}

.stats {
    color: #aaa;
    font-size: 0.9rem;
    display: flex;
    gap: 15px;
}

/* Comments */
.comments-section {
    border-top: 1px solid #333;
    padding-top: 20px;
}

.comments-section h3 {
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.comment {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: var(--font-heading);
}

.text strong {
    display: block;
    margin-bottom: 4px;
    color: #ccc;
    font-size: 0.9rem;
}

.text p {
    color: #eee;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Glitch Effect (Simple) */
.glitch {
    position: relative;
    color: white;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 red;
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 blue;
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(12px, 9999px, 86px, 0);
    }

    20% {
        clip: rect(83px, 9999px, 15px, 0);
    }

    40% {
        clip: rect(26px, 9999px, 126px, 0);
    }

    60% {
        clip: rect(44px, 9999px, 2px, 0);
    }

    80% {
        clip: rect(104px, 9999px, 60px, 0);
    }

    100% {
        clip: rect(66px, 9999px, 86px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(65px, 9999px, 100px, 0);
    }

    20% {
        clip: rect(2px, 9999px, 11px, 0);
    }

    40% {
        clip: rect(32px, 9999px, 78px, 0);
    }

    60% {
        clip: rect(88px, 9999px, 32px, 0);
    }

    80% {
        clip: rect(4px, 9999px, 20px, 0);
    }

    100% {
        clip: rect(55px, 9999px, 92px, 0);
    }
}

/* SEO Text (Hidden/Small) */
.seo-text {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #222;
    color: #333;
    font-size: 0.7rem;
    text-align: center;
    line-height: 1.4;
}