/* ==============================
   BVB ESTLAND — Global Styles
   ============================== */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;700&family=Raleway:wght@400;500&display=swap');

:root {
  --black:   #121212;
  --dark:    #252525;
  --yellow:  #FDE100;
  --white:   #FFFFFF;
  --gray:    #8C8C8C;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ==============================
   SCROLL ANIMATIONS
   ============================== */

.animate {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================
   STATS SECTION
   ============================== */

.stats-section {
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.stats-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 20px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat-item {
  flex: 1;
  text-align: center;
}

.stat-num {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* ==============================
   NEXT MATCH SECTION
   ============================== */

.next-match-section {
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.nm-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 20px;
  text-align: center;
}

.nm-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(253,225,0,0.2);
  border-top-color: var(--yellow);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 32px auto;
}

@keyframes spin { to { transform: rotate(360deg); } }

.nm-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.nm-label {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--yellow);
  background: rgba(253,225,0,0.1);
  padding: 4px 10px;
  border-radius: 3px;
}

.nm-comp-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.nm-comp {
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.nm-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 12px;
}

.nm-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  min-width: 80px;
}

.nm-team img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}

.nm-team span {
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
}

.nm-vs {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--yellow);
}

.nm-meta {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.nm-meta strong { color: var(--white); }

.nm-countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(253,225,0,0.07);
  border: 1px solid rgba(253,225,0,0.2);
  border-radius: 4px;
  padding: 5px 8px;
  min-width: 38px;
}

.cd-num {
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
}

.cd-label {
  font-size: 9px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.cd-live {
  font-family: 'Oswald', sans-serif;
  font-size: 28px;
  color: var(--yellow);
  letter-spacing: 2px;
}

.nm-empty {
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  padding: 20px 0;
}

.nm-empty a { color: var(--yellow); }
.nm-empty code {
  background: rgba(255,255,255,0.07);
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 12px;
}

/* ==============================
   RECENT TRIPS SECTION
   ============================== */

.recent-trips-section {
  background: var(--black);
}

.recent-trips-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 48px 20px;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
}

.section-header h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 500;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-link {
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  color: var(--yellow);
  text-decoration: none;
  transition: opacity 0.2s;
}

.section-link:hover { opacity: 0.7; }

.recent-trips-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.trip-card {
  background: var(--dark);
  border-left: 3px solid var(--yellow);
  border-radius: 0 6px 6px 0;
  padding: 20px 20px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.2s, opacity 0.55s ease, transform 0.55s ease;
}

.trip-card:hover { background: #2e2e2e; }

.trip-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.trip-card__score {
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--yellow);
  white-space: nowrap;
  flex-shrink: 0;
}

.trip-card__comp {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--yellow);
  font-family: 'Raleway', sans-serif;
}

.trip-card__match {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.3;
}

.trip-card__date {
  font-size: 12px;
  color: var(--gray);
  margin-top: auto;
}

/* ==============================
   SOCIAL LINKS (footer)
   ============================== */

.footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 5px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.5);
  transition: border-color 0.2s, color 0.2s;
}

.footer-social a:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.footer-social svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

@media (max-width: 768px) {
  .recent-trips-list { grid-template-columns: 1fr; }
  .nm-teams { gap: 16px; }
  .cd-unit { min-width: 54px; padding: 10px 12px; }
  .cd-num { font-size: 24px; }
  .stats-inner { flex-wrap: wrap; gap: 24px; }
  .stat-divider { display: none; }
}

html { scroll-behavior: smooth; overflow-y: scroll; }

body {
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  line-height: 1.875;
  color: var(--white);
  background: var(--black);
}

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

/* ==============================
   HEADER LEFT (logo + lang)
   ============================== */

.header-left {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 1;
}

.header-login {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  transition: color 0.2s;
  z-index: 1;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.header-login:hover {
  color: var(--yellow);
}

.header-user {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  align-items: center;
  z-index: 10;
}

.header-user__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.header-user__role {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.header-user__role--chairman,
.header-user__role--member,
.header-user__role--fan { color: var(--yellow); }

.header-user__btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.65);
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  cursor: pointer;
  padding: 4px 2px;
  transition: color 0.2s;
}

.header-user__btn:hover { color: var(--yellow); }

.header-user__chevron {
  transition: transform 0.2s;
}

.header-user__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.1);
  border-top: 2px solid var(--yellow);
  min-width: 160px;
  z-index: 200;
}

.header-user__dropdown.open {
  display: block;
}

.header-user__dropdown a,
.header-user__dropdown button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 11px 16px;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  box-sizing: border-box;
}

