:root {
  --bg-deep: #060d18;
  --bg: #0a1628;
  --bg-elevated: #0f1f38;
  --bg-card: rgba(15, 31, 56, 0.85);
  --bg-card-solid: #112240;
  --border: rgba(201, 162, 39, 0.18);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --text: #e8eef7;
  --text-muted: #9aadc4;
  --text-dim: #6b8299;
  --gold: #c9a227;
  --gold-light: #e8c547;
  --gold-dark: #8b6914;
  --gold-glow: rgba(201, 162, 39, 0.45);
  --wa: #25d366;
  --wa-dark: #128c7e;
  --wa-glow: rgba(37, 211, 102, 0.45);
  --tg: #2aabee;
  --tg-dark: #229ed9;
  --tg-glow: rgba(42, 171, 238, 0.45);
  --success: #34d399;
  --danger: #f87171;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --header-h: 72px;
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --container: 1140px;
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  min-height: 100vh;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--gold-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
button, input, select, textarea {
  font: inherit;
  color: inherit;
}
ul, ol { list-style: none; }
h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
p { color: var(--text-muted); }
strong { color: var(--text); font-weight: 600; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: #111;
  padding: 0.75rem 1.25rem;
  z-index: 9999;
  font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}
.container.narrow { max-width: 760px; }

.gold-text {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), #f0d78c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-link {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.text-link:hover { color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
}
.btn:active { transform: scale(0.98); }
.btn-lg { padding: 0.95rem 1.7rem; font-size: 1rem; }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.875rem; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 45%, var(--gold-dark));
  color: #1a1200;
  border-color: rgba(255, 230, 150, 0.35);
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.25);
}
.btn-gold:hover {
  color: #111;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201, 162, 39, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-subtle);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #2fe074, var(--wa) 50%, var(--wa-dark));
  color: #fff;
  border-color: rgba(180, 255, 210, 0.25);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.28);
}
.btn-whatsapp:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--wa-glow);
}

.btn-telegram {
  background: linear-gradient(135deg, #5bc4f5, var(--tg) 50%, var(--tg-dark));
  color: #fff;
  border-color: rgba(180, 230, 255, 0.25);
  box-shadow: 0 8px 24px rgba(42, 171, 238, 0.28);
}
.btn-telegram:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--tg-glow);
}

.btn-text {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 0.5rem 0;
  box-shadow: none;
}
.btn-text:hover { color: var(--gold-light); transform: none; }

.btn-glow {
  animation: goldPulse 2.8s ease-in-out infinite;
}
.btn-glow-wa {
  animation: waPulse 2.8s ease-in-out infinite;
}
.btn-glow-tg {
  animation: tgPulse 2.8s ease-in-out infinite;
}

