:root {
  --bg-0: #06080c;
  --bg-1: #0b1420;
  --ink: #e7f6ff;
  --muted: #9cb5c8;
  --neon-cyan: #00f0ff;
  --neon-yellow: #ffd400;
  --neon-red: #ff365e;
  --panel: rgba(8, 18, 30, 0.68);
  --line: rgba(0, 240, 255, 0.32);
  --glow: 0 0 20px rgba(0, 240, 255, 0.4);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(120% 80% at 15% 0%, #122742 0%, var(--bg-0) 60%),
    linear-gradient(160deg, #04070a 0%, var(--bg-1) 100%);
  overflow-x: hidden;
}

body.news-modal-open {
  overflow: hidden;
}

a {
  color: inherit;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.scene {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.scene__grid,
.scene__noise {
  position: absolute;
  inset: 0;
  background-size: cover;
}

.scene__grid {
  background-image: url("/media/desktop-background.svg");
  opacity: 0.34;
}

.scene__noise {
  background-image: url("/assets/noise-overlay.svg");
  opacity: 0.35;
  mix-blend-mode: soft-light;
}

.scene__glow {
  position: absolute;
  width: 42vmax;
  height: 42vmax;
  filter: blur(38px);
  opacity: 0.35;
  animation: pulse 6.5s ease-in-out infinite;
}

.scene__glow--a {
  top: -12vmax;
  left: -8vmax;
  background: radial-gradient(circle at center, rgba(0, 240, 255, 0.65), rgba(0, 240, 255, 0));
}

.scene__glow--b {
  right: -13vmax;
  bottom: -14vmax;
  background: radial-gradient(circle at center, rgba(255, 54, 94, 0.5), rgba(255, 54, 94, 0));
  animation-delay: 1.4s;
}

.topbar {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 4vw;
  backdrop-filter: blur(8px);
  background: rgba(6, 10, 16, 0.7);
  border-bottom: 1px solid rgba(0, 240, 255, 0.22);
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-family: "Orbitron", sans-serif;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 0.45rem;
  border: 1px solid rgba(0, 240, 255, 0.35);
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.45));
}

.topbar__cta {
  text-decoration: none;
  color: #211404;
  font-weight: 700;
  background: linear-gradient(135deg, #d7ab2f, #b5841f);
  padding: 0.58rem 0.92rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(255, 212, 0, 0.34);
  box-shadow: 0 6px 14px rgba(181, 132, 31, 0.24);
}

.hero {
  padding: 7.2vh 0 3rem;
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  align-items: center;
  gap: 1.4rem;
}

.hero__content {
  min-width: 0;
}

.eyebrow {
  color: var(--neon-yellow);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  line-height: 0.95;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(0, 240, 255, 0.25);
}

.hero h1 span {
  display: block;
  margin-top: 0.8rem;
  font-size: clamp(1rem, 2.2vw, 1.45rem);
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.35;
  color: var(--muted);
  text-transform: none;
  max-width: 740px;
}

.lead {
  max-width: 700px;
  color: #c4d6e2;
  font-size: 1.08rem;
  line-height: 1.7;
  margin: 1.2rem 0 0;
}

.hero__media {
  margin: 0;
  justify-self: end;
  width: min(420px, 100%);
  background: linear-gradient(170deg, rgba(0, 240, 255, 0.12), rgba(255, 54, 94, 0.1));
  border: 1px solid rgba(0, 240, 255, 0.24);
  border-radius: 0.55rem;
  padding: 0.45rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.26);
}

.hero__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.42rem;
}

.hero__actions {
  margin-top: 2rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  border: 1px solid transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.22rem;
  border-radius: 0.42rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 200ms ease, filter 200ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn--primary {
  background: linear-gradient(125deg, var(--neon-cyan), #00c8ff 65%, #00a8ff);
  color: #031221;
  box-shadow: var(--glow);
}

.btn--ghost {
  color: var(--neon-cyan);
  background: rgba(5, 16, 30, 0.58);
  border-color: var(--line);
}

.hero__url {
  margin-top: 0.95rem;
  color: #a8c2d6;
  letter-spacing: 0.04em;
}

.highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
  padding: 1rem 0 4rem;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  padding: 1.2rem;
  position: relative;
  overflow: hidden;
}

.panel::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -46px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 1px solid rgba(255, 212, 0, 0.34);
}

.panel h2 {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  font-size: 1rem;
  color: var(--neon-cyan);
}

.panel p {
  margin: 0.6rem 0 0;
  color: #bdd0df;
  line-height: 1.55;
}

.section-title {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.creators {
  padding: 0.2rem 0 4rem;
}

.creator-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.creator-card {
  border: 1px solid rgba(255, 54, 94, 0.35);
  background: linear-gradient(180deg, rgba(255, 54, 94, 0.09), rgba(0, 0, 0, 0.2));
  border-radius: 0.6rem;
  padding: 1.15rem 1.2rem 1.2rem;
  position: relative;
}

.creator-card__role {
  margin: 0;
  color: #ff8aa6;
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.creator-card h3 {
  margin: 0.55rem 0;
  font-family: "Orbitron", sans-serif;
  font-size: 1.3rem;
}

.creator-card__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 0.55rem;
  padding-right: 12rem;
}

.creator-card__identity {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.creator-card__heading h3 {
  margin: 0;
}

.creator-social {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  flex-wrap: nowrap;
  max-width: none;
}

.creator-social__link {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(0, 240, 255, 0.28);
  background: rgba(3, 16, 30, 0.55);
  color: var(--neon-cyan);
  transition: transform 180ms ease, filter 180ms ease, border-color 180ms ease;
}

.creator-social__link:hover,
.creator-social__link:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.08);
  border-color: rgba(255, 212, 0, 0.45);
}

.creator-social__link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.creator-card a {
  color: var(--neon-yellow);
  text-decoration: none;
}

.creator-card--rich {
  display: flex;
  flex-direction: column;
}

.creator-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0.6rem;
  border: 1px solid rgba(0, 240, 255, 0.24);
}

