:root {
  --green-950: #08261b;
  --green-900: #0d3324;
  --green-800: #124732;
  --green-700: #1b5a40;

  --gold: #c9a24a;
  --gold-light: #ead9a5;

  --cream: #f8f5ec;
  --paper: rgba(255, 255, 255, 0.96);

  --text: #17221d;
  --muted: #68736d;

  --border: rgba(18, 71, 50, 0.13);
  --danger: #a83a32;

  --shadow:
    0 24px 70px rgba(8, 38, 27, 0.12);

  --radius-lg: 24px;
  --radius-md: 14px;
  --radius-sm: 10px;
}


/* ================================
   RESET
================================ */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;

  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  color: var(--text);
  background: var(--green-950);
}

button,
input,
select {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}


/* ================================
   BACKGROUND
================================ */

.page-background {
  position: relative;

  min-height: 100vh;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 12% 5%,
      rgba(201, 162, 74, 0.15),
      transparent 30%
    ),
    radial-gradient(
      circle at 90% 12%,
      rgba(201, 162, 74, 0.08),
      transparent 28%
    ),
    linear-gradient(
      145deg,
      var(--green-950),
      var(--green-900) 45%,
      #0a2d20
    );
}


/* Subtle Onam-inspired decorative pattern */

.page-background::before {
  content: "";

  position: fixed;

  inset: 0;

  pointer-events: none;

  opacity: 0.055;

  background-image:
    radial-gradient(
      circle at center,
      transparent 0 7px,
      rgba(234, 217, 165, 0.9) 8px 9px,
      transparent 10px
    );

  background-size: 58px 58px;
}


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

.hero {
  position: relative;

  width: min(900px, calc(100% - 32px));

  margin: 0 auto;

  padding:
    58px 24px
    42px;

  text-align: center;

  color: white;
}


/* ISA LOGO */

.isa-logo-wrap {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 82px;
  height: 82px;

  margin:
    0 auto
    20px;
}

.isa-logo {
  display: block;

  width: 82px;
  height: 82px;

  object-fit: contain;

  filter:
    drop-shadow(
      0 8px 18px
      rgba(0, 0, 0, 0.18)
    );
}


/* Organization */

.eyebrow {
  margin: 0 0 7px;

  color: var(--gold-light);

  font-size: 10px;

  font-weight: 750;

  letter-spacing: 0.2em;

  text-transform: uppercase;
}

.event-organization {
  margin-bottom: 21px;

  color:
    rgba(255, 255, 255, 0.68);

  font-size: 12px;

  letter-spacing: 0.05em;
}


/* Main title */

.hero h1 {
  margin: 0;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(42px, 8vw, 76px);

  font-weight: 500;

  line-height: 0.98;

  letter-spacing: -0.035em;
}

.hero h1 span {
  display: block;

  color: var(--gold-light);
}


.hero-subtitle {
  margin:
    20px
    0
    17px;

  color:
    rgba(255, 255, 255, 0.86);

  font-size: 16px;

  font-weight: 400;
}


.event-meta {
  display: flex;

  align-items: center;
  justify-content: center;

  color:
    rgba(255, 255, 255, 0.52);

  font-size: 11px;

  letter-spacing: 0.04em;
}


/* ================================
   MAIN CARD
================================ */

.registration-shell {
  position: relative;

  width:
    min(
      800px,
      calc(100% - 28px)
    );

  margin:
    0 auto
    70px;

  padding: 34px;

  background: var(--paper);

  border:
    1px solid
    rgba(255, 255, 255, 0.55);

  border-radius: var(--radius-lg);

  box-shadow: var(--shadow);

  backdrop-filter: blur(18px);
}


/* ================================
   EVENT INFORMATION
================================ */

.event-information {
  margin-bottom: 42px;

  padding-bottom: 34px;

  border-bottom:
    1px solid
    var(--border);
}


.information-heading {
  display: flex;

  gap: 17px;

  margin-bottom: 25px;
}


