/* ===================================================
   OceanLife RP — Stylesheet
   =================================================== */

:root {
  --bg: #050a12;
  --bg-soft: #0a1320;
  --bg-card: #0e1828;
  --bg-elev: #121e30;
  --line: rgba(134, 236, 255, 0.12);
  --line-strong: rgba(134, 236, 255, 0.22);
  --text: #e7eef7;
  --text-soft: #a8b3c2;
  --text-muted: #6b7686;
  --primary: #0161c8;
  --accent: #86ecff;
  --accent-glow: rgba(134, 236, 255, 0.45);
  --primary-glow: rgba(1, 97, 200, 0.45);
  --green: #22c55e;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 24px;

  --font-display: 'Audiowide', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 800px 600px at 80% -10%, rgba(1, 97, 200, 0.18), transparent 60%),
    radial-gradient(ellipse 600px 400px at 0% 100%, rgba(134, 236, 255, 0.08), transparent 60%),
    var(--bg);
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
svg { display: block; max-width: 100%; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* ===== Top Navigation ===== */
.topnav {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 32px;
}

.topnav-inner {
  max-width: 1240px;
  margin: 0 auto;
  background: rgba(14, 24, 40, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 60px;
  padding: 12px 16px 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.logo-wrap { display: flex; align-items: center; }
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(1, 97, 200, 0.08);
  border: 1px solid var(--line-strong);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  justify-content: center;
  transition: all 0.3s ease;
}
.logo:hover { box-shadow: 0 0 24px var(--accent-glow); }
.logo-mark { display: block; width: 32px; height: 32px; }
.logo-mark svg { width: 100%; height: 100%; filter: drop-shadow(0 0 8px var(--accent-glow)); }

.topnav-links {
  display: flex;
  gap: 38px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.02em;
}
.topnav-links a {
  color: var(--text-soft);
  position: relative;
  padding: 8px 0;
  transition: color 0.25s ease;
}
.topnav-links a:hover { color: var(--accent); }
.topnav-links a.active { color: var(--accent); }
.topnav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--accent-glow);
}

.social-rail {
  position: fixed;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 50;
}
.social-rail a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  transition: all 0.25s ease;
}
.social-rail a:hover {
  background: var(--accent);
  color: #001925;
  transform: scale(1.08);
}
.social-rail svg { width: 16px; height: 16px; }

.page-wrap { padding-top: 80px; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding: 60px 32px;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(1, 97, 200, 0.25), transparent 60%),
    radial-gradient(ellipse 40% 60% at 70% 30%, rgba(134, 236, 255, 0.15), transparent 60%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(134, 236, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(134, 236, 255, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}

.hero-inner {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--accent);
  padding: 8px 18px;
  background: rgba(134, 236, 255, 0.08);
  border: 1px solid var(--line-strong);
  border-radius: 40px;
  margin-bottom: 28px;
}
.hero-eyebrow .dot,
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(64px, 9vw, 130px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}
.hero-title .line { display: block; }
.hero-title .line-1 { color: var(--text); }
.hero-title .line-2 {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-soft);
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.btn {
  font-family: var(--font-display);
  font-size: 14px;
  padding: 17px 36px;
  border-radius: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #001925;
  box-shadow: 0 8px 24px rgba(1, 97, 200, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(1, 97, 200, 0.6), 0 0 30px var(--accent-glow);
}
.btn-outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

/* === Hero Character (GTA V Style) === */
.hero-character {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 600px;
  height: 100%;
}

.hero-char-img {
  position: relative;
  z-index: 2;
  max-width: 100%;
  max-height: 720px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 25px 60px rgba(0, 0, 0, 0.7));
  animation: charFloat 6s ease-in-out infinite;
}

.hero-char-glow {
  position: absolute;
  inset: 10% 5% 0 5%;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(1, 97, 200, 0.4), transparent 70%),
    radial-gradient(ellipse 80% 30% at 50% 100%, rgba(134, 236, 255, 0.3), transparent 70%);
  filter: blur(40px);
  z-index: 1;
  animation: pulseGlow 4s ease-in-out infinite;
}

.hero-glow-orb {
  position: absolute;
  top: 20%;
  right: 15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(1, 97, 200, 0.18), transparent 70%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
  animation: float 10s ease-in-out infinite;
}

