:root {
  --bg: #07131c;
  --bg-2: #0b1e29;
  --surface: rgba(13, 29, 39, 0.92);
  --surface-soft: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.1);
  --text: #eff8fb;
  --muted: #a7bcc5;
  --brand: #feff1c;
  --accent: #4fd1e0;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --radius-lg: 28px;
  --radius-md: 20px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(79, 209, 224, 0.16), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(254, 255, 28, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(5, 11, 18, 0.96), rgba(7, 19, 28, 0.98)),
    url("../style/pattern.png");
  background-color: var(--bg);
  background-attachment: fixed;
  line-height: 1.6;
}

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 999;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--brand);
  color: #111;
  font-weight: 700;
}

.skip-link:focus {
  top: 16px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(7, 19, 28, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 12px 30px rgba(254, 255, 28, 0.15));
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-current {
  color: var(--brand);
}

.nav-cta,
.button,
.mini-link {
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid rgba(254, 255, 28, 0.32);
  border-radius: 999px;
  background: rgba(254, 255, 28, 0.08);
  color: var(--brand);
  font-weight: 700;
  white-space: nowrap;
}

.nav-cta:hover,
.nav-cta:focus-visible,
.button:hover,
.button:focus-visible,
.mini-link:hover,
.mini-link:focus-visible {
  transform: translateY(-2px);
}

.page-hero {
  position: relative;
  padding: 80px 0 30px;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 440px;
  background:
    linear-gradient(180deg, rgba(8, 16, 24, 0.2), rgba(8, 16, 24, 0.72)),
    url("../style/head1.png") center top / cover no-repeat;
  opacity: 0.18;
  pointer-events: none;
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 24px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--brand);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2 {
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 4vw, 4.5rem);
}

.hero-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-card,
.panel,
.content-card,
.slide-card,
.radio-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(13, 29, 39, 0.92), rgba(8, 18, 27, 0.82));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card::before,
.panel::before,
.content-card::before,
.slide-card::before,
.radio-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 35%);
  pointer-events: none;
}

.hero-card {
  padding: 28px;
  text-align: center;
}

.hero-card img {
  width: min(100%, 220px);
  margin: 0 auto 18px;
}

.hero-card p,
.panel p,
.content-card p,
.slide-card p,
.radio-card p {
  margin: 0;
  color: var(--muted);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button,
.mini-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
}

.button-primary {
  background: linear-gradient(135deg, var(--brand), #f0f45c);
  color: #10151d;
}

.button-secondary,
.mini-link {
  border: 1px solid rgba(79, 209, 224, 0.28);
  background: rgba(79, 209, 224, 0.08);
  color: var(--text);
}

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

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-heading p:last-child {
  color: var(--muted);
  font-size: 1.02rem;
}

.panel {
  padding: 26px;
}

.panel-grid,
.card-grid,
.radio-grid {
  display: grid;
  gap: 18px;
}

.panel-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-card,
.slide-card,
.radio-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
}

.content-card h3,
.slide-card h3,
.radio-card h3,
.panel h3 {
  margin: 0 0 12px;
  font-size: 1.24rem;
}

.meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.meta-list li {
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: #d9e9ef;
  font-size: 0.9rem;
}

.slide-card {
  text-align: center;
}

.slide-card img {
  width: min(100%, 150px);
  margin: 0 auto 16px;
}

.slide-card p {
  margin-bottom: 16px;
}

.embed-shell iframe {
  width: 100%;
  min-height: 520px;
  border: 0;
  border-radius: 16px;
  background: #07131c;
}

.radio-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.radio-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 16px;
}

.radio-card audio {
  width: 100%;
  margin-top: 16px;
}

.page-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(4, 10, 15, 0.7);
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 88px;
}

.footer-shell p {
  margin: 0;
  color: var(--muted);
}

.footer-shell a {
  color: var(--brand);
  font-weight: 700;
}

@media (max-width: 1100px) {
  .nav-shell {
    min-height: auto;
    padding: 18px 0;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-layout,
  .panel-grid,
  .card-grid,
  .radio-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body {
    background-attachment: scroll;
  }

  .page-hero {
    padding-top: 44px;
  }

  .page-hero::before {
    background-image:
      linear-gradient(180deg, rgba(8, 16, 24, 0.32), rgba(8, 16, 24, 0.8)),
      url("../style/head3.png");
    height: 340px;
  }

  .site-nav,
  .nav-cta,
  .brand {
    width: 100%;
    justify-content: center;
  }

  .hero-card,
  .panel,
  .content-card,
  .slide-card,
  .radio-card {
    padding: 22px;
  }

  .embed-shell iframe {
    min-height: 420px;
  }

  .footer-shell {
    min-height: auto;
    padding: 20px 0;
    flex-direction: column;
    text-align: center;
  }
}
