:root {
  --bg: #050806;
  --bg-2: #080d0a;
  --surface: #0d1110;
  --surface-2: #111716;
  --ink: #f4fff3;
  --muted: #a0aaa0;
  --soft: #707a72;
  --green: #7cff2b;
  --green-2: #4fda18;
  --red: #ff1937;
  --line: rgba(255, 255, 255, 0.1);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100svh;
  overflow-x: hidden;
  background:
    radial-gradient(900px circle at 14% -8%, rgba(124, 255, 43, 0.13), transparent 42%),
    radial-gradient(720px circle at 84% 0%, rgba(52, 173, 255, 0.08), transparent 34%),
    linear-gradient(180deg, #020403 0%, var(--bg) 48%, #030504 100%);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.menu-open,
body.search-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.section-shell {
  width: min(calc(100% - 28px), var(--max));
  margin-inline: auto;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}

.page-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--green), #eaffdd, var(--green));
  box-shadow: 0 0 20px rgba(124, 255, 43, 0.55);
  transform: scaleX(var(--progress, 0));
  transform-origin: left center;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 84px;
  padding: 14px max(14px, env(safe-area-inset-left)) 12px max(14px, env(safe-area-inset-left));
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(5, 8, 6, 0.84);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  min-width: 0;
  gap: 10px;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), #2dbd00);
  box-shadow: 0 0 0 7px rgba(124, 255, 43, 0.09), 0 10px 28px rgba(124, 255, 43, 0.22);
}

.brand-mark span {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid #061006;
}

.brand-text {
  display: grid;
  gap: 2px;
  min-width: 0;
  line-height: 1;
  text-transform: uppercase;
}

.brand-text strong {
  font-family: Oswald, Inter, sans-serif;
  font-size: clamp(1.18rem, 5.6vw, 1.66rem);
  letter-spacing: -0.03em;
}

.brand-text em {
  color: var(--green);
  font-style: normal;
}

.brand-text small {
  color: rgba(244, 255, 243, 0.74);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.icon-button,
.icon-circle {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.icon-button span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 3px 0;
  border-radius: 999px;
  background: currentColor;
  transition: transform 220ms var(--ease), opacity 220ms ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.icon-circle {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
}

.icon-circle svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-actions {
  display: inline-flex;
  gap: 4px;
}

.bell::after {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(255, 25, 55, 0.16);
  content: "";
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.58);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-panel {
  width: min(340px, calc(100% - 44px));
  height: 100%;
  padding: 28px;
  background: #071009;
  border-right: 1px solid var(--line);
  transform: translateX(-100%);
  transition: transform 260ms var(--ease);
}

.drawer.open .drawer-panel {
  transform: translateX(0);
}

.close-menu {
  margin-left: auto;
  font-size: 2rem;
}

.drawer nav {
  display: grid;
  gap: 18px;
  margin-top: 44px;
}

.drawer nav a {
  font-family: Oswald, sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.search-panel {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 110px 18px 18px;
  background: rgba(5, 8, 6, 0.96);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-16px);
  transition: opacity 220ms ease, transform 220ms var(--ease);
}

.search-panel.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.search-panel label {
  display: grid;
  gap: 12px;
  font-weight: 900;
}

.search-panel input {
  min-height: 58px;
  width: 100%;
  border: 1px solid rgba(124, 255, 43, 0.3);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: white;
  outline: 0;
  padding: 0 16px;
}

.search-panel button {
  min-height: 48px;
  border: 0;
  border-radius: var(--radius);
  background: var(--green);
  color: #061006;
  cursor: pointer;
  font-weight: 900;
}

.category-tabs {
  position: sticky;
  top: 84px;
  z-index: 70;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 14px 0;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar,
.video-row::-webkit-scrollbar {
  display: none;
}

.category-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--radius);
  color: rgba(244, 255, 243, 0.74);
  font-weight: 900;
  white-space: nowrap;
}

.category-tabs a.active {
  background: var(--green);
  color: #071006;
  box-shadow: 0 10px 30px rgba(124, 255, 43, 0.24);
}

.live-strip {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  overflow: hidden;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(255, 25, 55, 0.1), rgba(255, 255, 255, 0.035));
}

.live-strip strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255, 25, 55, 0.55);
  border-radius: 4px;
  color: var(--red);
  font-family: Oswald, sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
}

.live-strip strong span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 1.2s ease-in-out infinite;
}

.live-strip p {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: rgba(244, 255, 243, 0.78);
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-strip a {
  color: var(--muted);
  font-size: 1.8rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
  padding-top: 20px;
}

.lead-story,
.headline-stack,
.video-card,
.news-item,
.side-panel > * {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
}

.lead-story {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.lead-story .media {
  position: absolute;
  inset: 0;
}

.lead-story::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 8, 6, 0.95) 0%, rgba(5, 8, 6, 0.32) 58%, transparent);
  content: "";
}

