:root {
        --video-section-height: 85vh;
        --video-section-min-height: 500px;
        --video-section-max-height: 700px;
        --video-accent: #c9a84c;
        --video-accent-hover: #d4b85c;
        --video-overlay-from: rgba(13, 27, 42, 0.85);
        --video-overlay-to: rgba(10, 21, 32, 0.75);
        --video-radius: 20px;
        --video-transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    
    .video-showcase-section {
        position: relative;
        width: 100%;
        height: var(--video-section-height);
        min-height: var(--video-section-min-height);
        max-height: var(--video-section-max-height);
        overflow: hidden;
        background: #0d1b2a;
        font-family: 'Yekan Bakh', 'IRANYekan', Tahoma, sans-serif;
        border-radius: 10px; /* این خط رو اضافه کنید */

    }
    
    .video-poster {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-color: #0d1b2a;
        z-index: 3;
        transition: opacity 0.8s ease;
        cursor: pointer;
    }
    
    .video-poster.hidden {
        opacity: 0;
        pointer-events: none;
    }
    
    .video-bg-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        opacity: 0;
        transition: opacity 0.8s ease;
    }
    
    .video-bg-wrapper.active {
        opacity: 1;
    }
    
    .video-bg {
        position: absolute;
        top: 50%;
        left: 50%;
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        transform: translate(-50%, -50%);
        object-fit: cover;
    }
    
    .video-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(
            135deg,
            var(--video-overlay-from) 0%,
            rgba(26, 43, 76, 0.6) 50%,
            var(--video-overlay-to) 100%
        );
        z-index: 2;
        pointer-events: none;
        transition: opacity 0.6s ease;
    }
    
    .video-overlay::after {
        content: '';
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 100%;
        background-image: 
            linear-gradient(rgba(201, 168, 76, 0.03) 1px, transparent 1px),
            linear-gradient(90deg, rgba(201, 168, 76, 0.03) 1px, transparent 1px);
        background-size: 60px 60px;
        opacity: 0.5;
    }
    
    .video-content-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 4;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: opacity 0.5s ease, visibility 0.5s ease;
    }
    
    .video-content-overlay.fade-out {
        opacity: 0;
        visibility: hidden;
    }
    
    .video-content-inner {
        max-width: 700px;
        padding: 2rem;
        text-align: center;
        direction: rtl;
        animation: fadeInUp 0.8s ease;
    }
    
    @keyframes fadeInUp {
        from { opacity: 0; transform: translateY(30px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .video-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.75rem;
        background: rgba(201, 168, 76, 0.15);
        color: var(--video-accent);
        border: 1px solid rgba(201, 168, 76, 0.3);
        padding: 0.5rem 1.5rem;
        border-radius: 50px;
        font-size: 0.9rem;
        font-weight: 600;
        letter-spacing: 1px;
        margin-bottom: 2rem;
        backdrop-filter: blur(10px);
        animation: glowPulse 2s ease-in-out infinite;
    }
    
    @keyframes glowPulse {
        0%, 100% { box-shadow: 0 0 20px rgba(201, 168, 76, 0.1); }
        50% { box-shadow: 0 0 30px rgba(201, 168, 76, 0.25); }
    }
    
    .video-badge .badge-dot {
        width: 8px; height: 8px;
        background: var(--video-accent);
        border-radius: 50%;
        animation: dotPulse 1.5s ease-in-out infinite;
    }
    
    @keyframes dotPulse {
        0%, 100% { transform: scale(1); opacity: 1; }
        50% { transform: scale(1.8); opacity: 0.4; }
    }
    
    .video-title {
        font-size: 3rem;
        font-weight: 900;
        color: #ffffff;
        margin: 0 0 1.2rem;
        line-height: 1.35;
        text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
    }
    
    .video-title .highlight {
        color: var(--video-accent);
        position: relative;
        display: inline-block;
    }
    
    .video-title .highlight::after {
        content: '';
        position: absolute;
        bottom: 0; left: 0;
        width: 100%; height: 6px;
        background: rgba(201, 168, 76, 0.25);
        border-radius: 3px;
    }
    
    .video-subtitle {
        font-size: 1.15rem;
        color: rgba(255, 255, 255, 0.8);
        line-height: 1.9;
        margin-bottom: 2.5rem;
        max-width: 550px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .video-buttons {
        display: flex;
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .video-btn {
        display: inline-flex;
        align-items: center;
        gap: 0.65rem;
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
        font-weight: 700;
        text-decoration: none;
        border-radius: 50px;
        transition: var(--video-transition);
        position: relative;
        overflow: hidden;
        z-index: 1;
        cursor: pointer;
        border: none;
        font-family: inherit;
    }
    
    .video-btn-primary {
        background: linear-gradient(135deg, var(--video-accent) 0%, #b8942f 100%);
        color: #1a1a1a;
        box-shadow: 0 10px 30px rgba(201, 168, 76, 0.4);
    }
    
    .video-btn-primary:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(201, 168, 76, 0.6);
    }
    
    .video-btn-ghost {
        background: transparent;
        color: #ffffff;
        border: 2px solid rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(10px);
    }
    
    .video-btn-ghost:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.5);
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    
    .video-center-play {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(20px);
        border: 3px solid rgba(255, 255, 255, 0.3);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        margin: 0 auto 2rem;
        transition: var(--video-transition);
        animation: playPulse 2s ease-in-out infinite;
    }
    
    @keyframes playPulse {
        0%, 100% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.4); }
        50% { box-shadow: 0 0 0 30px rgba(201, 168, 76, 0); }
    }
    
    .video-center-play:hover {
        background: var(--video-accent);
        border-color: var(--video-accent);
        transform: scale(1.1);
        box-shadow: 0 15px 40px rgba(201, 168, 76, 0.5);
        animation: none;
    }
    
    .video-center-play svg {
        width: 40px;
        height: 40px;
        color: #ffffff;
        margin-right: 6px;
        transition: var(--video-transition);
    }
    
    .video-center-play:hover svg {
        color: #1a1a1a;
    }
    
    .video-center-play .ripple {
        position: absolute;
        top: 50%; left: 50%;
        width: 100%; height: 100%;
        border-radius: 50%;
        border: 2px solid rgba(255, 255, 255, 0.4);
        transform: translate(-50%, -50%) scale(0.8);
        animation: rippleEffect 2s ease-out infinite;
    }
    
    .video-center-play .ripple:nth-child(2) { animation-delay: 0.5s; }
    .video-center-play .ripple:nth-child(3) { animation-delay: 1s; }
    
    @keyframes rippleEffect {
        0% { transform: translate(-50%, -50%) scale(0.8); opacity: 1; }
        100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
    }
    
    .video-control-bar {
        position: absolute;
        bottom: 30px;
        right: 30px;
        left: 30px;
        z-index: 5;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
    }
    
    .video-control-bar.visible {
        opacity: 1;
        visibility: visible;
    }
    
    .video-control-left {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }
    
    .video-control-right {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }
    
    .video-play-small {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.25);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: var(--video-transition);
        color: white;
    }
    
    .video-play-small:hover {
        background: var(--video-accent);
        border-color: var(--video-accent);
        color: #1a1a1a;
        transform: scale(1.1);
    }
    
    .video-play-small svg {
        width: 18px;
        height: 18px;
    }
    
    .video-mute-small {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: var(--video-transition);
        color: white;
        font-size: 1.1rem;
    }
    
    .video-mute-small:hover {
        background: rgba(0, 0, 0, 0.6);
        border-color: rgba(255, 255, 255, 0.5);
        transform: scale(1.1);
    }
    
    .video-progress-container {
        flex: 1;
        height: 4px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 2px;
        cursor: pointer;
        position: relative;
        max-width: 400px;
    }
    
    .video-progress-fill {
        height: 100%;
        background: var(--video-accent);
        border-radius: 2px;
        width: 0%;
        transition: width 0.1s linear;
    }
    
    .video-time {
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.8rem;
        font-family: 'Inter', monospace;
        direction: ltr;
        min-width: 80px;
        text-align: center;
    }
    
    @media (max-width: 768px) {
        .video-showcase-section {
            height: 75vh;
            min-height: 420px;
            max-height: 600px;
            border-radius: 10px; /* این خط رو اضافه کنید */

        }
        
        .video-title { font-size: 2rem; }
        .video-subtitle { font-size: 1rem; }
        .video-center-play { width: 80px; height: 80px; }
        .video-center-play svg { width: 32px; height: 32px; }
        .video-btn { padding: 0.75rem 1.5rem; font-size: 0.85rem; }
        
        .video-control-bar {
            bottom: 20px;
            right: 15px;
            left: 15px;
            flex-wrap: wrap;
            justify-content: center;
        }
        
        .video-progress-container { max-width: 100%; order: -1; width: 100%; }
    }
    
    @media (max-width: 480px) {
    .video-showcase-section {
        height: 65vh;
        min-height: 350px;
        max-height: 500px;
    }
    
    .video-title { font-size: 1.6rem; }
    .video-badge { font-size: 0.75rem; padding: 0.4rem 1rem; }
    
    /* دکمه‌ها - تنظیمات جدید */
    .video-buttons {
        flex-direction: row; /* به جای column */
        justify-content: center; /* وسط‌چین */
        gap: 0;
    }
    
    /* مخفی کردن دکمه secondary (ghost) */
    .video-btn-ghost {
        display: none !important;
    }
    
    /* کوچک‌سازی و تنظیم دکمه طلایی */
    .video-btn-primary {
        width: auto; /* حذف عرض کامل */
        padding: 0.45rem 1.2rem; /* کاهش padding */
        font-size: 0.75rem; /* کاهش سایز فونت */
        justify-content: center;
    }
    
    .video-center-play { width: 65px; height: 65px; }
    .video-center-play svg { width: 26px; height: 26px; }
}