:root {
    color-scheme: dark;
    --mm-font: "Outfit", "Inter", system-ui, -apple-system, sans-serif;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: var(--mm-font);
    font-size: 0.9375rem;
    background: var(--mm-background, #030712);
    color: var(--mm-text-primary, #f8fafc);
    min-height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-image:
        radial-gradient(ellipse 80% 50% at 20% -10%, rgba(249, 115, 22, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 80% 10%, rgba(59, 130, 246, 0.12), transparent),
        radial-gradient(ellipse 50% 30% at 50% 100%, rgba(139, 92, 246, 0.1), transparent);
    background-attachment: fixed;
}

.no-js body {
    visibility: visible;
}

a {
    color: var(--mm-accent, #f97316);
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sr-only--focusable:focus {
    position: static;
    width: auto;
    height: auto;
    padding: 0.5rem 1rem;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background: var(--mm-surface, #0f172a);
    color: var(--mm-text-primary, #f8fafc);
    z-index: 100;
}

/* ===== HEADER / NAV ===== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    background: linear-gradient(180deg, rgba(3, 7, 18, 0.92) 0%, rgba(3, 7, 18, 0.75) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem clamp(1rem, 3vw, 2rem);
    gap: 0.75rem;
    max-width: 1600px;
    margin: 0 auto;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--mm-text-primary);
    text-decoration: none;
}

.site-brand:hover {
    text-decoration: none;
}

.site-brand img {
    height: 40px;
    width: 40px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.site-brand__text {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.site-brand__name {
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}

.site-brand__tagline {
    font-size: 0.78rem;
    color: var(--mm-text-secondary);
    opacity: 0.8;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-icon-group {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

/* NOTE: This .cta-icon block (including min-height/min-width and focus styles)
   is the canonical definition used by microsites. If a duplicate stylesheet
   (for example, templates/microsites/assets/main.css) exists, it MUST be kept
   in sync with this block so that accessibility improvements are preserved. */
.cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.6rem 1rem;
    min-height: 44px;
    min-width: 44px;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--mm-text-primary);
    background: rgba(255, 255, 255, 0.05);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: clamp(0.8rem, 2vw, 0.82rem);
}

.cta-icon:focus-visible {
    outline: 2px solid var(--mm-accent, #f97316);
    outline-offset: 2px;
}

.cta-icon__label {
    display: inline-block;
    white-space: nowrap;
}

.cta-icon__emoji {
    font-size: 1rem;
}

.cta-icon svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.cta-icon svg path,
.cta-icon svg polyline,
.cta-icon svg polygon {
    stroke: currentColor;
}

.cta-icon--cta svg {
    stroke: #0f172a;
}

.cta-icon:hover,
.cta-icon:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    text-decoration: none;
}

.cta-icon--cta {
    background: linear-gradient(135deg, var(--mm-accent, #f97316), #ea580c);
    color: #0f172a;
    border-color: transparent;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.3);
}

.cta-icon--cta:hover {
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.4);
}

/* ===== HERO SECTION ===== */

.hero {
    padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 3vw, 2rem);
}

.hero__content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: center;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.6), rgba(30, 41, 59, 0.3));
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
    padding: clamp(1.25rem, 3vw, 2rem);
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin-inline: auto;
}

.hero__content::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, var(--mm-accent, #f97316), transparent 70%);
    opacity: 0.08;
    pointer-events: none;
}

.hero__media {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.hero__media img {
    width: clamp(120px, 18vw, 180px);
    height: clamp(120px, 18vw, 180px);
    border-radius: 8px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.1);
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.hero__text {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero__eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mm-accent, #f97316);
    margin: 0;
    font-weight: 600;
}

.hero__text h1,
#hero-title {
    margin: 0;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero__description {
    margin: 0;
    color: var(--mm-text-secondary);
    font-size: 0.92rem;
    max-width: 500px;
}

.hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.25rem 0 0;
}

.hero__stats div {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 0.6rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    min-width: 90px;
}

.hero__stats dt {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--mm-text-secondary);
    opacity: 0.7;
}

.hero__stats dd {
    margin: 0.15rem 0 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--mm-text-primary);
}