.creator-card__bio {
  margin: 0;
  color: #c7d9e6;
  line-height: 1.6;
}

.creator-tags {
  list-style: none;
  margin: 0 0 0.65rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.creator-tags__item {
  border: 1px solid rgba(255, 212, 0, 0.36);
  background: rgba(255, 212, 0, 0.08);
  color: #ffd978;
  border-radius: 999px;
  padding: 0.2rem 0.58rem;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.creator-card__action {
  margin: 0.85rem 0 0;
}

.creator-card__action .btn {
  width: 100%;
}

.news,
.events {
  padding: 0.2rem 0 4rem;
}

.news-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
  align-items: stretch;
}

.news-grid--carousel {
  align-items: start;
  position: relative;
}

.news-carousel__viewport {
  grid-column: 1 / -1;
  overflow: hidden;
}

.news-carousel__track {
  display: grid;
  grid-template-columns: 100% 100%;
  align-items: stretch;
  will-change: transform, filter;
}

.news-carousel__track--next {
  animation: newsTrackSwipeNext 260ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

.news-carousel__track--prev {
  animation: newsTrackSwipePrev 260ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

.news-carousel__pane {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
  align-items: stretch;
}

.news-grid--centered .news-carousel__pane {
  display: grid;
  justify-content: center;
}

.news-grid--centered[data-news-visible-count="1"] .news-carousel__pane {
  grid-template-columns: minmax(280px, 420px);
}

.news-grid--centered[data-news-visible-count="2"] .news-carousel__pane {
  grid-template-columns: repeat(2, minmax(280px, 420px));
}

.news-grid--centered .news-carousel__viewport {
  grid-column: 1 / -1;
  overflow: visible;
  padding-top: 0.2rem;
}

.news-grid--glitching::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: calc(100% - 3rem);
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.18;
  background:
    linear-gradient(90deg, rgba(0, 240, 255, 0.08), rgba(255, 54, 94, 0.06)),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.03) 0,
      rgba(255, 255, 255, 0.03) 2px,
      transparent 2px,
      transparent 6px
    );
  animation: newsGlitchFlicker 260ms steps(2, end) both;
}

.news-carousel__footer {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.35rem;
}

.news-card {
  background: linear-gradient(180deg, rgba(0, 240, 255, 0.08), rgba(0, 0, 0, 0.22));
  border: 1px solid rgba(0, 240, 255, 0.28);
  border-radius: 0.6rem;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card--enter {
  animation: carouselFadeIn 480ms ease both;
}

.news-card--interactive {
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.news-card--interactive:hover,
.news-card--interactive:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 212, 0, 0.42);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.24);
}

.news-carousel__nav {
  border: 1px solid rgba(0, 240, 255, 0.28);
  background: rgba(5, 16, 30, 0.58);
  color: var(--neon-cyan);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, filter 180ms ease, border-color 180ms ease;
}

.news-carousel__nav:hover,
.news-carousel__nav:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.08);
  border-color: rgba(255, 212, 0, 0.45);
}

.news-carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  flex: 1;
}

