:root {
  --cream: #fff9ea;
  --cream-2: #fff1dc;
  --paper: #fffdf5;
  --orange: #f15a24;
  --orange-dark: #d93b17;
  --red: #ec2f21;
  --blue: #19349a;
  --ink: #2d241f;
  --muted: #6e625b;
  --line: #f3caa6;
  --menu-bg: rgba(255, 253, 245, 0.94);
  --menu-gradient: linear-gradient(90deg, #ff7a22 0%, #f04a22 34%, #a331d8 68%, #2452d8 100%);
  --menu-border: rgba(217, 59, 23, 0.16);
  --content-width: 1180px;
  --section-space: 56px;
  --section-space-sm: 34px;
  --panel-shadow: 0 18px 48px rgba(38, 67, 122, 0.12);
  --strong-shadow: 0 28px 70px rgba(18, 64, 147, 0.18);
  font-family:
    "Montserrat",
    "SF Pro DisplayR",
    "SF Pro Display",
    Arial,
    system-ui,
    sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

* {
  box-sizing: border-box;
}

input,
select,
textarea,
button {
  font-family: inherit;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding-top: 62px;
  color: var(--ink);
  background-image: url("assets/site-background.png");
  background-attachment: fixed;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  letter-spacing: 0;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0;
  padding: 10px max(18px, calc((100% - var(--content-width)) / 2));
  font-size: 0.78rem;
  color: #ffffff;
  background: var(--menu-gradient);
  border: 0;
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  box-shadow: 0 12px 30px rgba(38, 67, 122, 0.1);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.3s ease, padding 0.3s ease;
}

/* Fallback/Requirement for tests: Menu must have sticky keyword in file */
.test-sticky-nav {
  position: sticky;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-pair {
  display: flex;
  align-items: center;
  gap: 4px;
}

.brand-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.nav-links a {
  padding: 8px 10px;
  color: #ffffff;
  font-weight: 700;
  transition:
    color 160ms ease,
    background 160ms ease;
}

.nav-links a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.nav-links a.nav-cta {
  background: #ffffff;
  color: var(--orange);
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.nav-links a.nav-cta:hover {
  background: var(--cream);
  color: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: #ffffff;
  border-radius: 9px;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

.hero-countdown,
.section {
  width: min(var(--content-width), calc(100% - 28px));
  margin: 0 auto;
}

.hero-countdown {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding: 60px 20px 52px;
  background: transparent;
  text-align: center;
}

.hero-countdown::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
  z-index: -1;
}

.hero-countdown h1 {
  margin: 0;
  color: var(--orange);
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.1rem, 2.4vw, 1.55rem);
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---- Flip Clock ---- */
.flip-clock {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.flip-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.flip-card {
  --card-h: 130px;
  position: relative;
  width: var(--card-h);
  height: var(--card-h);
  border-radius: 12px;
  perspective: 400px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.06);
}

/* Static top half — clips number to show only its upper portion */
.fc-upper {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  overflow: hidden;
  background: var(--orange);
  border-radius: 12px 12px 0 0;
}

/* Static bottom half — clips number to show only its lower portion */
.fc-lower {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  overflow: hidden;
  background: var(--orange-dark);
  border-radius: 0 0 12px 12px;
}

/* Number spans full card height so each half shows only its portion */
.fc-num {
  position: absolute;
  left: 0; right: 0;
  height: var(--card-h);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 4.4rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.02em;
  user-select: none;
}

/* In upper half: number anchored to card top → top half visible */
.fc-upper .fc-num {
  top: 0;
}

/* In lower half: number offset up by 50% so same vertical position → bottom half visible */
.fc-lower .fc-num {
  top: calc(var(--card-h) * -0.5);
}

/* Fold wrap: clips the rotating panel to the upper half */
.fc-fold-wrap {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  overflow: hidden;
  z-index: 3;
}

/* Fold panel: full card height, rotates around the midline (50% = 65px from top) */
.fc-fold {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: var(--card-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  border-radius: 12px 12px 0 0;
  transform-origin: center 50%;
}

.fc-fold .fc-num {
  top: 0;
}

.fc-fold.is-flipping {
  animation: fc-fold-down 0.38s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fc-fold-down {
  0%   { transform: rotateX(0deg); }
  100% { transform: rotateX(-90deg); }
}

/* Separator line */
.fc-sep {
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 2px;
  background: rgba(0, 0, 0, 0.2);
  transform: translateY(-50%);
  z-index: 5;
}

.flip-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.primary-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 42px;
  color: #ffffff;
  background: linear-gradient(180deg, #ff7240, #f04a22);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(240, 74, 34, 0.22);
  font: inherit;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.section {
  padding: var(--section-space) 0;
}

.section h2 {
  position: relative;
  margin: 0 0 30px;
  color: var(--orange-dark);
  font-size: clamp(1.6rem, 4vw, 2.55rem);
  font-weight: 1000;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.section > h2::after {
  display: block;
  width: 72px;
  height: 4px;
  margin: 18px auto 0;
  content: "";
  background: linear-gradient(90deg, var(--orange), var(--blue));
}

.contest-intro {
  text-align: center;
}

.contest-intro > h2::after {
  display: none;
}

.contest-title-image {
  width: min(760px, 100%);
  height: auto;
  margin: 0 auto 28px;
  filter: drop-shadow(0 12px 18px rgba(214, 55, 16, 0.16));
}

.intro-lead {
  width: min(860px, 100%);
  margin: 0 auto 36px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
  text-align: center;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.intro-grid article {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 24px 20px 24px 20px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(60, 40, 20, 0.07);
  border: 1px solid rgba(241, 90, 36, 0.12);
  text-align: left;
}

.intro-num {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--orange);
  border-radius: 8px;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  z-index: 1;
}

.intro-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  min-width: 90px;
  background: #fff3e8;
  border-radius: 50%;
  flex-shrink: 0;
}

.intro-icon img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.intro-text {
  flex: 1;
  min-width: 0;
}

.intro-grid h3 {
  margin: 0 0 8px;
  color: #1e1a17;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.field-grid h3 {
  margin: 0 0 10px;
  color: #2b221d;
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.intro-grid p,
.privilege-grid p,
.field-grid p,
.origin-copy p,
.rule-panels p,
.rule-panels li,
.faq-answer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.privilege-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.privilege-grid article {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 18px 26px;
  background: #ffffff;
  border: 1px solid rgba(241, 90, 36, 0.12);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(60, 40, 20, 0.04);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease;
  overflow: hidden;
}

.privilege-grid article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.privilege-grid article:hover::before {
  transform: scaleX(1);
}

.privilege-grid article:hover {
  transform: translateY(-6px);
  border-color: var(--orange);
  box-shadow: 0 16px 36px rgba(241, 90, 36, 0.1);
}

.privilege-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  background: #fff3e8;
  color: var(--orange);
  border-radius: 50%;
  margin-bottom: 20px;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.privilege-grid article:hover .privilege-icon-wrapper {
  transform: scale(1.08);
  background: var(--orange);
  color: #ffffff;
}

.privilege-icon-wrapper svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.privilege-grid h3 {
  margin: 0 0 10px;
  color: #1e1a17;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.privilege-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.origin-story {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 52px;
  align-items: center;
  padding: var(--section-space) 34px;
  background: #fffdf6;
  border: 1px solid rgba(217, 59, 23, 0.1);
  box-shadow: var(--panel-shadow);
  backdrop-filter: blur(10px);
}

.origin-title {
  text-align: center;
}

.origin-title h2 {
  margin-bottom: 10px;
  color: var(--red);
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  text-shadow:
    0 2px 0 #ffd66b,
    0 5px 10px rgba(212, 64, 20, 0.2);
}

.origin-title span {
  display: inline-flex;
  padding: 8px 16px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--orange), var(--blue));
  border-radius: 0;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.origin-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: rgba(255, 253, 248, 0.8);
  border-left: 5px solid var(--orange);
  padding: 24px 28px;
  border-radius: 0 16px 16px 0;
  box-shadow: inset 2px 0 8px rgba(241, 90, 36, 0.04);
}

.origin-copy p {
  font-size: 1.05rem !important;
  line-height: 1.8 !important;
  color: var(--ink) !important;
}

.origin-copy p:first-of-type {
  font-size: 1.25rem !important;
  font-weight: 800;
  color: var(--orange-dark) !important;
  font-style: italic;
  margin-bottom: 4px;
}

.origin-copy p:last-of-type {
  font-size: 1.15rem !important;
  font-weight: 700;
  color: var(--blue) !important;
  border-top: 1px dashed rgba(241, 90, 36, 0.25);
  padding-top: 14px;
  margin-top: 6px;
}

.fields {
  width: 100%;
  max-width: none;
  padding: var(--section-space) max(28px, calc((100% - var(--content-width)) / 2));
  background: transparent;
  border-top: 1px solid rgba(217, 59, 23, 0.12);
  border-bottom: 1px solid rgba(217, 59, 23, 0.12);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.field-grid article {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 24px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(241, 90, 36, 0.12);
  box-shadow: 0 6px 20px rgba(60, 40, 20, 0.04);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease;
  overflow: hidden;
}

.field-grid article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--orange), var(--blue));
  border-radius: 16px 0 0 16px;
  transform: scaleY(0.7);
  transform-origin: center;
  transition: transform 0.3s ease, width 0.3s ease;
}

.field-grid article:hover::before {
  transform: scaleY(1);
  width: 6px;
}

.field-grid article:hover {
  transform: translateY(-5px);
  border-color: var(--orange);
  box-shadow: 0 14px 30px rgba(241, 90, 36, 0.08);
}

.field-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #fff3e8;
  color: var(--orange);
  border-radius: 12px;
  margin-bottom: 20px;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.field-grid article:hover .field-icon-wrapper {
  transform: scale(1.06) rotate(3deg);
  background: var(--orange);
  color: #ffffff;
}

.field-icon-wrapper svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.field-grid h3 {
  margin: 0 0 10px;
  color: #1e1a17;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.field-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.timeline-section {
  width: min(1220px, calc(100% - 28px));
  padding: 42px 28px 48px;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

.timeline-section h2 {
  margin-bottom: 28px;
  color: #df1f18;
  letter-spacing: 0.01em;
  text-align: center;
}

.timeline-section h2::after {
  display: none;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px 48px;
}

.timeline-grid article {
  position: relative;
  min-height: 228px;
  padding: 30px 24px 30px 96px;
  background: #ffffff;
  border: 1px solid rgba(241, 90, 36, 0.18);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(217, 59, 23, 0.04);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease;
}

.timeline-grid article:hover {
  transform: translateY(-6px);
  border-color: var(--orange);
  box-shadow: 0 16px 40px rgba(217, 59, 23, 0.1);
}

.timeline-grid article::before {
  position: absolute;
  top: 52px;
  right: 24px;
  left: 96px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--orange), rgba(241, 90, 36, 0.05));
}

.timeline-grid article::after {
  position: absolute;
  top: 49px;
  right: 22px;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--orange);
  border-radius: 50%;
}

.timeline-icon {
  position: absolute;
  top: 26px;
  left: -24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  color: var(--orange);
  background: #ffffff;
  border: 1px solid rgba(241, 90, 36, 0.15);
  border-radius: 50%;
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.95),
    0 10px 24px rgba(217, 59, 23, 0.08);
  transition: transform 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.timeline-icon svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
}

.timeline-grid article:hover .timeline-icon {
  transform: scale(1.05);
  color: var(--orange-dark);
  border-color: var(--orange);
}

.timeline-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 48px;
  margin-bottom: 24px;
}

