:root {
  --bg: #050307;
  --panel: rgba(12, 7, 18, 0.88);
  --purple: #9f49ff;
  --purple-light: #cb8cff;
  --violet: #6f25ce;
  --text: #f6f1ff;
  --muted: #998da7;
  --line: rgba(173, 99, 255, 0.24);
  --font-display: "Orbitron", sans-serif;
  --font-body: "Inter", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 18%, rgba(105, 31, 176, 0.13), transparent 30%),
    radial-gradient(circle at 12% 58%, rgba(80, 14, 138, 0.12), transparent 33%),
    linear-gradient(135deg, #08050c 0%, var(--bg) 52%, #07020b 100%);
  font-family: var(--font-body);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(135, 67, 199, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(135, 67, 199, 0.035) 1px, transparent 1px);
  background-size: 58px 58px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.035;
  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='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.13;
  background: var(--purple);
  animation: drift 12s ease-in-out infinite alternate;
}

.ambient-one {
  top: -180px;
  right: -100px;
}

.ambient-two {
  bottom: -250px;
  left: -170px;
  animation-delay: -5s;
}

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--purple);
  color: var(--purple-light);
  font-family: var(--font-display);
  font-size: 20px;
  box-shadow: inset 0 0 18px rgba(159, 73, 255, 0.22), 0 0 20px rgba(159, 73, 255, 0.15);
  clip-path: polygon(50% 0, 100% 25%, 88% 85%, 50% 100%, 12% 85%, 0 25%);
}

.brand strong,
.brand small {
  display: block;
  font-family: var(--font-display);
  letter-spacing: 0.18em;
}

.brand strong {
  font-size: 13px;
}

.brand small {
  margin-top: 3px;
  color: var(--purple-light);
  font-size: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border: 1px solid rgba(157, 86, 222, 0.16);
  border-radius: 999px;
  background: rgba(18, 10, 27, 0.62);
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: #b9a8c8;
  font-family: var(--font-display);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: 180ms ease;
}

.site-nav a.is-active,
.site-nav a:hover {
  color: white;
  background: rgba(159, 73, 255, 0.18);
  box-shadow: inset 0 0 18px rgba(159, 73, 255, 0.08);
}

.status-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid rgba(157, 86, 222, 0.2);
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ad63ff;
  box-shadow: 0 0 9px #ad63ff;
  animation: pulse 1.8s infinite;
}

.hero {
  position: relative;
  display: grid;
  min-height: 440px;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 30px;
  padding: 54px 0 32px;
}

