:root {
  --bg: #05070d;
  --panel: #0b111d;
  --panel-2: #111a2a;
  --text: #f7fbff;
  --muted: #9fb0c4;
  --line: rgba(255, 255, 255, 0.12);
  --blue: #1294ff;
  --gold: #f5bf35;
  --green: #39df65;
  --red: #ff5967;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 76px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 7, 13, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 7px;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

nav a:hover,
.text-link:hover {
  color: var(--text);
}

.member-link,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-weight: 900;
}

.member-link {
  color: var(--gold);
  background: rgba(245, 191, 53, 0.08);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 120px clamp(20px, 5vw, 72px) 70px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.98) 0%, rgba(5, 7, 13, 0.82) 46%, rgba(5, 7, 13, 0.55) 100%),
    linear-gradient(180deg, rgba(18, 148, 255, 0.18), transparent 38%, rgba(245, 191, 53, 0.12));
}

.hero-media {
  position: absolute;
  inset: 76px 0 0 auto;
  width: min(56vw, 820px);
  opacity: 0.58;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(64px, 11vw, 142px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.hero-copy,
.section-heading p,
.split-section p,
.cta-panel p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-copy {
  max-width: 680px;
  font-size: clamp(19px, 2vw, 25px);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button.primary {
  border-color: rgba(245, 191, 53, 0.72);
  color: #06101d;
  background: linear-gradient(180deg, #ffe071, var(--gold));
  box-shadow: 0 12px 34px rgba(245, 191, 53, 0.24);
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.signal-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 720px;
  margin: 44px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.signal-row div {
  padding: 18px;
  background: rgba(9, 14, 24, 0.82);
}

dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

dd {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
}

.section,
.split-section,
.community-section,
.social-section {
  padding: 96px clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.feature-grid article {
  min-height: 260px;
  padding: 28px;
  background: var(--panel);
}

.feature-grid span {
  display: block;
  margin-bottom: 52px;
  color: var(--blue);
  font-weight: 900;
}

.feature-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  gap: 46px;
  align-items: center;
  background: #07101c;
  border-block: 1px solid var(--line);
}

.community-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: 40px;
  align-items: center;
}

.social-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  gap: 38px;
  align-items: center;
  border-top: 1px solid var(--line);
  background: #05070d;
}

.social-section p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.social-grid a {
  min-height: 128px;
  padding: 18px;
  border: 1px solid rgba(18, 148, 255, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(18, 148, 255, 0.12), rgba(245, 191, 53, 0.07)),
    #0b111d;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.social-grid a:hover {
  border-color: rgba(245, 191, 53, 0.54);
  transform: translateY(-2px);
}

.social-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.social-grid strong {
  font-size: 22px;
}

.community-copy {
  max-width: 820px;
}

.community-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.discord-card {
  padding: 26px;
  border: 1px solid rgba(18, 148, 255, 0.28);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(18, 148, 255, 0.12), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow);
}

.discord-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(57, 223, 101, 0.75);
}

.channel-list {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.channel-list span,
.tournament-note {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(5, 7, 13, 0.56);
}

.channel-list span {
  color: var(--muted);
  font-weight: 800;
}

.tournament-note span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.tournament-note strong {
  display: block;
  margin-bottom: 8px;
}

.tournament-note p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--gold);
  font-weight: 900;
}

.dashboard-preview {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #0d1522, #070b12);
  box-shadow: var(--shadow);
}

.realistic-preview {
  padding: 18px;
}

.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.preview-top span {
  display: block;
  margin-top: 4px;
}

.preview-top em {
  padding: 8px 10px;
  border: 1px solid rgba(18, 148, 255, 0.3);
  border-radius: 6px;
  color: var(--blue);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  background: rgba(18, 148, 255, 0.1);
}

.preview-top span,
.metric-strip span,
.preview-stat-grid span {
  color: var(--muted);
  font-size: 13px;
}

