/* Featured Watch / Video Tutorials Section on Home */
.featured-watch-section {
    padding: 6rem 2rem 5rem;
    background: var(--primary-bg);
    position: relative;
    overflow: hidden;
}

.featured-watch-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top right, rgba(239, 68, 68, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.watch-section-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.watch-section-heading-wrapper {
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 2rem;
    animation: fadeInDown 0.8s ease-out;
}

.watch-section-main-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ef4444, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.watch-section-main-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.6;
}

.watch-section-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.watch-section-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.watch-section-card:nth-child(1) { animation-delay: 0.1s; }
.watch-section-card:nth-child(2) { animation-delay: 0.15s; }
.watch-section-card:nth-child(3) { animation-delay: 0.2s; }
.watch-section-card:nth-child(4) { animation-delay: 0.25s; }
.watch-section-card:nth-child(5) { animation-delay: 0.3s; }
.watch-section-card:nth-child(6) { animation-delay: 0.35s; }

.watch-section-card:hover {
    transform: translateY(-6px);
    border-color: #ef4444;
    box-shadow: 0 12px 40px rgba(239, 68, 68, 0.25);
}

.watch-section-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0a0a0a;
}

.watch-section-thumb {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    margin: 0;
    cursor: pointer;
    overflow: hidden;
    background: #0a0a0a;
    -webkit-tap-highlight-color: transparent;
}

.watch-section-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
    pointer-events: none;
}

.watch-section-card:hover .watch-section-thumb img {
    transform: scale(1.05);
}

.watch-section-card.is-playing {
    transform: none;
    border-color: #ef4444;
    box-shadow: 0 12px 40px rgba(239, 68, 68, 0.22);
}

.watch-section-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: #000;
    aspect-ratio: 16 / 9;
}

.watch-section-title-btn {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    font-weight: inherit;
    text-align: left;
    cursor: pointer;
    line-height: inherit;
}

.watch-section-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.28);
    transition: background 0.25s ease;
    pointer-events: none;
}

.watch-section-card:hover .watch-section-play {
    background: rgba(0, 0, 0, 0.42);
}

.watch-section-play-icon {
    width: 58px;
    height: 41px;
    transition: transform 0.2s ease;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
}

.watch-section-card:hover .watch-section-play-icon {
    transform: scale(1.08);
}

.watch-section-level {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.28rem 0.6rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    backdrop-filter: blur(8px);
}

.watch-section-level.level-beginner {
    background: rgba(46, 213, 115, 0.2);
    color: #2ed573;
    border: 1px solid rgba(46, 213, 115, 0.35);
}

.watch-section-level.level-intermediate {
    background: rgba(255, 165, 2, 0.2);
    color: #ffa502;
    border: 1px solid rgba(255, 165, 2, 0.35);
}

.watch-section-level.level-advanced {
    background: rgba(255, 71, 87, 0.2);
    color: #ff6b7a;
    border: 1px solid rgba(255, 71, 87, 0.35);
}

.watch-section-content {
    padding: 1.35rem 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    flex: 1;
}

.watch-section-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.35;
}

.watch-section-title a,
.watch-section-title-btn {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.watch-section-title a:hover,
.watch-section-title-btn:hover {
    color: #ef4444;
}

.watch-section-meta {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.watch-section-tool {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-primary, #00d4ff);
    text-decoration: none;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.watch-section-tool:hover {
    color: var(--accent-secondary, #00ff88);
}

.watch-section-tool svg {
    flex-shrink: 0;
}

.watch-section-watch-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: auto;
    padding: 0.2rem 0.15rem;
    border: 0;
    background: none;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease, gap 0.2s ease;
}

.watch-section-watch-link:hover {
    color: #ef4444;
    gap: 0.5rem;
}

.watch-section-footer {
    text-align: center;
    margin-top: 2.5rem;
}

.view-all-watch-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.view-all-watch-btn:hover {
    background: linear-gradient(135deg, #dc2626, #ea580c);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

.view-all-watch-btn .btn-arrow {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.view-all-watch-btn:hover .btn-arrow {
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .watch-section-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .featured-watch-section {
        padding: 4rem 1.5rem 3rem;
    }

    .watch-section-heading-wrapper {
        margin-bottom: 3rem;
        padding: 0 1rem;
    }

    .watch-section-main-title {
        font-size: 1.75rem;
    }

    .watch-section-main-subtitle {
        font-size: 1rem;
    }

    .watch-section-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .watch-section-title {
        font-size: 1.05rem;
    }

    .view-all-watch-btn {
        padding: 0.85rem 2rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .featured-watch-section {
        padding: 3.5rem 1rem 2.5rem;
    }

    .watch-section-content {
        padding: 1.25rem;
    }

    .watch-section-title {
        font-size: 1rem;
    }
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