/* ===== CONTROLS / SEARCH ===== */

.controls {
    padding: 0 clamp(1rem, 3vw, 2rem);
    max-width: 1240px;
    margin-inline: auto;
    width: 100%;
}

.controls__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.75rem 1rem;
}

.controls__search {
    flex: 1 1 200px;
}

.controls__search input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.7rem 0.9rem;
    color: var(--mm-text-primary);
    font-size: 0.9rem;
    font-family: inherit;
}

.controls__search input:focus {
    outline: 2px solid var(--mm-accent);
    outline-offset: 2px;
}

.controls__sort select {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
    color: var(--mm-text-primary);
    font-size: 0.88rem;
    font-family: inherit;
}

/* ===== TAG FILTERS ===== */

.tag-filter {
    padding: 0 clamp(1rem, 3vw, 2rem);
    max-width: 1240px;
    margin-inline: auto;
    width: 100%;
}

.tag-filter__inner {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag-pill {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.6rem 1rem;
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    color: var(--mm-text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: clamp(0.8125rem, 2vw, 0.85rem);
    font-family: inherit;
}

.tag-pill:hover,
.tag-pill:focus {
    color: var(--mm-text-primary);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.tag-pill:focus-visible {
    outline: 2px solid var(--mm-accent, #f97316);
    outline-offset: 2px;
}

.tag-pill--active {
    background: var(--mm-accent-soft, rgba(249, 115, 22, 0.2));
    color: var(--mm-text-primary);
    border-color: rgba(249, 115, 22, 0.4);
}

/* ===== CONTENT BLOCKS ===== */

.content-blocks {
    padding: 0 clamp(1rem, 3vw, 2rem);
    max-width: 1240px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.content-block {
    width: 100%;
}

.content-block__inner {
    max-width: 100%;
}

.content-block__title {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: var(--mm-text-primary);
}

.content-block__body {
    color: var(--mm-text-secondary);
}

.content-block__body p {
    margin: 0 0 0.5rem;
}

.content-block__caption {
    margin: 0.5rem 0 0;
    font-size: 0.875rem;
    color: var(--mm-text-secondary);
}

.content-block__video-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.content-block__video-title {
    display: block;
    margin-top: 0.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
}

.content-block--email .content-block__form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-top: 0.5rem;
}

.content-block__input {
    flex: 1;
    min-width: 180px;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
    color: var(--mm-text-primary);
    font-size: 0.9375rem;
    font-family: inherit;
}

.content-block__input:focus {
    outline: 2px solid var(--mm-accent);
    outline-offset: 2px;
}

/* ===== VIDEO GRID ===== */

.videos {
    padding: 0 clamp(1rem, 3vw, 2rem) clamp(2rem, 5vw, 3rem);
    max-width: 1440px;
    margin-inline: auto;
    width: 100%;
}

.site-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.videos__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
    gap: clamp(1rem, 3vw, 1.5rem);
}

.video-card {
    background: rgba(15, 23, 42, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.video-card[hidden] {
    display: none !important;
}

.video-card:hover,
.video-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.12);
}

.card-media {
    position: relative;
    display: block;
}

.card-media img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: rgba(0, 0, 0, 0.3);
}

.card-duration {
    position: absolute;
    right: 8px;
    bottom: 8px;
    background: rgba(0, 0, 0, 0.8);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Platform badges (YouTube, TikTok) */
.card-platform {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    border-radius: 8px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    z-index: 2;
}

.card-platform--youtube {
    background: rgba(255, 0, 0, 0.85);
    color: #fff;
}

.card-platform--tiktok {
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
}

.card-platform svg,
.card-platform img {
    width: 14px;
    height: 14px;
    display: block;
}

.video-card--tiktok .card-media img {
    background: #1a0a14;
}

.card-media--placeholder img {
    object-fit: contain;
    background: linear-gradient(135deg, #1a0a14, #2d0f1f);
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
}

.card-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.card-title a {
    color: var(--mm-text-primary);
}

.card-description {
    margin: 0;
    color: var(--mm-text-secondary);
    font-size: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    gap: 0.75rem;
    font-size: 0.78rem;
    color: var(--mm-text-secondary);
    opacity: 0.7;
}

.videos__empty {
    margin-top: 1rem;
    text-align: center;
    color: var(--mm-text-secondary);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ===== FOOTER ===== */

.site-footer {
    padding: 1.5rem clamp(1rem, 3vw, 2rem);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.3);
    margin-top: auto;
}

.site-footer__inner {
    max-width: 800px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
    color: var(--mm-text-secondary);
    font-size: 0.85rem;
}

.site-footer__inner p {
    margin: 0;
}

.site-footer__meta {
    font-size: 0.75rem;
    opacity: 0.5;
}

.site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem 1.25rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    width: 100%;
}

.site-footer__nav-link {
    font-size: 0.8rem;
    color: var(--mm-text-secondary);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.15s;
}

.site-footer__nav-link:hover {
    opacity: 1;
    text-decoration: underline;
}

.site-footer__powered {
    font-size: 0.75rem;
    opacity: 0.55;
    margin: 0;
}

.site-footer__powered a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.social-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--mm-text-secondary);
    transition: all 0.2s ease;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.82rem;
}

.social-chip__icon {
    display: inline-flex;
    width: 16px;
    height: 16px;
}

.social-chip__icon svg {
    width: 100%;
    height: 100%;
}

.social-chip__label {
    display: inline-block;
}

.social-chip:hover,
.social-chip:focus-visible {
    color: var(--mm-text-primary);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--mm-accent);
    text-decoration: none;
}

