* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #fff;
  color: #000;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* NAV */

.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  padding: 16px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.3);
}

.nav-logo {
  width: 58px;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  color: #111;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.nav-btn {
  background: #000;
  color: #fff !important;
  padding: 11px 20px;
  border-radius: 999px;
}

/* GLOBAL */

section {
  padding: 110px 20px;
}

.container {
  max-width: 1200px;
  margin: auto;
}

.eyebrow {
  letter-spacing: .28em;
  color: #555;
  font-size: 12px;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: 800;
}

.center {
  text-align: center;
}

h1,
h2,
h3 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}

h1 {
  font-size: 140px;
  line-height: .85;
  margin-bottom: 28px;
}

h2 {
  font-size: 82px;
  line-height: .9;
  margin-bottom: 50px;
  text-align: center;
}

.subtext {
  color: #e8e8e8;
  font-size: 20px;
  line-height: 1.7;
  max-width: 760px;
  margin: 0 auto 40px;
}

/* HERO */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 20px 90px;
  background:
    linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.68)),
    url('pickleball-hero.jpeg');
  background-size: cover;
  background-position: center 35%;
  color: #fff;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.08), transparent 30%),
    radial-gradient(circle at bottom left, rgba(255,255,255,.06), transparent 25%);
  pointer-events: none;
}

.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 2;
}

.hero .eyebrow {
  color: #ddd;
}

.hero .subtext {
  color: #eee;
}

/* BUTTONS */

.buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.buttons a,
.big-btn,
form button,
.payment-button {
  padding: 18px 34px;
  background: #000;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: all .25s ease;
}

.buttons a:hover,
.big-btn:hover,
form button:hover,
.payment-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}

.buttons .secondary {
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  backdrop-filter: blur(8px);
}

/* EVENT */

.event {
  background:
    linear-gradient(180deg, #f7f7f7 0%, #ececec 100%);
  border-bottom: 1px solid #ddd;
}

.event-grid,
.division-grid,
.cash-grid,
.sponsor-grid,
.detail-grid {
  display: grid;
  gap: 32px;
}

.event-grid,
.sponsor-grid {
  grid-template-columns: repeat(3, 1fr);
}

.division-grid,
.cash-grid,
.detail-grid {
  grid-template-columns: repeat(2, 1fr);
}

/* GLASS CARDS */

.card,
.division-box,
.rules-box,
.sponsor-card,
.form-card {
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 34px;
  padding: 38px;
  backdrop-filter: blur(12px);
  box-shadow:
    0 24px 70px rgba(0,0,0,.08),
    inset 0 1px 0 rgba(255,255,255,.35);
}

.card span {
  color: #777;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 900;
}

.card h3,
.division-box h3,
.rules-box h3,
.sponsor-card h3 {
  font-size: 42px;
  margin: 18px 0;
}

.card p,
.division-box p,
.rules-box p,
.sponsor-card p,
.body-text {
  color: #222;
  line-height: 1.7;
}

.division-grid {
  margin-top: 28px;
}

.division-box p,
.rules-box p,
.sponsor-card p {
  border: 1px solid #e5e5e5;
  background: rgba(255,255,255,.55);
  padding: 15px 18px;
  border-radius: 16px;
  margin-bottom: 12px;
}

/* DETAILS */

.details {
  color: #fff;
  background:
    linear-gradient(rgba(0,0,0,.72), rgba(0,0,0,.88)),
    url('pickleball-action-2.jpeg');
  background-size: cover;
  background-position: center 30%;
  position: relative;
}

.details::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.08), transparent 30%);
}

.details .container {
  position: relative;
  z-index: 2;
}

.details h2 {
  text-align: left;
}

.details .eyebrow,
.details .body-text {
  color: #fff;
}

.details .rules-box {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
}

.details .rules-box p {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
}

/* CASH */

.cash-section {
  background: #fff;
  text-align: center;
}

.cash-box {
  border-radius: 34px;
  padding: 60px 30px;
  box-shadow: 0 18px 55px rgba(0,0,0,.08);
}

.cash-box.white {
  background: #000;
  color: #fff;
}

.cash-box.dark {
  background: #f5f5f5;
  border: 1px solid #ddd;
}

.cash-box h3 {
  font-size: 96px;
}

.cash-box p {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .15em;
}

.fine-print {
  color: #777;
  margin-top: 24px;
  text-align: center;
  font-size: 14px;
}

/* SPONSORS */

.sponsors {
  background:
    linear-gradient(180deg, #111 0%, #000 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.sponsors::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,.08), transparent 70%);
  top: -250px;
  right: -200px;
}

.sponsors .container {
  position: relative;
  z-index: 2;
}

.sponsors .eyebrow,
.sponsors h2 {
  color: #fff;
}

.sponsor-carousel {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-bottom: 45px;
}

.sponsor-logo {
  background: rgba(255,255,255,.1);
  color: #ddd;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  letter-spacing: .08em;
  backdrop-filter: blur(8px);
}

.sponsors .sponsor-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
}

.sponsors .sponsor-card p {
  color: #eee;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.14);
}

.sponsor-card h4 {
  font-size: 28px;
  margin-bottom: 22px;
}

/* CTA */

