:root {
  --green: #1aff4c;
  --green-dark: #0d3d1d;
  --green-soft: rgba(26, 255, 76, 0.12);
  --red: #ff3b3b;
  --bg: #08140d;
  --panel: rgba(11, 26, 18, 0.96);
  --panel-2: #0f1f16;
  --border: rgba(26, 255, 76, 0.28);
  --text-muted: #9aa49e;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--white);
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -10;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(2, 8, 5, 0.84) 0%,
      rgba(4, 15, 9, 0.78) 45%,
      rgba(2, 8, 5, 0.96) 100%
    ),
    linear-gradient(
      90deg,
      rgba(0, 30, 15, 0.45),
      rgba(0, 255, 80, 0.06),
      rgba(0, 20, 10, 0.45)
    ),
    url("/assets/img/background/bg-home.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  transform: scale(1.03);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -9;
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    transparent 15%,
    rgba(0, 0, 0, 0.14) 45%,
    rgba(0, 0, 0, 0.64) 100%
  );
}

.tactical-overlay {
  position: fixed;
  inset: 0;
  z-index: -8;
  pointer-events: none;
  background:
    linear-gradient(rgba(26, 255, 76, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 255, 76, 0.025) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
}

/* =========================
   PAGE
   ========================= */

.application-page {
  width: min(100%, 1000px);
  margin: 0 auto;
  padding: 58px 20px 80px;
}

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

.application-hero {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 34px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(15, 31, 22, 0.85);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  box-shadow: 0 0 18px rgba(26, 255, 76, 0.08);
}

.application-hero h1 {
  margin: 17px 0 10px;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 3px;
  text-shadow: 0 0 18px rgba(26, 255, 76, 0.16);
}

.application-hero h1 span {
  color: var(--green);
}

.application-hero > p {
  max-width: 680px;
  margin: 0 auto;
  color: #c8d0cb;
  line-height: 1.7;
  font-size: 15px;
}

.hero-notice {
  width: fit-content;
  max-width: 100%;
  margin: 18px auto 0;
  padding: 10px 14px;
  border: 1px solid rgba(26, 255, 76, 0.18);
  border-radius: 8px;
  background: rgba(26, 255, 76, 0.045);
  color: #b9c5bd;
  font-size: 12px;
}

.hero-notice i {
  color: var(--green);
  margin-right: 5px;
}

/* =========================
   APPLICATION CARD
   ========================= */

.application-card {
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(11, 26, 18, 0.98),
    rgba(8, 20, 13, 0.98)
  );
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.48),
    0 0 28px rgba(26, 255, 76, 0.08);
}

/* =========================
   PROGRESS
   ========================= */

.progress-area {
  padding: 20px 28px 0;
}

.progress-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
  color: #9ba79f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.progress-top span:last-child {
  color: var(--green);
}

.progress-track {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
}

.progress-bar {
  width: 25%;
  height: 100%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(26, 255, 76, 0.8);
  border-radius: inherit;
  transition: width 0.35s ease;
}

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

#applicationForm {
  padding: 28px;
}

.form-step {
  display: none;
  animation: stepIn 0.28s ease;
}

.form-step.active {
  display: block;
}

@keyframes stepIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 22px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.step-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--green);
  background: var(--green-soft);
  border: 1px solid rgba(26, 255, 76, 0.2);
  box-shadow: 0 0 18px rgba(26, 255, 76, 0.08);
}

.step-heading span {
  display: block;
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.4px;
  margin-bottom: 3px;
}

.step-heading h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: 0.5px;
}

.step-heading p {
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: 13px;
}

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

.field-grid.single {
  grid-template-columns: 1fr;
}

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

.field {
  position: relative;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: #e7ece9;
  font-size: 12px;
  font-weight: 700;
}

.field label b,
.agreement b {
  color: var(--green);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  outline: none;
  border-radius: 9px;
  background: #091810;
  color: #fff;
  padding: 12px 13px;
  font: inherit;
  font-size: 14px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.55;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #657169;
}

.field select {
  cursor: pointer;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(26, 255, 76, 0.65);
  box-shadow: 0 0 0 3px rgba(26, 255, 76, 0.07);
  background: #0b1d13;
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: rgba(255, 59, 59, 0.8);
  box-shadow: 0 0 0 3px rgba(255, 59, 59, 0.06);
}