.information-number {
  padding-top: 5px;

  color: var(--gold);

  font-size: 10px;

  font-weight: 800;

  letter-spacing: 0.12em;
}


.information-heading h2 {
  margin:
    0
    0
    7px;

  color: var(--green-950);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 29px;

  font-weight: 500;
}


.information-heading p {
  margin: 0;

  color: var(--muted);

  font-size: 12px;
}


.information-content > p {
  margin:
    0
    0
    24px;

  color:
    #4d5953;

  font-size: 13px;

  line-height: 1.75;
}


.information-content strong {
  color: var(--green-800);

  font-weight: 750;
}


/* Information cards */

.information-grid {
  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 12px;

  margin-bottom: 18px;
}


.information-card {
  padding: 19px;

  background:
    linear-gradient(
      145deg,
      rgba(18, 71, 50, 0.045),
      rgba(201, 162, 74, 0.045)
    );

  border:
    1px solid
    var(--border);

  border-radius: var(--radius-md);
}


.information-card-label {
  margin-bottom: 8px;

  color: var(--gold);

  font-size: 9px;

  font-weight: 800;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}


.information-card h3 {
  margin:
    0
    0
    7px;

  color: var(--green-900);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 18px;

  font-weight: 500;
}


.information-card p {
  margin: 0;

  color: var(--muted);

  font-size: 11px;

  line-height: 1.6;
}


/* Guidelines */

.information-guidelines {
  padding:
    19px
    20px;

  background:
    rgba(248, 245, 236, 0.75);

  border:
    1px solid
    rgba(201, 162, 74, 0.16);

  border-radius: var(--radius-md);
}


.information-guidelines ul {
  margin:
    10px
    0
    0;

  padding-left: 17px;

  color: var(--muted);

  font-size: 11px;

  line-height: 1.7;
}


.information-guidelines li {
  margin-bottom: 5px;
}


.information-guidelines li:last-child {
  margin-bottom: 0;
}


/* Closing statement */

.information-closing {
  margin-top: 20px;

  padding:
    14px
    17px;

  color: var(--green-800);

  background:
    rgba(18, 71, 50, 0.045);

  border-left:
    3px solid
    var(--gold);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 13px;

  font-style: italic;

  line-height: 1.55;
}


/* ================================
   STEPS
================================ */

.steps {
  display: flex;

  align-items: center;

  margin-bottom: 42px;
}


.step {
  display: flex;

  align-items: center;

  gap: 9px;

  color: #9aa39e;

  transition: 0.25s ease;
}


.step span {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 30px;
  height: 30px;

  border:
    1px solid
    #d8ddd9;

  border-radius: 50%;

  font-size: 10px;

  font-weight: 800;
}


.step small {
  font-size: 11px;

  font-weight: 700;
}


.step.active {
  color: var(--green-800);
}


.step.active span {
  border-color:
    var(--green-700);

  color: white;

  background:
    var(--green-700);
}


.step-line {
  flex: 1;

  height: 1px;

  margin:
    0
    14px;

  background:
    #e1e5e2;
}


/* ================================
   FORM SECTIONS
================================ */

.form-section {
  animation:
    sectionIn
    0.35s
    ease;
}


@keyframes sectionIn {

  from {
    opacity: 0;

    transform:
      translateY(8px);
  }

  to {
    opacity: 1;

    transform:
      translateY(0);
  }

}


.section-heading {
  display: flex;

  gap: 17px;

  margin-bottom: 34px;
}


.section-number {
  color: var(--gold);

  font-size: 12px;

  font-weight: 800;

  letter-spacing: 0.08em;
}


.section-heading h2 {
  margin:
    0
    0
    7px;

  color: var(--green-950);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 30px;

  font-weight: 500;
}


.section-heading p {
  margin: 0;

  color: var(--muted);

  font-size: 13px;
}


/* ================================
   FIELDS
================================ */

.field {
  margin-bottom: 28px;
}