.header-user__dropdown a:hover,
.header-user__dropdown button:hover {
  background: rgba(255,255,255,0.05);
  color: #fff;
}

.merch-order-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.merch-order-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 3px;
  transition: border-color 0.15s, background 0.15s;
}

.merch-order-item--active {
  border-color: rgba(253,225,0,0.35);
  background: rgba(253,225,0,0.04);
}

.merch-order-item__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.merch-order-item__name {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
}

.merch-order-item__meta {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

.merch-order-item__qty {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 3px;
  overflow: hidden;
}

.merch-qty-btn {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.05);
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  line-height: 1;
}

.merch-qty-btn:hover {
  background: var(--yellow);
  color: #111;
}

.merch-qty-val {
  width: 34px;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  border-left: 1px solid rgba(255,255,255,0.08);
  border-right: 1px solid rgba(255,255,255,0.08);
  line-height: 32px;
}

.merch-order-error {
  font-size: 0.83rem;
  color: #ff6b6b;
  margin-top: 8px;
}

.apply-modal.apply-modal--narrow {
  display: block;
  max-width: 360px;
}

.apply-modal__form-col--full {
  padding: 36px 32px 32px;
  text-align: center;
}

.apply-modal__form-col--full .apply-form__field {
  text-align: left;
}

.apply-modal__form-col--full .apply-modal__eyebrow,
.apply-modal__form-col--full .apply-modal__heading {
  text-align: center;
}

.apply-modal__form-col--full .apply-form__submit {
  display: block;
  margin: 0 auto;
  width: 100%;
}

.apply-modal__form-col--full .login-modal__forgot {
  margin: 14px auto 0;
  display: block;
  text-align: center;
}

.login-modal__error {
  font-size: 0.83rem;
  color: #ff6b6b;
  min-height: 1.2em;
  margin: 4px 0 0;
}

.login-modal__sent {
  font-size: 0.83rem;
  color: #69db7c;
  margin: 4px 0 0;
}

.login-modal__sub {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  margin: -10px 0 18px;
  line-height: 1.5;
}

.login-modal__forgot {
  display: block;
  margin: 6px 0 0 auto;
  background: none;
  border: none;
  color: rgba(255,255,255,0.35);
  font-family: 'Raleway', sans-serif;
  font-size: 0.8rem;
  cursor: pointer;
  transition: color 0.2s;
  padding: 0;
}

.login-modal__forgot:hover { color: rgba(255,255,255,0.7); }

.lang-selector {
  display: flex;
  gap: 4px;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 3px;
  color: rgba(255,255,255,0.7);
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  padding: 3px 7px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.lang-btn img {
  width: 16px;
  height: 16px;
  border-radius: 2px;
  display: inline-block;
}

.lang-btn:hover,
.lang-btn.active {
  border-color: var(--yellow);
  color: var(--yellow);
}

/* ==============================
   LAYOUT
   ============================== */

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}

.container--wide {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==============================
   HEADER / NAV
   ============================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

#contact {
  scroll-margin-top: 76px;
}

.header-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 76px;
}

.header-logo img {
  height: 56px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  color: var(--white);
  padding: 6px 10px;
  border-radius: 3px;
  transition: color 0.2s;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--yellow);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* ==============================
   HERO SECTION
   ============================== */

.hero {
  position: relative;
  min-height: 504px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('/images/web/hero-bg.jpg') center center / cover no-repeat;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: 40px 20px;
}

.hero-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(52px, 9vw, 88px);
  font-weight: 500;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-subtitle {
  margin-top: 16px;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(14px, 2vw, 20px);
  line-height: 1.65;
  color: rgba(255,255,255,0.9);
}

/* ==============================
   SECTION STRIP HEADERS
   ============================== */

.strip-heading {
  background: var(--yellow);
  padding: 22px 20px;
  text-align: center;
}

.strip-heading h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(32px, 5vw, 50px);
  font-weight: 500;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==============================
   ABOUT SECTION
   ============================== */

.about-outer {
  background: var(--dark);
}

.about-section {
  background: var(--dark);
  padding: 40px 32px 44px;
}

