:root {
  --navy: #071226;
  --navy-mid: #122447;
  --red: #c8102e;
  --red-hot: #e11837;
  --white: #f7f4ef;
  --gold: #f0c14b;
  --ink: #e8eef8;
  --muted: #9eb0c9;
  --line: rgba(255, 255, 255, 0.14);
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(200, 16, 46, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(18, 36, 71, 0.9), transparent 50%),
    linear-gradient(180deg, #050d1a 0%, var(--navy) 40%, #0a1830 100%);
  overflow-x: hidden;
}

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

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

.flag-stripe {
  position: fixed;
  inset: 0 auto 0 0;
  width: 6px;
  z-index: 50;
  background: repeating-linear-gradient(
    180deg,
    var(--red) 0 12px,
    var(--white) 12px 24px
  );
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.4rem 0.9rem 1.6rem;
  background: linear-gradient(180deg, rgba(5, 13, 26, 0.92), rgba(5, 13, 26, 0.55) 70%, transparent);
  backdrop-filter: blur(8px);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
}

.nav-brand img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 2px rgba(200, 16, 46, 0.45);
}

.nav-links {
  display: flex;
  gap: 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--white);
}

.hero {
  position: relative; 
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  /* place-items: end stretch; */
  padding: 6.5rem 1.4rem 2.5rem;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 13, 26, 0.88) 0%, rgba(5, 13, 26, 0.55) 42%, rgba(5, 13, 26, 0.35) 100%),
    linear-gradient(0deg, rgba(5, 13, 26, 0.96) 0%, rgba(5, 13, 26, 0.35) 45%, rgba(5, 13, 26, 0.2) 100%),
    linear-gradient(180deg, rgba(200, 16, 46, 0.18), transparent 35%);
}

.hero-content {
  width: min(720px, 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  animation: riseIn 0.9s ease-out both;
}

.hero-logo {
  width: min(148px, 34vw);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--gold);
  box-shadow:
    0 0 0 4px rgba(200, 16, 46, 0.55),
    0 18px 40px rgba(0, 0, 0, 0.45);
  margin-bottom: 1.1rem;
  animation: pulseRing 3.2s ease-in-out infinite;
}

.hero-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4.4rem, 16vw, 8.5rem);
  line-height: 0.88;
  letter-spacing: 0.04em;
  color: var(--white);
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.hero-tagline {
  margin: 1rem 0 1.4rem;
  max-width: 28ch;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 2px;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(180deg, var(--red-hot), var(--red));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(200, 16, 46, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #f02242, var(--red-hot));
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.ca-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  padding: 0.7rem 0.85rem;
  background: rgba(7, 18, 38, 0.72);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  max-width: 100%;
}

.ca-label {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.ca-row code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: clamp(0.68rem, 2.2vw, 0.82rem);
  color: var(--muted);
  word-break: break-all;
  flex: 1;
  min-width: 0;
}

.btn-copy {
  appearance: none;
  border: 1px solid rgba(240, 193, 75, 0.45);
  background: rgba(240, 193, 75, 0.12);
  color: var(--gold);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.4rem 0.7rem;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.18s ease;
}

.btn-copy:hover {
  background: rgba(240, 193, 75, 0.22);
}

.news,
.links {
  padding: 4.5rem 1.4rem 2rem;
  width: min(1100px, 100%);
  margin: 0 auto;
}

.section-head {
  margin-bottom: 1.8rem;
  animation: riseIn 0.8s ease-out both;
}

.section-head h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--white);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 42ch;
}

.news-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
}

.news-panel {
  background: linear-gradient(160deg, rgba(18, 36, 71, 0.75), rgba(7, 18, 38, 0.9));
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  overflow: hidden;
  min-height: 520px;
  display: flex;
  flex-direction: column;
}

.news-panel-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
  font-weight: 700;
}

.news-panel-label span {
  color: var(--gold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.news-panel-label a {
  color: var(--muted);
}

.news-panel-label a:hover {
  color: var(--white);
}

.article-embed {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
  min-height: 0;
}

.article-embed-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0b1424;
}

.article-embed-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.45s ease;
}

.article-embed:hover .article-embed-media img {
  transform: scale(1.04);
}

.article-embed-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.15rem 1.15rem 1.35rem;
  flex: 1;
}

.article-source {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-hot);
}

.article-embed-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.15rem);
  letter-spacing: 0.03em;
  line-height: 1.05;
  color: var(--white);
}

.article-excerpt {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.98rem;
}

.article-cta {
  margin-top: auto;
  padding-top: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.tweet-wrap {
  flex: 1;
  padding: 0.75rem 1rem 1.25rem;
  overflow: auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background:
    radial-gradient(circle at 50% 0%, rgba(200, 16, 46, 0.12), transparent 55%),
    #0b1424;
}

.tweet-wrap .twitter-tweet {
  margin: 0 auto !important;
}

.links {
  padding-bottom: 4rem;
}

.link-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.link-chip,
.link-chip-btn {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.04);
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.link-chip:hover,
.link-chip-btn:hover {
  background: rgba(200, 16, 46, 0.16);
  border-color: rgba(200, 16, 46, 0.45);
  transform: translateY(-2px);
}

.link-chip-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.05em;
  color: var(--white);
}

.link-chip-sub {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem 1.4rem 3rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(240, 193, 75, 0.5);
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%) translateY(120%);
  background: var(--gold);
  color: #1a1405;
  font-weight: 700;
  padding: 0.65rem 1.1rem;
  border-radius: 2px;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
  z-index: 60;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.2%, -0.8%, 0); }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseRing {
  0%, 100% {
    box-shadow:
      0 0 0 4px rgba(200, 16, 46, 0.55),
      0 18px 40px rgba(0, 0, 0, 0.45);
  }
  50% {
    box-shadow:
      0 0 0 7px rgba(240, 193, 75, 0.35),
      0 18px 40px rgba(0, 0, 0, 0.45);
  }
}

@media (max-width: 900px) {
  .news-grid,
  .link-row {
    grid-template-columns: 1fr;
  }

  .news-panel {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .nav-links a:nth-child(2) {
    display: none;
  }

  .hero {
    padding-top: 5.5rem;
    place-items: end stretch;
  }

  .hero h1 {
    font-size: clamp(3.8rem, 18vw, 5.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}
