﻿/* ==========================================================================
   GetWalletBoost.com — Production Cyber Stylesheet
   ========================================================================== */

/* --- Custom Properties & Theme Variables --- */
:root {
  --bg-deep: #050811;
  --bg-surface: rgba(6, 14, 30, 0.75);
  --bg-surface-hover: rgba(8, 20, 42, 0.85);
  
  --neon-green: #00ff88;
  --neon-green-glow: rgba(0, 255, 136, 0.6);
  --neon-green-subtle: rgba(0, 255, 136, 0.18);
  --neon-cyan: #00f0ff;
  --neon-cyan-glow: rgba(0, 240, 255, 0.45);
  --neon-purple: #a855f7;
  --neon-purple-glow: rgba(168, 85, 247, 0.35);
  --gold-accent: #fbbf24;
  
  --text-white: #ffffff;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-dark-btn: #021208;
  
  --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-secondary: 'Plus Jakarta Sans', sans-serif;
  
  --radius-full: 9999px;
  --radius-card: 14px;
  --radius-sm: 8px;
  
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s var(--transition-smooth);
  --transition-normal: 0.3s var(--transition-smooth);
}

/* --- Global Reset & Box Sizing --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-family: var(--font-primary);
  background-color: var(--bg-deep);
  color: var(--text-white);
  height: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  overflow-x: hidden;
  background-color: var(--bg-deep);
  position: relative;
  display: flex;
  flex-direction: column;
}

/* --- Accessible Screen Reader Only Utility --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ==========================================================================
   Hero Media Wrapper & Art Direction
   ========================================================================== */
.hero-media-wrapper {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: #050811;
}

/* Responsive Art-Directed Background Image */
.hero-picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transform: scale(1.02);
  transition: transform 0.8s ease-out;
}

/* Optional Hero Video Layer */
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.6s ease-in-out;
  display: none; /* activated dynamically via JS if video loads */
}

.hero-bg-video.is-active {
  display: block;
  opacity: 1;
}

/* Cyberpunk Lighting Vignettes & Gradients */
.cyber-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: 
    linear-gradient(180deg, rgba(5, 8, 17, 0.85) 0%, rgba(5, 8, 17, 0.3) 25%, rgba(5, 8, 17, 0.15) 50%, rgba(5, 8, 17, 0.5) 75%, rgba(5, 8, 17, 0.95) 100%),
    radial-gradient(ellipse at 50% 50%, rgba(0, 255, 136, 0.08) 0%, transparent 65%),
    radial-gradient(ellipse at 50% 20%, rgba(0, 240, 255, 0.06) 0%, transparent 50%);
}

/* Ambient Pulsing Glow Orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 2;
  opacity: 0.45;
  animation: ambientFloat 8s ease-in-out infinite alternate;
}

.glow-orb-top {
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 200px;
  background: radial-gradient(circle, var(--neon-cyan) 0%, transparent 70%);
}

.glow-orb-bottom {
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 450px;
  height: 250px;
  background: radial-gradient(circle, var(--neon-green) 0%, transparent 70%);
  animation-delay: -4s;
}

/* Canvas Particles */
.particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

/* ==========================================================================
   Main Viewport Page Container
   ========================================================================== */
.page-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1100px;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: clamp(0.75rem, 2.5vh, 1.75rem) clamp(1rem, 3.5vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

/* ==========================================================================
   Site Header & Brand Logo
   ========================================================================== */
.site-header {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.25rem 0 0.5rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform var(--transition-fast);
}

.brand-link:hover {
  transform: scale(1.03);
}

.brand-logo {
  width: clamp(140px, 22vw, 210px);
  height: auto;
  max-height: 90px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(0, 255, 136, 0.45)) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.7));
  transition: filter var(--transition-normal);
}

.brand-link:hover .brand-logo {
  filter: drop-shadow(0 0 24px rgba(0, 255, 136, 0.7)) drop-shadow(0 0 35px rgba(0, 240, 255, 0.4));
}

/* ==========================================================================
   Main Content Area & Headline
   ========================================================================== */