.news-carousel__dot {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: rgba(140, 184, 209, 0.35);
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.news-carousel__dot:hover,
.news-carousel__dot:focus-visible {
  transform: scale(1.12);
  background: rgba(255, 212, 0, 0.72);
}

.news-carousel__dot.is-active {
  background: var(--neon-cyan);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.45);
}

.news-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.news-modal[hidden] {
  display: none;
}

.news-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 10, 20, 0.76);
  backdrop-filter: blur(8px);
}

.news-modal__dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: min(82vh, 900px);
  border: 1px solid rgba(0, 240, 255, 0.28);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(6, 18, 30, 0.96), rgba(3, 8, 15, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.news-modal__content {
  padding: 1.35rem;
  max-height: min(82vh, 900px);
  overflow-y: auto;
}

.news-modal__content h3 {
  margin: 0.55rem 0 0.75rem;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
}

.news-modal__body {
  color: #d4e3ef;
  line-height: 1.75;
}

.news-modal__body p {
  margin: 0;
}

.news-modal__action {
  margin-top: 1rem;
}

.news-modal__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  border: 1px solid rgba(255, 212, 0, 0.3);
  background: rgba(255, 212, 0, 0.08);
  color: var(--neon-yellow);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.news-card__tag {
  margin: 0;
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
}

.news-card h3 {
  margin: 0.55rem 0;
  font-family: "Orbitron", sans-serif;
  font-size: 1.05rem;
}

.news-card p,
.event-item p {
  color: #c7d9e6;
  line-height: 1.58;
}

.news-card .item-action {
  margin-top: auto;
  padding-top: 0.85rem;
}

.item-date {
  margin: 0;
  color: #ffd770;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.item-content {
  margin: 0.35rem 0 0;
}

.item-action {
  margin-top: 0.85rem;
}

.item-action .btn {
  width: 100%;
}

.event-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.85rem;
}

.event-item {
  border: 1px solid rgba(255, 212, 0, 0.3);
  background: linear-gradient(100deg, rgba(255, 212, 0, 0.08), rgba(0, 240, 255, 0.07));
  border-radius: 0.6rem;
  padding: 1rem 1.1rem;
}

.event-item__date {
  margin: 0;
  color: #ffd770;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.event-item h3 {
  margin: 0.45rem 0;
  font-family: "Orbitron", sans-serif;
  font-size: 1.08rem;
}

.event-item p {
  margin: 0;
  color: #d4e3ef;
  line-height: 1.6;
}

.footer {
  padding: 0 0 2.8rem;
  color: #88a8bf;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

@keyframes carouselFadeIn {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes newsTrackSwipeNext {
  0% {
    transform: translateX(0);
    filter: none;
  }
  45% {
    filter: hue-rotate(8deg) contrast(1.08) saturate(1.08);
  }
  50% {
    transform: translateX(-54%) skewX(-0.7deg);
  }
  100% {
    transform: translateX(-100%);
    filter: hue-rotate(10deg) contrast(1.06);
  }
}

@keyframes newsTrackSwipePrev {
  0% {
    transform: translateX(-100%);
    filter: none;
  }
  45% {
    filter: hue-rotate(-8deg) contrast(1.08) saturate(1.08);
  }
  50% {
    transform: translateX(-46%) skewX(0.7deg);
  }
  100% {
    transform: translateX(0);
    filter: hue-rotate(-10deg) contrast(1.06);
  }
}

@keyframes newsGlitchFlicker {
  0% {
    opacity: 0.08;
    transform: translateX(0);
  }
  25% {
    opacity: 0.18;
    transform: translateX(3px);
  }
  50% {
    opacity: 0.1;
    transform: translateX(-2px);
  }
  75% {
    opacity: 0.16;
    transform: translateX(1px);
  }
  100% {
    opacity: 0;
    transform: translateX(0);
  }
}

@media (max-width: 900px) {
  .hero__layout {
    grid-template-columns: 1fr;
  }

  .hero__media {
    justify-self: center;
    width: min(420px, 82vw);
    margin-top: 0.25rem;
  }

  .highlights {
    grid-template-columns: 1fr;
  }

  .creator-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-carousel__pane {
    grid-template-columns: 1fr;
  }

  .news-grid--centered[data-news-visible-count="1"] .news-carousel__pane,
  .news-grid--centered[data-news-visible-count="2"] .news-carousel__pane {
    grid-template-columns: 1fr;
  }

  .news-carousel__footer {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .topbar {
    padding: 0.8rem 4vw;
  }

  .brand span {
    font-size: 0.86rem;
  }

  .topbar__cta {
    font-size: 0.85rem;
    padding: 0.55rem 0.8rem;
  }

  .hero {
    padding-top: 9.2vh;
  }

  .hero__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
