/* =============================================
   LipOuts CockTailCup 2026 — ShowTime Edition
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --navy:        #1a1f3c;
  --navy-light:  #2d3561;
  --gold:        #c9a84c;
  --gold-light:  #e8c96a;
  --gold-pale:   #fdf6e3;
  --coral:       #e85d4a;
  --bg:          #fdfcf8;
  --bg-warm:     #f9f5ee;
  --surface:     #ffffff;
  --border:      #ede8dc;
  --text:        #1a1f3c;
  --text-mid:    #5a5f7a;
  --text-light:  #9098b1;
  --shadow-sm:   0 2px 12px rgba(26,31,60,0.07);
  --shadow:      0 4px 28px rgba(26,31,60,0.11);
  --shadow-lg:   0 12px 48px rgba(26,31,60,0.16);
  --r:           20px;
  --r-sm:        12px;

  /* ── ACCENT (aanpasbare hoofdkleur scoring/scorebord) ── */
  /* Verander --accent om de groene kleur overal aan te passen */
  --accent:          #4e967f;
  --accent-dark:     #0f6e56;
  --accent-darker:   #085041;
  --accent-darkest:  #0a4a3a;
  --accent-rgb:      29, 158, 117;
  --accent-dark-rgb: 15, 110, 86;
  --accent-pale:     #e1f5ee;
  --accent-pale2:    #e8f5f0;

  /* Score kleuren */
  --red:             #e03535;
  --blue:            #2e6fc4;
  --amber:           #f5c842;
  --amber-dark:      #7a5c00;

  /* Radius */
  --radius:          12px;
  --radius-sm:       8px;

  /* Card */
  --card:            #ffffff;
  --muted:           #666;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}


a,
a:link,
a:visited,
a:hover,
a:active,
a:focus {
  color: inherit;
    text-decoration: none;
}



/* ---- Page wrapper ---- */
.site-wrapper {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.1rem 7rem;
}

/* ---- Header ---- */
.site-header {
  padding: 2.5rem 0 1.2rem;
  text-align: center;
}

.header-logo {
  width: min(500px, 68vw);
  display: block;
  margin: 0 auto 0.9rem;
  filter: drop-shadow(0 4px 18px rgba(26,31,60,0.13));
}

.header-badge {
  display: inline-block;
  background: var(--navy);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 1.1rem;
  border-radius: 50px;
}

/* ---- Hero image ---- */
.hero-wrap {
  position: relative;
  margin: 1.4rem 0 2rem;
}
.hero-image {
  width: 100%;
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  display: block;
}
.hero-date-pill {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(26,31,60,0.82);
  backdrop-filter: blur(6px);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(232,201,106,0.3);
}

/* ---- Thema block ---- */
.thema-block {
  background: var(--navy);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 1.4rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.thema-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--coral), var(--gold));
  background-size: 200%;
}

.thema-inner {
  padding: 2rem 2rem 0.5rem;
}

.thema-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.thema-block h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 6vw, 2.8rem);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-align: left;
}

.thema-lead {
  color: rgba(255,255,255,0.78);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.thema-lead b { color: var(--gold-light); font-weight: 600; }

.thema-highlight {
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--r-sm);
  padding: 1.1rem 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--gold-light);
  font-size: 0.93rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.thema-highlight::before { content: '🏆'; font-size: 1.2rem; }

.schedule {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.2rem 0 0;
}

.schedule-row {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 0.3rem 1rem;
  align-items: baseline;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.schedule-row:last-child { border-bottom: none; }

.schedule-time {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.schedule-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
}

.thema-sign {
  padding: 1.2rem 2rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.38);
  font-style: italic;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ---- Generic card ---- */
.card {
  background: var(--surface);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 1.8rem;
  margin-bottom: 1.4rem;
  border: 1px solid var(--border);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.card-icon {
  width: 40px; height: 40px;
  background: var(--gold-pale);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.card-icon .material-icons { color: var(--gold); font-size: 1.25rem; }

.card-heading { font-size: 1.15rem; font-weight: 700; color: var(--navy); }
.card-sub { font-size: 0.82rem; color: var(--text-light); margin-top: 0.1rem; }

/* ---- Reglement ---- */
.rules-list { list-style: none; }
.rules-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--text);
}
.rules-list li:last-child { border-bottom: none; }
.rules-list li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 0.05rem;
  font-size: 0.95rem;
}

