/* ImpactRP - Modern Clean Red & Black Design System */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --bg-main: #090a0c;
  --bg-surface: #0f1115;
  --bg-card: #13161c;
  --bg-card-hover: #181b23;
  --bg-input: #15181f;
  --border-color: #21252f;
  --border-subtle: #191c24;
  --border-focus: #ef4444;

  --red-primary: #e50914;
  --red-hover: #ff2a2a;
  --red-glow: rgba(229, 9, 20, 0.28);
  --red-subtle: rgba(229, 9, 20, 0.1);
  --red-badge-border: rgba(229, 9, 20, 0.35);

  --text-white: #ffffff;
  --text-primary: #ebecef;
  --text-secondary: #9aa0ac;
  --text-muted: #646b79;
  --text-mono: #7d8594;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1180px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at 50% 0%, rgba(229, 9, 20, 0.08) 0%, transparent 45%), var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ================= HEADER / NAVBAR ================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 10, 12, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Logo (Clean, no heavy shadows) */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  color: var(--text-white);
  transition: var(--transition);
}

.brand-logo:hover {
  opacity: 0.95;
}

.brand-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: none; /* No shadow */
}

.brand-logo-text {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

.brand-logo-text .white {
  color: #ffffff;
}

.brand-logo-text .red {
  color: var(--red-primary);
  font-weight: 700;
}

.brand-logo-text .dot {
  width: 6px;
  height: 6px;
  background: var(--red-primary);
  border-radius: 50%;
  box-shadow: none; /* No shadow */
  display: inline-block;
  margin-left: 2px;
}

/* 3 Navigation Categories */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
  padding: 8px 0;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--red-primary);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--red-primary);
}

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

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
  text-decoration: none;
}

.btn-primary {
  background: var(--red-primary);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 18px var(--red-glow);
}

.btn-primary:hover {
  background: var(--red-hover);
  box-shadow: 0 6px 24px rgba(229, 9, 20, 0.5);
  transform: translateY(-1px);
}

.btn-discord {
  background: rgba(255, 255, 255, 0.04);
  color: #c9ced8;
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 8px 16px;
  font-size: 0.86rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  box-shadow: none;
}

.btn-discord:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  transform: none;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text-white);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.84rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 6px;
}

/* ================= HERO SECTION ================= */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 24px 70px;
  overflow: hidden;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.38) contrast(1.1);
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(180deg, rgba(9, 10, 12, 0.45) 0%, rgba(9, 10, 12, 0.85) 75%, var(--bg-main) 100%),
    radial-gradient(circle at center, rgba(229, 9, 20, 0.18) 0%, transparent 65%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Big Hero Shield Emblem */
.hero-emblem-wrap {
  margin-bottom: 22px;
  position: relative;
}

.hero-emblem-img {
  width: 170px;
  height: 170px;
  object-fit: contain;
  filter: none; /* Clean look, no heavy shadow */
  transition: transform 0.3s ease;
}

.hero-emblem-img:hover {
  transform: scale(1.04);
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-white);
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #b5bcc8;
  max-width: 620px;
  margin: 0 auto 32px;
  line-height: 1.5;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

/* Live Server Status Bar */
.hero-stats-bar {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 10px 22px;
  background: rgba(15, 17, 21, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  backdrop-filter: blur(12px);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.stat-item strong {
  color: var(--text-white);
  font-weight: 600;
}

.stat-divider {
  width: 1px;
  height: 16px;
  background: var(--border-color);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--red-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--red-primary);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(229, 9, 20, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(229, 9, 20, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(229, 9, 20, 0); }
}

/* ================= SECTION COMMON ================= */
.section {
  padding: 80px 24px;
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 46px;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--red-primary);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-white);
  margin-bottom: 10px;
}

.section-desc {
  font-size: 0.96rem;
  color: var(--text-secondary);
}

/* ================= HVORFOR IMPACT RP (BLENDED BENTO GRID) ================= */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  border-color: rgba(229, 9, 20, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

/* Text Bento Card */
.bento-text-card {
  padding: 30px 26px;
  justify-content: center;
}

.bento-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--red-subtle);
  border: 1px solid rgba(229, 9, 20, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-primary);
  margin-bottom: 18px;
}

.bento-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}

.bento-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Image Bento Card (Pure Atmosphere) */
.bento-image-card {
  min-height: 240px;
}

.bento-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.bento-image-card:hover img {
  transform: scale(1.05);
}

.bento-image-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(9, 10, 12, 0.75) 100%);
  pointer-events: none;
}