.field label {
  display: block;

  margin-bottom: 10px;

  color: var(--green-950);

  font-size: 12px;

  font-weight: 750;

  letter-spacing: 0.025em;
}


input {
  width: 100%;

  padding:
    15px
    16px;

  color: var(--text);

  background: white;

  border:
    1px solid
    #dce1de;

  border-radius: var(--radius-sm);

  outline: none;

  transition:
    border-color
    0.2s ease,

    box-shadow
    0.2s ease;
}


input::placeholder {
  color: #a7afab;
}


input:focus {
  border-color:
    var(--green-700);

  box-shadow:
    0 0 0 4px
    rgba(27, 90, 64, 0.08);
}


.field-note {
  margin:
    8px
    0
    0;

  color: var(--muted);

  font-size: 11px;

  line-height: 1.5;
}


/* ================================
   PERFORMANCE TYPE
================================ */

.type-options {
  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 11px;
}


.type-option {
  display: flex;

  flex-direction: column;

  align-items: flex-start;

  min-height: 100px;

  padding: 18px;

  text-align: left;

  color: var(--text);

  background: white;

  border:
    1px solid
    #dce1de;

  border-radius: var(--radius-md);

  cursor: pointer;

  transition:
    border-color
    0.2s ease,

    background
    0.2s ease,

    transform
    0.2s ease,

    box-shadow
    0.2s ease;
}


.type-option:hover {
  transform:
    translateY(-2px);

  border-color:
    var(--green-700);

  box-shadow:
    0 10px 25px
    rgba(8, 38, 27, 0.07);
}


.type-option.selected {
  color: white;

  background:
    var(--green-800);

  border-color:
    var(--green-800);

  box-shadow:
    0 12px 30px
    rgba(8, 38, 27, 0.15);
}


.type-option strong {
  margin-bottom: 8px;

  font-size: 15px;
}


.type-option span {
  color: var(--muted);

  font-size: 11px;

  line-height: 1.4;
}


.type-option.selected span {
  color:
    rgba(255, 255, 255, 0.68);
}


/* ================================
   PARTICIPANTS
================================ */

.participant-card {
  position: relative;

  margin-bottom: 16px;

  padding: 21px;

  background: #fbfcfb;

  border:
    1px solid
    var(--border);

  border-radius:
    var(--radius-md);
}


.participant-header {
  display: flex;

  align-items: center;

  justify-content: space-between;

  margin-bottom: 20px;
}


.participant-title {
  color:
    var(--green-800);

  font-size: 11px;

  font-weight: 800;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}


.remove-participant {
  padding:
    5px
    8px;

  color:
    var(--danger);

  background:
    transparent;

  border: 0;

  font-size: 11px;

  font-weight: 700;

  cursor: pointer;
}


.participant-grid {
  display: grid;

  grid-template-columns:
    1.4fr
    1fr
    0.7fr;

  gap: 12px;
}


.participant-field label {
  display: block;

  margin-bottom: 7px;

  color: var(--muted);

  font-size: 10px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 0.06em;
}


select {
  width: 100%;

  padding:
    14px
    13px;

  color: var(--text);

  background: white;

  border:
    1px solid
    #dce1de;

  border-radius:
    var(--radius-sm);

  font-size: 13px;

  outline: none;
}


select:focus {
  border-color:
    var(--green-700);

  box-shadow:
    0 0 0 4px
    rgba(27, 90, 64, 0.08);
}


.secondary-button {
  width: 100%;

  padding: 13px;

  color:
    var(--green-800);

  background:
    transparent;

  border:
    1px dashed
    rgba(18, 71, 50, 0.35);

  border-radius:
    var(--radius-sm);

  font-size: 12px;

  font-weight: 750;

  cursor: pointer;

  transition: 0.2s ease;
}


.secondary-button:hover {
  background:
    rgba(18, 71, 50, 0.04);

  border-color:
    var(--green-700);
}


/* ================================
   BUTTONS
================================ */