.eyebrow,
.section-heading p,
.live-kicker,
.countdown-panel > p {
  color: var(--purple-light);
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.34em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow span {
  width: 35px;
  height: 1px;
  background: var(--purple);
  box-shadow: 0 0 8px var(--purple);
}

.hero h1 {
  margin: 22px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero h1 em {
  color: transparent;
  background: linear-gradient(90deg, #8c3ff0, #d6a1ff 60%, #8a43cf);
  background-clip: text;
  font-style: normal;
  text-shadow: 0 0 35px rgba(159, 73, 255, 0.2);
}

.hero-description {
  max-width: 510px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.rank-line {
  display: flex;
  max-width: 440px;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  color: #6e6478;
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.18em;
}

.rank-line strong {
  color: var(--text);
  font-size: 10px;
}

.rank-line strong:first-of-type {
  color: var(--purple-light);
  font-size: 18px;
}

.rank-line i {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}

.sigil {
  position: relative;
  display: grid;
  width: min(360px, 80vw);
  aspect-ratio: 1;
  place-items: center;
  justify-self: center;
  filter: drop-shadow(0 0 45px rgba(130, 43, 218, 0.28));
}

.sigil::before,
.sigil::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(178, 107, 255, 0.12);
  transform: rotate(45deg);
}

.sigil::before {
  inset: 18%;
}

.sigil::after {
  inset: 30%;
}

.sigil-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(180, 112, 255, 0.28);
}

.ring-one {
  inset: 10%;
  border-style: dashed;
  animation: spin 28s linear infinite;
}

.ring-two {
  inset: 24%;
  animation: spin 17s linear infinite reverse;
  box-shadow: 0 0 35px rgba(146, 54, 235, 0.18);
}

.sigil-core {
  display: grid;
  width: 124px;
  height: 124px;
  place-items: center;
  border-radius: 50%;
  color: #c98aff;
  background: radial-gradient(circle, rgba(112, 32, 188, 0.32), transparent 66%);
  font-size: 64px;
  text-shadow: 0 0 18px #8f3ce5;
  animation: corePulse 3s ease-in-out infinite;
}

.live-section {
  padding: 40px 0 70px;
}

.spotlight {
  display: grid;
  min-height: calc(100svh - 105px);
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 22px;
  align-items: start;
  padding: 26px 0 46px;
}

.spotlight .live-section {
  padding: 0;
}

.compact-heading {
  margin-bottom: 14px;
}

.creator-card {
  position: sticky;
  top: 18px;
  overflow: hidden;
  min-height: 0;
  padding: 25px;
  border: 1px solid rgba(170, 94, 240, 0.32);
  background:
    linear-gradient(145deg, rgba(137, 48, 207, 0.13), transparent 42%),
    rgba(11, 7, 15, 0.9);
  box-shadow:
    inset 0 0 45px rgba(96, 30, 147, 0.06),
    0 0 38px rgba(116, 36, 181, 0.08);
}

.creator-card::before {
  position: absolute;
  top: -1px;
  left: 24px;
  width: 75px;
  height: 2px;
  background: var(--purple);
  box-shadow: 0 0 10px var(--purple);
  content: "";
}

.creator-aura {
  position: absolute;
  top: -95px;
  right: -85px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(159, 73, 255, 0.18);
  filter: blur(42px);
}

.profile-avatar {
  position: relative;
  z-index: 1;
  display: grid;
  width: 132px;
  height: 132px;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid rgba(184, 110, 255, 0.45);
  border-radius: 32px;
  background:
    radial-gradient(circle, rgba(123, 36, 190, 0.28), transparent 68%),
    rgba(5, 2, 8, 0.72);
  box-shadow: 0 0 32px rgba(142, 53, 220, 0.18);
  transform: rotate(-2deg);
}

.profile-avatar::after {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(184, 110, 255, 0.16);
  border-radius: 25px;
  content: "";
}

.profile-avatar img {
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  object-fit: cover;
}

.profile-avatar span {
  z-index: 1;
  color: var(--purple-light);
  font-family: var(--font-display);
  font-size: 54px;
  text-shadow: 0 0 18px var(--purple);
}

.creator-card h1 {
  position: relative;
  z-index: 1;
  margin: 14px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.creator-title {
  margin: 0 0 14px;
  color: transparent;
  background: linear-gradient(90deg, #8c3ff0, #d6a1ff 60%, #8a43cf);
  background-clip: text;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.creator-card .hero-description {
  margin: 0;
}

.linktree {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.linktree a {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  border: 1px solid rgba(159, 90, 222, 0.28);
  color: #eee5f8;
  background:
    linear-gradient(90deg, rgba(132, 46, 202, 0.2), transparent),
    rgba(20, 11, 28, 0.7);
  font-family: var(--font-display);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: 180ms ease;
}

.linktree a:hover {
  border-color: rgba(188, 116, 255, 0.65);
  box-shadow: 0 0 20px rgba(143, 57, 220, 0.22);
  transform: translateY(-1px);
}

.linktree-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.social-icon {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid rgba(203, 140, 255, 0.34);
  border-radius: 9px;
  color: white;
  background: linear-gradient(135deg, rgba(159, 73, 255, 0.44), rgba(255, 79, 160, 0.18));
  font-family: var(--font-display);
  font-size: 11px;
  box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.04), 0 0 14px rgba(159, 73, 255, 0.13);
}

.social-tiktok { background: linear-gradient(135deg, #00f2ea, #ff0050); }
.social-youtube { background: linear-gradient(135deg, #ff0033, #7b111d); }
.social-twitch { background: linear-gradient(135deg, #9146ff, #4b1d93); }
.social-discord { background: linear-gradient(135deg, #5865f2, #2f368b); }
.social-instagram { background: linear-gradient(135deg, #feda75, #d62976 48%, #4f5bd5); }
.social-x { background: linear-gradient(135deg, #1f1f28, #000); }
.social-roblox { background: linear-gradient(135deg, #f0f0f0, #5d5d6c); color: #111; }
.social-kick { background: linear-gradient(135deg, #53fc18, #168500); color: #071006; }

.spotlight .live-card {
  min-height: 0;
}

.spotlight .live-content {
  min-height: 0;
  grid-template-columns: 165px 1fr;
}

.spotlight .countdown-panel {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  border-left: 0;
}

.spotlight .game-visual,
.spotlight .live-info,
.spotlight .countdown-panel {
  padding: 22px;
}

.spotlight .game-icon-shell {
  width: 104px;
  height: 104px;
}

.spotlight .live-description {
  min-height: 0;
  margin-bottom: 17px;
}

.spotlight .countdown-panel > p {
  margin-bottom: 14px;
}

.spotlight .actions {
  margin-top: 20px;
}

.spotlight .loading-state,
.spotlight .empty-state {
  min-height: 430px;
}

.schedule-section {
  padding: 0 0 85px;
}

.shop-section {
  padding: 0 0 70px;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.shop-card {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  border: 1px solid rgba(170, 94, 240, 0.26);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(137, 48, 207, 0.13), transparent 42%),
    rgba(16, 9, 23, 0.92);
  box-shadow:
    inset 0 0 35px rgba(96, 30, 147, 0.06),
    0 0 28px rgba(116, 36, 181, 0.08);
}

.shop-card::before {
  position: absolute;
  top: -1px;
  left: 28px;
  width: 62px;
  height: 2px;
  background: var(--purple);
  box-shadow: 0 0 10px var(--purple);
  content: "";
}

.shop-image {
  position: relative;
  height: 190px;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(159, 73, 255, 0.22), transparent 60%),
    #0c0612;
}

.shop-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
}

.shop-card:hover .shop-image img {
  filter: saturate(1.2) brightness(1.08);
  transform: scale(1.04);
}

.shop-placeholder {
  display: grid;
  height: 100%;
  place-items: center;
  color: var(--purple-light);
  font-family: var(--font-display);
  font-size: 54px;
  text-shadow: 0 0 18px var(--purple);
}

.shop-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 8px 11px;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, #7b2fd0, #ff4fa0);
  font-family: var(--font-display);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.12em;
  box-shadow: 0 0 18px rgba(207, 82, 255, 0.28);
}

.shop-body {
  display: flex;
  min-height: 240px;
  flex-direction: column;
  padding: 25px;
}

.shop-body h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.35;
  text-transform: uppercase;
}

.shop-body p {
  flex: 1;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.shop-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.shop-price span {
  color: #6d6178;
  font-family: var(--font-display);
  font-size: 7px;
  letter-spacing: 0.18em;
}

.shop-price strong {
  color: #ff75d1;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.03em;
}

.shop-button {
  width: 100%;
}

.shop-loading,
.shop-empty {
  grid-column: 1 / -1;
  padding: 55px 25px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-align: center;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.schedule-card {
  position: relative;
  display: flex;
  min-height: 310px;
  flex-direction: column;
  padding: 25px;
  border: 1px solid rgba(170, 94, 240, 0.25);
  background:
    linear-gradient(145deg, rgba(137, 48, 207, 0.1), transparent 38%),
    rgba(11, 7, 15, 0.9);
  box-shadow: inset 0 0 35px rgba(96, 30, 147, 0.05);
}

.schedule-card::before {
  position: absolute;
  top: -1px;
  left: 22px;
  width: 55px;
  height: 2px;
  background: var(--purple);
  box-shadow: 0 0 9px var(--purple);
  content: "";
}

.schedule-game {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--purple-light);
  font-family: var(--font-display);
  font-size: 7px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.schedule-game img,
.schedule-game-fallback {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  object-fit: contain;
  color: var(--purple-light);
  background: rgba(5, 2, 8, 0.7);
}

.schedule-card h3 {
  margin: 23px 0 12px;
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.4;
  text-transform: uppercase;
}

.schedule-card > p {
  flex: 1;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.schedule-card-date {
  display: flex;
  gap: 22px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.schedule-card-date div {
  display: grid;
  gap: 5px;
}

.schedule-card-date span {
  color: #665b6e;
  font-family: var(--font-display);
  font-size: 6px;
  letter-spacing: 0.14em;
}

.schedule-card-date strong {
  font-family: var(--font-display);
  font-size: 9px;
}

.schedule-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 20px;
}

.schedule-actions .button {
  min-height: 39px;
}

.schedule-loading,
.schedule-empty {
  grid-column: 1 / -1;
  padding: 55px 25px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-align: center;
}

.section-heading {
  margin-bottom: 20px;
}

.schedule-section,
.shop-section {
  scroll-margin-top: 26px;
}

/*
 * Petite animation déclenchée au clic dans la navigation.
 * Elle donne l'impression que la section glisse dans l'écran.
 */
.section-slide-in {
  animation: sectionSlideIn 560ms cubic-bezier(0.16, 1, 0.3, 1);
}

.section-heading p {
  margin-bottom: 8px;
  color: #6d5b7e;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 38px);
  letter-spacing: 0.1em;
}

.glitch {
  position: relative;
  display: inline-block;
}

.glitch::before,
.glitch::after {
  position: absolute;
  inset: 0;
  content: attr(data-text);
  pointer-events: none;
  opacity: 0;
}

.glitch::before {
  color: #c36cff;
  transform: translateX(2px);
  animation: glitch 5s infinite;
}

.glitch::after {
  color: #5c1da0;
  transform: translateX(-2px);
  animation: glitch 5s 0.08s infinite reverse;
}

.live-card {
  position: relative;
  min-height: 320px;
  padding: 1px;
  border: 1px solid rgba(170, 94, 240, 0.32);
  background:
    linear-gradient(135deg, rgba(151, 61, 224, 0.1), transparent 34%),
    var(--panel);
  box-shadow:
    inset 0 0 60px rgba(94, 26, 154, 0.08),
    0 0 45px rgba(116, 36, 181, 0.09);
  overflow: hidden;
}

.live-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 25%, rgba(170, 94, 255, 0.05), transparent 55%);
  content: "";
  animation: scan 7s infinite;
}

.corner {
  position: absolute;
  z-index: 2;
  width: 18px;
  height: 18px;
  border-color: var(--purple-light);
  filter: drop-shadow(0 0 4px var(--purple));
}

.corner-tl {
  top: -1px;
  left: -1px;
  border-top: 2px solid;
  border-left: 2px solid;
}

.corner-tr {
  top: -1px;
  right: -1px;
  border-top: 2px solid;
  border-right: 2px solid;
}

.corner-bl {
  bottom: -1px;
  left: -1px;
  border-bottom: 2px solid;
  border-left: 2px solid;
}

.corner-br {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.live-content {
  display: grid;
  min-height: 320px;
  grid-template-columns: 235px 1fr 370px;
}

.game-visual,
.live-info,
.countdown-panel {
  position: relative;
  z-index: 1;
  padding: 34px;
}

.game-visual {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
  background: radial-gradient(circle at 50% 32%, rgba(133, 45, 210, 0.21), transparent 52%);
}

.game-icon-shell {
  position: relative;
  display: grid;
  width: 126px;
  height: 126px;
  place-items: center;
  align-self: center;
  border: 1px solid rgba(184, 110, 255, 0.35);
  background: rgba(7, 4, 10, 0.72);
  box-shadow: 0 0 30px rgba(142, 53, 220, 0.18);
  transform: rotate(2deg);
}

.game-icon-shell::before {
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(184, 110, 255, 0.13);
  content: "";
}

.game-icon-shell img {
  z-index: 1;
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.game-icon-shell span {
  color: var(--purple-light);
  font-size: 48px;
  text-shadow: 0 0 15px var(--purple);
}

.game-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.game-meta p {
  margin: 0;
  color: #cfc3d9;
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-align: right;
  text-transform: uppercase;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--purple-light);
  font-family: var(--font-display);
  font-size: 7px;
  letter-spacing: 0.13em;
}

.live-badge i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--purple-light);
  box-shadow: 0 0 8px var(--purple);
}

.live-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.live-kicker {
  margin: 0 0 15px;
}

.live-info h3 {
  max-width: 480px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.3vw, 30px);
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.live-description {
  min-height: 42px;
  margin: 15px 0 22px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.schedule {
  display: flex;
  gap: 36px;
}

.schedule div {
  display: grid;
  gap: 5px;
}

.schedule span {
  color: #6f6479;
  font-family: var(--font-display);
  font-size: 7px;
  letter-spacing: 0.18em;
}

.schedule strong {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.countdown-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--line);
  background: rgba(7, 3, 11, 0.35);
}

.countdown-panel > p {
  margin: 0 0 20px;
  color: #81728e;
}

.countdown {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.countdown div {
  display: grid;
  min-width: 52px;
  gap: 7px;
  text-align: center;
}

.countdown strong {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 32px);
  letter-spacing: -0.03em;
  text-shadow: 0 0 18px rgba(188, 116, 255, 0.25);
}

.countdown span {
  color: #74677e;
  font-family: var(--font-display);
  font-size: 6px;
  letter-spacing: 0.13em;
}

.countdown b {
  margin-top: 7px;
  color: #614276;
  font-family: var(--font-display);
  font-weight: 400;
}

.actions {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 10px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  font-family: var(--font-display);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
  transition: 180ms ease;
}

.button-secondary {
  border: 1px solid rgba(159, 90, 222, 0.28);
  color: #a997b8;
  background: rgba(20, 11, 28, 0.7);
}

.button-secondary:hover {
  color: white;
  border-color: rgba(188, 116, 255, 0.65);
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, #7130ae, #9a45e6);
  box-shadow: 0 0 20px rgba(143, 57, 220, 0.2);
}

.button-primary:not(.is-disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(160, 67, 238, 0.42);
}

.button.is-disabled {
  color: #665c6d;
  background: #1b151f;
  box-shadow: none;
  cursor: not-allowed;
}

.loading-state,
.empty-state {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 320px;
  place-items: center;
  align-content: center;
  gap: 15px;
  color: var(--muted);
  text-align: center;
}

.loading-state p,
.empty-state p {
  margin: 0;
  font-size: 12px;
}

.empty-state span {
  color: var(--purple-light);
  font-size: 42px;
  text-shadow: 0 0 15px var(--purple);
}

.empty-state h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.08em;
}

.loader {
  width: 32px;
  height: 32px;
  border: 2px solid rgba(159, 73, 255, 0.15);
  border-top-color: var(--purple-light);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.hidden {
  display: none !important;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 0 35px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #514859;
  font-family: var(--font-display);
  font-size: 7px;
  letter-spacing: 0.16em;
}

footer a {
  color: #6c5a7a;
  text-decoration: none;
}

footer a:hover {
  color: var(--purple-light);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  50% { opacity: 0.35; }
}

@keyframes corePulse {
  50% { transform: scale(1.04); filter: brightness(1.3); }
}

@keyframes drift {
  to { transform: translate(60px, 35px); }
}

@keyframes scan {
  from { transform: translateX(-110%); }
  30%, 100% { transform: translateX(150%); }
}

@keyframes glitch {
  0%, 91%, 100% { opacity: 0; clip-path: inset(0 0 100% 0); }
  92% { opacity: 0.7; clip-path: inset(12% 0 64% 0); }
  94% { opacity: 0.5; clip-path: inset(70% 0 12% 0); }
  96% { opacity: 0.7; clip-path: inset(42% 0 40% 0); }
  98% { opacity: 0; clip-path: inset(0 0 100% 0); }
}

@keyframes sectionSlideIn {
  from {
    opacity: 0.45;
    transform: translateX(34px) scale(0.985);
    filter: drop-shadow(0 0 0 rgba(159, 73, 255, 0));
  }

  55% {
    opacity: 1;
    filter: drop-shadow(0 0 22px rgba(159, 73, 255, 0.18));
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: drop-shadow(0 0 0 rgba(159, 73, 255, 0));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .section-slide-in {
    animation: none;
  }
}

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

  .spotlight .live-section {
    order: -1;
  }

  .creator-card {
    position: relative;
    top: auto;
  }

  .live-content {
    grid-template-columns: 200px 1fr;
  }

  .countdown-panel {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .countdown {
    max-width: 400px;
  }

  .actions {
    max-width: 500px;
  }

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

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

@media (max-width: 720px) {
  .site-header,
  main,
  footer {
    width: min(100% - 30px, 1180px);
  }

  .site-header {
    flex-wrap: wrap;
    gap: 14px;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .spotlight {
    min-height: auto;
    padding: 18px 0 36px;
  }

  .creator-card {
    padding: 22px;
  }

  .profile-avatar {
    width: 104px;
    height: 104px;
    margin-bottom: 18px;
    border-radius: 26px;
  }

  .profile-avatar img {
    border-radius: 24px;
  }

  .creator-card h1 {
    font-size: 34px;
  }

  .linktree a {
    min-height: 43px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 70px;
  }

  .sigil {
    position: absolute;
    z-index: -1;
    top: 105px;
    right: -145px;
    width: 330px;
    opacity: 0.38;
  }

  .live-content {
    grid-template-columns: 1fr;
  }

  .game-visual {
    min-height: 190px;
    flex-direction: row;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .game-icon-shell {
    width: 112px;
    height: 112px;
    align-self: auto;
  }

  .game-meta {
    flex-direction: column-reverse;
    align-items: flex-end;
  }

  .live-info,
  .game-visual,
  .countdown-panel {
    padding: 27px;
  }

  .countdown-panel {
    grid-column: auto;
  }

  .spotlight .loading-state,
  .spotlight .empty-state {
    min-height: 360px;
  }

  .actions {
    grid-template-columns: 1fr;
  }

  footer {
    flex-wrap: wrap;
    gap: 14px;
  }

  .schedule-grid {
    grid-template-columns: 1fr;
  }

  .shop-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .status-pill {
    display: none;
  }

  .site-nav a {
    padding-inline: 10px;
    font-size: 7px;
  }

  .creator-card h1,
  .hero h1 {
    font-size: 41px;
  }

  .live-section {
    padding-top: 25px;
  }

  .spotlight .live-section {
    padding-top: 0;
  }

  .spotlight .game-visual,
  .spotlight .live-info,
  .spotlight .countdown-panel {
    padding: 20px;
  }

  .compact-heading {
    margin-bottom: 10px;
  }

  .schedule {
    gap: 20px;
  }

  .countdown div {
    min-width: 42px;
  }

  .countdown strong {
    font-size: 22px;
  }

  .countdown b {
    margin-top: 4px;
  }

  footer span:nth-child(2) {
    display: none;
  }
}

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