.timeline-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  border-radius: 50%;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(241, 90, 36, 0.25);
}

.timeline-grid h3 {
  margin: 0;
  color: var(--orange-dark);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.timeline-grid ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.timeline-grid li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.58;
}

.timeline-grid li::marker {
  color: #df1f18;
}

.timeline-grid li strong {
  color: #df1f18;
}

.rule-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding: 28px;
  background: var(--cream-2);
  border-radius: 0;
  box-shadow: var(--panel-shadow);
}

.rule-panels article {
  padding: 24px;
  background: #fffdf8;
  border: 1px solid #f4c3a6;
  border-radius: 0;
}

.rule-panels h3 {
  margin: 0 0 14px;
  color: var(--orange-dark);
  font-size: 1rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.rule-panels ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.awards {
  text-align: center;
  background: transparent;
}

.award-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.award-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 18px 34px;
  background: #fffdf5; /* soft cream background */
  border-radius: 28px;
  box-shadow: 0 12px 34px rgba(217, 59, 23, 0.05);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-align: center;
  border: 1px solid rgba(217, 59, 23, 0.08);
}

/* Bottom colored border based on award type from reference image */
.award-card.gold {
  border-bottom: 8px solid #ff8f00; /* Orange border */
}
.award-card.silver {
  border-bottom: 8px solid #1d67b4; /* Blue border */
}
.award-card.bronze {
  border-bottom: 8px solid #e65100; /* Orange/Brown border */
}
.award-card.favorite {
  border-bottom: 8px solid #ffb300; /* Yellow border */
}