.lead-content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: clamp(20px, 5vw, 42px);
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 4px;
  background: var(--green);
  color: #071006;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lead-content h1 {
  max-width: 790px;
  margin: 16px 0 10px;
  font-family: Oswald, sans-serif;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  letter-spacing: -0.035em;
  line-height: 0.95;
  text-transform: uppercase;
}

.lead-content p {
  max-width: 540px;
  margin: 0;
  color: rgba(244, 255, 243, 0.72);
  font-weight: 700;
  line-height: 1.55;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.headline-stack {
  display: grid;
  overflow: hidden;
}

.headline-stack article {
  display: grid;
  align-content: end;
  min-height: 160px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(260px circle at 100% 0%, rgba(124, 255, 43, 0.09), transparent 52%),
    rgba(255, 255, 255, 0.02);
}

.headline-stack article:last-child {
  border-bottom: 0;
}

.headline-stack span {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.headline-stack h2 {
  margin: 9px 0 0;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  line-height: 1.15;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 16px;
}

.section-heading h2 {
  position: relative;
  margin: 0;
  padding-left: 18px;
  font-family: Oswald, sans-serif;
  font-size: clamp(1.55rem, 4vw, 2.3rem);
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.section-heading h2::before {
  position: absolute;
  top: 0.18em;
  bottom: 0.18em;
  left: 0;
  width: 5px;
  border-radius: 999px;
  background: var(--green);
  content: "";
}

.section-heading a {
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 900;
  white-space: nowrap;
}

.videos,
.latest {
  padding-top: 36px;
}

.vsl-section {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 14px;
  padding-top: 28px;
}

.vsl-player {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(124, 255, 43, 0.18);
  border-radius: var(--radius);
  background: #0b100d;
  box-shadow: var(--shadow);
}

.vsl-player .media {
  position: absolute;
  inset: 0;
  filter: saturate(1.08) contrast(1.04);
}

.vsl-player::after {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(560px circle at 74% 24%, rgba(124, 255, 43, 0.18), transparent 56%),
    linear-gradient(0deg, rgba(5, 8, 6, 0.96) 0%, rgba(5, 8, 6, 0.42) 68%, transparent);
  content: "";
}

.vsl-overlay {
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  display: grid;
  gap: 12px;
  padding: clamp(22px, 5vw, 42px);
}

.live-pill {
  display: inline-flex;
  width: max-content;
  min-height: 26px;
  align-items: center;
  padding: 0 10px;
  border-radius: 4px;
  background: var(--green);
  color: #061006;
  font-size: 0.74rem;
  font-weight: 1000;
}

.vsl-overlay h2 {
  max-width: 680px;
  margin: 0;
  font-family: Oswald, sans-serif;
  font-size: clamp(2.05rem, 5vw, 4.8rem);
  letter-spacing: -0.04em;
  line-height: 0.96;
  text-transform: uppercase;
}

.vsl-overlay p {
  max-width: 560px;
  margin: 0;
  color: rgba(244, 255, 243, 0.72);
  font-weight: 700;
  line-height: 1.55;
}

.play-large {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin-top: 12px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: transform 220ms var(--ease), background 220ms ease;
}

.play-large:hover {
  background: var(--green);
  color: #061006;
  transform: scale(1.04);
}

.play-large span {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 20px solid currentColor;
}

.vsl-cards {
  display: grid;
  gap: 10px;
}

.vsl-cards article {
  display: grid;
  align-content: end;
  min-height: 130px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background:
    radial-gradient(220px circle at 100% 0%, rgba(124, 255, 43, 0.1), transparent 54%),
    rgba(255, 255, 255, 0.035);
}

.vsl-cards span,
.kicker {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.vsl-cards strong {
  margin-top: 14px;
  font-size: 1.15rem;
  line-height: 1.12;
}

.vsl-cards p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.45;
}

.video-row {
  display: grid;
  grid-auto-columns: minmax(172px, 1fr);
  grid-auto-flow: column;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
}

.video-card {
  min-height: 306px;
  overflow: hidden;
  scroll-snap-align: start;
}

.video-card .media {
  min-height: 190px;
}

.video-card p {
  margin: 12px 12px 8px;
  font-weight: 900;
  line-height: 1.25;
}

.views {
  display: block;
  margin: 0 12px 14px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.media {
  position: relative;
  overflow: hidden;
  background-image: url("assets/news-collage.png");
  background-size: 300% 200%;
  background-repeat: no-repeat;
  isolation: isolate;
}

.media::after {
  position: absolute;
  inset: auto 0 0;
  height: 54%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent);
  content: "";
}

.media-accident {
  background-position: 0% 0%;
}

.media-police {
  background-position: 50% 0%;
}

.media-event {
  background-position: 100% 0%;
}

.media-city {
  background-position: 0% 100%;
}

.media-health {
  background-position: 50% 100%;
}

.media-sport {
  background-position: 100% 100%;
}

.play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
  transform: translate(-50%, -50%);
}

.play::before {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #121212;
  content: "";
}

.media small {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 4px;
  background: var(--green);
  color: #061006;
  font-size: 0.68rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.latest-layout {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 18px;
  padding-bottom: 112px;
}

.send-news {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 26px;
  align-items: start;
  padding: 34px 0 128px;
}

.send-news-copy {
  position: sticky;
  top: 156px;
  display: grid;
  gap: 14px;
}

.send-news-copy h2 {
  margin: 0;
  font-family: Oswald, sans-serif;
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  letter-spacing: -0.04em;
  line-height: 0.96;
  text-transform: uppercase;
}

.send-news-copy p:not(.kicker) {
  max-width: 420px;
  margin: 0;
  color: rgba(244, 255, 243, 0.66);
  font-weight: 700;
  line-height: 1.62;
}

.news-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: clamp(16px, 3vw, 26px);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  background:
    radial-gradient(420px circle at 100% 0%, rgba(124, 255, 43, 0.13), transparent 52%),
    rgba(255, 255, 255, 0.035);
}

.news-form label {
  display: grid;
  gap: 8px;
  color: rgba(244, 255, 243, 0.72);
  font-size: 0.76rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-form .wide,
.anonymous-toggle {
  grid-column: 1 / -1;
}

.news-form input,
.news-form select,
.news-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  color: white;
  outline: 0;
  padding: 0 14px;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.news-form input,
.news-form select {
  min-height: 52px;
}

.news-form select {
  color-scheme: dark;
}

.news-form textarea {
  min-height: 132px;
  padding-block: 13px;
  resize: vertical;
}

.news-form input:focus,
.news-form select:focus,
.news-form textarea:focus {
  border-color: rgba(124, 255, 43, 0.62);
  background: rgba(255, 255, 255, 0.095);
  box-shadow: 0 0 0 4px rgba(124, 255, 43, 0.12);
}

.anonymous-toggle {
  display: flex !important;
  align-items: center;
  gap: 12px !important;
  min-height: 50px;
  padding: 12px;
  border: 1px solid rgba(124, 255, 43, 0.22);
  border-radius: var(--radius);
  background: rgba(124, 255, 43, 0.055);
  cursor: pointer;
}

.anonymous-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.anonymous-toggle span {
  position: relative;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  transition: background 180ms ease;
}

.anonymous-toggle span::after {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  content: "";
  transition: transform 180ms var(--ease);
}

.anonymous-toggle input:checked + span {
  background: var(--green);
}

.anonymous-toggle input:checked + span::after {
  transform: translateX(20px);
}

.file-drop {
  place-items: center;
  min-height: 160px;
  padding: 20px;
  border: 1px dashed rgba(124, 255, 43, 0.42);
  border-radius: var(--radius);
  background: rgba(124, 255, 43, 0.05);
  color: white !important;
  cursor: pointer;
  text-align: center;
}

.file-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.file-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green);
  color: #061006;
  font-size: 1.8rem;
}

.file-drop strong {
  font-size: 1rem;
}

.file-drop small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.file-preview {
  display: grid;
  gap: 8px;
}

.file-preview:empty {
  display: none;
}

.file-preview article {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.file-preview span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: rgba(124, 255, 43, 0.12);
  color: var(--green);
  font-weight: 1000;
}

.file-preview strong {
  overflow: hidden;
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-preview small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.send-button {
  min-height: 56px;
  border: 0;
  border-radius: var(--radius);
  background: var(--green);
  color: #061006;
  cursor: pointer;
  font-weight: 1000;
  box-shadow: 0 16px 38px rgba(124, 255, 43, 0.2);
}

.send-status {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.45;
}

.news-list {
  display: grid;
  gap: 10px;
}

.news-item {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 124px;
  overflow: hidden;
  padding: 8px 12px 8px 8px;
}

.news-item.featured {
  grid-template-columns: minmax(240px, 0.78fr) 1fr;
  min-height: 220px;
  padding: 0;
}

.news-item .media {
  width: 100%;
  height: 108px;
  border-radius: 6px;
}

.news-item.featured .media {
  height: 100%;
  min-height: 220px;
  border-radius: 0;
}

.news-item h3 {
  margin: 8px 0 0;
  font-size: clamp(1rem, 2vw, 1.65rem);
  line-height: 1.16;
}

.news-item p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

.news-item > a {
  color: var(--muted);
  font-size: 2rem;
}

.side-panel {
  display: grid;
  gap: 12px;
  align-content: start;
}

.ad-card {
  padding: 22px;
  overflow: hidden;
  background:
    radial-gradient(260px circle at 0% 30%, rgba(124, 255, 43, 0.28), transparent 56%),
    linear-gradient(135deg, #16220f, #0b100a);
}

.ad-card span {
  display: block;
  color: var(--green);
  font-family: Oswald, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
}

.ad-card h3 {
  margin: 10px 0 22px;
  font-size: 1.45rem;
  line-height: 1.12;
}

.ad-card a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 18px;
  border-radius: var(--radius);
  background: var(--green);
  color: #071006;
  font-weight: 1000;
}

.ranking {
  padding: 20px;
}

.ranking h3 {
  margin: 0 0 16px;
  font-family: Oswald, sans-serif;
  font-size: 1.7rem;
  text-transform: uppercase;
}

.ranking ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
  color: rgba(244, 255, 243, 0.8);
  font-weight: 800;
}

.bottom-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 78;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: calc(72px + env(safe-area-inset-bottom));
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 12, 10, 0.94);
  backdrop-filter: blur(20px);
}

