/* =========================================================
   SMCC Sports Tournament 2026
   Tournament-specific CSS
   ========================================================= */

:root {
  --tournament-blue: #123b69;
  --tournament-blue-dark: #082646;
  --tournament-gold: #d8a52b;
  --tournament-light: #f5f8fc;
  --tournament-border: #e3e9f1;
  --tournament-text: #1c2733;
}

.tournament-page {
  background: #fff;
  color: var(--tournament-text);
}

.tournament-hero {
  position: relative;
  min-height: 590px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(5, 27, 51, .97), rgba(12, 65, 105, .84)),
    url("../assets/img/smccsportstournament_1_land.jpg") center/cover no-repeat;
  color: #fff;
}

.tournament-hero::before,
.tournament-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.tournament-hero::before {
  width: 460px;
  height: 460px;
  right: -130px;
  top: -170px;
  border: 2px solid rgba(216, 165, 43, .35);
  box-shadow: 0 0 0 55px rgba(216, 165, 43, .05);
}

.tournament-hero::after {
  width: 260px;
  height: 260px;
  left: -100px;
  bottom: -120px;
  border: 2px solid rgba(255,255,255,.12);
}
.zelle-qr-image {
  display: block;
  width: 140px;
  max-width: 60%;
  height: auto;
  margin: 0 auto 12px;
}
.tournament-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 35%, rgba(216,165,43,.18), transparent 28%),
    radial-gradient(circle at 25% 70%, rgba(42,143,214,.18), transparent 30%);
}
/* =========================================================
   HERO BUTTONS
   ========================================================= */

.hero-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.sponsor-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 10px;
  background: #d6a72c;
  color: #092c50;
  font-weight: 800;
  border: 2px solid #e8c45a;
  transition: all .25s ease;
}

.sponsor-hero-btn:hover {
  background: #f2ca55;
  color: #092c50;
  transform: translateY(-2px);
}


/* =========================================================
   SPONSORSHIP
   ========================================================= */

.sponsorship-section {
  position: relative;
  padding: 90px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(212, 172, 55, .16), transparent 35%),
    radial-gradient(circle at bottom right, rgba(15, 66, 112, .12), transparent 35%),
    #f7f9fc;
}

.sponsor-heading {
  max-width: 800px;
  margin: 0 auto 35px;
}

.sponsor-heading > span {
  display: inline-block;
  margin-bottom: 10px;
  color: #b18413;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: 2px;
}

.sponsor-heading h2 {
  color: #092c50;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.sponsor-heading p {
  max-width: 700px;
  margin: auto;
  color: #667587;
  font-size: 1.02rem;
  line-height: 1.8;
}

.sponsor-card {
  position: relative;
  height: 100%;
  overflow: hidden;
  text-align: center;
  background: #fff;
  padding: 42px 28px 34px;
  border-radius: 22px;
  border: 1px solid #e3e8ee;
  box-shadow: 0 18px 55px rgba(14, 41, 68, .08);
  transition: all .3s ease;
}

.sponsor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 70px rgba(14, 41, 68, .15);
}

.sponsor-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
}

.sponsor-gold::before {
  background: linear-gradient(90deg, #9d7311, #f2d265, #a77b11);
}

.sponsor-silver::before {
  background: linear-gradient(90deg, #77818c, #e0e6ec, #7e8993);
}

.sponsor-bronze::before {
  background: linear-gradient(90deg, #8c4c22, #d99b67, #8c4c22);
}

.sponsor-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border-radius: 50%;
  font-size: 30px;
}

.sponsor-gold .sponsor-icon {
  background: #fff7da;
  color: #c49213;
}

.sponsor-silver .sponsor-icon {
  background: #eff2f5;
  color: #71808f;
}

.sponsor-bronze .sponsor-icon {
  background: #fff0e4;
  color: #a75a2a;
}

.sponsor-label {
  display: block;
  margin-bottom: 7px;
  font-size: .7rem;
  letter-spacing: 1.7px;
  font-weight: 800;
  color: #8b98a6;
}

.sponsor-card h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  color: #092c50;
  margin-bottom: 8px;
}

.sponsor-price {
  font-family: "Montserrat", sans-serif;
  font-size: 2.6rem;
  line-height: 1.1;
  font-weight: 800;
  color: #123b69;
  margin: 16px 0;
}

.sponsor-card p {
  color: #6b7886;
  line-height: 1.7;
  min-height: 104px;
}

.sponsor-pay-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 180px;
  padding: 13px 20px;
  margin-top: 12px;
  border-radius: 10px;
  background: #123b69;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: .25s ease;
}