@keyframes goldPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(201, 162, 39, 0.28); }
  50% { box-shadow: 0 8px 36px rgba(201, 162, 39, 0.55), 0 0 0 6px rgba(201, 162, 39, 0.08); }
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3); }
  50% { box-shadow: 0 8px 36px rgba(37, 211, 102, 0.55), 0 0 0 6px rgba(37, 211, 102, 0.1); }
}
@keyframes tgPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(42, 171, 238, 0.3); }
  50% { box-shadow: 0 8px 36px rgba(42, 171, 238, 0.55), 0 0 0 6px rgba(42, 171, 238, 0.1); }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  /* No backdrop-filter: it creates a containing block and traps mobile fixed menus */
  transition: background var(--transition), box-shadow var(--transition);
  overflow: visible;
}
.site-header.scrolled,
body.nav-open .site-header {
  background: rgba(6, 13, 24, 0.96);
  box-shadow: 0 1px 0 var(--border-subtle);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  position: relative;
  z-index: 1202;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
  position: relative;
  z-index: 1202;
}
.logo:hover { color: var(--text); }
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.logo-text strong {
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--text);
  text-transform: none;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  transition: color var(--transition), background var(--transition);
  text-decoration: none;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.nav .nav-cta {
  margin-left: 0.35rem;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #1a1200 !important;
  font-weight: 600;
}
.nav .nav-cta:hover {
  filter: brightness(1.08);
  background: linear-gradient(135deg, #f0d060, var(--gold-light));
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-right: -0.35rem;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 1203;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}
body.nav-open .nav-toggle {
  background: rgba(201, 162, 39, 0.12);
  border-color: rgba(201, 162, 39, 0.35);
}
body.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
body.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Lock page scroll when mobile menu is open */
body.nav-open {
  overflow: hidden;
  touch-action: none;
}
body.nav-open .float-contact {
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 2rem) 0 5rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #060d18;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 45%;
  transform: scale(1.04);
  animation: heroKenBurns 28s ease-in-out infinite alternate;
  filter: saturate(1.08) contrast(1.05) brightness(0.92);
}
@keyframes heroKenBurns {
  from { transform: scale(1.04) translate(0, 0); }
  to { transform: scale(1.1) translate(-1.2%, -1%); }
}
.hero-gradient {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(90deg,
      rgba(6, 13, 24, 0.96) 0%,
      rgba(6, 13, 24, 0.88) 28%,
      rgba(6, 13, 24, 0.55) 52%,
      rgba(6, 13, 24, 0.35) 72%,
      rgba(6, 13, 24, 0.55) 100%),
    linear-gradient(180deg,
      rgba(6, 13, 24, 0.55) 0%,
      transparent 35%,
      transparent 65%,
      rgba(6, 13, 24, 0.92) 100%),
    radial-gradient(ellipse 70% 55% at 75% 45%, rgba(201, 162, 39, 0.12), transparent 55%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  animation: gridDrift 40s linear infinite;
}
@keyframes gridDrift {
  from { transform: translateY(0); }
  to { transform: translateY(60px); }
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: orbFloat 12s ease-in-out infinite;
}
.hero-orb-1 {
  width: 420px;
  height: 420px;
  background: rgba(201, 162, 39, 0.2);
  top: -10%;
  right: 5%;
}
.hero-orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(42, 171, 238, 0.12);
  bottom: 10%;
  left: -5%;
  animation-delay: -4s;
}
.hero-orb-3 {
  width: 200px;
  height: 200px;
  background: rgba(37, 211, 102, 0.08);
  top: 40%;
  left: 40%;
  animation-delay: -7s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.08); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 1rem 0.4rem 0.65rem;
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5);
  animation: pulseDot 2s ease infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: #fff;
}
.hero-tagline {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 640px;
  margin-bottom: 2rem;
  color: var(--text-muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 720px;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.stat-value {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold-light);
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  z-index: 1;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  40% { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: translateY(12px); }
}

.animate-in {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }
.delay-3 { animation-delay: 0.36s; }
.delay-4 { animation-delay: 0.48s; }
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.section {
  padding: 5.5rem 0;
  position: relative;
}
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}
.section-lead {
  font-size: 1.05rem;
  margin-top: 0.75rem;
}

.section-odds {
  background: linear-gradient(180deg, var(--bg-deep), var(--bg) 40%, var(--bg-deep));
}
.section-credit {
  background:
    radial-gradient(ellipse 60% 50% at 100% 50%, rgba(201, 162, 39, 0.07), transparent),
    var(--bg-deep);
}
.section-players {
  background: var(--bg);
}
.section-partners {
  background:
    radial-gradient(ellipse 50% 40% at 0% 50%, rgba(42, 171, 238, 0.06), transparent),
    var(--bg-deep);
}
.section-process {
  background: var(--bg);
}
.section-apply {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(201, 162, 39, 0.08), transparent),
    var(--bg-deep);
}
.section-faq {
  background: var(--bg);
}
.section-cta {
  padding-bottom: 6rem;
}

.cards-grid {
  display: grid;
  gap: 1.25rem;
}
.cards-grid.three-col { grid-template-columns: repeat(3, 1fr); }
.cards-grid.two-col { grid-template-columns: repeat(2, 1fr); }

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  backdrop-filter: blur(8px);
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border);
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
}
.feature-icon.gold {
  background: rgba(201, 162, 39, 0.12);
  color: var(--gold-light);
  border: 1px solid rgba(201, 162, 39, 0.25);
}
.feature-card h3 { color: #fff; }
.feature-card p { font-size: 0.95rem; }

.split-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.split-content .section-lead { margin-bottom: 1.5rem; }
.split-content .section-eyebrow { text-align: left; }

.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}
.check-list li {
  position: relative;
  padding-left: 1.85rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.15);
  border: 1px solid rgba(201, 162, 39, 0.45);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' fill='none' stroke='%23e8c547' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}
.check-list strong { color: var(--gold-light); }

