/* ==========================================================================
   public.css — Homepage hero + info sections
   ========================================================================== */

.hero-band {
  position: relative; overflow: hidden; color: #fff;
  padding: 64px 0 120px;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(180deg, var(--deep-2) 0%, var(--deep) 60%, var(--deep-3) 100%);
}
html[data-theme="dark"] .hero-band {
  background:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(180deg, #120D17 0%, #221829 60%, #2E2238 100%);
}
/* Stepped pixel edge at the bottom of the hero */
.hero-band::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 32px; pointer-events: none;
  background:
    linear-gradient(var(--bg), var(--bg)) 0 100% / 100% 16px no-repeat,
    conic-gradient(var(--bg) 25%, transparent 0 50%, var(--bg) 0 75%, transparent 0) 0 0 / 32px 32px repeat-x;
}
.hero-band.is-compact { padding: 36px 0 76px; }

/* Twinkling pixel stars */
.px-stars { position: absolute; inset: 0; pointer-events: none; }
.px-stars i { position: absolute; width: 4px; height: 4px; background: #fff; opacity: .5; animation: px-twinkle 3s steps(2) infinite; }
.px-stars i.y { background: var(--accent); }
.px-stars i.d { background: rgba(255,255,255,.25); width: 6px; height: 6px; }
@keyframes px-twinkle { 50% { opacity: .1; } }

.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.px-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-family: var(--px-label); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
}
.hero-band h1 {
  font-family: var(--px-font); font-weight: 700; color: #fff;
  font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1.05;
  text-shadow: 3px 3px 0 #0B070F; margin-bottom: 18px;
}
.hero-band h1 .accent { color: var(--accent); }
.hero-band.is-compact h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 6px; }
.hero-lead { color: rgba(255,255,255,.8); font-size: 1.04rem; line-height: 1.55; max-width: 520px; margin-bottom: 30px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-buttons .btn { --px-shadow: #0B070F; border-color: #0B070F; }
.hero-buttons .btn:not(.btn-accent) { background: rgba(255,255,255,.08); color: #fff; }

/* A panel placed on the dark banner (e.g. the login box) keeps normal colors. */
.hero-band .panel { color: var(--text); }
.hero-band .panel h1 { color: var(--heading); text-shadow: none; font-size: 1.4rem; line-height: 1.15; margin: 0; }

/* Pixel court illustration */
.hero-visual { display: flex; justify-content: center; }
.hero-visual svg { width: 100%; max-width: 420px; height: auto; shape-rendering: crispEdges; }
.pxc-ball { animation: px-bounce 1.6s steps(4) infinite; }
@keyframes px-bounce { 50% { transform: translate(84px, -6px); } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-band { padding: 44px 0 100px; }
  .hero-visual svg { max-width: 340px; }
}

/* Info cards */
.section { padding-top: 8px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.section-head h2 { margin: 0; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .info-grid { grid-template-columns: 1fr; } }
.info-card h3 { font-size: 1.1rem; margin: 0; }
.info-card p { margin: 0; color: var(--text-2); }
.info-big { font-family: var(--px-font); font-size: 1.9rem; font-weight: 700; color: var(--heading); line-height: 1.1; margin: 4px 0 6px; }
.info-big small { font-size: .9rem; color: var(--text-2); font-weight: 500; }
.court-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.contact-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.contact-list li { display: flex; gap: 10px; align-items: center; color: var(--text); }
.contact-list svg { width: 16px; height: 16px; color: var(--plum); flex: 0 0 16px; }

.cta-strip {
  margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--accent); color: var(--deep); border: 2px solid var(--px-ink); box-shadow: 4px 4px 0 var(--px-shadow);
  padding: 18px 22px;
}
.cta-strip h3 { margin: 0; color: var(--deep); }
.cta-strip .btn { background: var(--deep); color: #fff; }
