@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes border-spin {
  to { --angle: 360deg; }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --yellow: #F6D464;
  --yellow-bright: #FFE899;
  --yellow-dim: #E2BC3E;
  --yellow-glow: rgba(246, 212, 100, 0.28);
  --yellow-subtle: rgba(246, 212, 100, 0.08);
  --snap-yellow: #F6D464;
  --snap-yellow-hover: #FFE899;
  --snap-yellow-dim: #E2BC3E;
  --snap-yellow-glow: rgba(246, 212, 100, 0.3);
  --snap-yellow-subtle: rgba(246, 212, 100, 0.08);
  --bg-dark: #000000;
  --card-bg: #000000;
  --card-inner: #000000;
  --card-inner-hover: #121316;
  --border-color: #222327;
  --border-focus: #F6D464;
  --text-main: #F2F2F2;
  --text-secondary: #9EA3AE;
  --text-muted: #666666;
  --danger: #ED4245;
  --danger-glow: rgba(237, 66, 69, 0.25);
  --success: #30D158;
  --success-glow: rgba(48, 209, 88, 0.25);
  --accent-cyan: #38BDF8;
}

body {
  background-color: #000000;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 14px;
  color: var(--text-main);
  position: relative;
  overflow-x: hidden;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

input {
  user-select: text;
  -webkit-user-select: text;
}

/* Ambient golden glow orbs */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.glow-top {
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  height: 380px;
  background: radial-gradient(circle, rgba(246, 212, 100, 0.22) 0%, transparent 70%);
}

.glow-bottom {
  bottom: -150px;
  right: 10%;
  width: 440px;
  height: 380px;
  background: radial-gradient(circle, rgba(255, 232, 153, 0.12) 0%, transparent 70%);
}

.app-wrapper {
  width: 100%;
  max-width: 430px;
  margin: auto;
  position: relative;
  z-index: 1;
}

/* Rotating golden conic glow border */
.app-card-glow {
  width: 100%;
  max-width: 430px;
  margin: auto;
  padding: 2px;
  border-radius: 30px;
  background: conic-gradient(
    from var(--angle),
    rgba(246, 212, 100, 0.25) 0%,
    #ffffff 1.5%,
    var(--yellow-bright) 4%,
    rgba(246, 212, 100, 0.35) 9%,
    rgba(246, 212, 100, 0.18) 100%
  );
  animation: border-spin 3.2s linear infinite;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9), 0 0 50px rgba(246, 212, 100, 0.12);
  transition: all 0.3s ease;
}

.app-card {
  width: 100%;
  background: #000000;
  border-radius: 28px;
  padding: 28px 22px 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--yellow) 50%, transparent 100%);
  opacity: 0.9;
}

/* Language Selector Bar */
.lang-bar-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 14px;
  position: relative;
  z-index: 5;
}

.lang-pill-track {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(15, 19, 29, 0.75);
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  padding: 3px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lang-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9999px;
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.lang-pill-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.05);
}

.lang-pill-btn.active {
  background: rgba(246, 212, 100, 0.15);
  color: var(--snap-yellow);
  border-color: rgba(246, 212, 100, 0.45);
  box-shadow: 0 0 14px rgba(246, 212, 100, 0.25);
  font-weight: 800;
}

.lang-flag {
  font-size: 13px;
  line-height: 1;
}

.lang-name {
  letter-spacing: 0.5px;
}

/* Stepper */
.stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
}

.step-connector {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  margin: 0 8px;
  border-radius: 2px;
}

.step-item.active {
  color: var(--snap-yellow);
}

.step-item.completed {
  color: var(--text-main);
}

.step-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--card-inner);
  border: 1.5px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  transition: all 0.25s ease;
}

.step-item.active .step-dot {
  background: var(--snap-yellow);
  color: #000;
  border-color: var(--snap-yellow);
  box-shadow: 0 0 12px var(--snap-yellow-glow);
}

.step-item.completed .step-dot {
  background: rgba(48, 209, 88, 0.2);
  color: var(--success);
  border-color: var(--success);
}