.field.valid input,
.field.valid select,
.field.valid textarea {
  border-color: rgba(26, 255, 76, 0.4);
}

.field small {
  display: block;
  margin-top: 6px;
  color: #6f7b73;
  font-size: 10px;
}

.field-error {
  min-height: 0;
  margin-top: 5px;
  color: #ff7777;
  font-size: 11px;
}

.field.invalid .field-error {
  min-height: 15px;
}

.character-count {
  margin-top: 5px;
  text-align: right;
  color: #66736b;
  font-size: 10px;
}

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

.review-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}

.review-item {
  padding: 13px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  min-width: 0;
}

.review-item.full {
  grid-column: 1 / -1;
}

.review-label {
  display: block;
  margin-bottom: 4px;
  color: #78847c;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.review-value {
  color: #eaf0ec;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.agreement {
  padding: 14px;
  border: 1px solid rgba(26, 255, 76, 0.15);
  border-radius: 10px;
  background: rgba(26, 255, 76, 0.035);
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: #cbd3ce;
  font-size: 12px;
  line-height: 1.55;
  cursor: pointer;
}

.check-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.custom-check {
  position: relative;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 1px solid rgba(26, 255, 76, 0.4);
  border-radius: 5px;
  background: #091810;
}

.check-row input:checked + .custom-check {
  background: var(--green);
  border-color: var(--green);
}

.check-row input:checked + .custom-check::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 10px;
  left: 6px;
  top: 2px;
  border: solid #061008;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

#agreementError {
  padding-left: 31px;
}

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

.form-navigation {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.nav-spacer {
  flex: 1;
}

.nav-button {
  min-height: 44px;
  border-radius: 8px;
  padding: 0 17px;
  border: 1px solid rgba(26, 255, 76, 0.3);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.8px;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.nav-button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.nav-button.back {
  color: #aeb8b1;
  background: #0b1710;
  border-color: rgba(255, 255, 255, 0.12);
}

.nav-button.next,
.nav-button.submit {
  color: #000;
  background: var(--green);
}

.nav-button.next:hover,
.nav-button.submit:hover {
  box-shadow: 0 0 18px rgba(26, 255, 76, 0.42);
}

.nav-button.submit {
  display: none;
}

.nav-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.nav-button.submit.loading {
  cursor: wait;
}

.nav-button.submit.loading #submitIcon {
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===================
   RADIO CARDS 
   =================== */

.radio-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 6px;
}

.radio-group.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.radio-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #08160e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.radio-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-custom {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: transparent;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.radio-card input:checked ~ .radio-custom {
  border-color: var(--green);
  background: rgba(26, 255, 76, 0.15);
}

.radio-card input:checked ~ .radio-custom::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.radio-card:hover {
  border-color: rgba(26, 255, 76, 0.5);
  background: #0c1f14;
}

.radio-card:has(input:checked) {
  border-color: var(--green);
  background: rgba(26, 255, 76, 0.08);
  box-shadow: 0 0 12px rgba(26, 255, 76, 0.12);
}

.radio-label {
  font-size: 13.5px;
  font-weight: 600;
  color: #e7ece9;
  display: flex;
  align-items: center;
  gap: 8px;
}

.radio-label i {
  color: var(--green);
  font-size: 14px;
}

/* ================
   DROPDOWN
   ================ */

.custom-select {
  position: relative;
  width: 100%;
}

.select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #08160e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #a0aab2;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.select-trigger.selected {
  color: #ffffff;
  font-weight: 500;
}

.select-trigger:hover {
  border-color: rgba(26, 255, 76, 0.5);
  background: #0b1f14;
}

.custom-select.open .select-trigger {
  border-color: var(--green);
  box-shadow: 0 0 10px rgba(26, 255, 76, 0.2);
}

.select-trigger i {
  font-size: 12px;
  color: var(--green);
  transition: transform 0.3s ease;
}

.custom-select.open .select-trigger i {
  transform: rotate(180deg);
}

.select-options {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #08160e;
  border: 1px solid var(--green);
  border-radius: 8px;
  max-height: 220px;
  overflow-y: auto;
  z-index: 100;
  display: none;
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.8),
    0 0 12px rgba(26, 255, 76, 0.15);
}

.custom-select.open .select-options {
  display: block;
  animation: dropdownFade 0.2s ease;
}

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