.main-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
}

.headline-block {
  text-align: center;
  margin-bottom: clamp(0.5rem, 1.5vh, 1.25rem);
  max-width: 800px;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  font-family: var(--font-primary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.12;
}

.title-line {
  display: block;
}

.title-white {
  font-size: clamp(1.4rem, 4vw, 2.75rem);
  font-weight: 900;
  color: var(--text-white);
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.9),
    0 0 25px rgba(255, 255, 255, 0.35);
}

.title-neon {
  font-size: clamp(1.5rem, 4.4vw, 3.1rem);
  font-weight: 900;
  background: linear-gradient(135deg, #00f0ff 0%, #00ff88 55%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: 
    drop-shadow(0 0 16px rgba(0, 255, 136, 0.75)) 
    drop-shadow(0 0 32px rgba(0, 240, 255, 0.35));
}

.hero-subtitle {
  font-family: var(--font-primary);
  font-size: clamp(0.82rem, 1.5vw, 1.05rem);
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: clamp(0.35rem, 1vh, 0.75rem);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.text-highlight {
  color: var(--neon-green);
  font-weight: 700;
  text-shadow: 0 0 12px rgba(0, 255, 136, 0.6);
}

/* Spacer for chest visual center */
.chest-focal-zone {
  flex: 1 1 auto;
  min-height: clamp(60px, 16vh, 220px);
  width: 100%;
  pointer-events: none;
}

/* ==========================================================================
   Interaction Zone & Invitation Code Form
   ========================================================================== */
.interaction-zone {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  position: relative;
  z-index: 20;
}

.boost-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Glassmorphic Input Wrapper */
.input-wrapper {
  position: relative;
  width: 100%;
  height: clamp(52px, 6.5vh, 60px);
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(0, 255, 136, 0.35);
  box-shadow: 
    0 0 24px rgba(0, 255, 136, 0.12),
    0 8px 32px rgba(0, 0, 0, 0.5),
    inset 0 1px 2px rgba(255, 255, 255, 0.12);
  transition: 
    border-color var(--transition-normal), 
    box-shadow var(--transition-normal), 
    transform var(--transition-normal),
    background var(--transition-normal);
}

.input-wrapper:hover {
  border-color: rgba(0, 255, 136, 0.6);
  background: var(--bg-surface-hover);
}

.input-wrapper:focus-within {
  border-color: var(--neon-green);
  box-shadow: 
    0 0 35px rgba(0, 255, 136, 0.45),
    0 0 70px rgba(0, 240, 255, 0.25),
    0 12px 36px rgba(0, 0, 0, 0.6),
    inset 0 0 14px rgba(0, 255, 136, 0.18);
  transform: translateY(-1px);
}

/* Error State on Input Wrapper */
.input-wrapper.input-error {
  border-color: #f43f5e !important;
  box-shadow: 
    0 0 30px rgba(244, 63, 94, 0.5),
    0 8px 30px rgba(0, 0, 0, 0.6),
    inset 0 0 12px rgba(244, 63, 94, 0.2) !important;
  animation: shake 0.4s var(--transition-smooth) both;
}

.input-icon-left {
  padding-left: 1.25rem;
  padding-right: 0.5rem;
  color: var(--neon-green);
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.7));
  transition: color var(--transition-fast), filter var(--transition-fast);
}

.input-wrapper.input-error .input-icon-left {
  color: #f43f5e;
  filter: drop-shadow(0 0 8px rgba(244, 63, 94, 0.7));
}

.code-input {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  padding-right: 1.5rem;
  font-family: var(--font-primary);
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.code-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
  letter-spacing: 0.1em;
  font-size: clamp(0.78rem, 1.5vw, 0.92rem);
  text-transform: uppercase;
  transition: opacity var(--transition-fast);
}

.code-input:focus::placeholder {
  opacity: 0.3;
}