.sponsor-pay-btn:hover {
  background: #082646;
  color: #fff;
  transform: translateY(-2px);
}

.sponsor-footer {
  margin-top: 45px;
}

.sponsor-footer p {
  color: #667587;
  margin-bottom: 16px;
}

.sponsor-main-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 11px;
  background: linear-gradient(135deg, #c7951e, #ebc751);
  color: #092c50;
  border: 0;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(192, 145, 27, .25);
}

.sponsor-main-btn:hover {
  color: #092c50;
  transform: translateY(-2px);
}


/* Mobile */
@media (max-width: 767px) {

  .hero-action-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-action-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .sponsorship-section {
    padding: 65px 0;
  }

  .sponsor-card p {
    min-height: auto;
  }
}
.tournament-hero .container {
  padding-top: 90px;
  padding-bottom: 80px;
}

.hero-kicker,
.section-label,
.registration-header > span,
.section-heading > span {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

.hero-kicker {
  color: #f2ca62;
  margin-bottom: 18px;
}

.tournament-hero h1 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  font-weight: 800;
  margin: 0 0 18px;
  max-width: 850px;
}

.tournament-hero h1 span {
  color: #f2ca62;
}

.hero-tagline {
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .5px;
  margin-bottom: 14px;
}

.hero-intro {
  max-width: 700px;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255,255,255,.84);
  margin-bottom: 30px;
}

.tournament-btn,
.submit-btn {
  border: 0;
  border-radius: 10px;
  padding: 14px 22px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  transition: .25s ease;
}

.tournament-btn {
  background: var(--tournament-gold);
  color: #15263a;
}

.tournament-btn:hover {
  transform: translateY(-2px);
  background: #efbd3b;
  color: #15263a;
}

