:root {
  --black: #000;
  --white: #fff;
  --yellow: #f7d850;
  --green: #00ff11;
  --danger: #ff2424;
  --gray-panel: #595658;
  --content-width: 927px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--black);
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100vh;
  background: var(--black);
  color: var(--white);
  font-family: "Nata Sans", Arial, sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 88px;
  padding: 16px;
  border-bottom: 1px solid var(--white);
  background: var(--black);
}

.policy-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 88px;
  padding: 16px;
  border-bottom: 1px solid var(--white);
  background: var(--black);
}

.policy-nav {
  display: flex;
  align-items: center;
  gap: 80px;
  font-family: "Jersey 10", Impact, sans-serif;
  font-size: 24px;
  line-height: 1;
  white-space: nowrap;
}

.policy-nav .active {
  color: var(--yellow);
}

.register-header {
  justify-content: center;
}

.brand {
  flex: 0 0 auto;
  width: 53px;
  height: 64px;
}

.brand img {
  width: 100%;
  height: 100%;
}

.nav-toggle,
.menu-button {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 64px;
  font-family: "Jersey 10", Impact, sans-serif;
  font-size: 26px;
  line-height: 1;
}

.nav-links a {
  white-space: nowrap;
}

.nav-links a:not(.account-link):hover,
.nav-links a.active {
  color: var(--yellow);
}

.account-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px;
  background: var(--white);
  color: var(--black);
}

.account-link img {
  width: 10px;
  height: 16px;
}

.account-link.account-link-signed-in {
  width: 132px;
  height: 34px;
  padding: 0;
  background: transparent;
}

.account-link.account-link-signed-in img {
  width: 132px;
  height: 34px;
  filter: none;
}

.account-link,
.success-account {
  display: none !important;
}

.account-icon-link {
  display: inline-flex;
  width: 132px;
  height: 34px;
  align-items: center;
  justify-content: center;
}

.account-icon-link img {
  width: 132px;
  height: 34px;
}

.home-page {
  display: flex;
  justify-content: center;
  padding: 40px 24px 103px;
}

.tournaments-page {
  display: flex;
  justify-content: center;
  padding: 32px 24px 64px;
}

.rankings-page {
  display: flex;
  justify-content: center;
  min-height: calc(100vh - 88px);
  padding: 38px 24px 120px;
}

.about-page,
.contact-page {
  display: flex;
  justify-content: center;
  min-height: calc(100vh - 88px);
  padding: 32px 24px 120px;
}

.signin-page {
  display: flex;
  justify-content: center;
  min-height: calc(100vh - 88px);
  padding: 32px 24px 120px;
}

.user-account-page {
  display: flex;
  justify-content: center;
  min-height: calc(100vh - 88px);
  padding: 32px 24px 160px;
}

.event-section,
.tournaments-section {
  display: flex;
  width: min(100%, var(--content-width));
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.tournament-filter {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--white);
  background: var(--black);
  color: var(--white);
}

.tournament-filter::after {
  content: "";
  position: absolute;
  right: 8px;
  width: 7px;
  height: 7px;
  border: solid var(--white);
  border-width: 0 1px 1px 0;
  pointer-events: none;
  transform: rotate(45deg) translateY(-2px);
}

.tournament-filter select {
  appearance: none;
  min-width: 224px;
  padding: 4px 28px 4px 8px;
  border: 0;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-size: 16px;
  line-height: 1.2;
  outline: none;
}

.tournament-filter option {
  background: var(--black);
  color: var(--white);
}

.tournament-card {
  margin-top: 4px;
}

.empty-tournaments {
  margin: 80px 0 0;
  color: var(--white);
  font-family: "Jersey 10", Impact, sans-serif;
  font-size: 32px;
  line-height: 1.2;
  text-align: center;
}

.rankings-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  overflow: hidden;
  color: var(--white);
  font-family: "Jersey 10", Impact, sans-serif;
  font-size: 26px;
  line-height: 1.2;
  text-align: center;
}