.credit-panel {
  background: linear-gradient(160deg, #152a4a 0%, #0f1f38 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow), 0 0 60px rgba(201, 162, 39, 0.08);
  position: relative;
  overflow: hidden;
}
.credit-panel::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.15), transparent 70%);
  pointer-events: none;
}
.credit-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--success);
  background: rgba(52, 211, 153, 0.1);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}
.credit-metric {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-subtle);
}
.metric-label { font-size: 0.85rem; color: var(--text-dim); }
.metric-value { font-weight: 600; color: var(--text); font-size: 0.95rem; }
.credit-bar-wrap { margin-top: 1.25rem; }
.credit-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 0.45rem;
}
.credit-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
}
.credit-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  border-radius: 999px;
  animation: barFill 2s 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes barFill {
  to { width: 72%; }
}
.credit-note {
  margin-top: 1.15rem;
  font-size: 0.82rem;
  color: var(--text-dim);
  font-style: italic;
}

.player-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 1.75rem 1.75rem 1.75rem 1.5rem;
  position: relative;
  transition: transform var(--transition), border-color var(--transition);
  overflow: hidden;
}
.player-card:hover {
  transform: translateY(-4px);
  border-color: var(--border);
}
.player-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(201, 162, 39, 0.2);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.player-card h3 { color: #fff; }
.player-card p { font-size: 0.95rem; }

.partners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.partner-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform var(--transition), border-color var(--transition);
}
.partner-card:hover {
  transform: translateY(-4px);
  border-color: var(--border);
}
.partner-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.15rem;
}
.partner-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: 0.04em;
}
.singbet-logo {
  background: linear-gradient(135deg, #c9a227, #8b6914);
  box-shadow: 0 8px 20px rgba(201, 162, 39, 0.3);
}
.fotbet-logo {
  background: linear-gradient(135deg, #2aabee, #1565a8);
  box-shadow: 0 8px 20px rgba(42, 171, 238, 0.3);
}
.partner-tag {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 500;
}
.partner-card p { margin-bottom: 1rem; font-size: 0.95rem; }
.partner-features {
  margin-bottom: 1.25rem;
}
.partner-features li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.partner-features li::before {
  content: "鈥?;
  position: absolute;
  left: 0;
  color: var(--gold);
}

.agent-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.75rem 2rem;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.1), rgba(42, 171, 238, 0.08));
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.agent-banner h3 { color: #fff; margin-bottom: 0.35rem; }
.agent-banner p { font-size: 0.95rem; max-width: 520px; }
.agent-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: none;
}
.process-step {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
  transition: transform var(--transition), border-color var(--transition);
}
.process-step:hover {
  transform: translateY(-4px);
  border-color: var(--border);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #1a1200;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 6px 16px rgba(201, 162, 39, 0.3);
}
.process-step h3 { color: #fff; font-size: 1.05rem; }
.process-step p { font-size: 0.9rem; }

.form-shell {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow);
  max-width: 900px;
  margin: 0 auto;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem 1.25rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
}
.req { color: var(--gold-light); }
.field-hint {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(6, 13, 24, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}
.form-group input.invalid,
.form-group select.invalid {
  border-color: var(--danger);
}
.chip.invalid-chip {
  border-color: var(--danger) !important;
  box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.2);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239aadc4' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  padding-right: 2.25rem;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.95rem;
  background: rgba(6, 13, 24, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: border-color var(--transition), background var(--transition), color var(--transition);
  user-select: none;
}
.chip:hover { border-color: var(--border); color: var(--text); }
.chip:has(input:checked) {
  border-color: var(--gold);
  background: rgba(201, 162, 39, 0.12);
  color: var(--gold-light);
}
.chip input {
  accent-color: var(--gold);
  width: auto;
  margin: 0;
}

.form-actions {
  margin-top: 1.75rem;
  display: flex;
  justify-content: center;
}

.result-panel {
  margin-top: 0.5rem;
  animation: fadeUp 0.5s ease forwards;
}
.result-panel[hidden] { display: none; }
#creditForm[hidden] { display: none; }

.result-header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}
.result-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.15);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  flex-shrink: 0;
  border: 1px solid rgba(52, 211, 153, 0.35);
}
.result-header h3 { color: #fff; margin-bottom: 0.25rem; }
.result-header p { font-size: 0.95rem; }

.message-preview {
  width: 100%;
  background: rgba(6, 13, 24, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1rem;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-muted);
  resize: vertical;
  min-height: 220px;
  margin-bottom: 1.25rem;
}
.message-preview:focus {
  outline: none;
  border-color: var(--gold);
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.result-note {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0;
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item[open] { border-color: var(--border); }
.faq-item summary {
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  color: #fff;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--gold);
  font-weight: 400;
  transition: transform var(--transition);
}
.faq-item[open] summary::after {
  content: "鈭?;
}
.faq-item p {
  padding: 0 1.25rem 1.15rem;
  font-size: 0.95rem;
}

.cta-box {
  text-align: center;
  padding: clamp(2rem, 5vw, 3.5rem);
  background:
    linear-gradient(135deg, rgba(201, 162, 39, 0.12), rgba(15, 31, 56, 0.9)),
    var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 100%, rgba(201, 162, 39, 0.1), transparent);
  pointer-events: none;
}
.cta-box h2 {
  position: relative;
  color: #fff;
  margin-bottom: 0.75rem;
}
.cta-box p {
  position: relative;
  max-width: 560px;
  margin: 0 auto 1.75rem;
  font-size: 1.05rem;
}
.cta-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.site-footer {
  background: #040a12;
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  max-width: 280px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.footer-links h4 {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-keywords {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.6;
}
.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-dim);
}
.disclaimer { font-size: 0.78rem !important; opacity: 0.85; }

.float-contact {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  z-index: 900;
}
.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform var(--transition), box-shadow var(--transition);
  animation: floatIn 0.6s ease both;
}
.float-btn:hover {
  transform: scale(1.1);
  color: #fff;
}
.float-wa {
  background: linear-gradient(135deg, #2fe074, var(--wa));
  box-shadow: 0 6px 20px var(--wa-glow);
  animation: floatIn 0.6s ease both, waPulse 2.8s ease-in-out 0.6s infinite;
}
.float-tg {
  background: linear-gradient(135deg, #5bc4f5, var(--tg));
  box-shadow: 0 6px 20px var(--tg-glow);
  animation: floatIn 0.6s 0.1s ease both, tgPulse 2.8s ease-in-out 0.7s infinite;
}
@keyframes floatIn {
  from { opacity: 0; transform: translateY(20px) scale(0.8); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }

.copy-toast {
  position: fixed;
  bottom: 6rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #112240;
  border: 1px solid var(--success);
  color: var(--success);
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 1024px) {
  .cards-grid.three-col { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}

@media (max-width: 860px) {
  .hero-photo {
    object-position: 75% 48%;
    opacity: 0.95;
  }
  .hero-gradient {
    background:
      linear-gradient(180deg,
        rgba(6, 13, 24, 0.72) 0%,
        rgba(6, 13, 24, 0.55) 40%,
        rgba(6, 13, 24, 0.88) 100%),
      linear-gradient(90deg,
        rgba(6, 13, 24, 0.9) 0%,
        rgba(6, 13, 24, 0.55) 100%);
  }
  .nav-toggle { display: flex; }

  /* Full-screen mobile menu panel (no transform — keeps fixed vs viewport reliable) */
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    min-height: 100vh;
    margin: 0;
    padding: calc(var(--header-h) + 1.25rem) 1.5rem max(2rem, env(safe-area-inset-bottom));
    background: #060d18;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0.35rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
    z-index: 1190;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
  }
  .nav.open,
  body.nav-open .nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav a {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 1.15rem;
    font-weight: 600;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: 1px solid transparent;
    color: var(--text);
  }
  .nav a:hover,
  .nav a:active {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border-subtle);
    color: #fff;
  }
  .nav .nav-cta {
    margin: 0.75rem 0 0;
    width: 100%;
    text-align: center;
    padding: 1rem 1.25rem;
  }

  .split-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .partners-grid { grid-template-columns: 1fr; }
  .cards-grid.three-col,
  .cards-grid.two-col { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .agent-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-title { font-size: clamp(2.1rem, 9vw, 3rem); }
  .section { padding: 4rem 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .result-actions { flex-direction: column; }
  .result-actions .btn { width: 100%; }
  .cta-actions .btn { width: 100%; max-width: 320px; }
  .hero-actions .btn { width: 100%; max-width: 320px; }
}

@media (max-width: 480px) {
  :root { --header-h: 64px; }
  .hero { padding-bottom: 4rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .float-btn { width: 48px; height: 48px; }
  .float-contact { right: 0.85rem; bottom: 0.85rem; }
  .form-shell { padding: 1.25rem; }
  .chip { font-size: 0.82rem; padding: 0.45rem 0.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .animate-in { opacity: 1; transform: none; animation: none; }
}