.about-col {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-icon {
  width: 56px;
  margin-bottom: 10px;
}

.about-icon svg {
  width: 100%;
  height: auto;
  fill: var(--yellow);
}

.about-heading {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(32px, 5vw, 50px);
  font-weight: 500;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  line-height: 1.34;
  margin-bottom: 28px;
}

/* Two-column row: text left, cert right */
.about-two-col {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
}

.about-text {
  color: var(--white);
  font-size: 15px;
  line-height: 1.875;
}

.about-text p + p { margin-top: 12px; }

.about-text--full {
  width: 100%;
  margin-top: 4px;
}

/* Yellow bold highlights */
.hl  { color: var(--yellow); font-weight: bold; }
.hl2 { color: var(--yellow); font-weight: bold; }

.about-cert-col {
  flex-shrink: 0;
}

.about-cert-col img {
  width: 342px;
  max-width: 100%;
  display: block;
}

.about-maplink {
  font-size: 11px;
  text-align: center;
  margin-top: 8px;
}

.about-maplink a {
  color: var(--yellow);
  text-decoration: underline;
}

.about-maplink a:hover { opacity: 0.8; }

/* ==============================
   CONTACT SECTION
   ============================== */

.contact-body {
  background: var(--dark);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.contact-form-col {
  background: var(--dark);
  padding: 48px 36px 48px clamp(36px, calc((100vw - 980px) / 2 + 36px), 280px);
}

.contact-heading {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 500;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  line-height: 1.34;
}

.contact-form-col h3 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 500;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.contact-form-col p {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
  line-height: 1.7;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-form__field label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 9px 12px;
  background: #111;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  font-family: 'Raleway', sans-serif;
  font-size: 0.88rem;
  transition: border-color 0.15s;
  outline: none;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--yellow);
}

.contact-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.contact-form select option {
  background: #1a1a1a;
  color: var(--white);
}

.contact-form select option:disabled {
  color: rgba(255,255,255,0.4);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.btn-submit {
  align-self: flex-start;
  padding: 13px 28px;
  background: var(--yellow);
  color: #111;
  border: none;
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.2s;
  text-transform: uppercase;
}

.btn-submit:hover { background: #e8cf00; }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.h-captcha { margin: 4px 0 2px; }
.contact-form__captcha-err {
  font-family: 'Raleway', sans-serif;
  font-size: 0.8rem;
  color: #e05555;
  margin: -4px 0 4px;
}

.form-success {
  display: none;
  padding: 12px 16px;
  background: rgba(253,225,0,0.15);
  border: 1px solid var(--yellow);
  color: var(--yellow);
  font-size: 0.88rem;
}

.contact-photo-col {
  background: url('/images/web/contact-bg.jpeg') 16% 63% / cover no-repeat;
  min-height: 400px;
}

/* ==============================
   FOOTER
   ============================== */

.site-footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  padding: 10px 20px;
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.6);
}

/* ==============================
   PAGE HERO (inner pages)
   ============================== */

.page-hero {
  background: var(--dark);
  padding: 52px 20px 44px;
  text-align: center;
}

.page-hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 500;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ==============================
   MEMBERSHIP PAGE
   ============================== */

.page-section {
  background: var(--dark);
  padding: 48px 20px;
}

.page-section + .page-section {
  border-top: 1px solid rgba(255,255,255,0.07);
}

.page-section.alt { background: #1e1e1e; }

.page-section .container {
  max-width: 900px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 48px;
  margin-top: 36px;
}

.benefit-item h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.benefit-item p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
}

.benefit-item a {
  color: var(--yellow);
  text-decoration: underline;
}

.btn-primary {
  display: inline-block;
  margin-top: 28px;
  padding: 12px 36px;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
  font-family: 'Oswald', sans-serif;
  font-size: 17px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
}

.btn-primary:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  background: transparent;
}

.intro-text {
  max-width: 700px;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255,255,255,0.85);
}

/* ==============================
   TICKET REQUEST PAGE
   ============================== */

.tickets-note {
  background: rgba(253,225,0,0.08);
  border-left: 3px solid var(--yellow);
  padding: 14px 20px;
  margin-bottom: 32px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
}

.matches-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 36px;
}

.matches-table th {
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 16px;
  text-align: left;
  background: rgba(253,225,0,0.08);
  border-bottom: 2px solid var(--yellow);
}

.matches-table td {
  padding: 12px 16px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.matches-table tr:last-child td { border-bottom: none; }

.matches-table tr:hover td { background: rgba(255,255,255,0.03); }

.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.badge--home { background: var(--yellow); color: var(--black); }
.badge--away { background: var(--black); color: var(--yellow); border: 1px solid var(--yellow); }

.seating-info {
  margin-top: 36px;
}

.seating-info h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.seating-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seat-badge {
  padding: 8px 18px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 3px;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
}

/* ==============================
   GALLERY PAGE
   ============================== */

.gallery-intro {
  max-width: 700px;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
}

.trips-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trip-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.04);
  border-left: 3px solid var(--yellow);
  border-radius: 0 4px 4px 0;
  transition: background 0.2s;
}