.metric-strip,
.preview-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 22px;
}

.preview-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.metric-strip div,
.preview-stat-grid div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
}

.metric-strip strong,
.preview-stat-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 26px;
}

.metric-strip small,
.preview-stat-grid small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.negative {
  color: var(--red);
}

.preview-chart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(180px, 0.55fr);
  gap: 10px;
  margin-bottom: 16px;
}

.mini-panel {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
  padding: 12px;
}

.mini-panel > span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.positive {
  color: var(--green);
}

.preview-chart {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  height: 214px;
  margin-bottom: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #080d15;
  overflow: hidden;
}

.recent-pnl {
  display: grid;
  gap: 8px;
}

.recent-pnl div {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.recent-pnl b {
  font-size: 13px;
}

.recent-pnl i {
  display: block;
  height: 12px;
  border-radius: 999px;
  opacity: 0.72;
}

.recent-pnl div:nth-child(2) i {
  width: 28%;
  background: var(--red);
}

.recent-pnl div:nth-child(3) i {
  width: 64%;
  background: var(--green);
}

.recent-pnl div:nth-child(4) i {
  width: 48%;
  background: var(--green);
}

.recent-pnl div:nth-child(5) i {
  width: 22%;
  background: var(--red);
}

.recent-pnl div:nth-child(6) i {
  width: 92%;
  background: var(--green);
}

.preview-calendar-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.preview-calendar-head small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 0 26px 12px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.chart-stage {
  position: relative;
  min-width: 0;
}

.grid-row {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.09);
}

.grid-row:nth-child(1) {
  top: 24%;
}

.grid-row:nth-child(2) {
  top: 50%;
}

.grid-row:nth-child(3) {
  top: 76%;
}

.preview-chart svg {
  position: absolute;
  inset: 18px 16px 26px;
  width: calc(100% - 32px);
  height: calc(100% - 44px);
  overflow: visible;
}

.preview-chart polyline {
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 6;
}

.preview-chart circle {
  fill: var(--gold);
  stroke: #07101c;
  stroke-width: 3;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.calendar-grid span {
  display: grid;
  align-content: center;
  gap: 2px;
  aspect-ratio: 1;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 11px;
  text-align: center;
}

.calendar-grid b,
.calendar-grid em {
  display: block;
  font-style: normal;
  line-height: 1.1;
}

.calendar-grid em {
  color: var(--muted);
  font-size: 10px;
}

.calendar-grid small {
  display: block;
  color: var(--muted);
  font-size: 9px;
}

.calendar-grid .green {
  background: rgba(57, 223, 101, 0.22);
  border-color: rgba(57, 223, 101, 0.5);
}

.calendar-grid .red {
  background: rgba(255, 89, 103, 0.22);
  border-color: rgba(255, 89, 103, 0.5);
}

.dark-band {
  background: #05070d;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 34px;
  border: 1px solid rgba(245, 191, 53, 0.28);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(18, 148, 255, 0.14), rgba(245, 191, 53, 0.11));
}

.cta-panel p {
  max-width: 620px;
  margin-bottom: 0;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
    height: auto;
    flex-wrap: wrap;
  }

  nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    inset: 120px 0 auto;
    width: 100%;
    height: 56vh;
    opacity: 0.28;
  }

  .signal-row,
  .feature-grid,
  .split-section,
  .community-section,
  .social-section,
  .social-grid,
  .metric-strip,
  .preview-stat-grid,
  .preview-chart-grid,
  .cta-panel,
  footer {
    grid-template-columns: 1fr;
  }

  .split-section,
  .cta-panel,
  footer {
    display: grid;
  }
}

@media (max-width: 560px) {
  .brand span {
    display: none;
  }

  nav {
    gap: 10px;
    font-size: 13px;
  }

  .member-link,
  .button {
    width: 100%;
  }

  .hero-actions,
  .cta-actions {
    width: 100%;
  }

  h1 {
    font-size: 58px;
  }
}
