/* ===================================================
   CMP — Page-level styles
   Galleries, Seasons, Results, Client Access
   Extends main.css — do not duplicate variables here.
   =================================================== */

/* ── SHARED PAGE COMPONENTS ─────────────────────── */

/* Page header banner (replaces full hero on inner pages) */
.page-header {
  padding: calc(var(--nav-h) + 72px) 0 64px;
  background: linear-gradient(
    180deg,
    #06101e 0%,
    var(--navy) 100%
  );
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(212,160,23,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.page-header--center { text-align: center; }
.page-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--white);
  margin-bottom: 14px;
}
.page-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 520px;
  line-height: 1.6;
}
.page-header--center .page-subtitle { margin: 0 auto; }

/* Active nav link */
.nav-links a.nav-active {
  color: var(--gold);
}

/* Email signup confirm */
.email-signup-confirm {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  padding: 8px 0;
}

/* ── FILTER BAR ─────────────────────────────────── */
.filter-section {
  background: #08101e;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
}
.filter-section--compact { padding: 18px 0; }
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.filter-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.filter-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  white-space: nowrap;
}
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-pill {
  padding: 6px 16px;
  border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,0.1);
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  white-space: nowrap;
}
.filter-pill:hover {
  border-color: rgba(212,160,23,0.4);
  color: var(--off-white);
}
.filter-pill--active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212,160,23,0.08);
}
.filter-results-count {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--gray);
  letter-spacing: 0.03em;
}

/* ── GALLERIES PAGE ─────────────────────────────── */
.gallery-grid-section {
  padding: 56px 0 100px;
  background: var(--navy);
}

.gallery-grid-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-card-full {
  background: #0d1730;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.gallery-card-full:hover {
  border-color: rgba(212,160,23,0.25);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.gallery-card-img {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.gallery-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.4s ease;
  filter: brightness(0.65);
}
.gallery-card-full:hover .gallery-card-img img {
  transform: scale(1.04);
  filter: brightness(0.75);
}
.gallery-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0);
  transition: background 0.3s ease;
}
.gallery-card-full:hover .gallery-card-overlay {
  background: rgba(0,0,0,0.25);
}
.gallery-view-btn {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  padding: 10px 22px;
  background: var(--gold);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius);
  letter-spacing: 0.04em;
}
.gallery-card-full:hover .gallery-view-btn {
  opacity: 1;
  transform: none;
}
.gallery-photo-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  color: var(--off-white);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.12);
}
.gallery-sport-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(212,160,23,0.15);
  border: 1px solid rgba(212,160,23,0.3);
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}
.gallery-card-info {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gallery-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
  line-height: 1.15;
}
.gallery-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.gallery-meta-date, .gallery-meta-loc {
  font-size: 12px;
  color: var(--gray);
}
.gallery-meta-sep { color: rgba(255,255,255,0.2); font-size: 12px; }
.gallery-open-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-top: 4px;
  transition: letter-spacing var(--transition);
}
.gallery-card-full:hover .gallery-open-btn { letter-spacing: 0.1em; }

.gallery-empty {
  text-align: center;
  padding: 80px 0;
  color: var(--gray);
  font-size: 16px;
}