.trip-item:hover { background: rgba(253,225,0,0.07); }

.trip-date {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  color: var(--yellow);
  white-space: nowrap;
  min-width: 90px;
}

.trip-name {
  font-size: 15px;
  color: rgba(255,255,255,0.9);
}

.trips-stat {
  margin-bottom: 28px;
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  color: var(--yellow);
}

/* ==============================
   EMBLEM PAGE
   ============================== */

.emblem-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 52px;
  align-items: start;
}

.emblem-img {
  width: 260px;
  flex-shrink: 0;
}

.emblem-text h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--yellow);
  font-style: italic;
  margin-bottom: 20px;
}

.emblem-text p {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255,255,255,0.85);
}

.emblem-text p + p { margin-top: 14px; }

/* ==============================
   RESPONSIVE
   ============================== */

@media (max-width: 768px) {
  .site-nav { display: none; flex-direction: column; gap: 0; }
  .site-nav.open {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0; right: 0;
    background: var(--black);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 12px 0;
    z-index: 99;
  }
  .site-nav.open a {
    display: block;
    padding: 12px 24px;
  }
  .nav-toggle { display: flex; }

  .about-two-col { grid-template-columns: 1fr; }
  .about-cert-col img { width: 100%; max-width: 342px; margin: 0 auto; }

  .contact-inner { grid-template-columns: 1fr; }
  .contact-photo-col { min-height: 240px; }

  .benefit-grid { grid-template-columns: 1fr; }

  .emblem-layout { grid-template-columns: 1fr; }
  .emblem-img { width: 200px; margin: 0 auto; }
}

@media (max-width: 480px) {
  .contact-form-col { padding: 32px 20px; }
  .btn-submit { width: 100%; text-align: center; }
  .contact-form__row { grid-template-columns: 1fr; }
}

/* ==============================
   MEMBERSHIP PAGE
   ============================== */

/* ── Hero ── */
.mem-hero {
  position: relative;
  height: 342px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.mem-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.gal-hero .mem-hero__bg {
  object-position: center 50%;
}

.gal-hero .mem-hero__overlay {
  background: linear-gradient(100deg, rgba(18,18,18,0.75) 30%, rgba(18,18,18,0.1) 100%);
}

.mem-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(18,18,18,0.88) 40%, rgba(18,18,18,0.4) 100%);
}

.mem-hero__content {
  position: relative;
  z-index: 1;
  padding: 0 clamp(24px, 6vw, 120px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mem-hero__eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--yellow);
  opacity: 0.75;
}

.mem-hero__title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mem-hero__price {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--yellow);
  color: var(--black);
  padding: 10px 18px;
  width: fit-content;
}

.mem-hero__price-amount {
  font-family: 'Oswald', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}

.mem-hero__price-label {
  font-family: 'Raleway', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── Cards section ── */
.mem-cards-section {
  background: var(--black);
  padding: 56px 20px 72px;
}

.mem-cards-intro {
  max-width: 1280px;
  margin: 0 auto 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.mem-cards-intro p {
  font-family: 'Raleway', sans-serif;
  font-size: 0.97rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  max-width: 600px;
}

.mem-apply-btn {
  display: inline-block;
  flex-shrink: 0;
  background: var(--yellow);
  color: #111;
  border: none;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 28px;
  cursor: pointer;
  transition: background 0.2s;
}

.mem-apply-btn:hover {
  background: #e8cf00;
}

.mem-cards-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mem-card {
  background: var(--dark);
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  text-align: center;
}

.mem-card__title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
  line-height: 1.2;
}

.mem-card__divider {
  width: 36px;
  height: 3px;
  background: var(--yellow);
  margin-bottom: 18px;
}

.mem-card__img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  margin-bottom: 18px;
  transition: transform 0.3s ease;
}

.mem-card:hover .mem-card__img {
  transform: scale(1.06);
}

.mem-card__text {
  font-family: 'Raleway', sans-serif;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}

.mem-card:last-child {
  grid-column: 2;
}

