/* Quick Verification Gate - UI Theme */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg-main: #070a12;
  --card-bg: #0c1220;
  --card-border: #f59e0b;
  --primary-accent: #f59e0b;
  --primary-hover: #fbbf24;
  --btn-dark: #151d30;
  --btn-dark-hover: #1c2740;
  --btn-border: #1e2b46;
  --text-white: #ffffff;
  --text-muted: #8b9bb4;
  --badge-bg: #071f1e;
  --badge-border: #0d423c;
  --badge-text: #10b981;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 50% 15%, rgba(245, 158, 11, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 50% 85%, rgba(239, 68, 68, 0.03) 0%, transparent 60%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 14px;
  color: var(--text-white);
  user-select: none;
}

.verification-wrapper {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

/* Main Outer Card */
.verification-card {
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 28px;
  padding: 34px 22px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 
    0 0 25px rgba(245, 158, 11, 0.12),
    0 20px 40px rgba(0, 0, 0, 0.6);
  position: relative;
  transition: all 0.3s ease;
}

/* Red Glow Question Icon */
.question-icon-wrapper {
  position: relative;
  margin-bottom: 22px;
}

.question-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff5252 0%, #d32f2f 65%, #8e0000 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 0 35px rgba(239, 68, 68, 0.7),
    0 0 65px rgba(239, 68, 68, 0.35),
    inset 0 2px 4px rgba(255, 255, 255, 0.4);
  position: relative;
  z-index: 2;
  animation: pulse-glow 3s infinite alternate ease-in-out;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.4);
  }
  100% {
    box-shadow: 0 0 45px rgba(239, 68, 68, 0.85), inset 0 2px 5px rgba(255, 255, 255, 0.5);
  }
}

.question-icon span {
  color: #ffffff;
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Header Titles */
.title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
  text-align: center;
}

.subtitle {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 20px;
  text-align: center;
}

/* Form Container */
#verificationForm {
  width: 100%;
}

/* Number Buttons Grid */
.number-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  width: 100%;
  margin-bottom: 20px;
}

.num-btn {
  aspect-ratio: 1 / 1;
  background: var(--btn-dark);
  border: 1px solid var(--btn-border);
  border-radius: 12px;
  color: #f1f5f9;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.num-btn:hover {
  background: var(--btn-dark-hover);
  border-color: #2e3e60;
  transform: translateY(-1px);
}

.num-btn:active {
  transform: scale(0.95);
}

/* Active Highlighted State */
.num-btn.active {
  background: var(--primary-accent);
  color: #0c1220;
  border-color: var(--primary-accent);
  box-shadow: 
    0 0 20px rgba(245, 158, 11, 0.7),
    0 0 35px rgba(245, 158, 11, 0.35);
  font-weight: 800;
  transform: scale(1.02);
}

/* Selected Choice Bar / Dropdown */
.choice-selector-box {
  width: 100%;
  background: var(--btn-dark);
  border: 1px solid var(--btn-border);
  border-radius: 14px;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s ease;
}

.choice-selector-box:hover {
  border-color: #2e3e60;
}

.choice-label {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
}

.choice-value-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-accent);
  font-size: 16px;
  font-weight: 700;
}

.choice-value-wrap svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

/* Hidden native select for accessibility & form sync */
.native-select {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

/* Submit Answer Button */
.btn-submit {
  width: 100%;
  background: linear-gradient(180deg, #fba919 0%, #ea8f0b 100%);
  border: none;
  border-radius: 14px;
  padding: 16px 20px;
  color: #090e18;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 
    0 5px 22px rgba(245, 158, 11, 0.42),
    inset 0 1px 1px rgba(255, 255, 255, 0.3);
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-submit:hover {
  background: linear-gradient(180deg, #ffb326 0%, #f59a0f 100%);
  box-shadow: 
    0 7px 28px rgba(245, 158, 11, 0.6),
    inset 0 1px 1px rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn-submit:active {
  transform: translateY(1px);
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
}

.btn-submit svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.btn-submit:hover svg {
  transform: translateX(3px);
}

.btn-submit:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}

/* Spinner for submit */
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 3px solid rgba(0, 0, 0, 0.25);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* Inactive Link Card Notice */
.inactive-notice {
  text-align: center;
  padding: 40px 20px;
}
.inactive-notice h2 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #ef4444;
}
.inactive-notice p {
  color: var(--text-muted);
  font-size: 14px;
}