/* Bento Column Spans */
.col-7 { grid-column: span 7; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-4 { grid-column: span 4; }
.col-8 { grid-column: span 8; }

/* ================= QUICK CTA BAR ================= */
.action-banner {
  background: #111318;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 44px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.action-banner h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 6px;
}

.action-banner p {
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.action-banner-btns {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* ================= REGLER SIDE (DET MEST VIGTIGE) ================= */
.rules-wrapper {
  max-width: var(--container-max);
  margin: 36px auto 90px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

/* Sticky Quick Nav */
.rules-sidebar {
  position: sticky;
  top: 96px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rules-sidebar-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  padding: 0 8px 12px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 4px;
}

.rules-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.rules-nav-item:hover,
.rules-nav-item.active {
  background: var(--bg-card);
  color: var(--text-white);
}

.rules-nav-item.active {
  border-left: 2px solid var(--red-primary);
  color: #fff;
  font-weight: 600;
}

/* Rules Content */
.rules-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.rules-header {
  margin-bottom: 10px;
}

.rules-main-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-white);
  margin-bottom: 12px;
}

.rules-main-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.rule-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  scroll-margin-top: 90px;
  transition: var(--transition);
}

.rule-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.rule-card-badge {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-primary);
  background: var(--red-subtle);
  border: 1px solid rgba(229, 9, 20, 0.28);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 14px;
  font-weight: 600;
}

.rule-card-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 14px;
}

.rule-body {
  font-size: 0.95rem;
  color: #a4abb8;
  line-height: 1.68;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rule-body p strong {
  color: var(--text-white);
}

.rule-highlight {
  background: #14171e;
  border-left: 3px solid var(--red-primary);
  padding: 14px 18px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: #cfd4de;
  font-size: 0.92rem;
}

.rule-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.rule-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.93rem;
  color: #9ea5b2;
}

.rule-list li strong {
  color: var(--text-white);
}

.rule-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--red-primary);
  font-weight: bold;
}

/* ================= WHITELIST FORM PAGE ================= */
.whitelist-container {
  max-width: 780px;
  margin: 40px auto 90px;
  padding: 0 24px;
}

.form-header {
  margin-bottom: 34px;
}

.form-header-title {
  font-size: clamp(2.2rem, 4.2vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-white);
  margin-bottom: 12px;
}

.form-header-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Discord Auth Lock Screen & Card */
.discord-auth-box {
  background: #121418;
  border: 1px solid #23262e;
  border-radius: var(--radius-lg);
  padding: 44px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
}

.discord-auth-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(88, 101, 242, 0.12);
  border: 1px solid rgba(88, 101, 242, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5865F2;
}

.discord-auth-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
}

.discord-auth-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 500px;
  line-height: 1.6;
}

.btn-discord-auth {
  background: #5865F2;
  color: #ffffff;
  padding: 12px 28px;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  box-shadow: 0 4px 18px rgba(88, 101, 242, 0.3);
  text-decoration: none;
}

.btn-discord-auth:hover {
  background: #4752C4;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(88, 101, 242, 0.45);
}

.user-badge-card {
  background: #121418;
  border: 1px solid #23262e;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.user-badge-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.user-badge-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: #727885;
  text-transform: uppercase;
  font-weight: 600;
}

.user-badge-val {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  font-weight: 600;
  color: #f1f3f5;
}

.user-avatar-img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.user-badge-val .user-id {
  color: #727885;
  font-weight: 400;
  font-family: var(--font-mono);
  font-size: 0.88rem;
}

.user-badge-val .dot-sep {
  color: #434752;
}

.user-logout-btn {
  background: transparent;
  border: 1px solid #2a2e38;
  color: #9299a8;
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.user-logout-btn:hover {
  border-color: #ef4444;
  color: #ef4444;
}

/* Simulated Discord OAuth Modal (Matches image 1) */
.oauth-modal-box {
  background: #313338;
  border-radius: 8px;
  max-width: 490px;
  width: 100%;
  padding: 32px 28px 0;
  color: #dbdee1;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.75);
  animation: modalEnter 0.25s ease-out;
  overflow: hidden;
}

.oauth-header-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 20px;
}

.oauth-app-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #5865F2;
}

.oauth-app-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.oauth-dots {
  color: #80848e;
  letter-spacing: 4px;
  font-weight: bold;
}

.oauth-user-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  background: #4e5058;
}

.oauth-app-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #f2f3f5;
  text-align: center;
  margin-bottom: 4px;
}

.oauth-app-subtitle {
  font-size: 0.88rem;
  color: #949ba4;
  text-align: center;
  margin-bottom: 24px;
}

