:root {
  --bg: #07080c;
  --bg-2: #0d0f15;
  --surface: #12151d;
  --surface-2: #181c27;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f5f7;
  --muted: #8b90a0;
  --lime: #e10600;
  --lime-dim: #b50b16;
  --red: #e10600;
  --radius: 16px;
  --header: 76px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(7, 8, 12, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 56px;
  width: auto;
  display: block;
}

.footer-logo img {
  height: 108px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
  background: var(--surface);
}

.nav-fb {
  background: var(--red) !important;
  color: #fff !important;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: var(--surface);
  border-radius: 10px;
  padding: 10px;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
}

.ticker {
  background: var(--red);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 32s linear infinite;
  will-change: transform;
}

.ticker-group {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 10px 40px;
  flex: 0 0 auto;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ticker-track a {
  color: inherit;
  flex: 0 0 auto;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.brand-cover {
  position: relative;
  background: #000;
  border-bottom: 3px solid var(--red);
  overflow: hidden;
}

.brand-cover img {
  width: 100%;
  height: clamp(220px, 42vw, 520px);
  object-fit: cover;
  object-position: center 42%;
}

.brand-cover::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.reels-hero {
  padding: 36px 0 20px;
  background:
    radial-gradient(ellipse at top, rgba(225, 6, 0, 0.12), transparent 55%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}

.reels-hero .section-head h2 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.12;
}

.reels-hero .reels-strip {
  gap: 18px;
  padding: 8px 2px 18px;
}

.reels-hero .reel-card {
  flex: 0 0 240px;
}

.reels-hero .reel-frame {
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  border-color: rgba(225, 6, 0, 0.22);
}

.reel-frame.is-empty {
  border-style: dashed;
  border-color: rgba(225, 6, 0, 0.45);
}

.reels-hint {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 4px 0 0;
}

.news-lite {
  padding-top: 22px;
}

.news-compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.news-row {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 12px;
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  min-height: 92px;
}

.news-row:hover {
  border-color: rgba(225, 6, 0, 0.35);
}

.news-row .thumb {
  display: block;
  min-height: 92px;
  background: var(--surface-2);
}

.news-row .thumb img,
.news-row .thumb .story-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 92px;
}

.news-row .body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px 10px 0;
}

.news-row strong {
  font-size: 0.98rem;
  line-height: 1.3;
}

.article {
  padding: 28px 0 48px;
}

.article-wrap {
  max-width: 820px;
}

.article h1 {
  margin: 8px 0 10px;
  font-family: Oswald, sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.article-cover {
  margin: 18px 0 22px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
}

.article-cover img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}

.article-body {
  font-size: 1.08rem;
  line-height: 1.75;
  color: #e6e7ea;
}

.article-body p {
  margin: 0 0 18px;
}

.article-body h2 {
  font-family: Oswald, sans-serif;
  font-size: 1.45rem;
  letter-spacing: 0.03em;
  margin: 28px 0 12px;
}

.article .kicker a {
  color: var(--lime);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-card h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.35;
}

.blog-card .chip {
  align-self: flex-start;
  margin-top: auto;
}

.blog-more {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.blog-more h2 {
  font-family: Oswald, sans-serif;
  font-size: 1.3rem;
  margin: 0 0 12px;
}

.blog-more ul {
  margin: 0;
  padding-left: 18px;
}

.blog-more a {
  color: var(--text);
}

.blog-more a:hover {
  color: var(--lime);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 16px;
}

.story {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  min-height: 180px;
  isolation: isolate;
}

.story img,
.story .story-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 180px;
}

.story-ph {
  background:
    radial-gradient(circle at 20% 20%, rgba(225, 6, 0, 0.18), transparent 40%),
    linear-gradient(160deg, #151922, #07080c);
}

.story-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(7, 8, 12, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  gap: 8px;
}

.story.featured {
  min-height: 420px;
}

.story.featured img,
.story.featured .story-ph {
  min-height: 420px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
}

.story h2,
.story h3 {
  margin: 0;
  font-family: Oswald, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.12;
}

.story.featured h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.meta {
  color: var(--muted);
  font-size: 0.82rem;
}

.side-stories {
  display: grid;
  gap: 16px;
}

.section {
  padding: 28px 0 12px;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 16px;
  margin-bottom: 18px;
}

.section-head > div {
  flex: 1 1 220px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section-head h2 {
  margin: 0;
  font-family: Oswald, sans-serif;
  font-size: clamp(1.55rem, 4vw, 2rem);
  letter-spacing: 0.04em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.section-head p,
.muted {
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
  max-width: 42rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.chip {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
  cursor: pointer;
}

.chip.is-active,
.chip:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.news-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(225, 6, 0, 0.35);
}

.news-card .thumb {
  aspect-ratio: 16 / 10;
  background: var(--surface-2);
  overflow: hidden;
}

.news-card .thumb img,
.news-card .thumb .story-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card .body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.news-card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
}

.news-card .excerpt {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
  flex: 1;
  line-height: 1.55;
}

.source {
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
}

.reels-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}

.reels-strip::-webkit-scrollbar {
  height: 6px;
}

.reels-strip::-webkit-scrollbar-thumb {
  background: var(--surface-2);
  border-radius: 99px;
}

.reel-card {
  flex: 0 0 210px;
  scroll-snap-align: start;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  color: inherit;
}

.reels-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.reels-grid .reel-card {
  flex: none;
  width: 100%;
}

.reel-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  background: #111;
  border: 1px solid var(--line);
}

.reel-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}