.tournament-btn-outline { margin-left: 10px; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.55); }
.tournament-btn-outline:hover { background:#fff; color:var(--tournament-blue-dark); }
.payment-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-bottom:20px; }
.payment-option { display:flex; gap:13px; align-items:flex-start; padding:20px; border:1px solid var(--tournament-border); border-radius:14px; cursor:pointer; background:#fff; }
.payment-option:has(input:checked) { border-color:var(--tournament-gold); box-shadow:0 0 0 3px rgba(216,165,43,.14); }
.payment-option input { margin-top:6px; accent-color:var(--tournament-blue); }
.payment-option span { display:flex; flex-direction:column; gap:4px; }
.payment-option small { color:#6d7b89; font-size:14px; line-height:1.5; }
.payment-helper,.zelle-note { margin:10px 0 0; color:#6d7b89; font-size:14px; }
.zelle-reference-wrap { margin-top:20px; }
.field-error { color:#b42318; font-size:13px; font-weight:600; margin-top:7px; }
.form-control.is-invalid,.form-select.is-invalid { border-color:#dc3545; background-image:none; }
.update-page { min-height:70vh; padding:240px 0 80px; background:var(--tournament-light); }
.update-card { max-width:940px; margin:auto; background:#fff; border-radius:22px; padding:40px; box-shadow:0 20px 60px rgba(8,38,70,.1); }
.update-card h1 { font-family:"Montserrat",sans-serif; color:var(--tournament-blue-dark); font-weight:800; }
.eyebrow { color:var(--tournament-gold); font-size:12px; font-weight:800; letter-spacing:1.5px; }
.update-login { max-width:520px; display:grid; gap:10px; margin-top:25px; }
.update-card label { font-weight:600; margin-top:8px; }
.update-alert { padding:14px 16px; margin:20px 0; border-radius:10px; background:#edf5ff; color:var(--tournament-blue-dark); }
.update-subhead { margin:34px 0 12px; font-size:22px; font-weight:800; color:var(--tournament-blue-dark); }
.payment-choice { display:flex; gap:28px; margin:12px 0; }

.hero-info-card {
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(14px);
  border-radius: 22px;
  padding: 25px;
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
}

.hero-info-card > div {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.hero-info-card > div:first-child { padding-top: 0; }
.hero-info-card > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.hero-info-card i {
  color: #f2ca62;
  font-size: 25px;
  margin-top: 2px;
}

.hero-info-card span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-info-card strong {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
}

.hero-info-card small {
  color: rgba(255,255,255,.72);
  font-size: 13px;
}

.section {
  padding: 90px 0;
}

.section-heading {
  max-width: 850px;
  margin: 0 auto;
}

.section-heading > span,
.registration-header > span {
  color: var(--tournament-blue);
  margin-bottom: 12px;
}

.section-heading h2,
.registration-header h2,
.details-card h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 4vw, 46px);
  color: var(--tournament-blue-dark);
  margin-bottom: 18px;
}

.section-heading p {
  color: #687687;
  line-height: 1.8;
}

.feature-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--tournament-border);
  border-radius: 18px;
  padding: 30px;
  transition: .25s ease;
  box-shadow: 0 10px 35px rgba(16, 42, 67, .05);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(16, 42, 67, .1);
}

.feature-card i {
  display: inline-flex;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  background: rgba(216,165,43,.14);
  color: #a97900;
  font-size: 24px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--tournament-blue-dark);
}

.feature-card p {
  color: #697687;
  line-height: 1.7;
  margin: 0;
}

.tournament-details-section {
  background: var(--tournament-light);
}

.details-card,
.prize-card {
  border-radius: 22px;
  padding: 38px;
}

.details-card {
  background: #fff;
  border: 1px solid var(--tournament-border);
}

.section-label {
  color: #a97900;
  margin-bottom: 12px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 30px;
}

.detail-item {
  display: flex;
  gap: 15px;
}

.detail-item > i {
  color: var(--tournament-blue);
  font-size: 23px;
  margin-top: 3px;
}

.detail-item div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.detail-item span {
  font-size: 12px;
  color: #8490a0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.detail-item strong {
  font-family: "Poppins", sans-serif;
  color: #26384b;
  font-size: 15px;
}

.detail-item small {
  color: #778494;
}

.prize-card {
  color: #fff;
  background:
    radial-gradient(circle at 80% 10%, rgba(216,165,43,.22), transparent 28%),
    linear-gradient(145deg, #092c50, #124e7d);
  box-shadow: 0 20px 50px rgba(8, 38, 70, .15);
}

.prize-icon {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: rgba(255,255,255,.1);
  color: #f2ca62;
  font-size: 25px;
  margin-bottom: 22px;
}

.prize-card > span {
  color: #f2ca62;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

.prize-card h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 35px;
  font-weight: 800;
  margin: 5px 0 20px;
}

.prize-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.12);
}

.prize-row b {
  font-size: 14px;
}

.prize-row strong {
  color: #f2ca62;
  font-size: 23px;
}

.registration-section {
  background: #fff;
}

.registration-header {
  margin-bottom: 38px;
}

.registration-header p {
  color: #758293;
}

.registration-card {
  max-width: 1050px;
  margin: 0 auto;
  border: 1px solid var(--tournament-border);
  border-radius: 24px;
  padding: clamp(25px, 5vw, 55px);
  box-shadow: 0 25px 70px rgba(17, 42, 66, .08);
  background: #fff;
}

.form-section-title {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 28px;
}

.form-section-title > span {
  display: inline-flex;
  flex: 0 0 42px;
  height: 42px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: #edf3f9;
  color: var(--tournament-blue);
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 13px;
}

.form-section-title h3 {
  margin: 0;
  color: var(--tournament-blue-dark);
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 750;
}

.form-section-title p {
  margin: 3px 0 0;
  color: #8390a0;
  font-size: 13px;
}

.player-title {
  margin-top: 48px;
}

.registration-card label {
  display: block;
  margin-bottom: 8px;
  color: #34475a;
  font-size: 13px;
  font-weight: 700;
}

.registration-card label em {
  color: #c43b3b;
  font-style: normal;
}

.registration-card .form-control,
.registration-card .form-select {
  min-height: 52px;
  border: 1px solid #dce4ec;
  border-radius: 10px;
  padding: 12px 15px;
  color: #26384b;
  background-color: #fff;
  box-shadow: none;
}

.registration-card .form-control:focus,
.registration-card .form-select:focus {
  border-color: #6d94b9;
  box-shadow: 0 0 0 4px rgba(32, 101, 157, .08);
}

.fee-display {
  height: 100%;
  min-height: 52px;
  border-radius: 10px;
  background: #f6f8fb;
  border: 1px solid #e5ebf1;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fee-display span {
  color: #7c8997;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.fee-display strong {
  color: var(--tournament-blue);
  font-size: 22px;
}

.fee-display small {
  font-size: 11px;
  font-weight: 500;
}

.players-panel {
  background: #f7f9fc;
  border: 1px solid #e4eaf1;
  border-radius: 16px;
  padding: 20px;
}

.players-panel-top {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  margin-bottom: 14px;
}

.players-panel-top > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.players-panel-top strong {
  font-family: "Montserrat", sans-serif;
  color: #26384b;
}

#playerCountBadge {
  border-radius: 20px;
  padding: 4px 9px;
  background: #e7eef6;
  color: #315a7e;
  font-size: 11px;
  font-weight: 800;
}

.add-player-btn {
  border: 1px solid #c9d7e5;
  background: #fff;
  color: var(--tournament-blue);
  border-radius: 9px;
  padding: 9px 13px;
  font-size: 12px;
  font-weight: 800;
  transition: .2s ease;
}

.add-player-btn:hover:not(:disabled) {
  border-color: var(--tournament-blue);
  background: #eef5fb;
}

.add-player-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.player-row {
  display: grid;
  grid-template-columns: 38px 1fr 40px;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}

.player-number {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8eff6;
  color: #315a7e;
  font-size: 12px;
  font-weight: 800;
}

.player-row .form-control {
  min-height: 44px;
}

.remove-player {
  width: 38px;
  height: 38px;
  border: 1px solid #e1d7d7;
  border-radius: 9px;
  background: #fff;
  color: #9a6262;
}

.remove-player:hover {
  background: #fff5f5;
}

.player-message {
  margin-top: 12px;
  color: #6f7d8c;
  font-size: 12px;
}

.player-message.warning {
  color: #a96f00;
}

.terms-box {
  max-height: 260px;
  overflow-y: auto;
  border: 1px solid #dfe6ed;
  border-radius: 14px;
  background: #f9fbfd;
  padding: 22px 25px;
}

.terms-box h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #2b4259;
}