.select-options .option {
  padding: 11px 16px;
  font-size: 13.5px;
  color: #d1dad5;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.select-options .option:hover {
  background: rgba(26, 255, 76, 0.15);
  color: var(--green);
}

.select-options .option.selected {
  background: rgba(26, 255, 76, 0.22);
  color: #ffffff;
  font-weight: 600;
}

.select-options::-webkit-scrollbar {
  width: 6px;
}
.select-options::-webkit-scrollbar-track {
  background: #050d09;
}
.select-options::-webkit-scrollbar-thumb {
  background: rgba(26, 255, 76, 0.4);
  border-radius: 4px;
}

/* =========================================================
   FORM ACTIONS & BUTTON STATES
   ========================================================= */

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25 ease;
  border: none;
  min-width: 140px;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #b0b8b3;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.btn-primary {
  background: var(--green);
  color: #040e08;
  box-shadow: 0 0 15px rgba(26, 255, 76, 0.3);
}

.btn-primary:hover {
  background: #23ff56;
  box-shadow: 0 0 20px rgba(26, 255, 76, 0.5);
  transform: translateY(-1px);
}

.btn:disabled,
.btn.loading {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Spinning Animation for Submit */
.btn .fa-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 600px) {
  .radio-group,
  .radio-group.grid-3 {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .form-actions {
    flex-direction: column-reverse;
  }

  .btn {
    width: 100%;
  }
}

@media screen and (max-width: 600px) {
  .radio-group,
  .radio-group.grid-3 {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* =========================
   HONEYPOT
   ========================= */

.honeypot {
  position: absolute !important;
  left: -99999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* =========================
   RESULT MODALS
   ========================= */

.result-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.84);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
}

.result-overlay.show {
  opacity: 1;
  visibility: visible;
}

.result-card {
  width: min(100%, 520px);
  padding: 34px 28px 28px;
  text-align: center;
  background: #0b1a12;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.65);
  transform: translateY(12px) scale(0.98);
  transition: 0.3s ease;
}

.result-overlay.show .result-card {
  transform: translateY(0) scale(1);
}

.result-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 24px;
}

.success-card .result-icon {
  color: #061008;
  background: var(--green);
  box-shadow: 0 0 25px rgba(26, 255, 76, 0.4);
}

.error-card .result-icon {
  color: #fff;
  background: var(--red);
  box-shadow: 0 0 25px rgba(255, 59, 59, 0.25);
}

.result-label {
  display: block;
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.error-card .result-label {
  color: #ff6666;
}

.result-card h2 {
  margin: 8px 0;
  font-size: 30px;
}

.result-card p {
  margin: 0 auto;
  max-width: 440px;
  color: #aeb9b1;
  font-size: 13px;
  line-height: 1.65;
}

.application-id-box {
  margin: 22px auto;
  padding: 12px;
  border: 1px solid rgba(26, 255, 76, 0.2);
  border-radius: 9px;
  background: rgba(26, 255, 76, 0.045);
}

.application-id-box span {
  display: block;
  margin-bottom: 4px;
  color: #738077;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.application-id-box strong {
  color: var(--green);
  font-size: 18px;
  letter-spacing: 1px;
}

.result-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid var(--green);
  border-radius: 8px;
  background: var(--green);
  color: #000;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: 0.2s ease;
}

.result-button:hover {
  box-shadow: 0 0 18px rgba(26, 255, 76, 0.4);
}

/* =========================================================
   RULES TRIGGER CARD & MODAL STYLES
   ========================================================= */

.rules-trigger-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(26, 255, 76, 0.05);
  border: 1px solid rgba(26, 255, 76, 0.25);
  padding: 16px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  gap: 16px;
}

.rules-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rules-info i {
  font-size: 24px;
  color: var(--green);
}

.rules-info h4 {
  margin: 0 0 2px 0;
  font-size: 15px;
  color: #ffffff;
}

.rules-info p {
  margin: 0;
  font-size: 13px;
  color: #a0aab2;
}

.rules-modal-card {
  max-width: 650px !important;
  width: 90%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.rules-modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  max-height: 50vh;
  background: #050d08;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin: 15px 0;
}

.rules-text-content h3 {
  color: var(--green);
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 16px;
  text-align: center;
}

