:root {
  --wm-blue: #0071ce;
  --wm-blue-hover: #005ea6;
  --wm-yellow: #ffc220;
  --wm-yellow-hover: #eab015;
  --wm-dark: #ffffff; /* Headings in white */
  --wm-bg: #004b8d; /* Brighter rich blue background */
  --card-bg: #0060ad; /* Brighter, vibrant blue for cards */
  --text-main: #ffffff; /* White text */
  --text-muted: #dbeafe; /* Brighter muted light blue text */
  --border-color: rgba(255, 255, 255, 0.2); /* Semi-transparent border */
  --success: #4ade80; /* Bright green */
  --error: #f87171; /* Bright red */
  --font-wm: 'Outfit', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  font-family: var(--font-wm);
  background-color: var(--wm-bg);
  color: var(--text-main);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

/* Top Banner */
.wm-top-banner {
  background-color: #00366b; /* Lighter than before, but dark enough to contrast */
  color: #ffffff;
  font-size: 13px;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.wm-top-banner a {
  color: #ffffff;
  text-decoration: underline;
}

/* Header */
.wm-header {
  background-color: var(--wm-blue);
  color: white;
  padding: 20px;
  border-bottom: 4px solid var(--wm-yellow);
}
.wm-header-inner {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wm-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.wm-logo-icon {
  font-size: 36px;
  color: var(--wm-yellow);
}
.wm-header-title {
  display: flex;
  flex-direction: column;
}
.wm-title-main {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.wm-title-sub {
  font-size: 13px;
  color: #e6f1f9;
  font-weight: 500;
  margin-top: 2px;
}

/* Main Container */
.wm-main {
  max-width: 700px;
  margin: 30px auto;
  padding: 0 15px;
}
.wm-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  margin-bottom: 30px;
}

/* Hero Section */
.wm-hero {
  padding: 30px 30px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  background: transparent;
}
.wm-badge {
  display: inline-block;
  background: rgba(255, 194, 32, 0.15);
  color: var(--wm-yellow);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 194, 32, 0.3);
}
.wm-hero h2 {
  margin: 0 0 16px;
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}
.wm-hero h2 span {
  color: var(--wm-yellow);
}
.wm-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}
.wm-tags span {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.wm-tags span i {
  color: var(--wm-yellow);
}

/* CSS Gift Card */
.wm-gift-card {
  /* Darker blue to contrast with the bright card background */
  color: #ffffff;
  border-radius: 16px;
  padding: 24px 30px;
  margin: 0 auto 28px;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1.58 / 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25), inset 0 2px 0 rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}
.wm-gift-card::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 50%;
  height: 160%;
  background: linear-gradient(90deg, rgba(255,255,255,0.0) 0%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.0) 100%);
  transform: rotate(35deg);
  pointer-events: none;
}
.wm-gift-card::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 194, 32, 0.15) 0%, rgba(255, 194, 32, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}
.wm-card-brand {
  font-family: var(--font-wm);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1;
}
.wm-card-brand .spark {
  color: var(--wm-yellow);
  font-size: 24px;
  animation: spin-spark 12s linear infinite;
}
.wm-card-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 1;
}
.wm-card-label {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: -2px;
}
.wm-card-value {
  font-size: 64px;
  font-weight: 900;
  color: var(--wm-yellow);
  text-shadow: 0 4px 12px rgba(0,0,0,0.15);
  letter-spacing: -1.5px;
  line-height: 1.1;
}

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

.wm-steps {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
}
.wm-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  text-align: center;
  flex: 1;
}
.wm-step-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--wm-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  border: 1px solid rgba(255, 194, 32, 0.3);
}

.wm-card-body {
  padding: 30px;
}

/* Trust Bar */
.wm-trust-bar {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05); /* Brighter trust bar background */
  border-bottom: 1px solid var(--border-color);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}
.wm-trust-bar span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.wm-trust-bar i {
  color: var(--success);
}

/* Buttons */
.wm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px 24px;
  font-size: 18px;
  font-weight: 800;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-align: center;
  font-family: var(--font-wm);
  transition: all 0.2s ease;
}
.wm-btn-primary {
  background-color: var(--wm-yellow);
  color: #00366b; /* Adjusted button text color to fit */
  box-shadow: 0 4px 16px rgba(255, 194, 32, 0.25);
}
.wm-btn-primary:hover {
  background-color: var(--wm-yellow-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 194, 32, 0.4);
}
.wm-btn-primary:active {
  transform: scale(0.98);
}
.wm-btn:disabled {
  background-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.5);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