.terms-box ol {
  padding-left: 20px;
  color: #647384;
  font-size: 13px;
  line-height: 1.7;
}

.terms-placeholder {
  border-left: 3px solid #d8a52b;
  padding-left: 12px;
  color: #7d6740;
  font-size: 12px;
}

.acceptance {
  display: flex !important;
  gap: 11px;
  align-items: flex-start;
  margin-top: 20px !important;
  color: #445466 !important;
  font-weight: 500 !important;
}

.acceptance input {
  margin-top: 3px;
  accent-color: var(--tournament-blue);
}

.submit-area {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e7edf3;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.submit-area > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.submit-area small {
  color: #798696;
  font-size: 11px;
}

.submit-area small i {
  color: #4c779d;
  margin-right: 5px;
}

.submit-btn {
  background: var(--tournament-blue);
  color: #fff;
  min-height: 52px;
  padding-left: 20px;
  padding-right: 20px;
  white-space: nowrap;
}

.submit-btn:hover:not(:disabled) {
  background: #0a2b4b;
  transform: translateY(-2px);
}

.submit-btn:disabled {
  opacity: .7;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
}

.flyer-placeholder-section {
  background: var(--tournament-light);
  padding-top: 20px;
}

.flyer-placeholder {
  min-height: 260px;
  border: 2px dashed #cbd7e4;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #718092;
  background: #fff;
  text-align: center;
}

.flyer-placeholder i {
  font-size: 40px;
  margin-bottom: 10px;
  color: #9aabba;
}

.flyer-placeholder h3 {
  font-family: "Montserrat", sans-serif;
  color: #36516c;
  font-size: 20px;
  font-weight: 700;
}

.flyer-placeholder p,
.flyer-placeholder small {
  margin: 0;
}

.tournament-flyer { display:block; width:100%; height:auto; border-radius:22px; box-shadow:0 18px 45px rgba(16,42,67,.16); }

.flyer-placeholder small {
  margin-top: 8px;
  color: #9a6f0c;
}

@media (max-width: 991px) {
  .tournament-hero {
    min-height: auto;
  }

  .hero-info-card {
    margin-top: 15px;
  }

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

@media (max-width: 767px) {
  .payment-options { grid-template-columns:1fr; }
  .tournament-btn-outline { margin:12px 0 0; display:table; }
  .update-card { padding:25px 18px; }
  .section {
    padding: 65px 0;
  }

  .tournament-hero .container {
    padding-top: 65px;
    padding-bottom: 60px;
  }

  .tournament-hero h1 {
    font-size: 43px;
  }

  .hero-tagline {
    font-size: 18px;
  }

  .registration-card {
    border-radius: 18px;
  }

  .players-panel-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .submit-area {
    flex-direction: column;
    align-items: stretch;
  }

  .submit-btn {
    width: 100%;
  }

  .details-card,
  .prize-card {
    padding: 28px;
  }
}
