/* ============================================
   FIELD FLEX — Global Styles
   ============================================ */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --red: #c81e1e;
  --dark-red: #8b0000;
  --black: #0f1511;
  --silver: #9a9a9a;
  --silver-light: #c0c0c0;
  --input-bg: rgba(255, 255, 255, 0.05);
  --input-border: rgba(255, 255, 255, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Oswald', sans-serif;
  background: var(--black);
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Backgrounds & Overlays
   ============================================ */

.bg-skull {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100lvh;
  z-index: 0;
  background: url('images/skull-logo.webp') center bottom / 88vmax 88vmax no-repeat;
  opacity: 0.18;
  pointer-events: none;
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
}

.bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100lvh;
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(200, 30, 30, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, rgba(15,21,17,0.7) 0%, rgba(15,21,17,0.4) 40%, rgba(15,21,17,0.7) 100%);
  pointer-events: none;
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
}

/* ============================================
   Floating Particles
   ============================================ */

.particles {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  bottom: -10px;
  border-radius: 50%;
  background: var(--red);
  animation: floatUp linear infinite;
  will-change: transform, opacity;
}

@keyframes floatUp {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.2;
  }
  100% {
    transform: translateY(-100vh) scale(0.3);
    opacity: 0;
  }
}

/* ============================================
   Page Content
   ============================================ */

.page-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 60px 24px 80px;
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================
   Brand Title
   ============================================ */

.brand-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(56px, 12vw, 96px);
  color: var(--red);
  letter-spacing: 6px;
  text-transform: uppercase;
  text-align: center;
  text-shadow:
    0 0 20px rgba(200, 30, 30, 0.5),
    0 0 60px rgba(200, 30, 30, 0.25),
    0 0 100px rgba(200, 30, 30, 0.15);
  line-height: 1;
}

.brand-title--sm {
  font-size: clamp(36px, 8vw, 52px);
  margin-bottom: 4px;
}

/* ============================================
   Brand Wordmark Image
   ============================================ */

.brand-wordmark {
  width: clamp(300px, 60vw, 600px);
  height: auto;
  display: block;
  filter: drop-shadow(0 0 20px rgba(200, 30, 30, 0.4)) drop-shadow(0 0 60px rgba(200, 30, 30, 0.15));
}

.brand-wordmark--sm {
  width: clamp(200px, 45vw, 380px);
  margin-bottom: 0;
}

/* ============================================
   Coming Soon Label
   ============================================ */

.coming-soon-label {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 10px;
  color: var(--silver);
  text-transform: uppercase;
  margin-top: 16px;
}

/* ============================================
   Countdown Timer
   ============================================ */

.countdown {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 32px;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 68px;
}

.countdown-number {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(48px, 10vw, 72px);
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown-label {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--silver);
  margin-top: 6px;
}

.countdown-colon {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(42px, 9vw, 64px);
  color: var(--red);
  line-height: 1;
  animation: pulse 1.5s ease-in-out infinite;
  margin: 0 2px;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

/* ============================================
   Red Divider
   ============================================ */

.red-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--dark-red));
  border-radius: 2px;
  margin: 36px 0 28px;
}

/* ============================================
   Tagline
   ============================================ */

.tagline {
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  font-size: 17px;
  color: var(--silver-light);
  text-align: center;
  line-height: 1.6;
  max-width: 460px;
  letter-spacing: 0.5px;
}

/* ============================================
   Inputs
   ============================================ */

.signup-form,
.form-container {
  width: 100%;
  margin-top: 36px;
}

.ff-label {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--silver);
  margin-bottom: 8px;
  margin-top: 20px;
}

.ff-label:first-child {
  margin-top: 0;
}

.required-tag {
  color: var(--red);
  font-size: 12px;
}

.optional-tag {
  color: rgba(255,255,255,0.3);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 1px;
  margin-left: 4px;
}

.ff-input {
  display: block;
  width: 100%;
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: #fff;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 6px;
  padding: 16px 18px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
  outline: none;
  letter-spacing: 0.5px;
  -webkit-appearance: none;
  appearance: none;
}

.ff-input::placeholder {
  color: rgba(255, 255, 255, 0.28);
  font-weight: 300;
}

.ff-input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200, 30, 30, 0.15), 0 0 20px rgba(200, 30, 30, 0.1);
}

.ff-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239a9a9a' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}

.ff-select option {
  background: #1a1a1a;
  color: #fff;
}

.ff-textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
}

/* ============================================
   Buttons
   ============================================ */

.btn-notify {
  display: block;
  width: 100%;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--dark-red));
  border: none;
  border-radius: 6px;
  padding: 18px 24px;
  margin-top: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-notify:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200, 30, 30, 0.35), 0 0 40px rgba(200, 30, 30, 0.15);
}

.btn-notify:active {
  transform: translateY(0);
}

.btn-affiliate {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--silver);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 18px 32px;
  margin-top: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  align-self: stretch;
}

.btn-affiliate:hover {
  color: var(--red);
  border-color: var(--red);
  box-shadow: 0 0 20px rgba(200, 30, 30, 0.15);
}