.rankings-message p {
  margin: 0;
}

.about-section,
.contact-section {
  display: flex;
  width: min(100%, 856px);
  flex-direction: column;
  align-items: center;
  gap: 24px;
  overflow: hidden;
  color: var(--white);
  font-family: "Jersey 10", Impact, sans-serif;
  text-align: center;
}

.about-logo {
  width: 53px;
  height: 64px;
}

.about-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-copy h1,
.contact-block h1 {
  margin: 0;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
}

.about-copy p {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.about-fact {
  margin: 0;
  width: 100%;
  font-size: 40px;
  line-height: 1.2;
}

.contact-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.contact-block a {
  display: inline-flex;
  padding: 4px 16px;
  background: var(--white);
  color: var(--black);
  font-family: "Nata Sans", Arial, sans-serif;
  font-size: 24px;
  line-height: 1.2;
}

.signin-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  overflow: hidden;
  text-align: center;
}

.signin-panel h1 {
  margin: 0;
  color: var(--white);
  font-family: "Jersey 10", Impact, sans-serif;
  font-size: 64px;
  font-weight: 400;
  line-height: 1.2;
}

.google-signin {
  display: inline-flex;
  width: 276px;
  height: 60px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 8px;
  border: 1px solid var(--white);
  border-radius: 8px;
  color: var(--white);
  font-family: "Nata Sans", Arial, sans-serif;
  font-size: 20px;
  line-height: 1;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.25);
}

.google-signin img {
  width: 24px;
  height: 24px;
}

.signin-terms {
  display: flex;
  width: 328px;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  font-family: "Nata Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.2;
}

.signin-terms span {
  color: var(--white);
}

.signin-terms a {
  color: var(--yellow);
}

.policy-page {
  display: flex;
  justify-content: center;
  padding: 40px 48px 96px;
}

.policy-content {
  width: min(100%, 1253px);
  color: var(--white);
}

.policy-content h1 {
  margin: 0 0 24px;
  font-family: "Jersey 10", Impact, sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
}

.policy-content p,
.policy-content li {
  font-size: 32px;
  line-height: 1.25;
}

.policy-content p {
  margin: 0 0 24px;
}

.policy-content ul {
  margin: 0 0 24px;
  padding-left: 48px;
}

.rules-page {
  display: flex;
  justify-content: center;
  padding: 38px 32px 96px;
}

.rules-content {
  display: flex;
  width: min(100%, 1422px);
  flex-direction: column;
  align-items: center;
  gap: 32px;
  color: var(--white);
}

.rules-content h1 {
  margin: 0;
  width: 100%;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
}

.rules-content ul {
  margin: 0;
  width: 100%;
  padding-left: 36px;
}

.rules-content li {
  font-size: 24px;
  line-height: 1.2;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: auto;
  padding: 16px;
  border-top: 1px solid var(--white);
  background: var(--black);
  color: var(--white);
  font-family: "Jersey 10", Impact, sans-serif;
  font-size: 24px;
  line-height: 1.2;
}

.footer-logo {
  width: 106px;
  height: 128px;
  flex: 0 0 auto;
}

.footer-logo img {
  width: 100%;
  height: 100%;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 48px;
  text-align: right;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}

.footer-email,
.footer-content p {
  margin: 0;
  white-space: nowrap;
}

.user-account-section {
  display: flex;
  width: min(100%, var(--content-width));
  flex-direction: column;
  align-items: center;
  gap: 24px;
  color: var(--white);
  text-align: center;
}

.profile-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.user-account-section h1,
.user-account-section h2 {
  margin: 0;
  width: 100%;
  font-family: "Jersey 10", Impact, sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
}

.rank-card,
.stat-card {
  border-radius: 32px;
}

.rank-card {
  display: flex;
  width: 186px;
  flex-direction: column;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid var(--black);
  background: var(--white);
  color: var(--black);
}