/* Inline Feedback Banner */
.form-feedback {
  width: 100%;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-6px);
  transition: max-height 0.3s ease, opacity 0.3s ease, transform 0.3s ease, margin 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  color: #fecdd3;
  background: rgba(244, 63, 94, 0.14);
  border: 1px solid rgba(244, 63, 94, 0.35);
  border-radius: var(--radius-sm);
  padding: 0 0.85rem;
  margin-top: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.form-feedback.show {
  max-height: 48px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 0.55rem;
  padding: 0.45rem 0.85rem;
}

.feedback-icon {
  display: flex;
  align-items: center;
  color: #fb7185;
}

/* Neon Green CTA Button */
.btn-boost {
  width: 100%;
  height: clamp(52px, 6.5vh, 60px);
  margin-top: clamp(0.6rem, 1.2vh, 0.85rem);
  background: linear-gradient(90deg, #00f088 0%, #00f5b8 50%, #00e575 100%);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  position: relative;
  outline: none;
  padding: 0 1.5rem;
  box-shadow: 
    0 0 35px rgba(0, 255, 136, 0.65),
    0 6px 24px rgba(0, 0, 0, 0.6),
    inset 0 1px 2px rgba(255, 255, 255, 0.65);
  transition: 
    transform var(--transition-fast), 
    box-shadow var(--transition-fast), 
    filter var(--transition-fast);
}

.btn-boost:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 0 50px rgba(0, 255, 136, 0.85),
    0 0 80px rgba(0, 240, 255, 0.4),
    0 10px 30px rgba(0, 0, 0, 0.7),
    inset 0 1px 3px rgba(255, 255, 255, 0.8);
  filter: brightness(1.06);
}

.btn-boost:active {
  transform: translateY(1px) scale(0.985);
  box-shadow: 
    0 0 25px rgba(0, 255, 136, 0.5),
    0 4px 15px rgba(0, 0, 0, 0.5);
}

.btn-boost:focus-visible {
  outline: 3px solid var(--neon-cyan);
  outline-offset: 3px;
}

.btn-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-primary);
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 900;
  color: var(--text-dark-btn);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn-arrow {
  font-size: 1.25em;
  line-height: 1;
  transition: transform var(--transition-fast);
}

.btn-boost:hover .btn-arrow {
  transform: translateX(4px);
}

/* Loading State on CTA Button */
.btn-boost.is-loading {
  pointer-events: none;
  opacity: 0.9;
  filter: brightness(1.1);
}

.btn-boost.is-loading .btn-text::after {
  content: '...';
  display: inline-block;
  animation: dots 1.2s infinite;
}

/* ==========================================================================
   Trust / Benefit Row & Footer
   ========================================================================== */
.site-footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: clamp(0.75rem, 1.8vh, 1.5rem);
}

.trust-row {
  width: 100%;
  max-width: 820px;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: clamp(0.5rem, 1.5vw, 1.25rem);
}

.trust-item {
  flex: 1 1 0;
  min-width: 0;
  background: rgba(6, 14, 30, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 255, 136, 0.18);
  border-radius: var(--radius-card);
  padding: clamp(0.55rem, 1vh, 0.85rem) clamp(0.6rem, 1.2vw, 1rem);
  display: flex;
  align-items: center;
  gap: clamp(0.45rem, 1vw, 0.75rem);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: 
    border-color var(--transition-fast), 
    transform var(--transition-fast),
    background var(--transition-fast);
}

.trust-item:hover {
  border-color: rgba(0, 255, 136, 0.45);
  background: rgba(8, 20, 42, 0.8);
  transform: translateY(-2px);
}

.trust-icon-box {
  flex-shrink: 0;
  width: clamp(32px, 3.5vw, 40px);
  height: clamp(32px, 3.5vw, 40px);
  border-radius: 50%;
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-green);
  filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.5));
}

.trust-icon-box svg {
  width: clamp(16px, 2vw, 20px);
  height: clamp(16px, 2vw, 20px);
}