.bottom-nav a {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  color: rgba(244, 255, 243, 0.76);
  font-size: 0.68rem;
  font-weight: 800;
}

.bottom-nav a.active {
  color: var(--green);
}

.bottom-nav span {
  font-size: 1.55rem;
  line-height: 1;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  filter: blur(7px);
  transition: opacity 680ms var(--ease), transform 680ms var(--ease), filter 680ms var(--ease);
  transition-delay: var(--delay, 0ms);
}

.reveal.in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

@keyframes pulse {
  50% {
    transform: scale(0.72);
    opacity: 0.55;
  }
}

@media (hover: hover) and (pointer: fine) {
  [data-tilt] {
    transform-style: preserve-3d;
    transition: transform 260ms var(--ease), border-color 220ms ease;
  }

  [data-tilt]:hover {
    border-color: rgba(124, 255, 43, 0.32);
    transform: translateY(-6px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  }

  .video-card .media,
  .news-item .media,
  .lead-story .media {
    transition: filter 260ms ease, transform 360ms var(--ease);
  }

  .video-card:hover .media,
  .news-item:hover .media,
  .lead-story:hover .media {
    filter: saturate(1.12) contrast(1.04);
  }
}

@media (min-width: 900px) {
  .app-header {
    grid-template-columns: auto 1fr auto;
    padding-inline: max(28px, calc((100vw - var(--max)) / 2));
  }

  .brand {
    justify-self: start;
  }

  .category-tabs {
    top: 84px;
    justify-content: center;
  }

  .bottom-nav {
    display: none;
  }

  .video-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: initial;
    grid-auto-columns: initial;
  }

  .videos,
  .latest {
    padding-top: 58px;
  }
}

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

  .vsl-section,
  .send-news {
    grid-template-columns: 1fr;
  }

  .send-news-copy {
    position: static;
  }

  .headline-stack {
    grid-template-columns: 1fr;
  }

  .latest-layout {
    grid-template-columns: 1fr;
  }

  .side-panel {
    order: -1;
  }
}