.rank-card p,
.stat-card p {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.rank-card strong,
.stat-card strong {
  font-family: "Jersey 10", Impact, sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1;
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.stat-card {
  display: flex;
  min-width: 186px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: 1px solid var(--white);
  background: var(--black);
  color: var(--white);
}

.logout-link {
  color: red;
  font-family: "Jersey 10", Impact, sans-serif;
  font-size: 40px;
  line-height: 1.2;
}

.account-tournament-card {
  width: 100%;
}

.account-tournament-card h3 {
  margin: 0;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.new-label {
  margin: 0;
  font-family: "Jersey 10", Impact, sans-serif;
  font-size: 48px;
  line-height: 1;
  color: var(--white);
}

.event-card {
  width: 100%;
  padding: 16px;
  border: 1px solid var(--green);
  border-radius: 32px;
  background: var(--black);
}

[data-home-event-card],
.tournament-card--home-style {
  border-color: var(--yellow);
}

.event-card--waitlist {
  border-color: var(--danger);
}

.event-logo-panel {
  display: flex;
  height: 150px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 32px;
  background: var(--gray-panel);
}

.event-logo-crop {
  position: relative;
  width: 227px;
  height: 124px;
  overflow: hidden;
  flex: 0 0 auto;
}

.event-logo-crop img {
  position: absolute;
  top: -29.84%;
  left: -7.68%;
  width: 114.84%;
  height: 298.57%;
  max-width: none;
  object-fit: fill;
}

.event-summary {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding-top: 24px;
}

.event-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.event-details h1 {
  margin: 0;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
}

.detail-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--white);
  font-size: 16px;
  line-height: 1.2;
}

.detail-row img {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  object-fit: contain;
}

.detail-row.player-row img {
  width: 32px;
}

.detail-row sup {
  font-size: 10px;
  line-height: 0;
}

.event-actions {
  display: flex;
  flex: 0 0 186px;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  gap: 72px;
}

[data-home-event-card] .event-actions,
.tournament-card--home-style .event-actions {
  flex-basis: 250px;
  gap: 24px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 8px 16px;
  border: 1px solid var(--green);
  border-radius: 32px;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.status-pill img {
  width: 8px;
  height: 8px;
}

[data-home-status-pill],
.tournament-card--home-style .status-pill {
  border-color: var(--yellow);
}

[data-home-status-pill] img,
.tournament-card--home-style .status-pill img {
  display: none;
}

[data-home-status-pill]::before,
.tournament-card--home-style .status-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
}

.status-pill--waitlist {
  border-color: var(--danger);
}

.status-pill--waitlist img {
  display: none;
}

.status-pill--waitlist::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--danger);
}

.small-cta,
.primary-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--black);
  border-radius: 32px;
  background: var(--white);
  color: var(--black);
  font-weight: 700;
}

.small-cta {
  width: 186px;
  padding: 8px 16px;
  font-size: 16px;
}

[data-home-event-card] .event-actions .small-cta,
.tournament-card--home-style .event-actions .small-cta {
  width: 100%;
}

.small-cta img {
  width: 8px;
  height: 13px;
}

.event-card--waitlist .event-actions {
  flex-basis: auto;
  align-items: flex-end;
}

.small-cta--waitlist {
  min-width: 294px;
  justify-content: center;
  gap: 16px;
  border-color: var(--white);
  background: var(--black);
  color: #fff;
  text-align: center;
  font-family: "Nata Sans", Arial, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.small-cta--waitlist img {
  width: 8px;
  height: 13px;
}

.primary-cta--waitlist {
  border-color: var(--black);
  background: var(--white);
  color: var(--black);
}

.poster {
  width: 100%;
  aspect-ratio: 2896 / 4096;
  object-fit: cover;
}

.primary-cta {
  width: min(640px, 78vw);
  padding: 16px 32px;
  border-width: 2px;
  border-radius: 64px;
  font-size: 32px;
  line-height: 1.2;
}

.primary-cta img {
  width: 15px;
  height: 26px;
}

.registration-page {
  display: flex;
  justify-content: center;
  padding: 32px 24px 140px;
}

.registration-section {
  display: flex;
  width: min(100%, var(--content-width));
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.registration-event-card {
  min-height: 475px;
  border-color: var(--white);
}

.registration-event-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 24px;
}

.registration-event-copy h1,
.registration-intro h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
}