/* ---- Teams ---- */
.teams-grid {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 540px) { .teams-grid { grid-template-columns: 1fr 1fr; } }

.team-card {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--r-sm);
  padding: 1rem 1.15rem;
  transition: box-shadow 0.15s;
}
.team-card:hover { box-shadow: var(--shadow); }
.team-name {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 0.55rem;
}
.team-member {
  font-size: 0.83rem;
  color: var(--text-mid);
  padding: 0.18rem 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
/* team-member icoon via JS (⛳ = lid, 🏌️ = geen lid) */

/* ---- Inschrijfformulier ---- */
#addTeam {
  display: none;
  background: var(--bg);
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.38rem;
}

.form-input {
  width: 100%;
  padding: 0.72rem 0.95rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 0.93rem;
  font-family: inherit;
  color: var(--text);
  background: var(--surface);
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.18);
}
.form-input::placeholder { color: var(--text-light); }

.player-row {
  background: var(--bg-warm);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: 1.1rem;
  margin-bottom: 0.8rem;
}
.player-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin-bottom: 0.7rem;
}
.player-number {
  width: 22px; height: 22px;
  background: var(--navy);
  color: var(--gold-light);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
@media (min-width: 480px) {
  .player-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
}
.player-fields .form-input { margin-top: 0; }
.form-group { margin-bottom: 1rem; }

.btn-submit {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--gold-light);
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(26,31,60,0.28);
  transition: all 0.2s;
  margin-top: 0.6rem;
  font-family: inherit;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26,31,60,0.35);
}

/* ---- Bottom nav ---- */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex;
  z-index: 50;
  box-shadow: 0 -4px 24px rgba(26,31,60,0.09);
  /* iOS safe area (home-indicator ruimte) */
  padding-bottom: 15px;
}

.nav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  padding: 0.65rem 0.2rem 0.55rem;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--text-light);
  transition: color 0.15s;
  position: relative;
}
.nav-btn .material-icons { font-size: 1.45rem; transition: color 0.15s; }
.nav-btn .nav-label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-family: inherit;
  white-space: nowrap;
}
.nav-btn.active { color: var(--navy); }
.nav-btn.active::after {
  content: '';
  position: absolute;
  top: 0; left: 25%; right: 25%;
  height: 2.5px;
  background: var(--gold);
  border-radius: 0 0 3px 3px;
}
.nav-btn:hover { color: var(--navy); }

/* ---- Desktop ---- */
@media (min-width: 700px) {
  .bottom-nav {
    max-width: 780px;
    left: 50%; transform: translateX(-50%);
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-radius: var(--r) var(--r) 0 0;
  }
}

.focus { display: block; height: 1px; }

/* ---- Foto's nav link ---- */
.bottom-nav a.nav-btn {
  text-decoration: none;
  color: var(--text-light);
}
.bottom-nav a.nav-btn:hover { color: var(--navy); }



/* Meer-menu wrapper */
/* ---- Meer-menu ---- */
.nav-more-wrap {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

.nav-more-btn {
  width: 100%;
}

.nav-more-dropdown {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  overflow: hidden;
  min-width: 160px;
  display: none;
  flex-direction: column;
  z-index: 200;
  transform: translateY(8px);
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-more-dropdown.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.more-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  font-size: 0.92rem;
  font-weight: 500;
  color: #222;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.12s;
}

.more-item:not(:last-child) {
  border-bottom: 1px solid #f0f0f0;
}

.more-item:hover,
.more-item:active {
  background: #f7f7f7;
}

.more-item .material-icons {
  font-size: 1.3rem;
  color: var(--gold);
}

.admin-only{
background: antiquewhite;
}