.trust-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.trust-title {
  font-family: var(--font-primary);
  font-size: clamp(0.74rem, 1.1vw, 0.88rem);
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trust-desc {
  font-family: var(--font-secondary);
  font-size: clamp(0.66rem, 0.95vw, 0.76rem);
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.legal-notice {
  margin-top: clamp(0.4rem, 1vh, 0.85rem);
  text-align: center;
  max-width: 650px;
}

.legal-notice p {
  font-family: var(--font-secondary);
  font-size: clamp(0.6rem, 0.8vw, 0.68rem);
  color: rgba(148, 163, 184, 0.45);
  line-height: 1.4;
}

/* ==========================================================================
   Animations & Keyframes
   ========================================================================== */
.animate-fade-in {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeInUp 0.7s var(--transition-smooth) forwards;
  animation-delay: var(--delay, 0s);
}

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

@keyframes ambientFloat {
  0% {
    transform: translateX(-50%) translateY(0) scale(1);
  }
  100% {
    transform: translateX(-48%) translateY(-15px) scale(1.08);
  }
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  20%, 60% {
    transform: translateX(-6px);
  }
  40%, 80% {
    transform: translateX(6px);
  }
}

@keyframes dots {
  0%, 20% {
    content: '.';
  }
  40% {
    content: '..';
  }
  60%, 100% {
    content: '...';
  }
}

/* ==========================================================================
   Dedicated Responsive Media Queries
   ========================================================================== */

/* Tablet & Smaller Screens */
@media (max-width: 768px) {
  .page-container {
    padding: 0.75rem 1rem 0.65rem;
  }
  
  .hero-bg-img,
  .hero-bg-video {
    object-position: center 25%;
  }
  
  .chest-focal-zone {
    min-height: clamp(40px, 12vh, 120px);
  }

  .trust-row {
    gap: 0.5rem;
  }

  .trust-item {
    padding: 0.5rem 0.65rem;
  }
}

/* Mobile Phones (9:16 Portrait Focus) */
@media (max-width: 540px) {
  .page-container {
    padding: max(0.5rem, env(safe-area-inset-top, 0.5rem)) max(0.85rem, env(safe-area-inset-left, 0.85rem)) max(0.5rem, env(safe-area-inset-bottom, 0.5rem)) max(0.85rem, env(safe-area-inset-right, 0.85rem));
  }

  .brand-logo {
    width: 155px;
    max-height: 75px;
  }

  .headline-block {
    margin-bottom: 0.4rem;
  }

  .hero-subtitle {
    margin-top: 0.25rem;
    font-size: 0.82rem;
  }

  .chest-focal-zone {
    min-height: clamp(30px, 10vh, 90px);
  }

  .interaction-zone {
    max-width: 100%;
  }

  .input-wrapper {
    height: 52px;
  }

  .btn-boost {
    height: 52px;
    margin-top: 0.6rem;
  }

  /* Compact Trust Row on Phones */
  .trust-row {
    flex-direction: column;
    gap: 0.4rem;
    width: 100%;
  }

  .trust-item {
    padding: 0.4rem 0.75rem;
    border-radius: 10px;
    gap: 0.65rem;
  }

  .trust-icon-box {
    width: 28px;
    height: 28px;
  }

  .trust-icon-box svg {
    width: 14px;
    height: 14px;
  }

  .trust-title {
    font-size: 0.76rem;
  }

  .trust-desc {
    font-size: 0.68rem;
  }

  .legal-notice {
    margin-top: 0.35rem;
  }
}

/* Ultra Short / Landscape Mobile Screens */
@media (max-height: 600px) {
  .page-container {
    padding: 0.5rem 1rem;
    justify-content: flex-start;
    gap: 0.5rem;
  }

  .chest-focal-zone {
    display: none;
  }

  .brand-logo {
    max-height: 45px;
    width: auto;
  }

  .title-white {
    font-size: 1.2rem;
  }

  .title-neon {
    font-size: 1.3rem;
  }

  .hero-subtitle {
    display: none;
  }

  .input-wrapper,
  .btn-boost {
    height: 44px;
  }

  .trust-row {
    display: none;
  }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  
  .animate-fade-in {
    opacity: 1 !important;
    transform: none !important;
  }
  
  .glow-orb {
    animation: none !important;
  }
  
  .particles-canvas {
    display: none !important;
  }
}