/* Footer social icons - compact circular style */
.footer-social .social-chip {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
}

.footer-social .social-chip__label {
    display: none;
}

/* ===== BUTTONS ===== */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: var(--mm-accent);
    color: #0f172a;
    border: none;
    border-radius: 8px;
    padding: 0.65rem 1.25rem;
    min-height: 44px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    font-size: clamp(0.875rem, 2vw, 0.9rem);
}

.button:hover,
.button:focus {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(249, 115, 22, 0.35);
}

.button:focus-visible {
    outline: 2px solid var(--mm-text-primary, #f8fafc);
    outline-offset: 2px;
}

.button--secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--mm-text-primary);
}

.button[data-copied="true"] {
    background: rgba(34, 197, 94, 0.85);
    color: #022c22;
}

/* ===== VIDEO PAGE ===== */

.video-page .video-header {
    position: sticky;
    top: 0;
    z-index: 20;
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    backdrop-filter: blur(16px) saturate(180%);
    background: linear-gradient(180deg, rgba(3, 7, 18, 0.92) 0%, rgba(3, 7, 18, 0.7) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.video-header__inner {
    padding: 0.75rem clamp(1rem, 3vw, 2rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    max-width: 1400px;
    margin: 0 auto;
}

.video-header__left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.video-header__back {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.5rem 0.25rem;
    color: var(--mm-text-secondary);
    font-weight: 600;
    font-size: clamp(0.875rem, 2vw, 0.9rem);
}

.video-header__back:focus-visible {
    outline: 2px solid var(--mm-accent, #f97316);
    outline-offset: 2px;
    border-radius: 8px;
}

.video-header__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.video-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.video-social--footer {
    justify-content: center;
    margin-top: 0.5rem;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    color: var(--mm-text-secondary);
}

.breadcrumbs a {
    color: var(--mm-text-primary);
    text-decoration: none;
    transition: color 0.15s ease;
}

.breadcrumbs a:hover {
    color: var(--mm-accent);
}

.video-main {
    padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 3vw, 2rem);
    display: grid;
    gap: 2rem;
    max-width: 1720px;
    margin: 0 auto;
}

.video-page #main-content,
.video-page .video-main {
    flex: 1 0 auto;
}

.video {
    display: grid;
    gap: 1.5rem;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: clamp(1.25rem, 3vw, 2rem);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.video__header h1 {
    margin: 0;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.video__subtitle {
    margin: 0.5rem 0 0;
    color: var(--mm-text-secondary);
    font-size: 0.95rem;
}

.video__player {
    max-width: 100%;
    width: 100%;
}

.video__player iframe {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    border-radius: 8px;
    background: #000;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.videos__load-more-btn {
    min-height: 44px;
    padding: 0.65rem 1.5rem;
}

.videos__load-more-btn:focus-visible {
    outline: 2px solid var(--mm-accent, #f97316);
    outline-offset: 2px;
}

.video__meta ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.video__meta li {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 0.7rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 100px;
}

.video__meta span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--mm-text-secondary);
    opacity: 0.7;
}

.video__meta strong {
    font-size: 1.1rem;
    font-weight: 700;
}

.video__description h2,
.video-tags h2,
.video-related__heading,
.related__header h2 {
    margin: 0 0 0.6rem;
    font-size: 1.2rem;
    font-weight: 700;
}

/* More from this channel — secondary, below main video (GSC watch page) */
.video-related {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.video-related__heading {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--mm-text-secondary);
}

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

.video-related__card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.video-related__card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.video-related__thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    background-color: #0f0f0f;
}

.video-related__title {
    padding: 0.6rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--mm-text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video__description-body {
    color: var(--mm-text-secondary);
    font-size: 0.95rem;
}

.video-faq {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 1rem;
    display: grid;
    gap: 0.75rem;
}

.video-faq h2 {
    margin: 0;
    font-size: 1.1rem;
}

.faq-grid {
    display: grid;
    gap: 0.6rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.faq-item {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 0.75rem;
}

.faq-item h3 {
    margin: 0 0 0.25rem;
    font-size: 0.9rem;
}

.faq-item p {
    margin: 0;
    color: var(--mm-text-secondary);
    font-size: 0.85rem;
}

.video__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.video-tags ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.video-tags a {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.35rem 0.75rem;
    background: rgba(0, 0, 0, 0.25);
    color: var(--mm-text-secondary);
    font-size: 0.82rem;
}

.video-tags a:hover,
.video-tags a:focus {
    color: var(--mm-text-primary);
    border-color: var(--mm-accent);
    text-decoration: none;
}

/* ===== RELATED VIDEOS ===== */

.related {
    display: grid;
    gap: 1rem;
}

.related__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
}

.related__all {
    color: var(--mm-text-secondary);
    font-size: 0.88rem;
}

.related__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.related-card {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-card:hover,
.related-card:focus-within {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.related-card__media {
    display: block;
    position: relative;
}

.related-card__media img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.related-card__duration {
    position: absolute;
    right: 6px;
    bottom: 6px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    padding: 0.2rem 0.4rem;
    font-size: 0.7rem;
}

.related-card__body {
    padding: 0.75rem;
    display: grid;
    gap: 0.55rem;
}

.related-card__body h3 {
    margin: 0;
    font-size: 0.9rem;
}

.related-card__body p,
.related-card__description {
    margin: 0;
    color: var(--mm-text-secondary);
    font-size: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-card__meta {
    margin-top: 0.15rem;
    font-size: 0.75rem;
    color: var(--mm-text-secondary);
    opacity: 0.9;
}

/* ===== DISABLED STATE ===== */

body.disabled {
    display: grid;
    place-items: center;
    min-height: 100vh;
}

.disabled__main {
    padding: 2rem;
}

.disabled__card {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: clamp(1.5rem, 5vw, 2.5rem);
    max-width: 380px;
    text-align: center;
    display: grid;
    gap: 1rem;
}

.disabled__card img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    justify-self: center;
    object-fit: cover;
}

.disabled__card h1 {
    margin: 0;
    font-size: 1.5rem;
}

.disabled__card p {
    margin: 0;
    color: var(--mm-text-secondary);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
    .hero__content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }

    .hero__media {
        justify-self: center;
    }

    .hero__media img {
        width: 100px;
        height: 100px;
    }

    .hero__text {
        align-items: center;
    }

    .hero__stats {
        justify-content: center;
    }

    .hero__description {
        max-width: none;
    }

    .cta-icon__label {
        display: none;
    }

    .cta-icon {
        padding: 0.5rem;
        min-width: 36px;
    }

    .controls__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .controls__sort {
        width: 100%;
    }

    .controls__sort select {
        width: 100%;
    }

    .video__meta ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .video__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .site-brand__tagline {
        display: none;
    }
}

@media (max-width: 480px) {
    .videos__grid {
        grid-template-columns: 1fr;
    }

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

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