.award-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(217, 59, 23, 0.12);
}

.award-img {
  width: 100%;
  height: auto;
  max-width: 210px;
  margin-bottom: 16px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.08));
}

.award-card p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.86rem !important;
  font-weight: 700;
  line-height: 1.65 !important;
  color: #5d4f43 !important;
  margin: 0;
  padding: 0 4px;
}

.award-card h3.award-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #2b2b2b;
  margin: 0 0 10px;
}

.award-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.65rem;
  font-weight: 900;
  color: #d93b17;
  margin: 10px 0 16px;
  background: rgba(217, 59, 23, 0.06);
  padding: 8px 24px;
  border-radius: 999px;
  display: inline-block;
  letter-spacing: -0.5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.award-card.gold .award-value {
  color: #d84315;
  background: rgba(255, 143, 0, 0.1);
}
.award-card.silver .award-value {
  color: #1565c0;
  background: rgba(29, 103, 180, 0.1);
}
.award-card.bronze .award-value {
  color: #d84315;
  background: rgba(230, 81, 0, 0.1);
}
.award-card.favorite .award-value {
  color: #f57f17;
  background: rgba(255, 179, 0, 0.1);
}

/* Banner / Total box styling */
.award-total {
  position: relative;
  display: flex;
  width: min(860px, 100%);
  margin: 0 auto;
  background: linear-gradient(90deg, #fffcf6, #fffdf8);
  border: 1px solid rgba(241, 90, 36, 0.2);
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(241, 90, 36, 0.08);
  overflow: hidden;
  padding: 34px 20px;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* Thick accent strip on the left */
.award-total::before {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 14px;
  content: "";
  background: linear-gradient(180deg, #ff7a22, #f15a24);
  border-radius: 20px 0 0 20px;
}

.award-total-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.award-banner-star {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.8;
  filter: drop-shadow(0 2px 6px rgba(241, 90, 36, 0.2));
}
.award-banner-star.star-l {
  left: 8%;
}
.award-banner-star.star-r {
  right: 8%;
}

.award-total p {
  color: var(--orange-dark);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 6px;
}

.award-banner-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 180px;
  margin-bottom: 10px;
}
.award-banner-divider span:not(.award-banner-sub) {
  flex: 1;
  height: 1px;
  background: var(--orange);
  opacity: 0.35;
}
.award-banner-sub {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.award-total strong {
  display: block;
  color: #f15a24;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 15px rgba(241, 90, 36, 0.15);
}

@media (max-width: 768px) {
  .award-banner-star {
    display: none;
  }
}

.partners {
  text-align: center;
}

.partner-board {
  padding: 26px 34px 34px;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  border-radius: 0;
}

.partner-board p {
  margin: 0 0 20px;
  color: #2e2e2e;
  font-weight: 900;
}

.partner-marquee-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
  width: 100%;
  padding: 10px 0;
  position: relative;
}

.partner-marquee-track {
  display: flex;
  width: max-content;
  gap: 24px;
}

.partner-marquee-group {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 24px;
  width: max-content;
}

.marquee-row-1 {
  animation: scroll-left 40s linear infinite;
}

.marquee-row-2 {
  animation: scroll-right 40s linear infinite;
}

.partner-marquee-container:hover .partner-marquee-track {
  animation-play-state: paused;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scroll-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 78px;
  background: #ffffff;
  border: 1px solid rgba(25, 52, 154, 0.08);
  border-radius: 12px;
  padding: 6px 12px;
  box-shadow: 0 4px 12px rgba(25, 52, 154, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.partner-logo:hover {
  transform: translateY(-3px);
  border-color: rgba(25, 52, 154, 0.25);
  box-shadow: 0 8px 24px rgba(25, 52, 154, 0.08);
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.faq-section h2 {
  color: var(--red);
}

.faq-box {
  background: transparent;
  border: none;
  box-shadow: none;
}

.faq-item {
  background: #ffffff;
  border-radius: 16px;
  margin-bottom: 16px;
  border: 1px solid rgba(241, 90, 36, 0.12);
  box-shadow: 0 4px 20px rgba(217, 59, 23, 0.03);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease;
  overflow: hidden;
}

.faq-item:hover {
  border-color: rgba(241, 90, 36, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(217, 59, 23, 0.06);
}

.faq-item.is-open {
  border-color: var(--orange);
  box-shadow: 0 10px 30px rgba(241, 90, 36, 0.08);
}

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  color: var(--ink);
  background: transparent;
  border: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--orange-dark);
}

.faq-question span:first-child {
  flex: 1;
}

.faq-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: #fff3e8;
  color: var(--orange);
  border-radius: 50%;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.faq-icon {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
}

.faq-answer p {
  margin: 0;
  padding-top: 16px;
  border-top: 1px dashed rgba(241, 90, 36, 0.15);
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
  animation: fadeInFaq 0.35s ease forwards;
}

@keyframes fadeInFaq {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-item.is-open .faq-icon-container {
  transform: rotate(180deg);
  background: var(--orange);
  color: #ffffff;
}

.registration {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 42px;
  background:
    linear-gradient(135deg, #fff0d6, #fffdf6);
  border: 1px solid rgba(217, 59, 23, 0.14);
  border-radius: 20px;
  box-shadow: var(--panel-shadow);
  backdrop-filter: blur(10px);
}

.register-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.register-form label {
  display: grid;
  gap: 7px;
  color: #382d27;
  font-weight: 800;
}

.register-form input,
.register-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #ebb794;
  border-radius: 0;
  font: inherit;
}

.full-span {
  grid-column: 1 / -1;
}

.form-status {
  margin: 0;
  color: var(--orange-dark);
  font-weight: 800;
}

.site-footer {
  width: min(var(--content-width), calc(100% - 28px));
  margin: var(--section-space-sm) auto 0;
  padding: 28px 0 40px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 260px;
  margin: 0 auto 12px;
}

.site-footer p {
  margin: 6px 0;
}

@media (max-width: 860px) {
  :root {
    --section-space: 46px;
    --section-space-sm: 28px;
  }

  body {
    padding-top: 62px;
  }

  .site-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    gap: 0;
  }

  .brand {
    justify-content: flex-start;
  }

  .menu-toggle {
    display: flex;
  }

  /* When menu is active, animate hamburger to X */
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--menu-bg);
    border-bottom: 2px solid var(--orange);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 20px 24px;
    gap: 12px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 99;
  }

  .nav-links.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    color: var(--ink);
    font-size: 0.95rem;
    padding: 12px 16px;
    border-radius: 10px;
    text-align: center;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .nav-links a:hover {
    color: var(--orange-dark);
    background: rgba(241, 90, 36, 0.08);
  }

  .nav-links a.nav-cta {
    background: var(--orange);
    color: #ffffff;
    padding: 12px 18px;
    margin-top: 6px;
  }

  .nav-links a.nav-cta:hover {
    background: var(--orange-dark);
    color: #ffffff;
  }

  .countdown-wrap,
  .hero-countdown,
  .origin-story,
  .registration {
    grid-template-columns: 1fr;
  }

  .origin-story {
    padding: 30px 16px;
    gap: 24px;
  }

  .origin-copy {
    padding: 16px 18px;
  }

  .registration {
    padding: 30px 16px;
  }

  .hero-countdown {
    justify-items: center;
    text-align: center;
  }

  .countdown-wrap {
    flex-direction: column;
  }

  .privilege-grid,
  .field-grid,
  .rule-panels,
  .award-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .privilege-grid article:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 620px) {
  :root {
    --section-space: 38px;
    --section-space-sm: 22px;
  }

  .brand-logo {
    height: 30px;
  }

  .intro-grid,
  .timeline-grid,
  .privilege-grid,
  .field-grid,
  .rule-panels,
  .award-row,
  .register-form {
    grid-template-columns: 1fr;
  }

  .privilege-grid article:last-child {
    grid-column: span 1;
  }

  .timeline-grid article {
    padding: 24px 20px 24px 82px;
  }

  .timeline-icon {
    left: 16px;
    width: 52px;
    height: 52px;
    box-shadow: 0 8px 18px rgba(176, 55, 22, 0.12);
    font-size: 1.35rem;
  }

  .timeline-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
  }

  .timeline-number {
    width: 52px;
    height: 52px;
    font-size: 1.45rem;
  }

  .timeline-grid article::before {
    top: 128px;
    left: 82px;
  }

  .timeline-grid article::after {
    top: 123px;
  }

  .registration {
    padding: 24px 18px;
  }

  .intro-grid,
  .rule-panels {
    padding: 24px 18px;
  }

  .section h2 {
    margin-bottom: 22px;
  }
}

/* ---- Modal Overlay & Content ---- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(45, 36, 31, 0.6);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  position: relative;
  width: min(720px, calc(100% - 24px));
  max-height: min(840px, calc(100vh - 24px));
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalScaleUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes modalScaleUp {
  from { transform: scale(0.9) translateY(12px); }
  to { transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  color: var(--ink);
  font-size: 24px;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: all 0.2s ease;
}
.modal-close:hover {
  background: #ffffff;
  transform: rotate(90deg) scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.modal-cover {
  width: 100%;
  height: auto;
  overflow: hidden;
  line-height: 0;
}
.modal-cover img {
  width: 100%;
  height: auto;
  display: block;
}

.modal-body-container {
  flex: 1;
  overflow-y: auto;
  padding: 30px 40px 40px;
}

/* ---- Progress Indicators ---- */
.form-progress-bar {
  width: 100%;
  height: 4px;
  background: #f1f5f9;
  border-radius: 2px;
  margin-bottom: 8px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--orange);
  transition: width 0.3s ease;
}
.step-indicator {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

/* ---- Form Steps & Groups ---- */
.form-step {
  display: none;
}
.form-step.active {
  display: block;
  animation: stepFadeIn 0.3s ease forwards;
}

@keyframes stepFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.4;
  margin: 0 0 24px;
}