.play-btn svg {
  width: 22px;
  height: 22px;
  margin-left: 3px;
}

.reel-title {
  margin: 10px 0 0;
  font-weight: 600;
  font-size: 0.92rem;
}

.fb-feed {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  isolation: isolate;
}

.fb-feed-title {
  margin: 0;
  font-family: Oswald, sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.fb-feed-lead {
  margin: 0 0 6px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 40rem;
}

.fb-page-wrap {
  width: 100%;
  max-width: 500px;
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.fb-page-wrap iframe {
  width: 100%;
  max-width: 100%;
  height: 720px;
  display: block;
  border: 0;
  margin: 0;
}

.admin-card details {
  margin-top: 8px;
}

.admin-card details > summary {
  cursor: pointer;
  color: var(--muted);
  font-weight: 600;
}

.empty-box {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--bg-2);
  color: var(--muted);
}

.site-footer {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  background: var(--bg-2);
}

.footer-inner {
  display: grid;
  gap: 18px;
}

.footer-tag {
  max-width: 52ch;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  color: var(--muted);
  font-size: 0.85rem;
}

.reel-modal[hidden] {
  display: none;
}

.reel-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
}

.reel-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
}

.reel-modal-box {
  position: relative;
  width: min(420px, 92vw);
  background: #0b0c10;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.reel-modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

.reel-modal-heading {
  margin: 0 28px 12px 0;
  font-size: 1rem;
}

.reel-modal-player {
  width: 100%;
  min-height: 520px;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.reel-modal-player .fb-video,
.reel-modal-player iframe {
  width: 100% !important;
}

.reel-modal-fb {
  display: inline-block;
  margin-top: 12px;
  color: var(--lime);
  font-weight: 600;
}

.admin-wrap {
  min-height: calc(100vh - var(--header));
  display: grid;
  place-items: center;
  padding: 32px 0;
}

.admin-card {
  width: min(420px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
}

.admin-card.admin-wide {
  width: min(720px, 100%);
  margin-bottom: 8px;
}

.admin-sub {
  font-family: Oswald, sans-serif;
  margin: 0 0 8px;
  letter-spacing: 0.04em;
}

.admin-steps {
  margin: 0 0 12px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.admin-steps a {
  color: var(--text);
}

.admin-steps code,
.admin-card code {
  font-size: 0.84em;
  word-break: break-all;
}

.admin-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-card h1 {
  font-family: Oswald, sans-serif;
  margin: 0 0 8px;
}

.field {
  display: grid;
  gap: 6px;
  margin: 14px 0;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #0b0c10;
  color: var(--text);
  border-radius: 12px;
  padding: 12px 14px;
}

.btn {
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;
  background: var(--red);
  color: #fff;
}

.btn-ghost {
  background: var(--surface-2);
  color: var(--text);
}

.btn-danger {
  background: var(--red);
  color: #fff;
}

.admin-row {
  display: grid;
  grid-template-columns: 28px 54px 1fr;
  gap: 12px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}

.admin-check {
  display: flex;
  align-items: center;
  padding-top: 8px;
}

.admin-check input {
  width: 18px;
  height: 18px;
}

.row-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.row-actions .btn-danger {
  margin-left: auto;
}

.alert {
  background: #3a1218;
  color: #ffb4bd;
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 12px;
}

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-cover {
  width: 54px;
  height: 96px;
  object-fit: cover;
  border-radius: 10px;
  background: #111;
}

.admin-cover.is-empty {
  display: block;
  border: 1px dashed var(--line);
}

.cover-form {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.cover-form input[type="file"] {
  max-width: 180px;
  font-size: 0.78rem;
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero-grid,
  .news-grid,
  .news-compact,
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
  .reels-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .story.featured,
  .story.featured img,
  .story.featured .story-ph {
    min-height: 320px;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: #0b0c10;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 12px;
  }
  .site-nav.is-open {
    display: flex;
  }
  .hero-grid,
  .news-grid,
  .reels-grid,
  .news-compact,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .reels-hero .reel-card {
    flex: 0 0 200px;
  }
  .reel-modal-player {
    min-height: 420px;
  }
}
