/**
 * YouTube Vanced Theme Main Stylesheet
 *
 * Modern Dark UI with Neon Glow Accents, Mobile & PC Responsive,
 * Ultra-fast Performance & SEO friendly.
 *
 * @package YouTubeVanced
 */

:root {
    --ytv-bg: #000000;
    --ytv-bg-alt: #080a10;
    --ytv-surface: #0e111a;
    --ytv-surface-card: #141824;
    --ytv-surface-hover: #1b2030;
    --ytv-border: rgba(255, 255, 255, 0.1);
    --ytv-border-subtle: rgba(255, 255, 255, 0.06);

    /* Vanced Blue & Neon Palette (Matching screenshot) */
    --ytv-blue: #0d6efd;
    --ytv-blue-hover: #0b5ed7;
    --ytv-blue-glow: rgba(13, 110, 253, 0.45);
    --ytv-cyan-glow: rgba(0, 160, 255, 0.45);
    --ytv-red: #ff0000;
    --ytv-yellow: #f59e0b;
    --ytv-green: #10b981;
    --ytv-purple: #8b5cf6;

    /* Typography */
    --ytv-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --ytv-font-display: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --ytv-text-primary: #ffffff;
    --ytv-text-secondary: #94a3b8;
    --ytv-text-muted: #64748b;

    /* Spacing & Radii */
    --ytv-radius-sm: 6px;
    --ytv-radius-md: 10px;
    --ytv-radius-lg: 16px;
    --ytv-radius-full: 9999px;
    --ytv-max-width: 1200px;
}

/* -------------------------------------------------------------
 * 1. BASE & RESET
 * ------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--ytv-bg);
    color: var(--ytv-text-primary);
    font-family: var(--ytv-font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--ytv-blue);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
    color: #3b82f6;
}

.ytv-site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.ytv-main-content {
    flex: 1;
}

.ytv-container {
    width: 100%;
    max-width: var(--ytv-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* -------------------------------------------------------------
 * 2. GLOWING HEADER & NAVIGATION (Matches User Screenshot)
 * ------------------------------------------------------------- */
.ytv-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 0;
}

/* Outer frame with subtle blue glowing border */
.ytv-header__frame {
    border: 1px solid rgba(0, 140, 255, 0.35);
    border-radius: var(--ytv-radius-md);
    background: #000000;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.ytv-header__frame--glow {
    border-color: rgba(0, 160, 255, 0.45);
    box-shadow: 0 0 16px rgba(0, 140, 255, 0.25), inset 0 0 8px rgba(0, 140, 255, 0.05);
}

.ytv-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
}

/* Logo */
.ytv-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    user-select: none;
}

.ytv-logo__icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ytv-logo__img {
    border-radius: 8px;
    object-fit: contain;
    filter: drop-shadow(0 2px 10px rgba(0, 140, 255, 0.45));
    transition: transform 0.2s ease;
}

.ytv-logo:hover .ytv-logo__img {
    transform: scale(1.08);
}

.ytv-logo__badge {
    filter: drop-shadow(0 2px 8px rgba(255, 0, 0, 0.4));
}

.ytv-logo__text {
    font-family: var(--ytv-font-display);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.ytv-logo__text span {
    color: #ffffff;
    font-weight: 800;
}

/* Desktop Nav Menu */
.ytv-header__nav {
    display: flex;
    align-items: center;
}

.ytv-nav-list {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
}

.ytv-nav-item {
    position: relative;
}

.ytv-nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: #cbd5e1;
    padding: 6px 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

.ytv-nav-link:hover,
.ytv-nav-item--active .ytv-nav-link {
    color: #ffffff;
}

.ytv-dropdown-arrow {
    display: inline-flex;
    transition: transform 0.2s ease;
}

.ytv-has-dropdown:hover .ytv-dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.ytv-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 190px;
    background: #0d111a;
    border: 1px solid var(--ytv-border);
    border-radius: var(--ytv-radius-sm);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.7);
    padding: 8px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
}

.ytv-has-dropdown:hover .ytv-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ytv-dropdown-link {
    display: block;
    padding: 8px 16px;
    font-size: 0.88rem;
    color: #94a3b8;
}

.ytv-dropdown-link:hover {
    color: #ffffff;
    background-color: var(--ytv-surface-hover);
}