@keyframes charFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -20px) scale(1.1); }
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* Generic Sections */
section { padding: 120px 0; position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--accent);
  padding: 8px 18px;
  background: rgba(134, 236, 255, 0.06);
  border: 1px solid var(--line-strong);
  border-radius: 40px;
  margin-bottom: 28px;
}

.center { text-align: center; }
.eyebrow.center { margin-left: auto; margin-right: auto; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  color: var(--text);
}
.section-title.center { text-align: center; }
.section-title .accent {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-lead {
  font-size: 17px;
  color: var(--text-soft);
  max-width: 720px;
  margin-bottom: 60px;
}
.section-lead.center { margin-left: auto; margin-right: auto; }

/* About */
.about-content { max-width: 720px; margin-bottom: 60px; }
.about-content p { color: var(--text-soft); margin-bottom: 18px; font-size: 16px; }
.about-highlight { color: var(--text) !important; font-weight: 500; }
.about-highlight .accent {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.feature-list { display: flex; flex-direction: column; gap: 12px; }
.feature-row {
  display: grid;
  grid-template-columns: 80px 1fr 24px;
  align-items: center;
  gap: 24px;
  padding: 24px 32px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 60px;
  transition: all 0.3s ease;
}
.feature-row:hover {
  border-color: var(--line-strong);
  transform: translateX(8px);
}
.feature-num {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--accent);
}
.feature-title { font-size: 16px; color: var(--text); }
.feature-arrow svg { width: 20px; height: 20px; }
.feature-row:hover .feature-arrow { color: var(--accent); }

/* FAQ */
.faq-section { background: linear-gradient(180deg, transparent, rgba(1, 97, 200, 0.03)); }
.faq-list { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item:hover { border-color: var(--line-strong); }
.faq-item.open { border-color: var(--accent); box-shadow: 0 0 24px rgba(134, 236, 255, 0.12); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--text);
  text-align: left;
}
.faq-q svg { width: 20px; height: 20px; color: var(--accent); transition: transform 0.3s ease; flex-shrink: 0; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }

.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a-inner {
  padding: 0 28px 24px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 500px; }

/* Rules Page */
.rules-page { padding: 140px 0 100px; }
.rules-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 28px;
  margin-top: 50px;
}
.rules-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 100px;
  align-self: start;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.sidebar-head h3 { font-family: var(--font-display); font-size: 15px; color: var(--text); }
.sidebar-head .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 8px var(--accent);
}
.sidebar-search { position: relative; margin-bottom: 16px; }
.sidebar-search svg {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: var(--text-muted);
}
.sidebar-search input {
  width: 100%;
  padding: 12px 14px 12px 40px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 13px;
  font-family: var(--font-body);
}
.sidebar-search input:focus { outline: none; border-color: var(--accent); }
.sidebar-list { display: flex; flex-direction: column; gap: 4px; }
.sidebar-list li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
.sidebar-list li a:hover { background: var(--bg-elev); border-color: var(--line); }
.sidebar-list li.active a {
  background: rgba(1, 97, 200, 0.15);
  border-color: var(--accent);
}
.sb-icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(134, 236, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--accent);
  flex-shrink: 0;
}
.sb-icon svg { width: 16px; height: 16px; }
.sb-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sb-text strong { font-size: 13px; color: var(--text); font-weight: 600; }
.sb-text small {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rules-content {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.rules-content-head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.head-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(134, 236, 255, 0.08);
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.head-icon svg { width: 24px; height: 24px; }
.rules-content-head h2 { font-family: var(--font-display); font-size: 22px; color: var(--text); margin-bottom: 4px; }
.rules-content-head p { color: var(--text-muted); font-size: 13px; }
.rules-body-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.rules-body-head h3 { font-family: var(--font-display); font-size: 18px; }
.rules-body-head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.rules-list { display: flex; flex-direction: column; gap: 14px; }
.rules-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px dashed var(--line);
}
.rules-list li:first-child { border-top: none; padding-top: 0; }
.rule-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 11px;
  background: rgba(134, 236, 255, 0.08);
  border: 1px solid var(--line-strong);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 20px;
  height: 24px;
}
.rule-text { color: var(--text-soft); font-size: 15px; line-height: 1.7; }
.rules-empty { color: var(--text-muted); padding: 20px 0; }