.rule-block {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.rule-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.rule-block h4 {
  color: #ffffff;
  font-size: 15px;
  margin-bottom: 8px;
}

.rule-block p {
  color: #c2cbc6;
  font-size: 13.5px;
  line-height: 1.6;
  margin: 6px 0;
}

.highlight-rule {
  color: #ff4a4a !important;
  font-weight: 700;
  background: rgba(255, 74, 74, 0.1);
  padding: 6px 10px;
  border-radius: 5px;
  display: inline-block;
}

.clan-tagline {
  font-weight: 700;
  color: var(--green) !important;
  text-align: center;
  margin-top: 12px !important;
}

.rules-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.timer-indicator {
  font-size: 13px;
  color: #ffc107;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.timer-indicator.done {
  color: var(--green);
}

#acceptRulesBtn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #3a453f !important;
  color: #8a9890 !important;
  box-shadow: none !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#acceptRulesBtn:not(:disabled) {
  opacity: 1;
  cursor: pointer;
  background: var(--green) !important;
  color: #040e08 !important;
  box-shadow: 0 0 15px rgba(26, 255, 76, 0.4);
}

/* =========================================================
   MODAL BACKDROP & DISPLAY CONTROL
   ========================================================= */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  z-index: 9999;

  /* DEFAULT STATE: HIDDEN */
  display: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  align-items: center;
  justify-content: center;
}

/* VISIBLE STATE */
.modal-backdrop.show {
  display: flex !important;
  opacity: 1;
  pointer-events: auto;
}

/* =========================================================
   YOUTUBE TUTORIAL
   ========================================================= */
.yt-tutorial-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #ff4a4a;
  font-weight: 600;
  margin-left: 6px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.yt-tutorial-link:hover {
  color: #ff0000;
  text-decoration: underline;
}

/* Styling for Modal Button */
.btn-yt-modal {
  background: rgba(255, 74, 74, 0.15);
  color: #ff5555;
  border: 1px solid rgba(255, 74, 74, 0.4);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  margin-left: 6px;
  transition: all 0.2s ease;
}

.btn-yt-modal:hover {
  background: #ff0000;
  color: #ffffff;
}

/* YouTube Video Modal Container */
.yt-modal-card {
  max-width: 600px !important;
  width: 90%;
}

.yt-video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  margin-top: 15px;
}

.yt-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.close-btn {
  background: none;
  border: none;
  color: #a0aab2;
  font-size: 22px;
  cursor: pointer;
}

.close-btn:hover {
  color: #ffffff;
}

@media screen and (max-width: 600px) {
  .rules-trigger-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .rules-footer {
    flex-direction: column;
  }

  .rules-footer .btn {
    width: 100%;
  }
}

/* =========================
   RESPONSIVE
   ========================= */

@media screen and (max-width: 768px) {
  .application-page {
    padding: 35px 12px 55px;
  }

  .application-hero {
    margin-bottom: 24px;
  }

  .application-hero h1 {
    font-size: 38px;
    letter-spacing: 2px;
  }

  .application-hero > p {
    font-size: 13px;
  }

  .hero-notice {
    font-size: 10px;
  }

  .application-card {
    border-radius: 12px;
  }

  .progress-area {
    padding: 17px 18px 0;
  }

  #applicationForm {
    padding: 22px 18px;
  }

  .step-heading {
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 20px;
    padding-bottom: 18px;
  }

  .step-icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }

  .step-heading h2 {
    font-size: 20px;
  }

  .step-heading p {
    font-size: 11px;
  }

  .field-grid,
  .review-box {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .field.full,
  .review-item.full {
    grid-column: auto;
  }

  .field input,
  .field select,
  .field textarea {
    font-size: 13px;
  }

  .form-navigation {
    gap: 8px;
  }

  .nav-button {
    padding: 0 12px;
    font-size: 10px;
  }
}

@media screen and (max-width: 430px) {
  .application-page {
    padding-left: 8px;
    padding-right: 8px;
  }

  .application-hero h1 {
    font-size: 33px;
  }

  .hero-badge {
    font-size: 9px;
  }

  #applicationForm {
    padding: 18px 13px;
  }

  .progress-area {
    padding-left: 13px;
    padding-right: 13px;
  }

  .nav-button {
    min-height: 42px;
  }

  .nav-button.back {
    width: 45px;
    padding: 0;
    font-size: 0;
  }

  .nav-button.back i {
    font-size: 13px;
  }

  .nav-button.next,
  .nav-button.submit {
    flex: 1;
  }

  .result-card {
    padding: 28px 20px 22px;
  }
}