.registration-event-copy p,
.registration-intro p {
  margin: 0;
}

.registration-event-copy > p:not(.detail-row) {
  font-size: 16px;
  line-height: 1.35;
}

.registration-event-note {
  line-height: 1.2;
}

.inline-details {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--white);
}

.rules-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--white);
  color: var(--black);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.rules-button img {
  width: 10px;
  height: 16px;
}

.registration-intro {
  display: flex;
  width: min(100%, 866px);
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.registration-intro p {
  font-size: 24px;
  line-height: 1.25;
}

.registration-form {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.field,
.skill-field {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  border: 0;
}

.field > span:first-child,
.skill-field legend {
  padding: 0;
  color: var(--white);
  font-size: 24px;
  line-height: 1.25;
}

.skill-field legend {
  margin-bottom: 14px;
}

.required-asterisk {
  color: var(--danger);
}

.field small,
.skill-field p {
  margin: 0;
  color: var(--white);
  font-size: 16px;
  line-height: 1.25;
}

.field input,
.phone-input,
.input-with-icon {
  width: 100%;
  min-height: 63px;
  border: 1px solid var(--white);
  border-radius: 32px;
  background: var(--black);
  color: var(--white);
  font: inherit;
  font-size: 24px;
}

.field input {
  padding: 12px 16px;
  outline: none;
}

.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--white);
  caret-color: var(--white);
  box-shadow: 0 0 0 1000px var(--black) inset;
  transition: background-color 9999s ease-in-out 0s;
}

.field > input:focus {
  border-color: var(--white);
}

.input-with-icon:focus-within,
.phone-input:focus-within {
  border-color: var(--yellow);
}

.field[data-invalid="true"] .input-with-icon,
.field[data-invalid="true"] .phone-input,
.field[data-invalid="true"] > input {
  border-color: var(--danger);
}

.input-with-icon,
.phone-input {
  display: flex;
  align-items: center;
}

.input-with-icon {
  position: relative;
}

.field[data-verified="true"] .input-with-icon::after {
  content: "";
  width: 18px;
  height: 10px;
  margin-right: 22px;
  flex: 0 0 auto;
  border: solid var(--green);
  border-width: 0 0 3px 3px;
  transform: rotate(-45deg);
}

.input-with-icon input,
.phone-input input {
  min-height: 61px;
  border: 0;
  border-radius: 32px;
}

.input-with-icon img {
  width: 32px;
  height: 24px;
  margin-right: 16px;
  flex: 0 0 auto;
}

.phone-input > span {
  padding-left: 16px;
  font-size: 24px;
}

.field-warning {
  margin-top: -8px;
  color: var(--danger);
  font-size: 16px;
  line-height: 1.35;
}

.field-warning[hidden] {
  display: none;
}

.email-otp {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: -24px;
}