@media (max-width: 620px) {
  .brand-text strong {
    font-size: 1.16rem;
  }

  .brand-text small {
    font-size: 0.52rem;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .live-strip {
    grid-template-columns: auto minmax(0, 1fr) 20px;
  }

  .hero-grid {
    display: none;
  }

  .videos {
    padding-top: 22px;
  }

  .vsl-section {
    padding-top: 18px;
  }

  .vsl-player {
    min-height: 440px;
  }

  .vsl-cards {
    grid-template-columns: 1fr;
  }

  .video-row {
    margin-right: -14px;
    padding-right: 14px;
  }

  .news-item {
    grid-template-columns: 118px 1fr 18px;
    gap: 10px;
    padding: 8px;
  }

  .news-item.featured {
    grid-template-columns: 1fr;
  }

  .news-item .media {
    height: 96px;
  }

  .news-item.featured .media {
    min-height: 182px;
  }

  .news-item h3 {
    font-size: 1.02rem;
  }

  .news-item.featured h3 {
    font-size: 1.62rem;
  }

  .news-item p {
    display: none;
  }

  .meta {
    gap: 10px;
    font-size: 0.74rem;
  }

  .ad-card {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 14px;
  }

  .ad-card span {
    font-size: 1.5rem;
  }

  .ad-card h3 {
    margin: 4px 0 0;
    font-size: 0.86rem;
  }

  .ad-card a {
    min-height: 48px;
  }

  .ranking {
    display: none;
  }

  .send-news {
    padding-top: 18px;
  }

  .news-form {
    grid-template-columns: 1fr;
  }

  .file-preview article {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .file-preview small {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
