:root {
  --ink: #07111f;
  --ink-soft: #243246;
  --brand: #f47b20;
  --brand-dark: #b84b14;
  --brand-soft: #fff1e8;
  --green: #18a77a;
  --line: #eadfd6;
  --muted: #f7f8fb;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(7, 17, 31, .16);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(217, 226, 239, .9);
  backdrop-filter: blur(16px);
}
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; min-width: 190px; }
.brand img { width: 230px; max-height: 58px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}
.site-nav a:hover, .site-nav a.is-active { background: var(--brand-soft); color: var(--brand-dark); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); padding: 9px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

.hero {
  min-height: 680px;
  background-image: linear-gradient(90deg, rgba(7,17,31,.94) 0%, rgba(44,24,12,.80) 50%, rgba(244,123,32,.25) 100%), var(--hero-image);
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.hero-shade { min-height: 680px; padding: 72px 0 48px; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 46px; align-items: center; }
.eyebrow, .panel-kicker {
  margin: 0 0 12px;
  color: var(--brand);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
}
.hero h1 { margin: 0; max-width: 760px; font-size: 50px; line-height: 1.06; letter-spacing: 0; }
.hero-intro { max-width: 680px; margin: 22px 0 0; color: rgba(255,255,255,.9); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-weight: 800;
  border: 1px solid transparent;
}
.btn-primary { color: var(--white); background: var(--brand); box-shadow: 0 14px 30px rgba(244,123,32,.32); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-secondary { color: var(--white); border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.08); }
.btn-secondary:hover { background: rgba(255,255,255,.16); }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.trust-row span { border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); border-radius: var(--radius); padding: 8px 10px; font-size: 13px; color: rgba(255,255,255,.9); }
.signup-panel {
  background: rgba(255,255,255,.96);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.44);
}
.signup-panel h2 { margin: 0 0 16px; font-size: 25px; line-height: 1.18; }
.signup-panel #formuser { min-height: 170px; }
.login-link { display: block; margin-top: 14px; color: var(--brand-dark); font-weight: 800; text-align: center; }
.inline-form { background: var(--white); border: 1px solid var(--line); }