/* Brand Header */
.brand-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.brand-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: transparent;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5), 0 0 16px rgba(246, 212, 100, 0.28);
  padding: 0;
  transition: transform 0.25s ease;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.brand-title {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.3px;
  line-height: 1.2;
  background: linear-gradient(135deg, #ffffff 30%, var(--yellow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-title span {
  background: linear-gradient(135deg, var(--yellow-bright) 0%, var(--yellow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 10px rgba(246, 212, 100, 0.3));
}

.brand-sub {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
}

.status-pill {
  background: var(--snap-yellow-subtle);
  border: 1px solid rgba(246, 212, 100, 0.35);
  color: var(--snap-yellow);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 0 12px rgba(246, 212, 100, 0.12);
}

.status-pill-secure {
  background: rgba(48, 209, 88, 0.08);
  border-color: rgba(48, 209, 88, 0.3);
  color: var(--success);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--snap-yellow);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--snap-yellow);
  animation: pulse 1.6s infinite ease-in-out;
}

.pulse-dot-red {
  width: 7px;
  height: 7px;
  background: var(--danger);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--danger);
  animation: pulseRed 1.5s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

@keyframes pulseRed {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(1.35); }
}

/* Feature Card */
.feature-card {
  background: #08090c;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 15px 16px;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}

.feature-title {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.feature-sub {
  font-size: 11.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Form Fields */
.field-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.field-badge {
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

.field-badge-accent {
  background: rgba(246, 212, 100, 0.12);
  color: var(--snap-yellow);
  border: 1px solid rgba(246, 212, 100, 0.25);
}

.username-box,
.phone-box {
  background: #000000;
  border: 1.5px solid var(--border-color);
  border-radius: 15px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  height: 50px;
  transition: all 0.26s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.username-box:hover,
.phone-box:hover {
  border-color: rgba(246, 212, 100, 0.4);
  box-shadow: 0 0 16px rgba(246, 212, 100, 0.12);
  transform: translateY(-1px);
}

.username-box:focus-within,
.phone-box:focus-within {
  border-color: var(--border-focus);
  background: #000000;
  box-shadow: 0 0 0 3px var(--yellow-glow), 0 0 20px rgba(246, 212, 100, 0.2);
  transform: translateY(-2px);
}

.username-box i {
  color: var(--text-muted);
  margin-right: 12px;
  font-size: 15px;
}

.username-box input,
.phone-box input {
  background: transparent;
  border: none;
  width: 100%;
  height: 100%;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  outline: none;
}

.username-box input::placeholder,
.phone-box input::placeholder {
  color: var(--text-muted);
  font-weight: 500;
}

.country-code-pill {
  font-weight: 800;
  color: var(--snap-yellow);
  font-size: 15px;
  padding-right: 12px;
  margin-right: 12px;
  border-right: 1.5px solid rgba(255, 255, 255, 0.1);
  letter-spacing: 0.3px;
}

/* Grid & Buttons */
.grid-options {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.country-grid {
  grid-template-columns: 1fr 1fr;
}

.operator-grid {
  grid-template-columns: repeat(2, 1fr);
}

.operator-grid .op-card-btn:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-content: center;
}

.custom-option-btn {
  background: #000000;
  border: 1.5px solid var(--border-color);
  border-radius: 16px;
  padding: 10px 14px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.26s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* Dynamic Spotlight Glow on Hover */
.custom-option-btn::after {
  content: '';
  position: absolute;
  top: var(--mouse-y, -100px);
  left: var(--mouse-x, -100px);
  width: 130px;
  height: 130px;
  background: radial-gradient(circle, rgba(246, 212, 100, 0.25) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  border-radius: 50%;
}

.custom-option-btn:hover::after {
  opacity: 1;
}

.custom-option-btn:hover {
  background: rgba(246, 212, 100, 0.04);
  border-color: rgba(246, 212, 100, 0.45);
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 16px rgba(246, 212, 100, 0.16);
}

.custom-option-btn.selected {
  background: rgba(246, 212, 100, 0.08);
  border-color: var(--yellow);
  color: #fff;
  box-shadow: 0 0 0 3px var(--yellow-glow), 0 0 20px rgba(246, 212, 100, 0.22);
  transform: translateY(-2px) scale(1.02);
}

.country-btn {
  justify-content: space-between;
  height: 54px;
}

.country-btn .flag-icon {
  width: 28px;
  height: 20px;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
  transition: transform 0.25s ease;
}

.country-btn:hover .flag-icon {
  transform: scale(1.15) rotate(2deg);
}

.country-btn .btn-text-wrap {
  display: flex;
  flex-direction: column;
  text-align: left;
  flex: 1;
  margin-left: 10px;
}

.country-btn .btn-title {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  transition: color 0.2s ease;
}

.country-btn:hover .btn-title {
  color: var(--yellow);
}

.country-btn .btn-prefix {
  font-size: 10.5px;
  color: var(--text-muted);
  font-weight: 700;
}

.country-btn .check-indicator {
  font-size: 14px;
  color: var(--yellow);
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.country-btn.selected .check-indicator {
  opacity: 1;
  transform: scale(1);
}

/* Dedicated Operator Card Buttons with High Quality Logos */
.op-card-btn {
  height: 54px;
  padding: 8px 12px;
  background: #000000;
  border: 1.5px solid #222327;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

.op-logo-wrap {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  padding: 3px;
  transition: transform 0.26s cubic-bezier(0.16, 1, 0.3, 1), filter 0.26s ease;
}

.op-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 7px;
  display: block;
}

.op-card-btn:hover .op-logo-wrap {
  transform: scale(1.15);
  filter: drop-shadow(0 0 10px rgba(246, 212, 100, 0.45));
}

.op-name-text {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.2px;
  flex: 1;
  text-align: left;
  transition: color 0.2s ease;
}

.op-card-btn:hover .op-name-text {
  color: #FFFFFF;
}

.op-card-btn.selected .op-name-text {
  color: var(--yellow);
}

.op-check-mark {
  font-size: 12px;
  color: var(--yellow);
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.24s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.op-card-btn.selected .op-check-mark {
  opacity: 1;
  transform: scale(1);
}

/* Dynamic Click Ripple */
.click-ripple {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.45) 0%, rgba(246, 212, 100, 0.25) 50%, transparent 70%);
  pointer-events: none;
  transform: scale(0);
  animation: rippleSpread 0.55s ease-out forwards;
  z-index: 10;
}

@keyframes rippleSpread {
  to {
    transform: scale(1);
    opacity: 0;
  }
}

.operator-placeholder {
  grid-column: 1 / -1;
  font-size: 11.5px;
  color: var(--text-muted);
  text-align: center;
  padding: 14px;
  border: 1.5px dashed var(--border-color);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.carrier-chip-icon {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.hint-msg {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.error-msg {
  color: var(--danger);
  font-size: 11.5px;
  font-weight: 600;
  min-height: 18px;
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.error-msg.success-msg {
  color: var(--success) !important;
}

.error-msg.success-msg i {
  color: var(--success) !important;
}

/* Primary Action Buttons */
.main-action-btn {
  background: var(--yellow);
  border: none;
  border-radius: 16px;
  width: 100%;
  height: 54px;
  font-size: 15px;
  font-weight: 800;
  color: #000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  box-shadow: 0 4px 24px rgba(246, 212, 100, 0.25);
  transition: all 0.22s ease;
  letter-spacing: 0.2px;
}

.main-action-btn:hover:not(:disabled) {
  background: var(--yellow-dim);
  box-shadow: 0 6px 32px rgba(246, 212, 100, 0.38);
  transform: translateY(-1px);
}

.main-action-btn:active:not(:disabled) {
  transform: translateY(0);
}

.main-action-btn:disabled {
  background: #1c1c1c;
  color: #444;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.ghost-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid var(--border-color);
  color: var(--text-secondary);
  border-radius: 15px;
  height: 46px;
  width: 100%;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.ghost-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

/* Page management */
.page {
  display: none;
  flex-direction: column;
  animation: pageSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.page.active {
  display: flex;
}

@keyframes pageSlideIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* OTP Banner & Inputs */
.otp-banner {
  background: linear-gradient(145deg, #181D29 0%, #121520 100%);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.otp-banner-icon {
  width: 36px;
  height: 36px;
  background: rgba(246, 212, 100, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--snap-yellow);
  font-size: 16px;
}

.otp-banner-title {
  font-size: 12.5px;
  font-weight: 800;
  color: #fff;
}

.otp-banner-sub {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.otp-grid {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 16px 0 10px;
  width: 100%;
}

.otp-digit {
  width: 52px;
  max-width: calc((100% - 36px) / 6);
  height: 60px;
  background: rgba(0, 0, 0, 0.6);
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  color: var(--yellow);
  caret-color: var(--yellow);
  outline: none;
  transition: border-color .2s, box-shadow .2s, transform .15s;
}

.otp-digit:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px var(--yellow-glow), 0 0 20px rgba(246, 212, 100, 0.15);
  transform: scale(1.04);
}

.otp-digit.filled {
  border-color: rgba(246, 212, 100, 0.5);
  background: rgba(246, 212, 100, 0.06);
}

.timer-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.countdown-val {
  font-weight: 800;
  color: var(--snap-yellow);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

/* Success Page */
.success-wrap {
  text-align: center;
  padding: 12px 0 8px;
}

.success-icon-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-icon-glow {
  position: absolute;
  inset: -6px;
  background: radial-gradient(circle, rgba(48, 209, 88, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulseSuccess 2s infinite ease-in-out;
}

.success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(48, 209, 88, 0.15);
  border: 2px solid var(--success);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  position: relative;
  z-index: 1;
}

@keyframes pulseSuccess {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 0.9; }
}

.receipt-card {
  background: var(--card-inner);
  border-radius: 18px;
  padding: 16px 18px;
  border: 1px solid var(--border-color);
  margin: 14px 0;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.receipt-row:last-child {
  border-bottom: none;
}

.receipt-row .label {
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.receipt-row .label i {
  color: var(--text-muted);
  font-size: 13px;
}

.receipt-row .value {
  font-weight: 700;
  color: #fff;
}

.gold-val {
  color: var(--snap-yellow) !important;
}

.green-val {
  color: var(--success) !important;
}

/* ============================================
   RESTRICTED & VPN SCREENS
   ============================================ */

.restricted-wrap {
  text-align: center;
  padding: 8px 4px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.shield-badge-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 8px auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-badge-glow {
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle, rgba(255, 59, 48, 0.35) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulseRed 2s infinite ease-in-out;
}

.shield-badge-icon {
  width: 68px;
  height: 68px;
  border-radius: 22px;
  background: rgba(255, 59, 48, 0.12);
  border: 2px solid rgba(255, 59, 48, 0.4);
  color: var(--danger);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  position: relative;
  z-index: 1;
}

.vpn-alert .vpn-glow {
  background: radial-gradient(circle, rgba(245, 158, 11, 0.35) 0%, transparent 70%);
}

.vpn-alert .vpn-icon {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.4);
  color: #F59E0B;
}

.restricted-pill {
  background: rgba(255, 59, 48, 0.1);
  border: 1px solid rgba(255, 59, 48, 0.3);
  color: #FF6B6B;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  letter-spacing: 0.4px;
}

.vpn-pill {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
  color: #FBBF24;
}

.restricted-title {
  font-size: 21px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.4px;
  margin-bottom: 8px;
}

.restricted-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 18px;
  max-width: 350px;
}

.geo-status-card {
  width: 100%;
  background: var(--card-inner);
  border-radius: 18px;
  border: 1px solid var(--border-color);
  padding: 14px 16px;
  margin-bottom: 16px;
  text-align: left;
}

.geo-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  font-size: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.geo-status-row:last-child {
  border-bottom: none;
}

.geo-label {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
}

.geo-val {
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 5px;
}

.geo-val-denied {
  color: var(--danger);
  font-weight: 800;
}

.supported-regions-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 12px 14px;
  text-align: left;
}

.supported-title {
  font-size: 11.5px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.carrier-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.carrier-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 4px 9px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.carrier-tag img {
  width: 14px;
  height: 10px;
  border-radius: 2px;
  object-fit: cover;
}

.vpn-steps-card {
  width: 100%;
  background: var(--card-inner);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  padding: 14px 16px;
  text-align: left;
}

.vpn-step {
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.vpn-step:last-child {
  border-bottom: none;
}

.vpn-step i {
  color: #F59E0B;
  font-size: 14px;
}

/* ============================================
   LOADING OVERLAY & RADAR
   ============================================ */

#loadingOverlay {
  display: none !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 14px;
  min-height: 300px;
  text-align: center;
}

#loadingOverlay.active {
  display: flex !important;
}

.radar-spinner {
  position: relative;
  width: 76px;
  height: 76px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-pulse {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--snap-yellow);
  opacity: 0.3;
  animation: radarPing 1.8s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.radar-core {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #0E121D;
  border: 2.5px solid var(--snap-yellow);
  box-shadow: 0 0 20px var(--snap-yellow-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  animation: radarRotate 4s linear infinite;
  overflow: hidden;
}

.radar-core img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: radarCounterRotate 4s linear infinite;
}

@keyframes radarPing {
  0% { transform: scale(0.85); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

@keyframes radarRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes radarCounterRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}

.loading-text {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.2px;
}

.loading-sub {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-top: 6px;
  max-width: 300px;
  line-height: 1.45;
}

.session-id {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 16px;
  padding: 6px 14px;
  background: var(--card-inner);
  border-radius: 10px;
  border: 1px solid var(--border-color);
  letter-spacing: 0.3px;
}

.footer-credits {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-weight: 600;
}

/* ============================================
   ULTRA-LUXURY GOLDEN MODAL (Snap+ VIP Theme)
   ============================================ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(246, 212, 100, 0.12) 0%, rgba(0, 0, 0, 0.88) 75%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card-glow {
  width: 100%;
  max-width: 380px;
  padding: 2px;
  border-radius: 30px;
  background: conic-gradient(
    from var(--angle),
    rgba(246, 212, 100, 0.35) 0%,
    #ffffff 1.5%,
    var(--yellow-bright) 4%,
    rgba(246, 212, 100, 0.5) 9%,
    rgba(246, 212, 100, 0.22) 100%
  );
  animation: border-spin 3s linear infinite;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), 0 0 50px rgba(246, 212, 100, 0.2);
  transform: scale(0.9) translateY(16px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-card-glow.modal--error {
  background: conic-gradient(
    from var(--angle),
    rgba(237, 66, 69, 0.45) 0%,
    #ffffff 1.5%,
    #ff9e9e 4%,
    rgba(246, 212, 100, 0.45) 12%,
    rgba(237, 66, 69, 0.3) 100%
  );
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), 0 0 50px rgba(237, 66, 69, 0.25);
}

.modal-overlay.active .modal-card-glow {
  transform: scale(1) translateY(0);
}

.modal-box {
  background: linear-gradient(165deg, #0d0f14 0%, #050608 100%);
  border-radius: 28px;
  padding: 34px 26px 26px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

.modal-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(246, 212, 100, 0.6), transparent);
}

.modal-icon-wrap {
  position: relative;
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-icon-glow {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237, 66, 69, 0.3) 0%, transparent 70%);
  filter: blur(10px);
  animation: pulse-glow 2.5s infinite ease-in-out;
}

.modal-icon-glow.success {
  background: radial-gradient(circle, rgba(48, 209, 88, 0.3) 0%, transparent 70%);
}

.modal-icon-glow.info {
  background: radial-gradient(circle, rgba(246, 212, 100, 0.35) 0%, transparent 70%);
}

.modal-icon {
  width: 68px;
  height: 68px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(237, 66, 69, 0.22) 0%, rgba(20, 22, 28, 0.85) 100%);
  border: 1.5px solid rgba(237, 66, 69, 0.55);
  color: #ED4245;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 10px 25px rgba(237, 66, 69, 0.25), inset 0 0 14px rgba(237, 66, 69, 0.18);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.modal-icon.success {
  background: linear-gradient(145deg, rgba(48, 209, 88, 0.22) 0%, rgba(20, 22, 28, 0.85) 100%);
  border-color: rgba(48, 209, 88, 0.55);
  color: #30D158;
  box-shadow: 0 10px 25px rgba(48, 209, 88, 0.25), inset 0 0 14px rgba(48, 209, 88, 0.18);
}

.modal-icon.info {
  background: linear-gradient(145deg, rgba(246, 212, 100, 0.25) 0%, rgba(20, 22, 28, 0.85) 100%);
  border-color: rgba(246, 212, 100, 0.65);
  color: #F6D464;
  box-shadow: 0 10px 25px rgba(246, 212, 100, 0.25), inset 0 0 14px rgba(246, 212, 100, 0.18);
}

.modal-title {
  font-size: 21px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 10px;
  letter-spacing: -0.4px;
  background: linear-gradient(180deg, #FFFFFF 40%, #FFE899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal-message {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 26px;
  padding: 0 6px;
}

.modal-btn {
  background: linear-gradient(135deg, #FFE899 0%, #F6D464 45%, #E2BC3E 100%);
  border: none;
  border-radius: 16px;
  width: 100%;
  height: 52px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #000000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 26px rgba(246, 212, 100, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(246, 212, 100, 0.55);
  filter: brightness(1.04);
}

.modal-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 18px rgba(246, 212, 100, 0.3);
}

.modal-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: rotate(25deg);
  animation: modal-shimmer 3.2s infinite ease-in-out;
}

@keyframes modal-shimmer {
  0% { left: -60%; }
  35%, 100% { left: 140%; }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.shake-anim {
  animation: shake 0.45s ease-in-out !important;
}