:root {
    --video-bg: #020b16;
    --video-card: rgba(7, 19, 33, 0.78);
    --video-stroke: rgba(255, 255, 255, 0.08);
    --video-text: #e6f4ff;
    --video-muted: rgba(230, 244, 255, 0.75);
    --video-accent: #ef4444;
    --video-accent-alt: #dc2626;
    --video-gradient-start: #0a1628;
    --video-gradient-end: #1a2f4a;
    --video-shadow: 0 25px 55px rgba(4, 20, 40, 0.45);
    --video-radius: 0;
}

.video-hero {
    background: radial-gradient(circle at top right, rgba(239, 68, 68, 0.25), transparent),
        linear-gradient(135deg, rgba(10, 22, 40, 0.95), rgba(26, 47, 74, 0.95));
    padding: 40px 0 24px;
    color: var(--video-text);
    position: relative;
    overflow: hidden;
}

.video-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/icon-hero.jpeg') center/cover;
    opacity: 0.08;
    mix-blend-mode: screen;
}

.video-hero .dp-container {
    position: relative;
    z-index: 1;
}

.video-hero__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    align-items: center;
}

.video-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.92rem;
    letter-spacing: 0.03em;
    color: var(--video-accent);
}

.video-hero__content h1 {
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    margin: 16px 0;
    line-height: 1.2;
    font-weight: 700;
}

.video-hero__content p {
    color: var(--video-muted);
    max-width: 560px;
    line-height: 1.6;
}

.video-hero__meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.video-hero__meta article {
    border: 1px solid var(--video-stroke);
    padding: 16px;
    border-radius: var(--video-radius);
    background: rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
}

.video-hero__meta article:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(239, 68, 68, 0.3);
    transform: translateY(-2px);
}

.video-hero__meta span {
    font-size: 0.85rem;
    color: var(--video-muted);
    display: block;
    margin-bottom: 4px;
}

.video-hero__meta strong {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--video-text);
}

.video-hero__visual {
    text-align: center;
    position: relative;
    padding: 20px;
}

.video-hero__device {
    position: relative;
    width: 280px;
    height: 200px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(59, 130, 246, 0.15));
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    padding: 16px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.video-hero__screen {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-hero__play-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(239, 68, 68, 0.3);
    border: 2px solid rgba(239, 68, 68, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--video-accent);
    font-size: 1.5rem;
    z-index: 2;
    animation: pulse-play 2s ease-in-out infinite;
}

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

.video-hero__play-icon i {
    margin-left: 3px;
}

.video-hero__waves {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.wave {
    width: 4px;
    height: 40px;
    background: var(--video-accent);
    border-radius: 2px;
    animation: wave-animation 1.5s ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes wave-animation {
    0%, 100% { transform: scaleY(0.3); opacity: 0.5; }
    50% { transform: scaleY(1); opacity: 1; }
}

.video-hero__bubbles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.bubble {
    position: absolute;
    width: var(--size);
    height: var(--size);
    background: radial-gradient(circle, rgba(239, 68, 68, 0.1), transparent);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 50%;
    left: var(--x);
    top: var(--y);
    animation: bubble-float var(--duration) ease-in-out infinite;
}

@keyframes bubble-float {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    50% { transform: translate(20px, -30px) scale(1.1); opacity: 0.8; }
}

.video-main {
    background: var(--video-bg);
    color: var(--video-text);
    padding: 40px 0;
    min-height: 60vh;
}

.video-main__grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}

.video-section {
    background: var(--video-card);
    border: 1px solid var(--video-stroke);
    padding: 32px;
    margin-bottom: 24px;
    border-radius: var(--video-radius);
    box-shadow: var(--video-shadow);
}

.video-section__header {
    margin-bottom: 24px;
}

.video-section__header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--video-text);
}

.video-section__header h2 i {
    color: var(--video-accent);
}

.video-section__header p {
    color: var(--video-muted);
    margin: 0;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.video-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--video-stroke);
    border-radius: var(--video-radius);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    border-color: rgba(239, 68, 68, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(239, 68, 68, 0.2);
}

.video-card__player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}

.video-card__player iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.video-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--video-muted);
    gap: 12px;
}

.video-card__placeholder i {
    font-size: 3rem;
    opacity: 0.5;
}

.video-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.video-card__body h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    color: var(--video-text);
}

.video-card__description {
    color: var(--video-muted);
    margin: 0;
    line-height: 1.6;
}

.video-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    flex-wrap: wrap;
}

.video-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.video-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--video-muted);
}

.video-meta-item i {
    color: var(--video-accent);
}

.video-card__youtube-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--video-accent), #dc2626);
    border: none;
    color: white;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.video-card__youtube-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}

.video-empty {
    text-align: center;
    padding: 48px 16px;
    color: var(--video-muted);
}

.video-empty i {
    font-size: 3rem;
    display: block;
    margin-bottom: 16px;
    opacity: 0.5;
}

.video-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.video-sidebar__card {
    background: var(--video-card);
    border: 1px solid var(--video-stroke);
    border-radius: var(--video-radius);
    box-shadow: var(--video-shadow);
    overflow: hidden;
}

.video-sidebar__card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: rgba(239, 68, 68, 0.1);
    border-bottom: 1px solid var(--video-stroke);
}

.video-sidebar__card-header i {
    color: var(--video-accent);
    font-size: 1.2rem;
}

.video-sidebar__card-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: var(--video-text);
}

.video-sidebar__stats {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.video-stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--video-stroke);
    border-radius: var(--video-radius);
    transition: all 0.3s ease;
}

.video-stat-item:hover {
    background: rgba(0, 0, 0, 0.3);
    border-color: var(--video-accent);
    transform: translateX(4px);
}

.video-stat-item__icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.video-stat-item__content {
    flex: 1;
}

.video-stat-item__content span {
    display: block;
    font-size: 0.85rem;
    color: var(--video-muted);
    margin-bottom: 4px;
}

.video-stat-item__content strong {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--video-text);
}

.video-sidebar__info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.video-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--video-stroke);
    border-radius: var(--video-radius);
}

.video-info-item i {
    color: var(--video-accent);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.video-info-item span {
    display: block;
    font-size: 0.85rem;
    color: var(--video-muted);
    margin-bottom: 4px;
}

.video-info-item strong {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--video-text);
}

.video-sidebar__tips {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.video-tip {
    display: flex;
    align-items: start;
    gap: 12px;
    padding: 16px;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--video-radius);
}

.video-tip i {
    color: var(--video-accent);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.video-tip p {
    margin: 0;
    color: var(--video-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .video-main__grid {
        grid-template-columns: 1fr;
    }

    .video-sidebar {
        position: static;
    }

    .video-hero__grid {
        grid-template-columns: 1fr;
    }

    .video-hero__visual {
        display: none;
    }
}

@media (max-width: 768px) {
    .video-hero {
        padding: 32px 0 20px;
    }

    .video-hero__meta {
        grid-template-columns: 1fr;
    }

    .video-section {
        padding: 24px;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }
}