.section { padding: 70px 0; }
.section.muted, .muted { background: var(--muted); }
.sport-intro-band { background: linear-gradient(180deg, #fff8f2 0%, #ffffff 100%); }
.section.orange-band { background: radial-gradient(circle at 18% 12%, rgba(255,255,255,.26), transparent 32%), linear-gradient(135deg, #f47b20 0%, #cf5b16 48%, #8f350e 100%); color: var(--white); }
.intro-band { background: linear-gradient(180deg, #ffffff 0%, #fff8f2 100%); }
.split-band { background: #091625; color: var(--white); }
.section-heading { max-width: 760px; margin-bottom: 28px; }
.section-heading h2, .split-layout h2 { margin: 0 0 12px; font-size: 33px; line-height: 1.16; letter-spacing: 0; }
.section-heading p { margin: 0; color: #516173; font-size: 17px; }
.split-band .section-heading p, .split-band p { color: rgba(255,255,255,.82); }

.feature-grid, .content-grid, .card-grid, .profile-grid { display: grid; gap: 18px; }
.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-grid article, .content-panel, .info-card, .resource-box, .map-card, .profile-card, .mini-card, .sport-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
}
.feature-grid article, .content-panel, .info-card, .resource-box { padding: 24px; position: relative; overflow: hidden; }
.feature-grid article::before, .content-panel::before, .info-card::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--brand), rgba(244,123,32,.15)); }
.feature-grid h3, .content-panel h2, .info-card h3 { margin: 0 0 10px; line-height: 1.2; }
.feature-grid p, .content-panel p, .info-card p { margin: 0; color: #516173; }
.feature-grid a, .info-card a { display: inline-flex; margin-top: 16px; font-weight: 800; color: var(--brand-dark); }
.content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.content-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.sport-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sport-card { min-height: 162px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.sport-card:hover { transform: translateY(-3px); border-color: #f4b37f; box-shadow: 0 16px 34px rgba(7,17,31,.10); }
.sport-card img { width: 48px; height: 48px; object-fit: contain; }
.sport-card strong { margin-top: 14px; font-size: 18px; }
.sport-card span { color: #647287; font-size: 14px; }
.compact-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mini-card { min-height: 104px; display: flex; flex-direction: column; justify-content: center; padding: 18px; gap: 6px; }
.mini-card:hover { border-color: #f4b37f; background: #fff8f2; }
.event-card { background: linear-gradient(180deg, #ffffff 0%, #fff8f2 100%); }
.event-card strong::before { content: "•"; color: var(--brand); margin-right: 7px; }
.mini-card strong { font-size: 18px; }
.mini-card span { color: #617085; font-size: 14px; }

.profile-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.profile-card { padding: 14px; display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 126px; }
.profile-card img { width: 54px; height: 54px; object-fit: contain; border-radius: 50%; background: #fff1e8; }
.profile-card h3 { margin: 0; font-size: 16px; line-height: 1.18; }
.profile-card p { margin: 3px 0; color: var(--brand-dark); font-weight: 800; font-size: 13px; }
.profile-card span { display: block; color: #59697d; font-size: 13px; line-height: 1.35; }

.sport-detail { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 26px; align-items: center; }
.sport-icon-large { width: 120px; height: 120px; object-fit: contain; padding: 18px; background: #fff1e8; border: 1px solid var(--line); border-radius: var(--radius); }
.split-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 26px; align-items: start; }
.sport-visual-grid, .practical-layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 28px; align-items: stretch; }
.orange-copy .eyebrow, .orange-band .eyebrow { color: rgba(255,255,255,.82); }
.orange-copy h2 { margin: 0 0 14px; font-size: 36px; line-height: 1.1; }
.orange-copy p, .orange-band p { color: rgba(255,255,255,.88); }
.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.stat-card { min-height: 112px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.12); border-radius: var(--radius); padding: 18px; backdrop-filter: blur(10px); }
.stat-card strong { display: block; font-size: 30px; line-height: 1; color: var(--white); }
.stat-card span { display: block; margin-top: 9px; color: rgba(255,255,255,.82); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.chat-preview, .practical-aside { border-radius: var(--radius); background: rgba(255,255,255,.96); color: var(--ink); box-shadow: var(--shadow); padding: 22px; border: 1px solid rgba(255,255,255,.34); }
.chat-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; color: var(--brand-dark); }
.chat-head span { width: 11px; height: 11px; border-radius: 50%; background: #18a77a; box-shadow: 0 0 0 5px rgba(24,167,122,.13); }
.chat-bubble { max-width: 92%; background: #fff1e8; border-radius: 8px; padding: 12px 14px; margin-bottom: 12px; }
.chat-bubble.reply { margin-left: auto; background: #07111f; color: var(--white); }
.chat-bubble b { display: block; font-size: 13px; margin-bottom: 4px; }
.chat-bubble p { margin: 0; color: inherit; font-size: 14px; line-height: 1.45; }
.match-meter { margin-top: 18px; }
.match-meter div { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 800; color: var(--ink-soft); }
.match-meter i { display: block; height: 10px; margin-top: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--brand), #ffbc65); }
.practical-main, .practical-aside { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.practical-main .lead { font-size: 17px; color: #3e4f63; margin-top: 0; }
.practical-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.practical-list li { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 14px; padding: 14px; border-radius: var(--radius); background: #fff8f2; border: 1px solid #ffe1c7; }
.practical-list strong { color: var(--brand-dark); }
.practical-list span { color: #46566a; }
.practical-aside h3 { margin: 0 0 10px; font-size: 24px; }
.practical-aside p { color: #46566a; margin: 0; }
.mini-chart { height: 116px; display: flex; align-items: end; gap: 10px; margin: 22px 0; padding: 14px; border-radius: var(--radius); background: #fff8f2; border: 1px solid #ffe1c7; }
.mini-chart span { flex: 1; min-height: 22px; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #ffbc65, var(--brand)); }
.content-panel-strong { background: #fff8f2; border-color: #ffd1aa; }
.content-panel-soft { background: linear-gradient(180deg, #ffffff, #fff8f2); }
.split-layout p { color: #516173; }
.split-band .info-card { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: var(--white); }
.split-band .info-card p { color: rgba(255,255,255,.78); }
.map-card { overflow: hidden; min-height: 310px; box-shadow: var(--shadow); }
.map-card iframe { display: block; width: 100%; height: 310px; border: 0; }

.carousel-shell {
  min-height: 130px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px;
}
.carousel-shell #caruser, #caruser { max-width: 100%; overflow: hidden; }
#caruser img { max-width: 100%; height: auto; border-radius: 6px; }
#caruser table, #caruser iframe { max-width: 100%; }

.resource-box { margin-top: 12px; }
.resource-box h2 { margin: 0 0 14px; font-size: 24px; }
.resource-links { display: flex; flex-wrap: wrap; gap: 10px; }
.resource-links a { padding: 9px 11px; background: #fff1e8; color: var(--brand-dark); border-radius: var(--radius); font-weight: 800; font-size: 14px; }
.resource-links a:hover { background: #ffe1c7; }
.legal-layout { display: grid; gap: 16px; max-width: 900px; }
.legal-layout article { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.legal-layout h2 { margin: 0 0 8px; }
.legal-layout p { margin: 0; color: #516173; }
.sitemap-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 22px; }
.sitemap-columns h2 { margin: 0 0 12px; }
.sitemap-columns a { display: block; padding: 7px 0; color: var(--brand-dark); font-weight: 700; }

.site-footer { background: #07111f; color: rgba(255,255,255,.78); padding: 46px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 30px; }
.footer-logo { width: 220px; background: var(--white); border-radius: var(--radius); padding: 8px; }
.site-footer h2 { color: var(--white); font-size: 16px; margin: 0 0 12px; }
.site-footer a { display: block; color: rgba(255,255,255,.82); padding: 4px 0; }
.site-footer a:hover { color: var(--white); }
.footer-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); display: flex; gap: 14px; flex-wrap: wrap; align-items: center; font-size: 13px; }
.footer-bottom a { display: inline-flex; padding: 0; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-block; }
  .site-nav { position: absolute; left: 16px; right: 16px; top: 78px; display: none; flex-direction: column; align-items: stretch; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { justify-content: center; }
  .hero, .hero-shade { min-height: auto; }
  .hero-shade { padding: 52px 0 38px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { font-size: 38px; }
  .signup-panel { max-width: 520px; }
  .feature-grid, .content-grid, .content-grid.three, .sport-grid, .compact-grid, .profile-grid, .footer-grid, .sitemap-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-layout, .sport-visual-grid, .practical-layout { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 24px, 1120px); }
  .brand img { width: 190px; }
  .header-inner { min-height: 70px; }
  .site-nav { top: 70px; }
  .hero h1 { font-size: 31px; }
  .hero-intro { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .section { padding: 48px 0; }
  .section-heading h2, .split-layout h2 { font-size: 26px; }
  .feature-grid, .content-grid, .content-grid.three, .sport-grid, .compact-grid, .profile-grid, .footer-grid, .sitemap-columns, .stat-grid { grid-template-columns: 1fr; }
  .practical-list li { grid-template-columns: 1fr; }
  .sport-detail { grid-template-columns: 1fr; }
  .profile-card { grid-template-columns: 50px minmax(0, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
