/* ============================================================
       DESIGN TOKENS — edit these to retheme the entire site
    ============================================================ */
    :root {
      --bg-base:       #0a0a0f;
      --bg-card:       #111118;
      --bg-card-hover: #18181f;
      --border:        #2a2a38;
      --accent:        #e63946;
      --accent-glow:   rgba(230,57,70,.35);
      --accent-soft:   #ff6b6b;
      --text-primary:  #f0f0f5;
      --text-secondary:#9898b0;
      --text-muted:    #55556a;
      --radius:        14px;
      --font-display:  'Bebas Neue', sans-serif;
      --font-body:     'DM Sans', sans-serif;
    }

    /* ============================================================
       RESET & BASE
    ============================================================ */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      background: var(--bg-base);
      color: var(--text-primary);
      font-family: var(--font-body);
      font-size: 15px;
      line-height: 1.6;
      min-height: 100vh;
      /* subtle noise texture */
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='.04'/%3E%3C/svg%3E");
    }

    a { color: inherit; text-decoration: none; }
    img { display: block; max-width: 100%; }

    /* ============================================================
       HEADER / NAV
    ============================================================ */
    header {
      position: sticky;
      top: 0;
      z-index: 100;
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      background: rgba(10,10,15,.85);
      border-bottom: 1px solid var(--border);
    }
    nav {
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 24px;
      height: 64px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .logo {
      font-family: var(--font-display);
      font-size: 26px;
      letter-spacing: 2px;
      color: var(--text-primary);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .logo span {
      color: var(--accent);
    }
    .logo-dot {
      width: 8px; height: 8px;
      border-radius: 50%;
      background: var(--accent);
      animation: pulse 2s ease-in-out infinite;
    }
    @keyframes pulse {
      0%,100% { opacity:1; transform:scale(1); }
      50%      { opacity:.5; transform:scale(1.4); }
    }
    .nav-links {
      display: flex;
      gap: 28px;
      list-style: none;
    }
    .nav-links a {
      color: var(--text-secondary);
      font-size: 13px;
      font-weight: 500;
      letter-spacing: .5px;
      text-transform: uppercase;
      transition: color .2s;
    }
    .nav-links a:hover { color: var(--text-primary); }

    /* ============================================================
       HERO BANNER
    ============================================================ */
    .hero {
      max-width: 1100px;
      margin: 56px auto 8px;
      padding: 0 24px;
    }
    .hero-label {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 14px;
    }
    .hero-label::before {
      content:'';
      width: 18px; height: 2px;
      background: var(--accent);
    }
    .hero h1 {
      font-family: var(--font-display);
      font-size: clamp(42px, 7vw, 80px);
      letter-spacing: 3px;
      line-height: 1;
      color: var(--text-primary);
    }
    .hero h1 em {
      font-style: normal;
      color: var(--accent);
    }
    .hero-sub {
      margin-top: 16px;
      max-width: 500px;
      color: var(--text-secondary);
      font-size: 15px;
    }

    /* ============================================================
       FILTER TABS
    ============================================================ */
    .filter-bar {
      max-width: 1100px;
      margin: 36px auto 0;
      padding: 0 24px;
      display: flex;
      gap: 10px;
      overflow-x: auto;
      scrollbar-width: none;
    }
    .filter-bar::-webkit-scrollbar { display: none; }
    .filter-btn {
      flex-shrink: 0;
      padding: 7px 18px;
      border-radius: 999px;
      border: 1px solid var(--border);
      background: transparent;
      color: var(--text-secondary);
      font-family: var(--font-body);
      font-size: 13px;
      font-weight: 500;
      cursor: pointer;
      transition: all .2s;
    }
    .filter-btn:hover,
    .filter-btn.active {
      background: var(--accent);
      border-color: var(--accent);
      color: #fff;
    }

    /* ============================================================
       VIDEO FEED
    ============================================================ */
    .feed {
      max-width: 1100px;
      margin: 40px auto 80px;
      padding: 0 24px;
      display: flex;
      flex-direction: column;
      gap: 32px;
    }

    /* ============================================================
       VIDEO CARD  ← duplicate this entire .video-card block
                      to add more videos
    ============================================================ */
    .video-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
      display: grid;
      grid-template-columns: 1fr;
      transition: border-color .25s, box-shadow .25s, transform .25s;
      animation: fadeUp .5s ease both;
    }
    .video-card:hover {
      border-color: rgba(230,57,70,.4);
      box-shadow: 0 0 40px var(--accent-glow);
      transform: translateY(-2px);
    }
    @keyframes fadeUp {
      from { opacity:0; transform:translateY(24px); }
      to   { opacity:1; transform:translateY(0); }
    }

    /* stagger animation on first 6 cards */
    .video-card:nth-child(1) { animation-delay:.05s; }
    .video-card:nth-child(2) { animation-delay:.12s; }
    .video-card:nth-child(3) { animation-delay:.19s; }
    .video-card:nth-child(4) { animation-delay:.26s; }
    .video-card:nth-child(5) { animation-delay:.33s; }
    .video-card:nth-child(6) { animation-delay:.40s; }

    /* On wider screens show thumb + info side-by-side */
    @media (min-width: 720px) {
      .video-card { grid-template-columns: 380px 1fr; }
    }

    /* ---- Thumbnail / player area ---- */
    .card-media {
      position: relative;
      aspect-ratio: 16/9;
      background: #000;
      overflow: hidden;
      cursor: pointer;
    }
    .card-thumb {
      width: 100%; height: 100%;
      object-fit: cover;
      transition: opacity .3s, transform .4s;
    }
    .video-card:hover .card-thumb {
      opacity: .7;
      transform: scale(1.03);
    }

    /* Play button overlay */
    .play-overlay {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(0,0,0,.3);
      transition: background .3s;
    }
    .video-card:hover .play-overlay { background: rgba(0,0,0,.1); }
    .play-btn {
      width: 64px; height: 64px;
      border-radius: 50%;
      border: 2px solid rgba(255,255,255,.85);
      background: rgba(230,57,70,.85);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform .2s, background .2s, box-shadow .2s;
      box-shadow: 0 0 0 0 var(--accent-glow);
    }
    .play-btn svg { width:22px; height:22px; fill:#fff; margin-left:3px; }
    .video-card:hover .play-btn {
      transform: scale(1.12);
      background: var(--accent);
      box-shadow: 0 0 24px var(--accent-glow);
    }

    /* Duration badge */
    .duration-badge {
      position: absolute;
      bottom: 10px; right: 10px;
      background: rgba(0,0,0,.8);
      color: #fff;
      font-size: 11px;
      font-weight: 600;
      padding: 3px 7px;
      border-radius: 4px;
      letter-spacing: .5px;
    }

    /* Category pill */
    .cat-pill {
      position: absolute;
      top: 10px; left: 10px;
      background: var(--accent);
      color: #fff;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      padding: 3px 9px;
      border-radius: 4px;
    }

    /* Embedded player (hidden by default) */
    .card-player {
      display: none;
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
    }
    .card-player iframe,
    .card-player video {
      width: 100%;
      height: 100%;
      border: none;
    }
    /* Show player, hide thumbnail when active */
    .card-media.playing .card-player    { display: block; }
    .card-media.playing .card-thumb     { display: none; }
    .card-media.playing .play-overlay   { display: none; }
    .card-media.playing .duration-badge { display: none; }
    .card-media.playing .cat-pill       { display: none; }

    /* Close button that appears when playing */
    .close-btn {
      display: none;
      position: absolute;
      top: 10px; right: 10px;
      z-index: 20;
      width: 32px; height: 32px;
      border-radius: 50%;
      border: none;
      background: rgba(0,0,0,.7);
      color: #fff;
      font-size: 16px;
      cursor: pointer;
      align-items: center;
      justify-content: center;
      line-height: 1;
      transition: background .2s;
    }
    .card-media.playing .close-btn { display: flex; }
    .close-btn:hover { background: var(--accent); }

    /* ---- Card info panel ---- */
    .card-info {
      padding: 22px 24px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .card-meta {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 12px;
      color: var(--text-muted);
    }
    .card-meta .dot { font-size: 6px; }
    .card-title {
      font-family: var(--font-display);
      font-size: clamp(20px, 3vw, 26px);
      letter-spacing: 1px;
      line-height: 1.1;
      color: var(--text-primary);
      transition: color .2s;
    }
    .video-card:hover .card-title { color: var(--accent-soft); }
    .card-desc {
      color: var(--text-secondary);
      font-size: 13.5px;
      line-height: 1.65;
      flex: 1;
    }
    .card-actions {
      display: flex;
      gap: 10px;
      margin-top: 6px;
    }
    .btn-watch {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 9px 20px;
      border-radius: 999px;
      border: none;
      background: var(--accent);
      color: #fff;
      font-family: var(--font-body);
      font-weight: 600;
      font-size: 13px;
      cursor: pointer;
      transition: background .2s, box-shadow .2s;
    }
    .btn-watch:hover { background:#c62833; box-shadow:0 0 20px var(--accent-glow); }
    .btn-watch svg { width:14px; height:14px; fill:#fff; }
    .btn-save {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 9px 18px;
      border-radius: 999px;
      border: 1px solid var(--border);
      background: transparent;
      color: var(--text-secondary);
      font-family: var(--font-body);
      font-size: 13px;
      cursor: pointer;
      transition: all .2s;
    }
    .btn-save:hover { border-color: var(--accent-soft); color: var(--accent-soft); }

    /* ---- Like counter ---- */
    .like-row {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-top: auto;
      padding-top: 14px;
      border-top: 1px solid var(--border);
    }
    .like-item {
      display: flex;
      align-items: center;
      gap: 5px;
      font-size: 12px;
      color: var(--text-muted);
    }
    .like-item svg { width:14px; height:14px; fill:var(--text-muted); }

    /* ============================================================
       FOOTER
    ============================================================ */
    footer {
      border-top: 1px solid var(--border);
      text-align: center;
      padding: 28px 24px;
      color: var(--text-muted);
      font-size: 13px;
    }
    footer span { color: var(--accent); }

    /* ============================================================
       SCROLLBAR STYLE
    ============================================================ */
    ::-webkit-scrollbar { width: 6px; }
    ::-webkit-scrollbar-track { background: var(--bg-base); }
    ::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }
    ::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ============================================================
       DESIGN TOKENS — edit these to retheme the entire site
    ============================================================ */
    :root {
      --bg-base:       #0a0a0f;
      --bg-card:       #111118;
      --bg-card-hover: #18181f;
      --border:        #2a2a38;
      --accent:        #e63946;
      --accent-glow:   rgba(230,57,70,.35);
      --accent-soft:   #ff6b6b;
      --text-primary:  #f0f0f5;
      --text-secondary:#9898b0;
      --text-muted:    #55556a;
      --radius:        14px;
      --font-display:  'Bebas Neue', sans-serif;
      --font-body:     'DM Sans', sans-serif;
    }

    /* ============================================================
       RESET & BASE
    ============================================================ */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      background: var(--bg-base);
      color: var(--text-primary);
      font-family: var(--font-body);
      font-size: 15px;
      line-height: 1.6;
      min-height: 100vh;
      /* subtle noise texture */
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='.04'/%3E%3C/svg%3E");
    }

    a { color: inherit; text-decoration: none; }
    img { display: block; max-width: 100%; }

    /* ============================================================
       HEADER / NAV
    ============================================================ */
    header {
      position: sticky;
      top: 0;
      z-index: 100;
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      background: rgba(10,10,15,.85);
      border-bottom: 1px solid var(--border);
    }
    nav {
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 24px;
      height: 64px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .logo {
      font-family: var(--font-display);
      font-size: 26px;
      letter-spacing: 2px;
      color: var(--text-primary);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .logo span {
      color: var(--accent);
    }
    .logo-dot {
      width: 8px; height: 8px;
      border-radius: 50%;
      background: var(--accent);
      animation: pulse 2s ease-in-out infinite;
    }
    @keyframes pulse {
      0%,100% { opacity:1; transform:scale(1); }
      50%      { opacity:.5; transform:scale(1.4); }
    }
    .nav-links {
      display: flex;
      gap: 28px;
      list-style: none;
    }
    .nav-links a {
      color: var(--text-secondary);
      font-size: 13px;
      font-weight: 500;
      letter-spacing: .5px;
      text-transform: uppercase;
      transition: color .2s;
    }
    .nav-links a:hover { color: var(--text-primary); }

    /* ============================================================
       HERO BANNER
    ============================================================ */
    .hero {
      max-width: 1100px;
      margin: 56px auto 8px;
      padding: 0 24px;
    }
    .hero-label {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 14px;
    }
    .hero-label::before {
      content:'';
      width: 18px; height: 2px;
      background: var(--accent);
    }
    .hero h1 {
      font-family: var(--font-display);
      font-size: clamp(42px, 7vw, 80px);
      letter-spacing: 3px;
      line-height: 1;
      color: var(--text-primary);
    }
    .hero h1 em {
      font-style: normal;
      color: var(--accent);
    }
    .hero-sub {
      margin-top: 16px;
      max-width: 500px;
      color: var(--text-secondary);
      font-size: 15px;
    }

    /* ============================================================
       FILTER TABS
    ============================================================ */
    .filter-bar {
      max-width: 1100px;
      margin: 36px auto 0;
      padding: 0 24px;
      display: flex;
      gap: 10px;
      overflow-x: auto;
      scrollbar-width: none;
    }
    .filter-bar::-webkit-scrollbar { display: none; }
    .filter-btn {
      flex-shrink: 0;
      padding: 7px 18px;
      border-radius: 999px;
      border: 1px solid var(--border);
      background: transparent;
      color: var(--text-secondary);
      font-family: var(--font-body);
      font-size: 13px;
      font-weight: 500;
      cursor: pointer;
      transition: all .2s;
    }
    .filter-btn:hover,
    .filter-btn.active {
      background: var(--accent);
      border-color: var(--accent);
      color: #fff;
    }

    /* ============================================================
       VIDEO FEED
    ============================================================ */
    .feed {
      max-width: 1100px;
      margin: 40px auto 80px;
      padding: 0 24px;
      display: flex;
      flex-direction: column;
      gap: 32px;
    }

    /* ============================================================
       VIDEO CARD  ← duplicate this entire .video-card block
                      to add more videos
    ============================================================ */
    .video-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
      display: grid;
      grid-template-columns: 1fr;
      transition: border-color .25s, box-shadow .25s, transform .25s;
      animation: fadeUp .5s ease both;
    }
    .video-card:hover {
      border-color: rgba(230,57,70,.4);
      box-shadow: 0 0 40px var(--accent-glow);
      transform: translateY(-2px);
    }
    @keyframes fadeUp {
      from { opacity:0; transform:translateY(24px); }
      to   { opacity:1; transform:translateY(0); }
    }

    /* stagger animation on first 6 cards */
    .video-card:nth-child(1) { animation-delay:.05s; }
    .video-card:nth-child(2) { animation-delay:.12s; }
    .video-card:nth-child(3) { animation-delay:.19s; }
    .video-card:nth-child(4) { animation-delay:.26s; }
    .video-card:nth-child(5) { animation-delay:.33s; }
    .video-card:nth-child(6) { animation-delay:.40s; }

    /* On wider screens show thumb + info side-by-side */
    @media (min-width: 720px) {
      .video-card { grid-template-columns: 380px 1fr; }
    }

    /* ---- Thumbnail / player area ---- */
    .card-media {
      position: relative;
      aspect-ratio: 16/9;
      background: #000;
      overflow: hidden;
      cursor: pointer;
    }
    .card-thumb {
      width: 100%; height: 100%;
      object-fit: cover;
      transition: opacity .3s, transform .4s;
    }
    .video-card:hover .card-thumb {
      opacity: .7;
      transform: scale(1.03);
    }

    /* Play button overlay */
    .play-overlay {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(0,0,0,.3);
      transition: background .3s;
    }
    .video-card:hover .play-overlay { background: rgba(0,0,0,.1); }
    .play-btn {
      width: 64px; height: 64px;
      border-radius: 50%;
      border: 2px solid rgba(255,255,255,.85);
      background: rgba(230,57,70,.85);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform .2s, background .2s, box-shadow .2s;
      box-shadow: 0 0 0 0 var(--accent-glow);
    }
    .play-btn svg { width:22px; height:22px; fill:#fff; margin-left:3px; }
    .video-card:hover .play-btn {
      transform: scale(1.12);
      background: var(--accent);
      box-shadow: 0 0 24px var(--accent-glow);
    }

    /* Duration badge */
    .duration-badge {
      position: absolute;
      bottom: 10px; right: 10px;
      background: rgba(0,0,0,.8);
      color: #fff;
      font-size: 11px;
      font-weight: 600;
      padding: 3px 7px;
      border-radius: 4px;
      letter-spacing: .5px;
    }

    /* Category pill */
    .cat-pill {
      position: absolute;
      top: 10px; left: 10px;
      background: var(--accent);
      color: #fff;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      padding: 3px 9px;
      border-radius: 4px;
    }

    /* Embedded player (hidden by default) */
    .card-player {
      display: none;
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
    }
    .card-player iframe,
    .card-player video {
      width: 100%;
      height: 100%;
      border: none;
    }
    /* Show player, hide thumbnail when active */
    .card-media.playing .card-player    { display: block; }
    .card-media.playing .card-thumb     { display: none; }
    .card-media.playing .play-overlay   { display: none; }
    .card-media.playing .duration-badge { display: none; }
    .card-media.playing .cat-pill       { display: none; }

    /* Close button that appears when playing */
    .close-btn {
      display: none;
      position: absolute;
      top: 10px; right: 10px;
      z-index: 20;
      width: 32px; height: 32px;
      border-radius: 50%;
      border: none;
      background: rgba(0,0,0,.7);
      color: #fff;
      font-size: 16px;
      cursor: pointer;
      align-items: center;
      justify-content: center;
      line-height: 1;
      transition: background .2s;
    }
    .card-media.playing .close-btn { display: flex; }
    .close-btn:hover { background: var(--accent); }

    /* ---- Card info panel ---- */
    .card-info {
      padding: 22px 24px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .card-meta {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 12px;
      color: var(--text-muted);
    }
    .card-meta .dot { font-size: 6px; }
    .card-title {
      font-family: var(--font-display);
      font-size: clamp(20px, 3vw, 26px);
      letter-spacing: 1px;
      line-height: 1.1;
      color: var(--text-primary);
      transition: color .2s;
    }
    .video-card:hover .card-title { color: var(--accent-soft); }
    .card-desc {
      color: var(--text-secondary);
      font-size: 13.5px;
      line-height: 1.65;
      flex: 1;
    }
    .card-actions {
      display: flex;
      gap: 10px;
      margin-top: 6px;
    }
    .btn-watch {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 9px 20px;
      border-radius: 999px;
      border: none;
      background: var(--accent);
      color: #fff;
      font-family: var(--font-body);
      font-weight: 600;
      font-size: 13px;
      cursor: pointer;
      transition: background .2s, box-shadow .2s;
    }
    .btn-watch:hover { background:#c62833; box-shadow:0 0 20px var(--accent-glow); }
    .btn-watch svg { width:14px; height:14px; fill:#fff; }
    .btn-save {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 9px 18px;
      border-radius: 999px;
      border: 1px solid var(--border);
      background: transparent;
      color: var(--text-secondary);
      font-family: var(--font-body);
      font-size: 13px;
      cursor: pointer;
      transition: all .2s;
    }
    .btn-save:hover { border-color: var(--accent-soft); color: var(--accent-soft); }

    /* ---- Like counter ---- */
    .like-row {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-top: auto;
      padding-top: 14px;
      border-top: 1px solid var(--border);
    }
    .like-item {
      display: flex;
      align-items: center;
      gap: 5px;
      font-size: 12px;
      color: var(--text-muted);
    }
    .like-item svg { width:14px; height:14px; fill:var(--text-muted); }

    /* ============================================================
       FOOTER
    ============================================================ */
    footer {
      border-top: 1px solid var(--border);
      text-align: center;
      padding: 28px 24px;
      color: var(--text-muted);
      font-size: 13px;
    }
    footer span { color: var(--accent); }

    /* ============================================================
       SCROLLBAR STYLE
    ============================================================ */
    ::-webkit-scrollbar { width: 6px; }
    ::-webkit-scrollbar-track { background: var(--bg-base); }
    ::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }
    ::-webkit-scrollbar-thumb:hover { background: var(--accent); }