/* Quiz Section */
.wm-progress-header {
  padding: 24px 30px 12px;
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
}
.wm-progress-bar {
  margin: 0 30px 24px;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  overflow: hidden;
}
.wm-progress-fill {
  height: 100%;
  background-color: var(--wm-yellow);
  transition: width 0.4s ease;
}
.wm-question-area {
  padding: 0 30px 30px;
}
.wm-question-slide {
  display: none;
}
.wm-question-slide.active {
  display: block;
  animation: fadeIn 0.4s ease-out;
}
.wm-q-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.wm-q-text {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  margin: 0 0 10px;
  line-height: 1.3;
}
.wm-q-helper {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0 0 24px;
}
.wm-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wm-option-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.wm-option-btn:hover {
  border-color: var(--wm-yellow);
  background: rgba(255, 255, 255, 0.12);
}
.wm-option-btn.selected {
  border-color: var(--success);
  background: rgba(74, 222, 128, 0.15);
}
.wm-option-btn .wm-opt-icon {
  font-size: 22px;
  color: var(--wm-yellow);
  width: 26px;
  text-align: center;
}
.wm-option-btn.selected .wm-opt-icon {
  color: var(--success);
}

/* Checking Screen */
.wm-checking {
  padding: 50px 30px;
  text-align: center;
}
.wm-spinner {
  font-size: 48px;
  color: var(--wm-yellow);
  margin-bottom: 20px;
}
.wm-checking h3 {
  font-size: 24px;
  margin: 0 0 12px;
  color: var(--text-main);
}
.wm-check-list {
  list-style: none;
  padding: 0;
  margin: 30px auto 0;
  max-width: 380px;
  text-align: left;
}
.wm-check-list li {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

/* Email Screen */
.wm-email-screen {
  padding: 40px 30px;
}
.wm-success-icon {
  font-size: 64px;
  color: var(--success);
  text-align: center;
  margin-bottom: 20px;
}
.wm-email-screen h3 {
  text-align: center;
  font-size: 28px;
  color: var(--text-main);
  margin: 0 0 12px;
}
.wm-email-screen p {
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 24px;
  color: var(--text-muted);
}
.wm-reward-box {
  background: rgba(255, 194, 32, 0.15);
  border: 1px solid rgba(255, 194, 32, 0.4);
  padding: 18px;
  border-radius: 12px;
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--wm-yellow);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.wm-form-group {
  margin-bottom: 24px;
  text-align: left;
}
.wm-form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 16px;
  color: var(--text-main);
}
.wm-input {
  width: 100%;
  padding: 16px 18px;
  font-size: 17px;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  outline: none;
  font-family: var(--font-wm);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.wm-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}
.wm-input:focus {
  border-color: var(--wm-yellow);
  box-shadow: 0 0 0 3px rgba(255, 194, 32, 0.3);
  background: rgba(255, 255, 255, 0.15);
}
.wm-input.error {
  border-color: var(--error);
  background-color: rgba(248, 113, 113, 0.15);
}
.wm-error-msg {
  display: none;
  color: var(--error);
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
}
.wm-error-msg.show {
  display: block;
}

/* Toast */
.wm-toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: #00366b;
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.wm-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.wm-toast i {
  color: var(--success);
}

/* Footer */
.wm-footer {
  text-align: center;
  padding: 20px 20px 40px;
  color: var(--text-muted);
  font-size: 14px;
  max-width: 700px;
  margin: 0 auto;
}
.wm-footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 12px;
}
.wm-footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}
.wm-footer-links a:hover {
  color: var(--wm-yellow);
}

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

@media (max-width: 600px) {
  .wm-hero h2 { font-size: 28px; }
  .wm-card-body, .wm-question-area, .wm-checking, .wm-email-screen {
    padding: 24px 20px;
  }
  .wm-steps { gap: 10px; }
  .wm-step-item { font-size: 12px; }
  .wm-step-icon { width: 36px; height: 36px; font-size: 16px; }
  .wm-trust-bar { flex-direction: column; align-items: center; gap: 12px; }
  .wm-q-text { font-size: 21px; }
  
  /* Gift Card Mobile Adjustments */
  .wm-gift-card {
    padding: 20px 24px;
    height: 190px;
    aspect-ratio: auto;
    margin-bottom: 24px;
  }
  .wm-card-brand { font-size: 28px; }
  .wm-card-brand .spark { font-size: 20px; }
  .wm-card-value { font-size: 52px; }
}