/* Header Tools & Language Switcher (Subdomains en, id, pt, es) */
.ytv-header__tools {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ytv-lang-dropdown {
    position: relative;
    user-select: none;
    display: inline-block;
    z-index: 1050;
}

button.ytv-lang-dropdown__btn {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: #0b101c !important;
    border: 1px solid rgba(0, 140, 255, 0.45) !important;
    border-radius: var(--ytv-radius-full) !important;
    padding: 6px 14px !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    cursor: pointer !important;
    outline: none !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 0 10px rgba(0, 140, 255, 0.2) !important;
    line-height: 1.2 !important;
}

button.ytv-lang-dropdown__btn:hover,
.ytv-lang-dropdown:hover button.ytv-lang-dropdown__btn,
.ytv-lang-dropdown.ytv-lang-dropdown--open button.ytv-lang-dropdown__btn {
    border-color: rgba(0, 160, 255, 0.8) !important;
    box-shadow: 0 0 16px rgba(0, 160, 255, 0.45) !important;
    color: #ffffff !important;
    background: #0f1626 !important;
}

.ytv-lang-flag {
    font-size: 1.15em !important;
    line-height: 1 !important;
    display: inline-block !important;
}

.ytv-lang-code {
    letter-spacing: 0.05em !important;
    font-weight: 700 !important;
    color: #ffffff !important;
}

.ytv-lang-arrow {
    transition: transform 0.2s ease !important;
    color: #94a3b8 !important;
    display: inline-block !important;
}

.ytv-lang-dropdown:hover .ytv-lang-arrow,
.ytv-lang-dropdown.ytv-lang-dropdown--open .ytv-lang-arrow {
    transform: rotate(180deg) !important;
}

/* Force removal of all default browser bullet lists */
.ytv-lang-dropdown ul,
.ytv-lang-dropdown ul.ytv-lang-dropdown__menu,
.ytv-lang-dropdown li,
.ytv-lang-dropdown li.ytv-lang-dropdown__item {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ytv-lang-dropdown__menu {
    display: none !important;
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    min-width: 230px !important;
    background: #090d18 !important;
    border: 1px solid rgba(0, 140, 255, 0.45) !important;
    border-radius: var(--ytv-radius-md) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.95), 0 0 20px rgba(0, 140, 255, 0.25) !important;
    padding: 6px !important;
    z-index: 999999 !important;
}

.ytv-lang-dropdown:hover .ytv-lang-dropdown__menu,
.ytv-lang-dropdown.ytv-lang-dropdown--open .ytv-lang-dropdown__menu {
    display: block !important;
}

.ytv-lang-dropdown__item {
    margin: 3px 0 !important;
}

.ytv-lang-dropdown__link {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 8px 12px !important;
    border-radius: var(--ytv-radius-sm) !important;
    color: #cbd5e1 !important;
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.15s ease !important;
    background: transparent !important;
}

.ytv-lang-dropdown__link:hover {
    background: rgba(13, 110, 253, 0.2) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.ytv-lang-dropdown__item--active .ytv-lang-dropdown__link {
    background: rgba(13, 110, 253, 0.3) !important;
    color: #60a5fa !important;
    font-weight: 700 !important;
}

.ytv-lang-name {
    flex: 1 !important;
    color: inherit !important;
}

.ytv-lang-subdomain {
    font-size: 0.78rem !important;
    color: var(--ytv-text-muted) !important;
    font-family: monospace !important;
}

.ytv-lang-active-check {
    color: #10b981 !important;
    font-weight: bold !important;
}

/* Footer Multilingual Styles */
.ytv-footer-lang-list {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.ytv-footer-lang-item {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ytv-footer-lang-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 6px 12px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid var(--ytv-border) !important;
    border-radius: var(--ytv-radius-sm) !important;
    color: #94a3b8 !important;
    font-size: 0.85rem !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.ytv-footer-lang-link:hover {
    background: rgba(13, 110, 253, 0.2) !important;
    border-color: rgba(13, 110, 253, 0.5) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.ytv-footer-lang-item--active .ytv-footer-lang-link {
    background: rgba(13, 110, 253, 0.25) !important;
    border-color: #0d6efd !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

/* Mobile Hamburger Toggle */
.ytv-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.ytv-hamburger__line {
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.25s ease;
}

/* -------------------------------------------------------------
 * 3. HERO SHOWCASE (Uses vanced-bg.webp as Main Dev BG)
 * ------------------------------------------------------------- */
.ytv-hero {
    position: relative;
    padding: 70px 0 90px;
    background-color: #000000;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.8) 100%), url('../images/vanced-bg.webp');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    text-align: center;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.ytv-hero__inner {
    max-width: 900px;
    margin: 0 auto;
}

.ytv-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(13, 110, 253, 0.2);
    border: 1px solid rgba(13, 110, 253, 0.45);
    color: #60a5fa;
    border-radius: var(--ytv-radius-full);
    padding: 6px 18px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
}

.ytv-badge-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
    animation: ytv-pulse 2s infinite;
}

@keyframes ytv-pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.ytv-hero__title {
    font-family: var(--ytv-font-display);
    font-size: 3.8rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 18px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.ytv-hero__desc {
    font-size: 1.2rem;
    color: #e2e8f0;
    max-width: 720px;
    margin: 0 auto 28px;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* Hero Quick Specs Pills */
.ytv-hero__specs-pills {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 auto 34px;
}

.ytv-hero-pill {
    background: rgba(13, 110, 253, 0.18);
    border: 1px solid rgba(0, 140, 255, 0.35);
    color: #93c5fd;
    padding: 6px 16px;
    border-radius: var(--ytv-radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Hero Download Button (Matching user screenshot button) */
.ytv-hero__action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.ytv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--ytv-radius-sm);
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.25s ease;
}

.ytv-btn--download,
.ytv-btn--primary {
    background-color: var(--ytv-blue);
    color: #ffffff !important;
    box-shadow: 0 4px 18px var(--ytv-blue-glow);
}

.ytv-btn--download:hover,
.ytv-btn--primary:hover {
    background-color: var(--ytv-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(13, 110, 253, 0.6);
}

.ytv-btn--secondary {
    background-color: #d97706;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}

.ytv-btn--secondary:hover {
    background-color: #b45309;
    transform: translateY(-2px);
}

.ytv-btn--outline {
    background: transparent;
    color: #ffffff !important;
    border: 1px solid var(--ytv-border);
}

.ytv-btn--outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #ffffff;
}

.ytv-btn--lg {
    padding: 16px 36px;
    font-size: 1.15rem;
    border-radius: var(--ytv-radius-md);
}

.ytv-btn--full {
    width: 100%;
}

.ytv-btn--sm {
    padding: 8px 16px;
    font-size: 0.88rem;
}

.ytv-hero__meta-sub {
    font-size: 0.85rem;
    color: var(--ytv-text-muted);
}

/* -------------------------------------------------------------
 * 4. DOWNLOAD CARDS & PACKAGES
 * ------------------------------------------------------------- */
.ytv-downloads-section,
.ytv-companion-section,
.ytv-features-section,
.ytv-install-section,
.ytv-faq-section,
.ytv-specs-section {
    padding: 60px 0;
}

.ytv-section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
}

.ytv-pill,
.ytv-dl-pill {
    display: inline-block;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--ytv-border);
    color: #94a3b8;
    border-radius: var(--ytv-radius-full);
    padding: 4px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.ytv-section-title {
    font-family: var(--ytv-font-display);
    font-size: 2.25rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 12px;
}

.ytv-section-desc {
    font-size: 1.05rem;
    color: var(--ytv-text-secondary);
}

.ytv-subheading {
    font-family: var(--ytv-font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
}

/* Cards Grid */
.ytv-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.ytv-cards-grid--2col {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.ytv-card {
    position: relative;
    background: var(--ytv-surface-card);
    border: 1px solid var(--ytv-border);
    border-radius: var(--ytv-radius-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.ytv-card:hover {
    transform: translateY(-4px);
    border-color: rgba(13, 110, 253, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.ytv-card--featured {
    border-color: rgba(13, 110, 253, 0.5);
    background: linear-gradient(180deg, #161c2c 0%, var(--ytv-surface-card) 100%);
    box-shadow: 0 0 24px rgba(13, 110, 253, 0.15);
}

.ytv-card__badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--ytv-blue);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: var(--ytv-radius-full);
    letter-spacing: 0.05em;
}

.ytv-card__badge--yellow {
    background: var(--ytv-yellow);
}

.ytv-card__top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.ytv-card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--ytv-radius-md);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ytv-card__icon--red { color: #ff0000; }
.ytv-card__icon--yellow { color: #f59e0b; }
.ytv-card__icon--blue { color: #3b82f6; }
.ytv-card__icon--purple { color: #8b5cf6; }

.ytv-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.ytv-card__tag {
    font-size: 0.8rem;
    color: var(--ytv-text-muted);
}

.ytv-card__specs {
    display: flex;
    gap: 14px;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 12px;
    border-radius: var(--ytv-radius-sm);
    font-size: 0.85rem;
    color: #cbd5e1;
    margin-bottom: 16px;
}

.ytv-card__desc {
    font-size: 0.92rem;
    color: var(--ytv-text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.ytv-card__list {
    list-style: none;
    margin-bottom: 24px;
}

.ytv-card__list li {
    font-size: 0.88rem;
    color: #cbd5e1;
    padding: 4px 0 4px 22px;
    position: relative;
}

.ytv-card__list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* -------------------------------------------------------------
 * 5. DOWNLOAD PAGE UI (Modeled after youtubevanced.org/vanced/download/)
 * ------------------------------------------------------------- */
.ytv-download-page-ui {
    padding-top: 30px;
}

.ytv-dl-hero__card {
    background: var(--ytv-surface-card);
    border: 1px solid var(--ytv-border);
    border-radius: var(--ytv-radius-lg);
    padding: 36px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
}

.ytv-dl-hero__icon {
    width: 72px;
    height: 72px;
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: var(--ytv-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ytv-dl-hero__title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 10px;
}

.ytv-dl-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    font-size: 0.9rem;
    color: var(--ytv-text-secondary);
}

.ytv-dl-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ytv-star {
    color: #f59e0b;
    font-size: 1.1rem;
}

.ytv-verified-badge {
    color: #10b981;
    font-weight: 600;
    background: rgba(16, 185, 129, 0.1);
    padding: 3px 8px;
    border-radius: var(--ytv-radius-sm);
}

/* Dedicated Download Box */
.ytv-dl-box {
    background: linear-gradient(180deg, #121724 0%, #0d101a 100%);
    border: 1px solid rgba(13, 110, 253, 0.3);
    border-radius: var(--ytv-radius-lg);
    padding: 36px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(13, 110, 253, 0.1);
    margin-bottom: 40px;
}

.ytv-dl-box__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.ytv-dl-box__head h2 {
    font-size: 1.6rem;
    color: #ffffff;
}

.ytv-badge-highlight {
    background: rgba(13, 110, 253, 0.2);
    border: 1px solid var(--ytv-blue);
    color: #60a5fa;
    padding: 4px 12px;
    border-radius: var(--ytv-radius-full);
    font-size: 0.85rem;
    font-weight: 700;
}

.ytv-dl-box__specs-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--ytv-border-subtle);
    border-radius: var(--ytv-radius-md);
    padding: 16px 20px;
    margin-bottom: 28px;
}

.ytv-spec-lbl {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    color: var(--ytv-text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.ytv-spec-val {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
}

.ytv-dl-box__action {
    text-align: center;
    margin-bottom: 28px;
}

.ytv-dl-box__mirrors {
    margin-top: 14px;
    font-size: 0.88rem;
    color: var(--ytv-text-secondary);
}

.ytv-mirror-link {
    margin-left: 10px;
    color: #60a5fa;
    text-decoration: underline;
}

.ytv-dl-notice {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-radius: var(--ytv-radius-md);
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.ytv-dl-notice__icon {
    color: var(--ytv-yellow);
    flex-shrink: 0;
}

.ytv-dl-notice__body h4 {
    font-size: 1.05rem;
    color: #fef3c7;
    margin-bottom: 6px;
}

.ytv-dl-notice__body p {
    font-size: 0.9rem;
    color: #e2e8f0;
    margin-bottom: 12px;
    line-height: 1.5;
}

/* -------------------------------------------------------------
 * 6. SPECIFICATIONS TABLE
 * ------------------------------------------------------------- */
.ytv-specs-wrap {
    background: var(--ytv-surface-card);
    border: 1px solid var(--ytv-border);
    border-radius: var(--ytv-radius-lg);
    padding: 32px;
}

.ytv-specs-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.ytv-specs-table-wrap {
    overflow-x: auto;
}

.ytv-specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.ytv-specs-table tr {
    border-bottom: 1px solid var(--ytv-border-subtle);
}

.ytv-specs-table tr:last-child {
    border-bottom: none;
}

.ytv-specs-table th {
    text-align: left;
    padding: 14px 16px;
    width: 32%;
    color: var(--ytv-text-secondary);
    font-weight: 600;
    background: rgba(0, 0, 0, 0.2);
}

.ytv-specs-table td {
    padding: 14px 16px;
    color: #ffffff;
}

.ytv-specs-table code {
    background: rgba(255, 255, 255, 0.08);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.88rem;
    color: #93c5fd;
}

/* -------------------------------------------------------------
 * 7. STEP-BY-STEP INSTALLATION GUIDE
 * ------------------------------------------------------------- */
.ytv-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.ytv-step-card {
    background: var(--ytv-surface-card);
    border: 1px solid var(--ytv-border);
    border-radius: var(--ytv-radius-md);
    padding: 24px;
    position: relative;
    transition: transform 0.2s ease;
}

.ytv-step-card:hover {
    transform: translateY(-3px);
    border-color: rgba(13, 110, 253, 0.35);
}

.ytv-step-card__num {
    font-family: var(--ytv-font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--ytv-blue);
    line-height: 1;
    margin-bottom: 12px;
}

.ytv-step-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.ytv-step-card__text {
    font-size: 0.88rem;
    color: var(--ytv-text-secondary);
    line-height: 1.5;
}

/* -------------------------------------------------------------
 * 8. FEATURES GRID
 * ------------------------------------------------------------- */
.ytv-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.ytv-feature-card {
    background: var(--ytv-surface-card);
    border: 1px solid var(--ytv-border);
    border-radius: var(--ytv-radius-md);
    padding: 28px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.ytv-feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(13, 110, 253, 0.4);
}

.ytv-feature-card__icon {
    font-size: 1.8rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--ytv-radius-sm);
    background: rgba(13, 110, 253, 0.1);
    color: #3b82f6;
    margin-bottom: 16px;
}

.ytv-feature-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.ytv-feature-card__text {
    font-size: 0.9rem;
    color: var(--ytv-text-secondary);
    line-height: 1.55;
}

/* -------------------------------------------------------------
 * 9. FAQ ACCORDION (SEO Friendly)
 * ------------------------------------------------------------- */
.ytv-faq-container {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ytv-faq-item {
    background: var(--ytv-surface-card);
    border: 1px solid var(--ytv-border);
    border-radius: var(--ytv-radius-md);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.ytv-faq-item[open] {
    border-color: rgba(13, 110, 253, 0.4);
}

.ytv-faq-question {
    padding: 18px 24px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    list-style: none;
    position: relative;
    user-select: none;
}

.ytv-faq-question::-webkit-details-marker {
    display: none;
}

.ytv-faq-question::after {
    content: "+";
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--ytv-text-muted);
    transition: transform 0.2s ease;
}

.ytv-faq-item[open] .ytv-faq-question::after {
    content: "−";
    color: var(--ytv-blue);
}

.ytv-faq-answer {
    padding: 0 24px 20px;
    font-size: 0.95rem;
    color: var(--ytv-text-secondary);
    line-height: 1.6;
}

/* -------------------------------------------------------------
 * 10. FOOTER
 * ------------------------------------------------------------- */
.ytv-footer {
    background-color: #05060a;
    border-top: 1px solid var(--ytv-border);
    padding: 60px 0 30px;
    margin-top: 60px;
}

.ytv-footer__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.ytv-footer__brand {
    max-width: 320px;
}

.ytv-footer__tagline {
    font-size: 0.88rem;
    color: var(--ytv-text-muted);
    margin: 14px 0 20px;
    line-height: 1.5;
}

.ytv-footer__social {
    display: flex;
    gap: 12px;
}

.ytv-social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--ytv-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: all 0.2s ease;
}

.ytv-social-link:hover {
    color: #ffffff;
    background: var(--ytv-blue);
    border-color: var(--ytv-blue);
}

.ytv-footer__col-title {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.ytv-footer__nav {
    list-style: none;
}

.ytv-footer__nav li {
    margin-bottom: 10px;
}

.ytv-footer__nav a {
    font-size: 0.88rem;
    color: var(--ytv-text-muted);
}

.ytv-footer__nav a:hover {
    color: #ffffff;
}

.ytv-footer__disclaimer {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--ytv-border-subtle);
    border-radius: var(--ytv-radius-sm);
    padding: 16px;
    font-size: 0.8rem;
    color: var(--ytv-text-muted);
    line-height: 1.5;
    margin-bottom: 30px;
}

.ytv-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--ytv-border-subtle);
    font-size: 0.82rem;
    color: var(--ytv-text-muted);
    flex-wrap: wrap;
    gap: 12px;
}

.ytv-back-to-top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ytv-text-muted);
}

.ytv-back-to-top:hover {
    color: #ffffff;
}

/* -------------------------------------------------------------
 * 11. GUTENBERG BLOCKS & ADMIN EDITING WRAPPER
 * ------------------------------------------------------------- */
.ytv-gutenberg-content {
    padding: 40px 20px;
}

.ytv-gutenberg-content h1,
.ytv-gutenberg-content h2,
.ytv-gutenberg-content h3 {
    color: #ffffff;
    margin-bottom: 16px;
    margin-top: 28px;
}

.ytv-gutenberg-content p {
    color: var(--ytv-text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.ytv-pattern-hero {
    text-align: center;
    padding: 40px 0;
}