.required {
  color: var(--red);
  margin-left: 2px;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 16px;
  font: inherit;
  color: var(--ink);
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.02);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(241, 90, 36, 0.12);
}

/* Choices Grid/Containers for Options */
.choices-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.choices-container.inline {
  grid-template-columns: repeat(2, 1fr);
}

.choices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.choice-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
  cursor: pointer;
  font-weight: 700;
  color: var(--muted);
  transition: all 0.2s ease;
  position: relative;
  text-align: center;
  padding: 8px 16px;
}

.choice-box input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.choice-box:hover {
  border-color: var(--orange);
  background: rgba(241, 90, 36, 0.03);
  color: var(--orange-dark);
}

.choice-box.selected {
  background: var(--orange);
  border-color: var(--orange);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(241, 90, 36, 0.2);
}

/* Grid for Member info forms */
.member-info-section {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 24px;
}

.member-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--orange-dark);
  margin: 0 0 16px;
  border-bottom: 1.5px solid rgba(241, 90, 36, 0.15);
  padding-bottom: 8px;
}

.member-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  border-bottom: 1.5px solid rgba(241, 90, 36, 0.15);
  padding-bottom: 8px;
}
.member-header-row .member-title {
  margin: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.btn-remove-member {
  background: #fee2e2;
  color: var(--red);
  border: 1px solid #fecaca;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-remove-member:hover {
  background: var(--red);
  color: #ffffff;
  border-color: var(--red);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 20px;
}

.form-grid .full-width {
  grid-column: 1 / -1;
}

/* Buttons and Navigation */
.step-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  gap: 16px;
}