.oauth-perms-card {
  background: #2b2d31;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 24px;
}

.oauth-perms-header {
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #949ba4;
  margin-bottom: 12px;
}

.oauth-perm-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: #dbdee1;
  margin-bottom: 8px;
}

.oauth-perm-check {
  color: #23a55a;
  font-weight: bold;
}

.oauth-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  background: #2b2d31;
  margin: 0 -28px;
  padding: 18px 24px;
}

.btn-oauth-cancel {
  background: transparent;
  border: none;
  color: #dbdee1;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 16px;
}

.btn-oauth-cancel:hover {
  text-decoration: underline;
}

.btn-oauth-authorize {
  background: #5865F2;
  color: #ffffff;
  border: none;
  font-weight: 600;
  border-radius: 4px;
  padding: 9px 26px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-oauth-authorize:hover {
  background: #4752C4;
}

.wl-form {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #858b97;
  font-weight: 600;
}

.input-hint {
  font-size: 0.85rem;
  color: #787f8c;
  margin-top: -2px;
  margin-bottom: 4px;
}

.form-input,
.form-textarea {
  width: 100%;
  background: #14171d;
  border: 1px solid #242730;
  border-radius: var(--radius-md);
  padding: 13px 16px;
  color: #f3f4f6;
  font-size: 0.95rem;
  font-family: var(--font-main);
  transition: var(--transition);
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #4a505b;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--red-primary);
  box-shadow: 0 0 0 1px var(--red-primary), 0 0 16px rgba(229, 9, 20, 0.15);
  background: #171a22;
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.6;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 6px;
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid #2f3440;
  border-radius: var(--radius-sm);
  background: #14171d;
  cursor: pointer;
  margin-top: 2px;
  position: relative;
  transition: var(--transition);
  flex-shrink: 0;
}

.checkbox-group input[type="checkbox"]:checked {
  background: var(--red-primary);
  border-color: var(--red-primary);
}

.checkbox-group input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 6px;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-label {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.checkbox-label a {
  color: var(--red-hover);
  text-decoration: underline;
}

.form-submit-btn {
  width: 100%;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 700;
  margin-top: 10px;
}

/* ================= MODAL / TOAST ================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-backdrop.active {
  display: flex;
}

.modal-box {
  background: #14171d;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  max-width: 480px;
  width: 100%;
  padding: 36px 30px;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(229, 9, 20, 0.2);
  animation: modalEnter 0.25s ease-out;
}

@keyframes modalEnter {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.modal-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--red-subtle);
  border: 1px solid rgba(229, 9, 20, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--red-primary);
  margin-bottom: 20px;
}

.modal-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 10px;
}

.modal-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* ================= LEGAL PAGES ================= */
.legal-container {
  max-width: 820px;
  margin: 50px auto 90px;
  padding: 0 24px;
}

.legal-header {
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 30px;
}

.legal-title {
  font-size: clamp(2rem, 3.8vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-white);
  margin-bottom: 12px;
}

.legal-meta {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.legal-section-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 22px;
}

.legal-sec-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-sec-title .sec-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--red-primary);
  background: var(--red-subtle);
  border: 1px solid rgba(229, 9, 20, 0.25);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.legal-text {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.legal-list {
  list-style: none;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.legal-list li strong {
  color: var(--text-white);
}

.legal-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--red-primary);
}

/* ================= FOOTER ================= */
.site-footer {
  margin-top: auto;
  background: #060709;
  border-top: 1px solid var(--border-subtle);
  padding: 50px 24px 40px;
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  border-bottom: 1px solid #14161b;
  padding-bottom: 28px;
}

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

.footer-brand-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-nav-links a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-nav-links a:hover {
  color: var(--text-white);
}

.footer-bottom {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-copyright {
  font-size: 0.9rem;
  color: #adb5bd;
  font-weight: 500;
}

.footer-disclaimer {
  font-size: 0.82rem;
  color: #6c757d;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 960px) {
  .rules-wrapper {
    grid-template-columns: 1fr;
  }

  .rules-sidebar {
    position: static;
    display: none;
  }

  .col-7, .col-5, .col-6, .col-4, .col-8 {
    grid-column: span 12;
  }

  .bento-image-card {
    min-height: 220px;
  }

  .action-banner {
    flex-direction: column;
    text-align: center;
    padding: 34px 24px;
  }

  .action-banner-btns {
    flex-direction: column;
    width: 100%;
  }

  .action-banner-btns .btn {
    width: 100%;
  }
}

@media (max-width: 800px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    width: 100%;
    background: #090a0c;
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }
}