.otp-button {
  display: inline-flex;
  min-width: 190px;
  height: 50px;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: 1px solid var(--black);
  border-radius: 32px;
  background: var(--white);
  color: var(--black);
  font: inherit;
  font-size: 24px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.otp-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.otp-instruction,
.otp-status {
  width: 100%;
  margin: 0;
  color: var(--white);
  font-size: 24px;
  line-height: 1.25;
  text-align: center;
}

.otp-status {
  margin-top: -8px;
  font-size: 16px;
}

.otp-status[data-status="error"] {
  color: var(--danger);
}

.otp-status[data-status="success"] {
  color: var(--yellow);
}

.otp-status[hidden] {
  display: none;
}

.otp-inputs {
  display: flex;
  justify-content: center;
  gap: 24px;
  width: 100%;
}

.otp-inputs input {
  width: 55px;
  height: 63px;
  padding: 0;
  border: 1px solid var(--white);
  border-radius: 16px;
  background: var(--black);
  color: var(--white);
  font: inherit;
  font-size: 24px;
  text-align: center;
  outline: none;
}

.otp-inputs input:focus {
  border-color: var(--yellow);
}

.otp-inputs[data-status="error"] input {
  border-color: var(--danger);
}

.otp-inputs[data-status="success"] input {
  border-color: var(--green);
}

.skill-options {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  column-gap: clamp(38px, 2.8vw, 70px);
  width: 100%;
}

.skill-options label {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.skill-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.skill-options span {
  display: flex;
  width: 100%;
  min-width: 28px;
  max-width: 55px;
  height: 63px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--white);
  border-radius: 32px;
  background: var(--black);
  color: var(--white);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.skill-options input:checked + span,
.skill-options span:hover {
  border-color: var(--yellow);
  background: var(--white);
  color: var(--black);
}

.skill-scale {
  display: flex;
  justify-content: space-between;
  color: var(--white);
  font-size: 16px;
}

.consent-field {
  display: flex;
  width: 100%;
  align-items: flex-start;
  gap: 24px;
  color: var(--white);
  font-size: 24px;
  line-height: 1.25;
  text-align: justify;
}

.consent-field input {
  appearance: none;
  width: 25px;
  height: 25px;
  margin: 8px 0 0;
  flex: 0 0 auto;
  border: 1px solid var(--white);
  background: var(--black);
}

.consent-field input:checked {
  position: relative;
  background: var(--yellow);
}

.consent-field input:checked::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 7px;
  height: 13px;
  border: solid var(--black);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.payment-button {
  display: inline-flex;
  height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 16px;
  border: 1px solid var(--black);
  border-radius: 32px;
  background: var(--white);
  color: var(--black);
  font: inherit;
  font-size: 24px;
  font-weight: 700;
  opacity: 1;
  cursor: pointer;
}

.payment-button img {
  width: 24px;
  height: 24px;
  transform: rotate(90deg);
}

.payment-button--cashfree {
  height: auto;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 10px;
  width: fit-content;
  border: 1px solid var(--white);
  border-radius: 15px;
  background: var(--black);
  color: var(--white);
  font-family: Arial, sans-serif;
  font-weight: 400;
}

.payment-button--cashfree img {
  transform: none;
}

.cashfree-logo-wrap {
  display: flex;
  align-items: center;
}

.cashfree-logo-main {
  width: 40px;
  height: 40px;
}

.cashfree-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  margin-right: 10px;
  line-height: 1;
}

.cashfree-payment-label {
  width: 100%;
  margin-bottom: 5px;
  color: var(--white);
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  text-align: center;
}

.cashfree-powered {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--white);
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
}