.btn-next,
.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 28px;
  background: var(--orange);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(241, 90, 36, 0.22);
  transition: all 0.2s ease;
}
.btn-next:hover,
.btn-submit:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(241, 90, 36, 0.3);
}

.btn-prev {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  background: #ffffff;
  color: var(--muted);
  border: 1.5px solid #cbd5e1;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-prev:hover {
  background: #f8fafc;
  color: var(--ink);
  border-color: #94a3b8;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-secondary:hover {
  background: #e2e8f0;
  color: #0f172a;
}


@media (max-width: 768px) {
  .modal-body-container {
    padding: 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .choices-container,
  .choices-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Responsive adjustments for smaller screens */
@media (max-width: 600px) {
  .flip-clock {
    gap: 8px;
  }
  .flip-card {
    --card-h: 74px;
  }
  .fc-num {
    font-size: 2.5rem;
  }
  .flip-label {
    font-size: 0.65rem;
  }
}

@media (max-width: 400px) {
  .flip-clock {
    gap: 6px;
  }
  .flip-card {
    --card-h: 62px;
  }
  .fc-num {
    font-size: 2.1rem;
  }
  .flip-label {
    font-size: 0.6rem;
  }
}

@media (max-width: 440px) {
  .timeline-grid article {
    padding: 24px 16px 24px 64px;
  }
  .timeline-icon {
    left: 10px;
    width: 44px;
    height: 44px;
  }
  .timeline-icon svg {
    width: 20px;
    height: 20px;
  }
  .timeline-number {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
  .timeline-grid article::before {
    left: 64px;
  }
}