/* ── hl-link ── */
.hl-link {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hl-link:hover {
  color: var(--white);
}

/* ── Membership responsive ── */
@media (max-width: 768px) {
  .mem-hero { height: 234px; }
  .mem-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .mem-cards-intro { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  .mem-card:last-child { grid-column: auto; }
}

@media (max-width: 520px) {
  .mem-cards-grid { grid-template-columns: 1fr; }
}

/* ==============================
   TICKET REQUEST PAGE
   ============================== */

.tix-section {
  background: var(--black);
  padding: 56px 20px 72px;
}

.tix-note {
  max-width: 1280px;
  margin: 0 auto 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.tix-note p {
  font-family: 'Raleway', sans-serif;
  font-size: 0.97rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  max-width: 600px;
}

.tix-table-wrap {
  max-width: 860px;
  margin: 0 auto 56px;
  overflow-x: auto;
}

.tix-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Raleway', sans-serif;
  font-size: 0.93rem;
}

.tix-table thead tr {
  background: var(--yellow);
  color: var(--black);
}

.tix-table th {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 16px;
  text-align: left;
}

.tix-table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background 0.15s;
}

.tix-table tbody tr:hover {
  background: var(--dark);
}

.tix-table td {
  padding: 14px 16px;
  color: var(--white);
  vertical-align: middle;
  text-align: left;
}

.tix-table th {
  vertical-align: middle;
}

.tix-date { font-weight: 500; }

.tix-time {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}

.tix-match {
  font-weight: 500;
}

.tix-match-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tix-ha-inline {
  display: none;
}

.tix-teams {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tix-team {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tix-team-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

.tix-vs {
  color: rgba(255,255,255,0.35);
  font-size: 0.85rem;
}

.tix-crest {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

.tix-badge {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 3px 10px;
  letter-spacing: 0.05em;
}

.tix-badge--home { background: var(--yellow); color: var(--black); }
.tix-badge--away { background: var(--dark); color: var(--white); border: 1px solid rgba(255,255,255,0.2); }

.tix-deadline {
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
}

.tix-loading, .tix-empty {
  color: rgba(255,255,255,0.4);
  font-family: 'Raleway', sans-serif;
  padding: 24px 16px;
}

.tix-scheme {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.tix-scheme__title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.tix-scheme__info {
  font-family: 'Raleway', sans-serif;
  font-size: 0.93rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 24px;
}

.tix-scheme__wrap {
  background: #111;
  display: inline-flex;
  padding: 16px;
  margin-bottom: 10px;
}

.tix-scheme__wrap img {
  width: 320px;
  max-width: 100%;
  height: auto;
  display: block;
}

.tix-scheme__caption {
  font-family: 'Raleway', sans-serif;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
}

.tix-scheme__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  width: 100%;
  margin: 0 0 12px;
}

.tix-cat {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 5px 0;
  letter-spacing: 0.05em;
  width: 140px;
  text-align: center;
}

.tix-cat--standing { color: #E8734A; border: 2px solid #E8734A; }
.tix-cat--cat6     { color: #6DC8A2; border: 2px solid #6DC8A2; }
.tix-cat--cat5     { color: #E8A93C; border: 2px solid #E8A93C; }
.tix-cat--cat4     { color: #6BB5E8; border: 2px solid #6BB5E8; }


@media (max-width: 600px) {
  .tix-match { flex-wrap: wrap; }
}

/* ==============================
   GALLERY PAGE
   ============================== */

/* ── Lightbox ── */
.lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.lb-overlay.active {
  display: flex;
}

.lb-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.lb-content img {
  max-width: 90vw;
  max-height: 75vh;
  object-fit: contain;
  display: block;
}

.lb-info {
  background: #111;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lb-top {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.lb-num {
  font-family: 'Oswald', sans-serif;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.1em;
}

.lb-date {
  font-family: 'Oswald', sans-serif;
  font-size: 0.72rem;
  color: var(--yellow);
  letter-spacing: 0.1em;
}

.lb-middle {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.lb-match {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.lb-score {
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--yellow);
  flex-shrink: 0;
}

.lb-comp {
  font-family: 'Raleway', sans-serif;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}

.lb-close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 1.4rem;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 1001;
}

.lb-close:hover { color: #fff; }

.lb-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 1001;
}

.lb-nav:hover { background: rgba(255,255,255,0.18); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }

.gal-section {
  background: var(--black);
  padding: 56px 20px 72px;
}

.gal-intro {
  max-width: 1280px;
  margin: 0 auto 40px;
}

.gal-intro p {
  font-family: 'Raleway', sans-serif;
  font-size: 0.97rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

.gal-grid {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

@keyframes img-shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}
.img-loading {
  background: linear-gradient(90deg, #1c1c1c 25%, #272727 50%, #1c1c1c 75%);
  background-size: 200% 100%;
  animation: img-shimmer 1.4s infinite linear;
}
.img-loading img {
  opacity: 0;
}
.img-loading.img-loaded img {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.gal-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.gal-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gal-card:hover .gal-card__img {
  transform: scale(1.08);
}

.gal-card__info {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18,18,18,0.92) 0%, rgba(18,18,18,0.3) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gal-card:hover .gal-card__info {
  opacity: 1;
}

.gal-card__num {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  background: rgba(0,0,0,0.55);
  padding: 3px 8px;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.2s;
}

.gal-card:hover .gal-card__num {
  opacity: 1;
}

.gal-card__date {
  font-family: 'Oswald', sans-serif;
  font-size: 0.72rem;
  color: var(--yellow);
  letter-spacing: 0.1em;
  margin-bottom: 3px;
}

.gal-card__match {
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.2;
}

.gal-card__matchline {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.gal-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
}

.gal-card__comp {
  font-family: 'Raleway', sans-serif;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
}

.gal-card__score {
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--yellow);
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .gal-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 680px) {
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 400px) {
  .gal-grid { grid-template-columns: 1fr; }
}

/* ==============================
   EMBLEM PAGE
   ============================== */

.emb-page {
  background: var(--black);
  padding: 72px 20px 80px;
}

.emb-page__inner {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 80px;
  align-items: start;
}

.emb-page__img {
  position: sticky;
  top: 120px;
  padding-top: 24px;
}

.emb-page__img > img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 32px rgba(253,225,0,0.15));
  animation: emb-pulse 5s ease-in-out infinite;
  cursor: pointer;
}

@keyframes emb-pulse {
  0%   { transform: scale(1);    filter: drop-shadow(0 0 28px rgba(253,225,0,0.15)); }
  40%  { transform: scale(1.05); filter: drop-shadow(0 0 44px rgba(253,225,0,0.35)); }
  80%  { transform: scale(1);    filter: drop-shadow(0 0 28px rgba(253,225,0,0.15)); }
  100% { transform: scale(1);    filter: drop-shadow(0 0 28px rgba(253,225,0,0.15)); }
}

.emb-page__eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--yellow);
  opacity: 0.7;
  margin-bottom: 8px;
}

.emb-page__title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.emb-page__motto {
  font-family: 'Raleway', sans-serif;
  font-style: italic;
  font-size: 1rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.emb-page__text p {
  font-family: 'Raleway', sans-serif;
  font-size: 0.97rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.85;
  margin-bottom: 18px;
}

.emb-symbols {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.emb-symbol {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
}

.emb-symbol img {
  display: block;
  width: 280px;
  height: 180px;
  border-radius: 8px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.emb-symbol:hover img {
  transform: scale(1.08);
}

.emb-symbol figcaption {
  font-family: 'Raleway', sans-serif;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  margin-top: 6px;
  text-align: center;
}

@media (max-width: 700px) {
  .emb-page__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .emb-page__img {
    position: static;
    max-width: 200px;
    margin: 0 auto;
  }
}

/* ==============================
   MERCH PAGE
   ============================== */

.merch-title-bar {
  background: var(--black);
  border-bottom: 3px solid var(--yellow);
  padding: 48px clamp(24px, 6vw, 120px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.merch-title-bar__heading {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
}

.merch-section {
  background: var(--black);
  padding: 56px 20px 72px;
}

.merch-intro {
  max-width: 1280px;
  margin: 0 auto 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.merch-intro p {
  font-family: 'Raleway', sans-serif;
  font-size: 0.97rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  flex: 1;
}

.merch-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

#merch-product-grid {
  display: contents;
}

.merch-card {
  background: var(--dark);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.merch-card:hover {
  transform: translateY(-4px);
}

.merch-card__img-wrap {
  position: relative;
  overflow: hidden;
}

.merch-card__img-wrap img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.merch-card:hover .merch-card__img-wrap img {
  transform: scale(1.05);
}

.merch-card--oos .merch-card__img-wrap img {
  filter: grayscale(100%) brightness(0.4);
  transition: filter 0.4s ease, transform 0.4s ease;
}

.merch-card--oos:hover .merch-card__img-wrap img {
  filter: grayscale(0%) brightness(1);
}

.merch-card__oos-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(18,18,18,0.85);
  color: rgba(255,255,255,0.6);
  font-family: 'Oswald', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,0.15);
}

.merch-card__info {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.merch-card__name-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.merch-card__name {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.merch-card__qty {
  font-family: 'Raleway', sans-serif;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.merch-card__price {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--yellow);
  white-space: nowrap;
}

.merch-card__price--oos {
  color: rgba(255,255,255,0.3);
  font-size: 0.85rem;
  font-weight: 400;
  font-family: 'Raleway', sans-serif;
}

.merch-card__btn {
  display: inline-block;
  margin-top: 12px;
  align-self: flex-start;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 20px;
  transition: border-color 0.2s, color 0.2s;
}

.merch-card__btn:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

@media (max-width: 1024px) {
  .merch-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 680px) {
  .merch-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 400px) {
  .merch-grid { grid-template-columns: 1fr; }
}

/* ── Toast ── */
#bvb-toast {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #111;
  border-bottom: 3px solid var(--yellow);
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 14px 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 2000;
}

#bvb-toast::before {
  content: '⚠';
  font-size: 1rem;
  color: var(--yellow);
  flex-shrink: 0;
}

#bvb-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Membership Application Modal ── */
.apply-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.apply-modal-overlay.active {
  display: flex;
}

.apply-modal {
  position: relative;
  background: #141414;
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 3px solid var(--yellow);
  width: 100%;
  max-width: 960px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-height: 90vh;
  overflow-y: auto;
  margin: auto;
}

.apply-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 10;
  line-height: 1;
  padding: 4px;
}

.apply-modal__close:hover { color: #fff; }

.apply-modal__info {
  padding: 40px 32px 40px;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.apply-modal__eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 10px;
}

.apply-modal__heading {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.apply-modal__list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.apply-modal__list li {
  font-family: 'Raleway', sans-serif;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  padding-left: 16px;
  border-left: 2px solid var(--yellow);
}

.apply-modal__closing {
  font-family: 'Raleway', sans-serif;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 12px;
}

.apply-modal__heja {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0.08em;
}

.apply-modal__form-col {
  padding: 40px 32px 40px;
}

.apply-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.apply-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.apply-form__field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.apply-form__field label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.apply-form__req {
  color: var(--yellow);
}

.apply-form__opt {
  color: rgba(255,255,255,0.3);
  font-size: 0.65rem;
  text-transform: none;
  letter-spacing: 0;
}

.apply-form__field input,
.apply-form__field textarea {
  background: #111;
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: 0.88rem;
  padding: 9px 12px;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.15s;
}

.apply-form__field input:focus,
.apply-form__field textarea:focus {
  border-color: var(--yellow);
}

.apply-form__field textarea {
  resize: vertical;
}

.tix-modal__no-matches {
  font-family: 'Raleway', sans-serif;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
}

/* Custom match dropdown */
.tix-dropdown {
  position: relative;
}

.tix-dropdown__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #111;
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.4);
  font-family: 'Raleway', sans-serif;
  font-size: 0.88rem;
  padding: 9px 12px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s;
}

.tix-dropdown.open .tix-dropdown__toggle,
.tix-dropdown__toggle:focus {
  border-color: var(--yellow);
  outline: none;
}

.tix-dropdown__toggle svg {
  flex-shrink: 0;
  transition: transform 0.2s;
}

.tix-dropdown.open .tix-dropdown__toggle svg {
  transform: rotate(180deg);
}

.tix-dropdown__label--selected {
  color: #fff;
}

.tix-dropdown__list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.12);
  border-top: none;
  list-style: none;
  z-index: 10;
  max-height: 220px;
  overflow-y: auto;
}

.tix-dropdown.open .tix-dropdown__list {
  display: block;
}

.tix-dropdown__item {
  padding: 10px 12px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.15s, color 0.15s;
}

.tix-dropdown__item:last-child { border-bottom: none; }

.tix-dropdown__item:hover {
  background: rgba(253,225,0,0.08);
  color: #fff;
}

.apply-form__dob {
  display: grid;
  grid-template-columns: 80px 1fr 100px;
  gap: 8px;
}

.apply-form__dob-sel {
  width: 100%;
  padding: 10px 10px;
  background: #111;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 3px;
  color: rgba(255,255,255,0.85);
  font-family: 'Raleway', sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='rgba(255,255,255,0.35)' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
  transition: border-color 0.2s;
}

.apply-form__dob-sel:focus {
  outline: none;
  border-color: var(--yellow);
}

.apply-form__dob-sel option {
  background: #1a1a1a;
  color: #fff;
}

.apply-form__agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.apply-form__agree input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: 2px;
  accent-color: var(--yellow);
  cursor: pointer;
}

.apply-form__agree span {
  font-family: 'Oswald', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}

.apply-form__submit {
  background: var(--yellow);
  color: #111;
  border: none;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 28px;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 4px;
  align-self: flex-start;
}

.apply-form__submit:hover { background: #e8cf00; }
.apply-form__submit:disabled { opacity: 0.5; cursor: not-allowed; }

.apply-form__success {
  display: none;
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  color: var(--yellow);
  padding: 40px 0;
  text-align: center;
}

@media (max-width: 720px) {
  .apply-modal { grid-template-columns: 1fr; }
  .apply-modal__info { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); padding-bottom: 24px; }
  .apply-form__row { grid-template-columns: 1fr; }
}

/* ── Settings modal ─────────────────────────────────── */
#sf-firstname,
#sf-lastname {
  opacity: 0.45;
  cursor: not-allowed;
}

.settings-modal__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.settings-delete-btn {
  background: none;
  border: none;
  color: rgba(255,100,100,0.55);
  font-family: 'Raleway', sans-serif;
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  transition: color 0.2s;
}

.settings-delete-btn:hover { color: #ff6b6b; }

/* ── Reset password page ─────────────────────────────── */
.reset-page {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.reset-page__box {
  width: 100%;
  max-width: 420px;
}

.reset-page__logo {
  display: block;
  width: 64px;
  margin: 0 auto 20px;
  opacity: 0.9;
}

.reset-page__title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-align: center;
  margin: 0 0 28px;
}

/* ==============================
   MOBILE OPTIMIZATIONS
   ============================== */

/* Gallery: always show card info on touch/small screens (no hover available) */
@media (max-width: 680px) {
  .gal-card__info {
    opacity: 1;
    background: linear-gradient(to top, rgba(18,18,18,0.9) 0%, rgba(18,18,18,0.15) 65%, transparent 100%);
  }
  .gal-card__num { opacity: 1; }
}

@media (max-width: 480px) {
  /* ── Header ── */
  .header-left  { left: 16px; gap: 10px; }
  .header-login { right: 16px; }
  .header-user  { right: 16px; }
  .header-logo img { height: 46px; }

  /* ── Home hero ── */
  .hero { min-height: 300px; }
  .hero-content { padding: 28px 20px; }

  /* ── Stats bar ── */
  .stats-inner { padding: 16px 20px; }

  /* ── About section ── */
  .about-section { padding: 28px 16px 32px; }

  /* ── Next match ── */
  .nm-inner { padding: 20px 16px; }

  /* ── Contact ── */
  .contact-photo-col { min-height: 160px; }

  /* ── Membership ── */
  .mem-hero { height: 180px; }
  .mem-cards-section { padding: 36px 16px 52px; }
  .mem-cards-intro { margin-bottom: 32px; }

  /* ── Ticket request ── */
  .tix-section { padding: 36px 16px 52px; }
  .tix-note { margin-bottom: 28px; }
  .tix-table-wrap { margin-bottom: 36px; overflow-x: unset; }

  /* Table → cards on mobile */
  .tix-table thead { display: none; }
  .tix-table, .tix-table tbody { display: block; }
  .tix-table tbody tr {
    display: flex;
    flex-direction: column;
    background: #141414;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    margin-bottom: 12px;
    padding: 14px 16px;
  }
  .tix-table td.tix-match { display: block; padding: 0 0 10px; margin-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .tix-table td[data-label="H/A"] { display: none; }
  .tix-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
    border: none;
    font-size: 0.87rem;
  }
  .tix-table td::before {
    content: attr(data-label);
    font-family: 'Oswald', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    flex-shrink: 0;
    margin-right: 8px;
  }
  .tix-table td.tix-match::before { display: none; }
  .tix-teams { flex-direction: column; align-items: flex-start; gap: 4px; }
  .tix-vs { display: none; }
  .tix-ha-inline { display: flex; align-self: center; }
  /* Stadium scheme: scale to fit mobile width */
  .tix-scheme__wrap { display: flex; width: 100%; box-sizing: border-box; padding: 12px; }
  .tix-scheme__wrap img { width: 100%; }

  /* ── Gallery ── */
  .gal-section { padding: 36px 8px 52px; }
  .gal-grid { gap: 2px; }

  /* ── Merch ── */
  .merch-title-bar { padding: 32px clamp(16px, 5vw, 80px); }
  .merch-section { padding: 36px 16px 52px; }
  .merch-intro { margin-bottom: 32px; }

  /* ── Emblem page ── */
  .emb-page { padding: 44px 16px 52px; }

  /* ── Static page sections ── */
  .page-section { padding: 32px 16px; }

  /* ── Modals (apply / merch order) ── */
  .apply-modal__info     { padding: 28px 20px 20px; }
  .apply-modal__form-col { padding: 24px 20px 28px; }
  .apply-form__dob       { grid-template-columns: 70px 1fr 88px; gap: 6px; }
  .apply-form__submit    { width: 100%; text-align: center; }
}