.cta {
  color: #fff;
  text-align: center;
  background:
    linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.75)),
    url('pickleball-action-1.jpeg');
  background-size: cover;
  background-position: center 38%;
  position: relative;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.08), transparent 35%);
}

.cta .container {
  position: relative;
  z-index: 2;
}

.cta p {
  color: #eee;
  font-size: 18px;
  margin-bottom: 35px;
}

.cta .big-btn {
  background: #fff;
  color: #000;
}

/* FOOTER */

footer {
  padding: 50px 20px;
  text-align: center;
  color: #888;
  background: #000;
}

footer p {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  color: white;
  text-transform: uppercase;
}

footer a {
  color: #aaa;
  text-decoration: none;
}

/* REGISTER PAGE */

.register-hero {
  padding-top: 160px;
  text-align: center;
  background:
    linear-gradient(rgba(255,255,255,.72), rgba(255,255,255,.9)),
    url('pickleball-hero.jpeg');
  background-size: cover;
  background-position: center 35%;
}

.form-section {
  padding-top: 40px;
  background: linear-gradient(180deg, #f5f5f5, #ececec);
}

.form-card {
  max-width: 780px;
  margin: auto;
}

form {
  display: grid;
  gap: 16px;
}

label {
  font-weight: 900;
  font-size: 13px;
  color: #111;
  text-transform: uppercase;
  letter-spacing: .08em;
}

input,
select,
textarea {
  width: 100%;
  padding: 17px;
  border-radius: 16px;
  border: 1px solid #ddd;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(8px);
  color: #000;
  font-size: 16px;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

/* CHECKBOXES */

.checkbox-group {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

.check-option {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 18px;
  padding: 16px;
  cursor: pointer;
  color: #111;
  backdrop-filter: blur(10px);
}

.check-option input {
  width: auto;
  accent-color: black;
}

/* TOTAL */

.total-box {
  margin: 10px 0 20px;
  padding: 24px;
  border-radius: 24px;
  background: #000;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.total-box span {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.total-box strong {
  font-size: 36px;
}

/* CHECKOUT */

.checkout-section {
  margin-top: 35px;
  padding: 35px;
  border-radius: 34px;
  background: #000;
  color: #fff;
  border: 1px solid #222;
}

.checkout-section h2 {
  font-size: 56px;
  margin-bottom: 25px;
  color: #fff;
}

#express-checkout-element {
  margin-bottom: 20px;
}

#payment-element {
  margin-top: 20px;
}

.or-divider {
  color: #aaa;
  text-align: center;
  margin: 25px 0;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
}

.payment-button {
  width: 100%;
  text-align: center;
  margin-top: 25px;
  font-size: 16px;
  background: #fff;
  color: #000;
}

.backup-payment-button {
  width: 100%;
  display: block;
  text-align: center;
  margin-top: 14px;
  padding: 16px 28px;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  border: 1px solid #444;
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
}

.paypal-note {
  color: #aaa;
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
}

/* MOBILE */

@media(max-width: 900px) {

  h1 {
    font-size: 86px;
  }

  h2 {
    font-size: 56px;
  }

  .event-grid,
  .division-grid,
  .cash-grid,
  .sponsor-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .sponsor-carousel {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links {
    gap: 12px;
  }

  .nav-links a {
    font-size: 12px;
  }
}

@media(max-width: 520px) {

  .nav {
    padding: 14px 5%;
  }

  .nav-logo {
    width: 45px;
  }

  .nav-links a:not(.nav-btn) {
    display: none;
  }

  h1 {
    font-size: 72px;
  }

  h2 {
    font-size: 46px;
  }

  .subtext {
    font-size: 17px;
  }

  section {
    padding: 80px 18px;
  }

  .card,
  .division-box,
  .rules-box,
  .sponsor-card,
  .form-card {
    padding: 28px;
  }

  .checkout-section {
    padding: 24px;
  }

  .sponsor-carousel {
    grid-template-columns: 1fr;
  }
}
.success-hero {
  background:
    linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.75)),
    url('pickleball-hero.jpeg');

  background-size: cover;
  background-position: center 38%;
}

.success-card {
  max-width: 700px;
  margin: 35px auto;
  padding: 34px;
  border-radius: 34px;

  background: rgba(255,255,255,.12);

  border: 1px solid rgba(255,255,255,.16);

  backdrop-filter: blur(12px);

  text-align: left;
}

.success-card h3 {
  font-size: 42px;
  margin-bottom: 18px;
}

.success-card p {
  color: #eee;
  margin-bottom: 14px;
  line-height: 1.7;
}
.fee-note {
  color: #777;
  font-size: 13px;
  margin-top: -10px;
  margin-bottom: 16px;
  text-align: center;
}
.contact-block,
.sponsor-contact {
  text-align: center;
  margin-top: 40px;
}

.contact-block a,
.sponsor-contact a {
  color: #000;
  font-weight: 600;
  text-decoration: none;
}

.contact-block a:hover,
.sponsor-contact a:hover {
  opacity: 0.7;
}
.sponsors .sponsor-contact,
.sponsors .sponsor-contact a {
  color: #fff;
}

.sponsors .sponsor-contact a {
  text-decoration: underline;
  font-weight: 900;
}
