:root {
  --bg: #f3f5f8;
  --surface: #ffffff;
  --text: #101828;
  --muted: #667085;

  --navy: #061a33;
  --navy-soft: #082a55;
  --navy-deep: #03152d;
  --navy-line: rgba(255, 255, 255, 0.14);

  --red: #d60000;
  --red-dark: #aa0000;
  --white: #ffffff;
  --line: #e2e8f0;

  --container: 1600px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

/* Top line */

.top-line {
  background: #020b17;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  border-bottom: 1px solid var(--navy-line);
}

.top-line__inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  white-space: nowrap;
}

.top-line__inner span:first-child {
  color: var(--white);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background:
    linear-gradient(135deg, #061a33 0%, #082a55 52%, #03152d 100%);
  color: var(--white);
  border-bottom: 3px solid var(--red);
  box-shadow: 0 14px 34px rgba(2, 11, 23, 0.24);
}

.header-inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  min-width: max-content;
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-main {
  color: var(--white);
  font-size: 23px;
  line-height: 0.82;
  font-weight: 950;
  letter-spacing: -0.085em;
  text-transform: uppercase;
}

.brand-sub {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.nav-link {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  transition: color 0.18s ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: var(--red);
}

.nav-link:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 5px;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.country-flag {
  width: 82px;
  height: 52px;
  display: grid;
  place-items: center;

}

.country-flag img {
  width: 80px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
}

/* Page */

.page-shell {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
  padding: 22px 0 60px;
}

.hero-title {
  margin-bottom: 18px;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-title h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.86;
  letter-spacing: -0.085em;
  text-transform: uppercase;
}

.hero-title p:last-child {
  max-width: 660px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.45;
}

.main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 24px;
}

.feed-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  border-top: 5px solid var(--navy);
  padding-top: 12px;
  margin-bottom: 12px;
}

.feed-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 0.95;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.feed-heading > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

/* Advert slots */

.ad-slot {
  background:
    linear-gradient(135deg, rgba(6, 26, 51, 0.08), rgba(214, 0, 0, 0.08)),
    var(--surface);
  border: 1px dashed rgba(6, 26, 51, 0.32);
}

.ad-slot span {
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ad-slot strong {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  font-size: clamp(18px, 3vw, 28px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.05em;
}

.ad-slot--top {
  min-height: 82px;
  margin-bottom: 24px;
  padding: 18px;
  display: grid;
  place-items: center;
  text-align: center;
}

.ad-slot--side {
  padding: 18px;
}

.ad-slot--side strong {
  font-size: 25px;
}

.ad-slot--side p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

/* Sidebar */

.sidebar {
  position: sticky;
  top: calc(var(--header-height) + 16px);
  display: grid;
  gap: 18px;
}

/* Footer */

.site-footer {
  background:
    linear-gradient(135deg, #061a33 0%, #082447 50%, #031225 100%);
  color: rgba(255, 255, 255, 0.76);
  border-top: 1px solid var(--navy-line);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(160px, 0.45fr) minmax(160px, 0.45fr);
  gap: 34px;
  padding: 42px 0 34px;
}

.footer-logo {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--white);
}

.footer-logo span {
  font-size: 24px;
  line-height: 0.9;
  font-weight: 950;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}

.footer-logo small {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-brand p {
  max-width: 620px;
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.55;
}

.footer-column h3 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid var(--navy-line);
  background: rgba(0, 0, 0, 0.16);
}

.footer-bottom__inner {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

/* Tablet */

@media (max-width: 1100px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 18px;
  }

  .main-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Mobile */
@media (max-width: 760px) {
  .container,
  .page-shell {
    width: min(100% - 20px, 520px);
  }

  .top-line__inner {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .site-header {
    position: static;
  }

  .header-inner {
    min-height: auto;
    padding: 13px 0 12px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand flag"
      "nav nav";
    align-items: start;
    gap: 12px 14px;
  }

  .brand {
    grid-area: brand;
    min-width: 0;
    align-self: center;
  }

  .brand-copy {
    min-width: 0;
  }

  .brand-main {
    max-width: 150px;
    font-size: 22px;
    line-height: 0.82;
  }

  .brand-sub {
    font-size: 10px;
  }

  .header-actions {
    grid-area: flag;
    align-self: start;
    justify-self: end;
    display: flex;
  }

  .country-flag {
    width: 76px;
    height: 52px;
    border-radius: 10px;
  }

  .country-flag img {
    width: 70px;
    height: 46px;
    border-radius: 8px;
  }

  .main-nav {
    grid-area: nav;
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    overflow: hidden;
  }

  .nav-link {
    flex: 0 1 auto;
    min-width: 0;
    font-size: clamp(9px, 2.65vw, 12px);
    line-height: 1;
    white-space: nowrap;
    letter-spacing: -0.045em;
  }

  .page-shell {
    padding-top: 14px;
  }

  .ad-slot--top {
    min-height: 68px;
    margin-bottom: 18px;
  }

  .hero-title h1 {
    font-size: clamp(38px, 13vw, 58px);
  }

  .feed-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .sidebar {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 34px 0 28px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom__inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 12px 0;
  }
  .brand-live {
  gap: 5px;
}

.live-dot {
  width: 6px;
  height: 6px;
  flex-basis: 6px;
}
}
.brand-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.live-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 999px;
  background: #00ff7f;
  box-shadow: 0 0 10px rgba(0, 255, 127, 0.9);
  animation: livePulse 1.4s infinite;
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 255, 127, 0.75), 0 0 10px rgba(0, 255, 127, 0.9);
    transform: scale(1);
  }

  70% {
    box-shadow: 0 0 0 7px rgba(0, 255, 127, 0), 0 0 14px rgba(0, 255, 127, 0.9);
    transform: scale(1.08);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0, 255, 127, 0), 0 0 10px rgba(0, 255, 127, 0.9);
    transform: scale(1);
  }
}
/* =========================
   HEADER BRAND: ICON + TWO-LINE TITLE
========================= */

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--white, #ffffff);
  text-decoration: none;
}

.brand-copy--with-logo {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  display: block;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  object-fit: contain;
}

.brand-main--two-line {
  display: block;
  color: var(--white, #ffffff);
  font-size: clamp(27px, 2.1vw, 33px);
  font-weight: 950;
  line-height: 0.84;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

/* Hover / focus */

.brand:hover .brand-main--two-line,
.brand:focus-visible .brand-main--two-line {
  color: var(--red, #d60000);
}

/* =========================
   SMARTPHONE
========================= */

@media (max-width: 760px) {
  .brand-copy--with-logo {
    gap: 8px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .brand-main--two-line {
    font-size: 25px;
    line-height: 0.85;
  }
}

@media (max-width: 390px) {
  .brand-logo {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .brand-main--two-line {
    font-size: 22px;
  }
}