:root {
  --bg: #090a0f;
  --surface: #11131a;
  --surface-2: #161922;
  --border: #272b35;
  --text: #ffffff;
  --muted: #858b98;
  --accent: #ff3158;
  --accent-dark: #d91f45;
  --radius: 0px;
  --max-width: 1040px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); }
body { min-height: 100vh; background: var(--bg); color: var(--text); font-family: Inter, Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { max-width: 100%; }

/* HEADER */
.site-header { position: sticky; top: 0; z-index: 1000; width: 100%; background: rgba(9, 10, 15, 0.94); border-bottom: 1px solid var(--border); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.header-inner { width: 100%; max-width: var(--max-width); height: 66px; margin: 0 auto; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; color: #fff; text-decoration: none; font-size: 23px; font-weight: 900; letter-spacing: -0.5px; }
.brand span { color: var(--accent); }

/* SEARCH */
.search-wrapper { position: relative; display: flex; align-items: center; }
.search-panel { position: absolute; right: 54px; top: 50%; transform: translateY(-50%); width: 0; opacity: 0; overflow: hidden; pointer-events: none; transition: width 0.25s ease, opacity 0.2s ease; }
.search-wrapper.active .search-panel { width: 250px; opacity: 1; pointer-events: auto; }
.search-input { width: 100%; height: 42px; padding: 0 16px; outline: none; border: 1px solid var(--border); border-radius: 22px; background: #151720; color: #fff; font-size: 13px; }
.search-input:focus { border-color: var(--accent); }
.search-toggle { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 50%; background: #14161e; color: #fff; cursor: pointer; }
.search-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* MAIN CONTENT CONTAINER */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 16px 14px 55px; }

/* FEATURED SLIDER */
.featured { margin-bottom: 18px; }
.featured-slider { position: relative; width: 100%; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); touch-action: pan-y; }
.featured-track { display: flex; width: 100%; transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1); }
.featured-slide { position: relative; min-width: 100%; aspect-ratio: 16 / 8.8; overflow: hidden; cursor: pointer; }
.featured-slide img { width: 100%; height: 100%; display: block; object-fit: cover; }
.featured-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.04) 45%, rgba(0, 0, 0, 0.72) 100%); pointer-events: none; }

/* BADGES & BUTTONS */
.content-badge { position: absolute; top: 13px; left: 13px; z-index: 5; padding: 6px 9px; border: 1px solid rgba(255, 255, 255, 0.17); border-radius: 4px; background: rgba(0, 0, 0, 0.68); color: #fff; font-size: 10px; font-weight: 800; }
.play-button { position: absolute; top: 50%; left: 50%; z-index: 6; width: 66px; height: 66px; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; border: 2px solid rgba(255, 255, 255, 0.92); border-radius: 50%; background: rgba(0, 0, 0, 0.62); }
.play-button svg { width: 31px; height: 31px; fill: #fff; transform: translateX(1px); }

.featured-meta { position: absolute; left: 15px; right: 15px; bottom: 14px; z-index: 7; display: flex; align-items: center; gap: 15px; color: #fff; font-size: 11px; }

/* SLIDER ARROWS & DOTS */
.slider-arrow { position: absolute; top: 50%; z-index: 20; width: 40px; height: 40px; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 50%; background: rgba(0, 0, 0, 0.5); color: #fff; cursor: pointer; font-size: 26px; }
.slider-arrow.previous { left: 10px; }
.slider-arrow.next { right: 10px; }
.slider-dots { position: absolute; left: 50%; bottom: 10px; z-index: 30; transform: translateX(-50%); display: flex; gap: 5px; }
.slider-dot { width: 7px; height: 7px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.4); cursor: pointer; }
.slider-dot.active { width: 18px; border-radius: 8px; background: #fff; }

/* CATEGORIES */
.categories { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; overflow-x: auto; scrollbar-width: none; }
.categories::-webkit-scrollbar { display: none; }
.category-button { flex: 0 0 auto; padding: 9px 16px; border: 1px solid var(--border); border-radius: 30px; background: #13151c; color: #bfc3cc; font-size: 12px; font-weight: 700; cursor: pointer; }
.category-button.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* GRID & CARDS */
.section-header { display: flex; align-items: end; justify-content: space-between; margin-bottom: 14px; }
.section-title { font-size: 21px; font-weight: 850; }
.section-count { color: var(--muted); font-size: 11px; }
.content-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }

.content-card { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--border); cursor: pointer; }
.card-image { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #171922; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-info { padding: 14px 15px 16px; }
.card-title { margin-bottom: 9px; color: #fff; font-size: 16px; font-weight: 750; }
.card-meta { display: flex; gap: 13px; color: #858b97; font-size: 11px; }

.empty-state { display: none; padding: 60px 20px; text-align: center; border: 1px solid var(--border); background: var(--surface); }

/* FOOTER */
.site-footer { border-top: 1px solid var(--border); padding: 28px 15px; text-align: center; color: #686e7a; font-size: 11px; }

/* RESPONSIVE */
@media (max-width: 600px) {
  .header-inner { height: 60px; padding: 0 10px; }
  .brand { font-size: 21px; }
  .container { padding: 10px 10px 45px; }
  .search-wrapper.active .search-panel { width: 185px; }
  .featured-slide { aspect-ratio: 16 / 10; }
}