/* ===== Team Page ===== */
.team-page { padding: 140px 0 100px; }

.team-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  flex-wrap: wrap;
  gap: 20px;
}
.team-head-left { flex: 1; min-width: 280px; }
.team-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}
.team-title::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 60%; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  border-radius: 3px;
  box-shadow: 0 0 14px var(--accent-glow);
}
.team-title .accent {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.team-sub { color: var(--text-soft); font-size: 15px; }
.team-head-right { color: var(--text-muted); font-size: 12px; font-family: var(--font-mono); }
.last-updated strong { color: var(--accent); }

.team-group {
  margin-bottom: 60px;
  --group-accent: #0161c8;
}
.team-group-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.group-bullet {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  position: relative;
  flex-shrink: 0;
}
.group-bullet::after {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: var(--group-accent);
  box-shadow: 0 0 12px var(--group-accent);
}
.team-group-head h2 {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--text);
  letter-spacing: 0.02em;
}
.group-count { font-size: 13px; color: var(--text-muted); margin-left: 4px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 18px;
}

.member-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.member-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--group-accent), transparent);
  opacity: 0.5;
}
.member-card:hover {
  border-color: var(--group-accent);
  transform: translateY(-3px);
}

.member-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.member-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--group-accent), var(--bg-elev));
  padding: 2px;
  flex-shrink: 0;
  position: relative;
}
.member-avatar img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-elev);
}
.avatar-initials {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--bg-elev);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--group-accent);
}

.member-info { flex: 1; min-width: 0; }
.member-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.member-name {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--text);
  font-weight: normal;
}
.member-rank-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: color-mix(in srgb, var(--group-accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--group-accent) 35%, transparent);
  color: var(--group-accent);
  border-radius: 40px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.member-subtitle { font-size: 12px; color: var(--text-muted); }

.member-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: color-mix(in srgb, var(--tag-color) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--tag-color) 28%, transparent);
  color: var(--tag-color);
  border-radius: 40px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.member-desc {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.55;
}

.member-discord {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(88, 101, 242, 0.08);
  border: 1px solid rgba(88, 101, 242, 0.25);
  border-radius: 40px;
  color: #8a96ff;
  font-family: var(--font-mono);
  font-size: 11px;
  align-self: flex-start;
}
.member-discord svg { width: 12px; height: 12px; }

.team-empty {
  background: var(--bg-card);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 60px 20px;
  text-align: center;
  color: var(--text-muted);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 80px 32px 30px;
  margin-top: 80px;
}
.footer-inner { max-width: 1240px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.8fr 0.8fr 1.4fr;
  gap: 40px;
  margin-bottom: 60px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.footer-logo .logo-mark {
  width: 56px; height: 56px;
  background: rgba(1, 97, 200, 0.1);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.footer-logo strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text);
  margin-bottom: 4px;
}
.footer-logo span { font-size: 12px; color: var(--text-muted); }
.footer-text {
  color: var(--text-soft);
  font-size: 14px;
  margin-bottom: 24px;
  max-width: 320px;
}
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
}
.footer-socials a:hover {
  background: var(--accent);
  color: #001925;
}
.footer-socials svg { width: 14px; height: 14px; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--text-soft); font-size: 14px; }
.footer-col a:hover { color: var(--accent); }
.partners { display: flex; flex-wrap: wrap; gap: 8px; }
.partner-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 40px;
  font-size: 13px;
  color: var(--text);
}
.partner-pill:hover { border-color: var(--accent); }
.partner-pill .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .rules-layout { grid-template-columns: 1fr; }
  .rules-sidebar { position: static; max-height: none; }
}
@media (max-width: 768px) {
  .topnav { padding: 0 16px; top: 12px; }
  .topnav-inner { padding: 8px 8px 8px 16px; gap: 12px; }
  .topnav-links { display: none; }
  .logo { width: 44px; height: 44px; }
  .logo-mark { width: 26px; height: 26px; }
  .social-rail { display: none; }
  .container { padding: 0 20px; }
  section { padding: 80px 0; }
  .hero { padding: 40px 20px; }
  .feature-row {
    grid-template-columns: 60px 1fr 20px;
    padding: 18px 22px;
    gap: 14px;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer { padding: 60px 20px 30px; }
}
