* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    color: #ffffff;
    min-height: 100vh;
    direction: rtl;
}

/* Skip to content link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: #fff;
    padding: 12px 20px;
    text-decoration: none;
    z-index: 10000;
    border-radius: 4px;
    font-weight: bold;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid #ff9900;
    outline-offset: 2px;
}

/* Header */
.header {
    background: linear-gradient(90deg, #000000 0%, #1a1a1a 100%);
    padding: 1rem 2rem;
    box-shadow: 0 2px 20px rgba(255, 153, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2.2rem;
    font-weight: bold;
    background: linear-gradient(45deg, #ff9900, #ffcc00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 153, 0, 0.3);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.nav-menu a:hover,
.nav-menu a:focus {
    color: #ff9900;
    background: rgba(255, 153, 0, 0.1);
    transform: translateY(-2px);
    outline: 2px solid rgba(255, 153, 0, 0.3);
    outline-offset: 2px;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #ff9900;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover span,
.mobile-menu-toggle:focus span {
    background: #ffcc00;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 2rem;
    text-align: center;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 2rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    background: #000;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
}

.video-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    opacity: 0;
}

.video-image.loaded {
    opacity: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 70%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 5;
}

/* Play Button */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #ff9900 0%, #ffcc00 100%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 153, 0, 0.4);
    z-index: 10;
}

.play-button:hover,
.play-button:focus {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(255, 153, 0, 0.6);
    background: linear-gradient(135deg, #ffaa00 0%, #ffdd00 100%);
    outline: 3px solid rgba(255, 153, 0, 0.5);
    outline-offset: 4px;
}

.play-button::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 25px solid #000;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    margin-left: 8px;
}

/* Video Info */
.video-info {
    text-align: right;
    padding: 0 1rem;
}

.video-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, #ff9900);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.video-description {
    font-size: 1.1rem;
    color: #cccccc;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Stats Bar */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff9900;
}

.stat-label {
    font-size: 0.9rem;
    color: #cccccc;
}

/* Loading Animation */
.loading-spinner {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 153, 0, 0.3);
    border-radius: 50%;
    border-top-color: #ff9900;
    animation: spin 1s ease-in-out infinite;
    z-index: 15;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero {
        max-width: 900px;
    }
}

@media (max-width: 992px) {
    .hero {
        max-width: 750px;
    }
    
    .video-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }
    
    .logo {
        font-size: 1.8rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        max-width: 300px;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        border-radius: 0 0 20px 20px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
        transition: right 0.3s ease;
        z-index: 99;
        border: 1px solid rgba(255, 153, 0, 0.2);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hero {
        margin: 2rem auto;
        padding: 1rem;
    }
    
    .video-title {
        font-size: 1.5rem;
    }
    
    .play-button {
        width: 80px;
        height: 80px;
    }
    
    .play-button::before {
        border-left: 20px solid #000;
        border-top: 12px solid transparent;
        border-bottom: 12px solid transparent;
    }
    
    .stats-bar {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .play-button {
        width: 70px;
        height: 70px;
    }
    
    .stats-bar {
        gap: 0.5rem;
        padding: 0.75rem;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
}