/* ============================================
   Success State
   ============================================ */

.success-state,
.aff-success {
  text-align: center;
  padding: 40px 0 20px;
}

.success-divider-top {
  width: 40px;
  height: 2px;
  background: var(--red);
  margin: 0 auto 32px;
  opacity: 0.6;
}

.success-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: #fff;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.success-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--dark-red));
  margin: 20px auto;
}

.success-sub {
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  font-size: 15px;
  color: var(--silver);
  margin-top: 12px;
  line-height: 1.5;
}

/* ============================================
   Affiliate Page Specifics
   ============================================ */

.affiliate-subtitle {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 7px;
  color: var(--red);
  text-transform: uppercase;
  margin-top: 8px;
  opacity: 0.85;
}

/* Progress Bar */
.progress-section {
  width: 100%;
  margin-top: 36px;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.progress-step-label {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--silver);
}

.progress-step-name {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--red);
  font-style: italic;
}

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

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--dark-red));
  border-radius: 3px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--red);
  box-shadow: 0 0 8px rgba(200, 30, 30, 0.5);
}

/* Form Steps */
.form-step {
  display: none;
  width: 100%;
}

.form-step.active {
  display: block;
  animation: slideInRight 0.4s ease forwards;
}

.form-step.slide-out-left {
  animation: slideOutLeft 0.35s ease forwards;
}

.form-step.slide-out-right {
  animation: slideOutRight 0.35s ease forwards;
}

.form-step.slide-in-left {
  display: block;
  animation: slideInLeft 0.4s ease forwards;
}

.form-step.slide-in-right {
  display: block;
  animation: slideInRight 0.4s ease forwards;
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideOutLeft {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(-40px); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideOutRight {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(40px); }
}

/* Form Navigation */
.form-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 28px;
  gap: 16px;
}

.btn-back {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--silver);
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px 0;
  transition: color 0.3s ease;
}

.btn-back:hover {
  color: #fff;
}

.btn-continue {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--dark-red));
  border: none;
  border-radius: 6px;
  padding: 16px 40px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-continue:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200, 30, 30, 0.35);
}

.btn-continue:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.back-home-link {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--silver);
  text-decoration: none;
  margin-top: 28px;
  transition: color 0.3s ease;
}

.back-home-link:hover {
  color: #fff;
}

.btn-back-home {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--silver);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 14px 32px;
  margin-top: 28px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-back-home:hover {
  color: var(--red);
  border-color: var(--red);
}

.aff-success {
  text-align: center;
  padding: 40px 0 20px;
}

/* ============================================
   Fade Down Animation
   ============================================ */

.anim-fade-down {
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeDown 0.6s ease forwards;
  animation-delay: var(--delay, 0s);
}

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

/* ============================================
   Mobile Responsive
   ============================================ */

@media (max-width: 600px) {
  .page-content {
    padding: 40px 20px 60px;
  }

  .countdown-unit {
    min-width: 52px;
  }

  .countdown-number {
    font-size: 44px;
  }

  .countdown-colon {
    font-size: 38px;
  }

  .form-nav {
    flex-direction: column-reverse;
    gap: 12px;
  }

  .btn-continue {
    width: 100%;
    margin-left: 0;
  }

  .btn-back {
    width: 100%;
    text-align: center;
  }
}

/* ============================================
   Scrollbar
   ============================================ */

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--black);
}

::-webkit-scrollbar-thumb {
  background: rgba(200, 30, 30, 0.3);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(200, 30, 30, 0.5);
}

/* ============================================
   Selection
   ============================================ */

::selection {
  background: rgba(200, 30, 30, 0.4);
  color: #fff;
}

/* ============================================
   Affiliate Page Layout
   ============================================ */

.affiliate-page .form-container {
  margin-top: 28px;
}

/* ============================================
   Step Philosophy Text
   ============================================ */

.step-philosophy {
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: var(--red);
  opacity: 0.7;
  font-style: italic;
  margin-bottom: 24px;
  line-height: 1.5;
  letter-spacing: 0.3px;
}

/* ============================================
   Field Hints
   ============================================ */

.field-hint {
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 10px;
  margin-top: -4px;
  letter-spacing: 0.5px;
}

/* ============================================
   File Upload
   ============================================ */

.file-upload-wrapper {
  position: relative;
  margin-bottom: 16px;
}

.file-input-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.file-upload-label {
  display: flex !important;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  margin-bottom: 0 !important;
  transition: all 0.3s ease;
}

.file-upload-label:hover {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200, 30, 30, 0.1);
}

.file-upload-label.file-selected {
  border-color: rgba(200, 30, 30, 0.4);
}

.upload-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.upload-text {
  font-weight: 300;
  color: rgba(255, 255, 255, 0.28);
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-selected .upload-text {
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   Tall Textarea (Final Question)
   ============================================ */

.ff-textarea--tall {
  min-height: 180px;
}

/* ============================================
   Success Sub Small
   ============================================ */

.success-sub--sm {
  font-size: 13px;
  opacity: 0.5;
  margin-top: 8px;
}