@media (max-width: 1024px) {
  .gallery-grid-full { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .gallery-grid-full { grid-template-columns: 1fr; }
}

/* ── LIGHTBOX ───────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
  cursor: pointer;
}
.lightbox-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  max-height: 96vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: 0 16px;
  overflow-y: auto;
}
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 10;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: rgba(255,255,255,0.6);
  font-size: 18px;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.lightbox-close:hover { border-color: var(--gold); color: var(--gold); background: rgba(212,160,23,0.08); }
.lightbox-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 0 16px;
  gap: 20px;
  flex-wrap: wrap;
}
.lightbox-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  line-height: 1.1;
}
.lightbox-meta {
  font-size: 12px;
  color: var(--gray);
  margin-top: 4px;
}
.lightbox-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.lightbox-action-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  color: rgba(255,255,255,0.55);
  font-size: 12.5px;
  font-weight: 500;
  transition: border-color var(--transition), color var(--transition);
}
.lightbox-action-btn svg { width: 15px; height: 15px; }
.lightbox-action-btn:hover { border-color: var(--gold); color: var(--gold); }
.lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}
.lightbox-img-wrap {
  flex: 1;
  max-height: 64vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(0,0,0,0.5);
}
.lightbox-img {
  max-width: 100%;
  max-height: 64vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s ease;
}
.lb-loading { opacity: 0.4; }
.lightbox-arrow {
  flex-shrink: 0;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  color: rgba(255,255,255,0.5);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  z-index: 2;
  flex-shrink: 0;
}
.lightbox-arrow:hover { border-color: var(--gold); color: var(--gold); background: rgba(212,160,23,0.08); }
.lightbox-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0 8px;
  gap: 16px;
}
.lightbox-caption {
  font-size: 13px;
  color: var(--gray);
  font-style: italic;
  flex: 1;
}
.lightbox-counter {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.lightbox-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}
.lb-thumb {
  flex-shrink: 0;
  width: 68px; height: 48px;
  border-radius: 3px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color var(--transition), opacity var(--transition);
  opacity: 0.55;
}
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lb-thumb:hover { opacity: 0.85; }
.lb-thumb--active { border-color: var(--gold); opacity: 1; }

@media (max-width: 640px) {
  .lightbox-arrow { width: 36px; height: 36px; font-size: 20px; }
  .lightbox-img-wrap { max-height: 52vh; }
  .lightbox-img { max-height: 52vh; }
  .lightbox-actions { display: none; }
}

/* ── PAGE CTA STRIP ─────────────────────────────── */
.page-cta-strip {
  background: #06101e;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 56px 0;
}
.page-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.page-cta-inner h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 6px;
}
.page-cta-inner p {
  font-size: 14px;
  color: var(--gray);
}

/* ── SEASONS PAGE ───────────────────────────────── */
.seasons-page-section {
  padding: 56px 0 100px;
  background: var(--navy);
}
.seasons-page-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.season-page-card {
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  overflow: hidden;
  background: #0d1730;
  transition: border-color var(--transition);
}
.season-page-card:hover { border-color: rgba(212,160,23,0.2); }
.season-card-btn {
  display: block;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: background var(--transition);
}
.season-card-btn[aria-expanded="true"] {
  background: #111e3a;
}
.season-page-img {
  position: relative;
  height: 280px;
  overflow: hidden;
}
.season-page-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
  transition: transform 0.5s ease, filter 0.4s ease;
}
.season-card-btn:hover .season-page-img img,
.season-card-btn[aria-expanded="true"] .season-page-img img {
  transform: scale(1.02);
  filter: brightness(0.6);
}
.season-page-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 55%);
}
.season-explore-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.season-card-btn:hover .season-explore-label,
.season-card-btn[aria-expanded="true"] .season-explore-label {
  opacity: 1;
}
.season-page-info {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.season-page-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.season-page-sport {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.season-page-count {
  font-size: 12px;
  color: var(--gray);
}
.season-page-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  line-height: 1.1;
}
.season-page-year {
  font-size: 13px;
  color: var(--gray-light);
}

/* Season detail panel */
.season-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  border-top: 1px solid transparent;
}
.season-detail[aria-hidden="false"] {
  border-top-color: rgba(255,255,255,0.06);
}
.season-detail-inner {
  padding: 36px 28px 40px;
}
.season-detail-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 680px;
}
.season-stats-row {
  display: flex;
  gap: 40px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.season-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.season-stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
}
.season-stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
}
.season-timeline { margin-bottom: 32px; }
.season-timeline-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 16px;
}
.season-event-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  flex-wrap: wrap;
}
.season-event-row:last-child { border-bottom: none; }
.season-event-date {
  flex-shrink: 0;
  width: 120px;
  font-size: 12px;
  color: var(--gray);
}
.season-event-details {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.season-event-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}
.season-event-result {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
}
.season-result--win { background: rgba(16,185,129,0.15); color: #10b981; }
.season-result--loss { background: rgba(239,68,68,0.12); color: #ef4444; }
.season-result--other { background: rgba(107,114,128,0.15); color: var(--gray-light); }
.season-event-gallery-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
  flex-shrink: 0;
  transition: color var(--transition);
}
.season-event-gallery-link:hover { color: var(--gold-light); }
.season-event-no-gallery {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
  flex-shrink: 0;
}
.season-detail-cta { margin-top: 8px; }

@media (max-width: 600px) {
  .season-page-img { height: 200px; }
  .season-event-date { width: 100%; }
  .season-event-row { gap: 8px; }
}

/* ── RESULTS FEED PAGE ──────────────────────────── */
.results-feed-section {
  padding: 56px 0 80px;
  background: var(--navy);
}
.results-feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.result-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 28px;
  background: #0d1730;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.result-card:hover {
  border-color: rgba(212,160,23,0.2);
  background: #111e3a;
  transform: translateX(4px);
}
.result-card-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  min-width: 0;
}
.result-card-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.result-sport-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-shrink: 0;
  border: 1.5px solid transparent;
}
.result-sport-icon { width: 16px; height: 16px; display: flex; align-items: center; }
.result-sport-icon svg { width: 16px; height: 16px; }