.primary-button {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 13px;

  width: 100%;

  margin-top: 34px;

  padding:
    16px
    20px;

  color: white;

  background:
    var(--green-800);

  border: 0;

  border-radius:
    var(--radius-sm);

  font-size: 13px;

  font-weight: 750;

  cursor: pointer;

  transition:
    background
    0.2s ease,

    transform
    0.2s ease,

    box-shadow
    0.2s ease;
}


.primary-button:hover {
  background:
    var(--green-900);

  transform:
    translateY(-1px);

  box-shadow:
    0 10px 25px
    rgba(8, 38, 27, 0.16);
}


.primary-button:active {
  transform:
    translateY(0);
}


.primary-button span {
  font-size: 18px;

  line-height: 1;
}


.primary-button.compact {
  width: auto;

  min-width: 210px;

  margin-top: 0;
}


.primary-button:disabled {
  opacity: 0.65;

  cursor: not-allowed;

  transform: none;
}


.navigation-buttons {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 15px;

  margin-top: 30px;
}


.back-button {
  padding:
    13px
    4px;

  color: var(--muted);

  background:
    transparent;

  border: 0;

  font-size: 12px;

  font-weight: 700;

  cursor: pointer;
}


/* ================================
   REVIEW
================================ */

.review-card {
  overflow: hidden;

  border:
    1px solid
    var(--border);

  border-radius:
    var(--radius-md);
}


.review-block {
  padding:
    19px
    20px;

  border-bottom:
    1px solid
    var(--border);
}


.review-block:last-child {
  border-bottom: 0;
}


.review-label {
  margin-bottom: 6px;

  color: var(--muted);

  font-size: 10px;

  font-weight: 800;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}


.review-value {
  color: var(--green-950);

  font-size: 14px;

  font-weight: 650;
}


.review-participant {
  display: grid;

  grid-template-columns:
    32px
    1fr;

  gap: 12px;

  padding:
    13px
    0;

  border-top:
    1px solid
    var(--border);
}


.review-participant:first-of-type {
  margin-top: 15px;
}


.participant-index {
  display: flex;

  align-items: center;

  justify-content: center;

  width: 28px;

  height: 28px;

  color:
    var(--green-800);

  background:
    rgba(18, 71, 50, 0.07);

  border-radius: 50%;

  font-size: 10px;

  font-weight: 800;
}


/* ================================
   SUCCESS
================================ */

.success-section {
  padding:
    35px
    10px
    15px;

  text-align: center;

  animation:
    sectionIn
    0.4s
    ease;
}


.success-symbol {
  display: flex;

  align-items: center;

  justify-content: center;

  width: 62px;

  height: 62px;

  margin:
    0
    auto
    25px;

  color: white;

  background:
    var(--green-800);

  border-radius: 50%;

  font-size: 25px;
}


.success-section h2 {
  margin:
    8px
    0
    12px;

  color:
    var(--green-950);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 38px;

  font-weight: 500;
}


.success-section > p:not(.eyebrow):not(.success-note) {
  max-width: 420px;

  margin:
    0
    auto;

  color:
    var(--muted);

  font-size: 13px;

  line-height: 1.65;
}


.registration-number {
  margin:
    30px
    auto
    18px;

  padding: 18px;

  background:
    linear-gradient(
      135deg,
      rgba(18, 71, 50, 0.07),
      rgba(201, 162, 74, 0.08)
    );

  border:
    1px solid
    rgba(18, 71, 50, 0.12);

  border-radius:
    var(--radius-md);
}


.registration-number span {
  display: block;

  margin-bottom: 7px;

  color:
    var(--muted);

  font-size: 9px;

  font-weight: 800;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}


.registration-number strong {
  color:
    var(--green-800);

  font-size: 21px;

  letter-spacing: 0.04em;
}


.success-note {
  color:
    #89928d;

  font-size: 11px;
}


/* ================================
   REGISTRATION CLOSED
================================ */

.closed-section {
  padding:
    30px
    10px
    15px;

  text-align: center;

  animation:
    sectionIn
    0.4s
    ease;
}