.cashfree-logo-secondary {
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

.cashfree-button-arrow {
  display: block;
  width: 22.84px;
  height: 24px;
  margin-left: 2px;
  flex: 0 0 auto;
  background: var(--white);
  mask: url("/assets/payment-arrow.svg") center / contain no-repeat;
  -webkit-mask: url("/assets/payment-arrow.svg") center / contain no-repeat;
  transform: rotate(90deg);
}

.registration-form[data-mode="waitlist"] .payment-button img {
  width: 22px;
  height: 24px;
  transform: none;
}

.registration-form[data-mode="waitlist"] .payment-button {
  position: relative;
  overflow: hidden;
  gap: 32px;
}

.registration-form:not([data-mode="waitlist"]) .payment-button--cashfree {
  font-size: inherit;
}

.registration-form[data-mode="waitlist"] .payment-button.is-buffering {
  cursor: progress;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.registration-form[data-mode="waitlist"] .payment-button.is-buffering > * {
  opacity: 0;
}

.registration-form[data-mode="waitlist"] .payment-button.is-buffering::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 22px;
  border: 3px solid #000;
  border-top-color: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: waitlist-buffer-spin 0.8s linear infinite;
}

.registration-form[data-mode="waitlist"] .payment-button.is-buffering:disabled {
  opacity: 1;
}

@keyframes waitlist-buffer-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.payment-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-status {
  width: 100%;
  margin: -24px 0 0;
  color: var(--danger);
  font-size: 18px;
  line-height: 1.35;
  text-align: center;
}

.form-status[hidden] {
  display: none;
}

.success-page {
  display: flex;
  justify-content: center;
  padding: 32px 24px 220px;
}

.success-section {
  display: flex;
  width: min(100%, var(--content-width));
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.success-event-card {
  min-height: auto;
}

.success-message {
  display: flex;
  width: min(100%, 605px);
  flex-direction: column;
  gap: 32px;
  padding-top: 56px;
}

.success-message h1,
.success-message p,
.help-block p,
.help-block ul,
.account-note p,
.account-note ul {
  margin: 0;
}

.success-message h1 {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
}

.failed-title {
  color: #ff2f2f;
}

.success-heading-wrap {
  position: relative;
  display: inline-flex;
  align-self: center;
}

.confetti-piece {
  position: absolute;
  width: 8px;
  height: 16px;
  border-radius: 2px;
}

.c1 {
  top: -18px;
  right: -32px;
  background: var(--yellow);
  transform: rotate(28deg);
}

.c2 {
  top: -2px;
  right: -46px;
  background: var(--green);
  transform: rotate(-24deg);
}

.c3 {
  top: 20px;
  right: -26px;
  background: #ff4d8d;
  transform: rotate(54deg);
}

.c4 {
  top: -14px;
  left: -36px;
  background: #4db6ff;
  transform: rotate(-38deg);
}

.c5 {
  top: 10px;
  left: -50px;
  background: var(--yellow);
  transform: rotate(18deg);
}

.c6 {
  top: 26px;
  left: -26px;
  background: #ff6b35;
  transform: rotate(-58deg);
}

.success-message p,
.help-block {
  font-size: 24px;
  line-height: 1.25;
}

.help-block ul,
.account-note ul {
  display: inline-block;
  padding-left: 28px;
  text-align: left;
}

.success-account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 8px 16px;
  background: var(--white);
  color: var(--black);
  font-family: "Jersey 10", Impact, sans-serif;
  font-size: 48px;
  line-height: 1;
}

.success-account img {
  width: 20px;
  height: 32px;
}

.account-note {
  width: min(100%, 605px);
  font-family: "Nata Sans", Arial, sans-serif;
  font-size: 24px;
  line-height: 1.25;
}

.small-cta:hover,
.primary-cta:hover,
.account-link:hover {
  background: var(--yellow);
}

.small-cta--waitlist:hover {
  border-color: var(--white);
  background: #101010;
  color: var(--white);
}

.primary-cta--waitlist:hover {
  border-color: var(--black);
  background: var(--white);
  color: var(--black);
}

.waitlist-message {
  display: flex;
  width: min(100%, 605px);
  flex-direction: column;
  gap: 32px;
  padding-top: 56px;
}

.waitlist-message h1,
.waitlist-message p {
  margin: 0;
}

.waitlist-message h1 {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
}

.waitlist-message p {
  font-size: 24px;
  line-height: 1.25;
}

.waitlist-confirmed-section .waitlist-message {
  padding-top: 0;
}

.waitlist-confirmed-section .help-block {
  width: min(100%, 361px);
}

.waitlist-confirmed-section .help-block ul {
  padding-left: 36px;
}

@media (max-width: 1200px) {
  .site-header {
    position: sticky;
    align-items: center;
    gap: 16px;
  }

  .menu-button {
    position: relative;
    display: inline-flex;
    width: 48px;
    height: 40px;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 0;
    background: var(--white);
    cursor: pointer;
  }

  .menu-button span {
    width: 28px;
    height: 4px;
    background: var(--black);
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .nav-links {
    position: fixed;
    top: 88px;
    right: 0;
    z-index: 9;
    display: flex;
    width: min(320px, 82vw);
    height: calc(100vh - 88px);
    padding: 16px 0 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    color: var(--black);
    font-size: 28px;
    transform: translateX(100%);
    transition: transform 220ms ease;
  }

  .nav-toggle:checked ~ .nav-links {
    transform: translateX(0);
  }

  .nav-toggle:checked + .menu-button span:first-child {
    transform: translateY(10px) rotate(45deg);
  }

  .nav-toggle:checked + .menu-button span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked + .menu-button span:last-child {
    transform: translateY(-10px) rotate(-45deg);
  }

  .nav-links a {
    padding: 16px;
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .account-link {
    align-self: flex-start;
    justify-content: center;
    margin: 16px;
    padding: 8px 12px;
    background: var(--black);
    color: var(--white);
  }

  .account-link img {
    filter: invert(1);
  }

  .nav-links a:not(.account-link):hover,
  .nav-links a.active {
    color: var(--black);
    background: var(--yellow);
  }

  .policy-header {
    align-items: flex-start;
    gap: 24px;
  }

  .policy-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px 32px;
  }

  .site-footer {
    align-items: flex-start;
  }

  .footer-content {
    gap: 32px;
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
  }

  .home-page {
    padding-inline: 18px;
  }

  .tournaments-page {
    padding-inline: 18px;
  }

  .rankings-page {
    padding-inline: 18px;
  }

  .about-page {
    padding-inline: 18px;
  }

  .signin-page {
    padding-inline: 18px;
  }

  .user-account-page {
    padding-inline: 18px;
  }

  .registration-page {
    padding-inline: 18px;
  }

  .success-page {
    padding-inline: 18px;
  }

  .rules-page {
    padding-inline: 18px;
  }

  .rules-content h1 {
    font-size: 30px;
  }

  .rules-content li {
    font-size: 22px;
  }

  .event-summary {
    flex-direction: column;
  }

  .event-actions {
    flex-basis: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  [data-home-event-card] .event-actions,
  .tournament-card--home-style .event-actions {
    flex-basis: auto;
    justify-content: flex-start;
  }

  .registration-event-card {
    min-height: auto;
  }

  .skill-options {
    column-gap: clamp(18px, 2.6vw, 28px);
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: auto;
    padding: 12px;
  }

  .brand {
    width: 42px;
    height: 51px;
  }

  .nav-links {
    top: 75px;
    height: calc(100vh - 75px);
  }

  .nav-links {
    gap: 14px 18px;
    font-size: 22px;
  }

  .policy-header {
    min-height: auto;
    padding: 12px;
  }

  .policy-nav {
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    font-size: 22px;
  }

  .policy-page {
    padding: 28px 18px 64px;
  }

  .rules-page {
    padding: 28px 18px 64px;
  }

  .rules-content {
    gap: 24px;
  }

  .rules-content h1 {
    font-size: 26px;
  }

  .rules-content li {
    font-size: 20px;
  }

  .rules-content ul {
    padding-left: 28px;
  }

  .policy-content h1 {
    font-size: 32px;
  }

  .policy-content p,
  .policy-content li {
    font-size: 20px;
  }

  .policy-content ul {
    padding-left: 24px;
  }

  .site-footer {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
  }

  .footer-logo {
    width: 80px;
    height: 96px;
  }

  .footer-content,
  .footer-links {
    align-items: center;
    text-align: center;
  }

  .footer-content {
    gap: 24px;
    font-size: 22px;
  }

  .footer-email,
  .footer-content p {
    white-space: normal;
  }

  .home-page {
    padding: 28px 12px 64px;
  }

  .tournaments-page {
    padding: 28px 12px 80px;
  }

  .rankings-page {
    padding: 28px 12px 80px;
  }

  .about-page {
    padding: 28px 12px 80px;
  }

  .signin-page {
    padding: 28px 12px 80px;
  }

  .user-account-page {
    padding: 28px 12px 100px;
  }

  .registration-page {
    padding: 28px 12px 80px;
  }

  .success-page {
    padding: 28px 12px 100px;
  }

  .event-section,
  .tournaments-section,
  .registration-section,
  .success-section,
  .about-section,
  .user-account-section {
    gap: 24px;
  }

  .event-card {
    padding: 10px;
    border-radius: 24px;
  }

  .event-logo-panel {
    height: 124px;
    border-radius: 22px;
  }

  .event-summary {
    padding-top: 18px;
  }

  .event-details h1 {
    font-size: 26px;
  }

  .registration-event-copy h1,
  .registration-intro h2,
  .success-message h1,
  .waitlist-message h1 {
    font-size: 26px;
  }

  .about-copy h1,
  .contact-block h1,
  .about-fact,
  .user-account-section h1,
  .user-account-section h2,
  .logout-link {
    font-size: 32px;
  }

  .detail-row,
  .status-pill,
  .small-cta,
  .registration-event-copy > p:not(.detail-row),
  .field small,
  .skill-field p,
  .skill-scale,
  .account-note,
  .about-copy p {
    font-size: 14px;
  }

  .registration-intro p,
  .field > span:first-child,
  .skill-field legend,
  .field input,
  .phone-input,
  .phone-input > span,
  .otp-instruction,
  .consent-field,
  .payment-button,
  .success-message p,
  .waitlist-message p,
  .help-block,
  .contact-block a {
    font-size: 20px;
  }

  .inline-details {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .inline-details .dot {
    display: none;
  }

  .registration-form {
    gap: 36px;
  }

  .email-otp {
    gap: 18px;
  }

  .otp-inputs {
    gap: 8px;
  }

  .otp-inputs input {
    width: 42px;
    height: 54px;
    border-radius: 14px;
    font-size: 20px;
  }

  .skill-options span {
    min-width: 26px;
    height: 48px;
    font-size: 20px;
  }

  .skill-options {
    column-gap: 16px;
  }

  .consent-field {
    gap: 14px;
    text-align: left;
  }

  .success-message {
    gap: 24px;
    padding-top: 24px;
  }

  .waitlist-message {
    gap: 24px;
    padding-top: 24px;
  }

  .event-actions {
    flex-direction: column;
    align-items: stretch;
  }

  [data-home-event-card] .event-actions,
  .tournament-card--home-style .event-actions {
    flex-basis: auto;
    justify-content: flex-start;
    gap: 24px;
  }

  [data-home-event-card] [data-home-status-pill],
  .tournament-card--home-style .status-pill {
    padding: 12px 24px;
    font-size: 21px;
  }

  [data-home-event-card] [data-home-status-pill]::before,
  .tournament-card--home-style .status-pill::before {
    width: 12px;
    height: 12px;
  }

  .small-cta {
    width: 100%;
  }

  [data-home-event-card] .small-cta,
  .tournament-card--home-style .small-cta {
    padding: 12px 24px;
    font-size: 21px;
  }

  [data-home-event-card] .small-cta img,
  .tournament-card--home-style .small-cta img {
    width: 12px;
    height: 20px;
  }

  .small-cta--waitlist {
    min-width: 0;
    width: 100%;
    justify-content: center;
    font-size: 16px;
  }

  .primary-cta {
    width: 82vw;
    padding: 14px 24px;
    font-size: 24px;
  }

  .stats-row {
    width: 100%;
    gap: 12px;
  }

  .stat-card {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 410px) {
  .home-page .primary-cta {
    width: 100%;
    padding: 12px 24px;
    border-width: 1px;
    border-radius: 32px;
    font-size: 21px;
  }

  .home-page .primary-cta img {
    width: 12px;
    height: 20px;
  }
}