/* Sport color coding */
.result-sport-chip--football   { background: rgba(212,160,23,0.12); border-color: rgba(212,160,23,0.25); color: var(--gold); }
.result-sport-chip--basketball { background: rgba(249,115,22,0.12); border-color: rgba(249,115,22,0.25); color: #f97316; }
.result-sport-chip--hockey     { background: rgba(96,165,250,0.12); border-color: rgba(96,165,250,0.25); color: #60a5fa; }
.result-sport-chip--soccer     { background: rgba(99,102,241,0.12); border-color: rgba(99,102,241,0.25); color: #818cf8; }
.result-sport-chip--track      { background: rgba(16,185,129,0.12); border-color: rgba(16,185,129,0.25); color: #10b981; }
.result-sport-chip--volleyball { background: rgba(244,63,94,0.12);  border-color: rgba(244,63,94,0.25);  color: #f43f5e; }
.result-sport-chip--wrestling  { background: rgba(139,92,246,0.12); border-color: rgba(139,92,246,0.25); color: #a78bfa; }
.result-sport-chip--senior     { background: rgba(212,160,23,0.1);  border-color: rgba(212,160,23,0.2);  color: var(--gold); }

.result-card-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.result-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 420px;
}
.result-card-date {
  font-size: 12px;
  color: var(--gray);
}
.result-thumbs {
  display: flex;
  gap: 6px;
}
.result-thumb-img {
  width: 48px; height: 36px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
  filter: brightness(0.75);
  transition: filter var(--transition);
}
.result-card:hover .result-thumb-img { filter: brightness(0.9); }
.result-outcome-chip {
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.result-outcome-chip--win   { background: rgba(16,185,129,0.15); color: #10b981; }
.result-outcome-chip--loss  { background: rgba(107,114,128,0.12); color: var(--gray-light); }
.result-outcome-chip--other { background: rgba(96,165,250,0.12);  color: #60a5fa; }
.result-gallery-link {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
  white-space: nowrap;
  transition: color var(--transition);
}
.result-gallery-link:hover { color: var(--gold-light); }
.results-empty {
  text-align: center;
  padding: 80px 0;
  color: var(--gray);
  font-size: 16px;
}

@media (max-width: 900px) {
  .result-card { flex-wrap: wrap; }
  .result-card-right { width: 100%; justify-content: space-between; }
  .result-card-title { max-width: 100%; white-space: normal; }
}
@media (max-width: 580px) {
  .result-card { padding: 16px 16px; gap: 14px; }
  .result-sport-chip { padding: 5px 10px; font-size: 10px; }
  .result-thumbs { display: none; }
}

/* ── SUBSCRIBE STRIP ────────────────────────────── */
.subscribe-strip {
  background: #06101e;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 56px 0;
}
.subscribe-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.subscribe-copy {
  flex: 1;
  min-width: 240px;
}
.subscribe-copy h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 6px;
}
.subscribe-copy p {
  font-size: 14px;
  color: var(--gray);
}
.subscribe-form {
  display: flex;
  gap: 0;
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.subscribe-form:focus-within { border-color: rgba(212,160,23,0.5); }
.subscribe-input {
  background: transparent;
  border: none;
  outline: none;
  padding: 11px 18px;
  font-size: 14px;
  color: var(--white);
  font-family: var(--font-body);
  min-width: 220px;
}
.subscribe-input::placeholder { color: rgba(255,255,255,0.3); }
.subscribe-form .btn { border-radius: 0; }
.subscribe-confirm {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
}

/* ── CLIENT ACCESS PAGE ─────────────────────────── */
.access-section {
  padding: 56px 0 100px;
  background: var(--navy);
}
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: flex-start;
}
.access-card {
  background: #0d1730;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.access-card-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(212,160,23,0.3);
  border-radius: 10px;
  color: var(--gold);
  background: rgba(212,160,23,0.06);
}
.access-card-icon svg { width: 26px; height: 26px; }
.access-card-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: -8px;
}
.access-card-sub {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}
.access-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.access-input-wrap {
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}
.access-input-wrap:focus-within { border-color: var(--gold); }
.access-input {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  padding: 14px 18px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--white);
  letter-spacing: 0.04em;
}
.access-input::placeholder { color: rgba(255,255,255,0.3); }
.access-submit-btn { width: 100%; justify-content: center; padding: 14px; }
.access-result {
  text-align: center;
  padding: 20px;
  background: rgba(212,160,23,0.04);
  border: 1px solid rgba(212,160,23,0.15);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.access-result-icon { font-size: 28px; }
.access-result-msg {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}
.access-help {
  font-size: 13px;
  color: var(--gray);
}
.access-link { color: var(--gold); border-bottom: 1px solid rgba(212,160,23,0.35); }

.access-info-col { display: flex; flex-direction: column; gap: 20px; }
.access-info-card {
  background: #0d1730;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 28px 28px 28px;
}
.access-info-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 16px;
}
.access-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.access-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}
.access-features li svg { width: 16px; height: 16px; color: #10b981; flex-shrink: 0; }
.access-info-card--faq { }
.faq-item {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.faq-item:last-child { border-bottom: none; }
.faq-item strong {
  display: block;
  font-size: 13.5px;
  color: var(--white);
  margin-bottom: 5px;
}
.faq-item p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
}

@media (max-width: 860px) {
  .access-grid { grid-template-columns: 1fr; }
  .access-card { padding: 32px 28px; }
}
@media (max-width: 480px) {
  .access-card { padding: 24px 20px; }
}

/* ── APP SECTION ────────────────────────────────── */
.app-section {
  padding: 100px 0;
  background: #06101e;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.app-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.app-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 16px;
}
.app-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 480px;
}
.app-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}
.app-features li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14.5px;
  color: rgba(255,255,255,0.7);
}
.app-features li svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }
.app-store-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.app-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  background: #0d1730;
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  cursor: not-allowed;
  opacity: 0.65;
}
.app-badge-icon { width: 24px; height: 24px; color: var(--white); flex-shrink: 0; }
.app-badge-sub {
  display: block;
  font-size: 10px;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.app-badge-store {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.app-disclaimer {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 20px;
}
.app-notify-form {
  display: flex;
  gap: 0;
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.2s;
  max-width: 400px;
}
.app-notify-form:focus-within { border-color: rgba(212,160,23,0.5); }
.app-notify-form .subscribe-input { flex: 1; }
.app-notify-form .btn { border-radius: 0; }
.app-notify-confirm {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  padding: 8px 0;
}

/* Phone mockup */
.app-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-phone-mockup {
  perspective: 1000px;
}
.phone-frame {
  width: 260px;
  background: #0a1020;
  border-radius: 36px;
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
  overflow: hidden;
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.3s ease;
}
.app-phone-mockup:hover .phone-frame {
  transform: rotateY(-4deg) rotateX(2deg);
}
.phone-screen {
  height: 520px;
  background: #07111f;
  display: flex;
  flex-direction: column;
  position: relative;
}
.phone-notch {
  width: 80px; height: 22px;
  background: #0a1020;
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
  flex-shrink: 0;
}
.phone-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.phone-header-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.phone-header-logo {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--gold);
  letter-spacing: 0.08em;
}
.phone-header-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.phone-gallery-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  overflow: hidden;
  padding: 8px;
}
.phone-gallery-grid img {
  height: 110px;
  object-fit: cover;
  border-radius: 4px;
  filter: brightness(0.7);
}
.phone-bottom-bar {
  display: flex;
  border-top: 1px solid rgba(255,255,255,0.07);
  background: rgba(0,0,0,0.4);
  flex-shrink: 0;
}
.phone-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 0 10px;
  color: rgba(255,255,255,0.3);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.phone-tab svg { width: 16px; height: 16px; }
.phone-tab--active { color: var(--gold); }

@media (max-width: 900px) {
  .app-inner { grid-template-columns: 1fr; gap: 56px; }
  .app-visual { display: none; }
}
@media (max-width: 500px) {
  .app-notify-form { flex-direction: column; }
  .app-notify-form .subscribe-input { width: 100%; }
  .app-notify-form .btn { border-radius: var(--radius); }
}