.closed-symbol {
  display: flex;

  align-items: center;

  justify-content: center;

  width: 62px;

  height: 62px;

  margin:
    0
    auto
    25px;

  color:
    var(--green-800);

  background:
    rgba(18, 71, 50, 0.07);

  border:
    1px solid
    rgba(18, 71, 50, 0.12);

  border-radius: 50%;

  font-size: 25px;

  font-weight: 300;
}


.eyebrow.dark {
  color:
    var(--gold);
}


.closed-section h2 {
  margin:
    8px
    0
    13px;

  color:
    var(--green-950);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 37px;

  font-weight: 500;
}


.closed-section > p:not(.eyebrow):not(.closed-message) {
  margin:
    0
    auto;

  color:
    var(--green-800);

  font-size: 14px;

  font-weight: 650;
}


.closed-message {
  max-width: 520px;

  margin:
    22px
    auto
    0;

  color:
    var(--muted);

  font-size: 12px;

  line-height: 1.75;
}


.closed-organization {
  display: flex;

  flex-direction: column;

  gap: 5px;

  margin:
    27px
    auto
    0;

  padding:
    16px;

  background:
    rgba(18, 71, 50, 0.045);

  border:
    1px solid
    var(--border);

  border-radius:
    var(--radius-md);

  font-size: 11px;
}


.closed-organization strong {
  color:
    var(--green-800);
}


.closed-organization span {
  color:
    var(--muted);
}


.closed-footer {
  margin-top: 22px;

  color:
    var(--gold);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 13px;

  font-style: italic;
}


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

footer {
  width:
    min(
      760px,
      calc(100% - 40px)
    );

  margin:
    0
    auto;

  padding:
    0
    0
    45px;

  text-align: center;

  color:
    rgba(255, 255, 255, 0.45);

  font-size: 10px;

  line-height: 1.8;
}


footer strong {
  color:
    rgba(255, 255, 255, 0.72);
}


.footer-line {
  margin-top: 3px;

  color:
    var(--gold-light);

  opacity: 0.7;
}


/* ================================
   ERRORS / UTILITIES
================================ */

.hidden {
  display: none !important;
}


.error,
.submit-error {
  min-height: 15px;

  margin:
    7px
    0
    0;

  color:
    var(--danger);

  font-size: 11px;
}


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

@media (max-width: 650px) {

  .hero {
    padding:
      42px
      15px
      35px;
  }


  .isa-logo-wrap,
  .isa-logo {
    width: 72px;
    height: 72px;
  }


  .hero h1 {
    font-size: 48px;
  }


  .hero-subtitle {
    font-size: 15px;
  }


  .registration-shell {
    width:
      calc(100% - 20px);

    padding:
      23px
      18px;

    border-radius:
      19px;
  }


  .event-information {
    margin-bottom: 34px;

    padding-bottom: 28px;
  }


  .information-heading {
    gap: 12px;
  }


  .information-heading h2 {
    font-size: 26px;
  }


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


  .steps {
    margin-bottom: 32px;
  }


  .step small {
    display: none;
  }


  .step-line {
    margin:
      0
      9px;
  }


  .section-heading h2 {
    font-size: 27px;
  }


  .type-options {
    grid-template-columns: 1fr;
  }


  .type-option {
    min-height: auto;

    flex-direction: row;

    align-items: center;

    justify-content: space-between;
  }


  .type-option strong {
    margin: 0;
  }


  .type-option span {
    text-align: right;
  }


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


  .participant-card {
    padding: 17px;
  }


  .navigation-buttons {
    align-items: stretch;

    flex-direction: column-reverse;
  }


  .primary-button.compact {
    width: 100%;
  }


  .back-button {
    width: 100%;
  }


  .success-section h2,
  .closed-section h2 {
    font-size: 33px;
  }

}


@media (max-width: 390px) {

  .hero h1 {
    font-size: 42px;
  }


  .registration-shell {
    padding:
      20px
      15px;
  }


  .section-heading {
    gap: 12px;
  }

}
