/**
 * Trade Orbit - Futuristic Crypto Space Authentication UI
 * Features:
 * - Transparent Glassmorphism Card (True Translucent Glass with Backdrop Blur)
 * - Electric Neon Blue & Radiant Golden Primary/Secondary Palette
 * - Golden & Cyan Shimmer Accents
 * - Floating 3D Animated Blockchain Cubes & Crypto Coins
 * - High-definition Cosmic Space Backdrop with Animated Particle Layers
 * - Full Touch & Mobile Responsiveness
 */

:root {
  /* Cosmic Background Palette */
  --galaxy-bg-deep: #030712;
  --galaxy-bg-1: #060b24;
  --galaxy-bg-2: #09133a;
  
  /* Transparent Glassmorphic Card Background */
  --galaxy-bg-card: rgba(6, 14, 38, 0.32);
  --galaxy-card-blur: blur(18px) saturate(200%);
  --galaxy-input-blur: blur(10px);
  --card-radius: 22px;
  
  /* Primary Color: Electric Neon Blue & Cosmic Cyan */
  --primary-blue: #0088ff;
  --primary-cyan: #00d2ff;
  --primary-blue-glow: rgba(0, 136, 255, 0.65);
  --primary-cyan-glow: rgba(0, 210, 255, 0.55);
  --primary-glow-inset: rgba(0, 140, 255, 0.2);
  
  /* Secondary Color (Trade Orbit Logo Orbit Ring): Radiant Golden Amber */
  --secondary-gold: #f59e0b;
  --secondary-gold-bright: #ffd700;
  --secondary-gold-light: #fef08a;
  --secondary-gold-glow: rgba(255, 215, 0, 0.6);
  --secondary-gold-glow-soft: rgba(254, 240, 138, 0.35);
  
  /* Transparent Inputs */
  --input-bg: rgba(10, 22, 54, 0.35);
  --input-border: rgba(0, 136, 255, 0.65);
  --input-border-focus: #00d2ff;
  --input-text: #ffffff;
  --input-placeholder: rgba(160, 178, 210, 0.6);
  --input-radius: 12px;
  
  /* Typography */
  --text-white: #ffffff;
  --text-silver: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
}

/* ==================================================
   1. RESET & BASE LAYOUT
   ================================================== */

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  background-color: var(--galaxy-bg-deep) !important;
  color: var(--text-silver);
  font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}

/* Hide default browser password reveal icons */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear,
input[type="password"]::-webkit-credentials-auto-fill-button,
input[type="password"]::-webkit-contacts-auto-fill-button {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Base universe container */
.galaxy-universe {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #030712;
}

/* Deep Space High-Res Graphic Backdrop */
.galaxy-bg-backdrop {
  position: fixed;
  inset: -10px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 1;
  pointer-events: none;
  animation: cosmicBreathe 32s ease-in-out infinite alternate;
  transform-origin: center center;
  will-change: transform;
}

@keyframes cosmicBreathe {
  0% { transform: scale(1); }
  50% { transform: scale(1.04) translate(-8px, -4px); }
  100% { transform: scale(1) translate(4px, 4px); }
}

/* Clearer Translucent Overlay - lets background & earth shine through the card! */
.galaxy-bg-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(3, 7, 18, 0.12) 0%, rgba(3, 7, 18, 0.38) 65%, rgba(3, 7, 18, 0.72) 100%);
  z-index: 2;
  pointer-events: none;
}

/* Canvas Starfield & Vortex Particles */
.galaxy-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 3;
}

/* Ambient Nebula Glows */
.galaxy-nebula {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}

.galaxy-nebula-cloud {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.nebula-vortex {
  top: 10%;
  right: 5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.28) 0%, rgba(254, 240, 138, 0.16) 40%, transparent 70%);
  animation: pulseNebula 12s ease-in-out infinite alternate;
}

.nebula-earth {
  top: 20%;
  left: 5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 136, 255, 0.28) 0%, rgba(0, 210, 255, 0.15) 45%, transparent 70%);
  animation: pulseNebula 14s ease-in-out infinite alternate-reverse;
}

.nebula-ambient {
  bottom: -15%;
  left: 30%;
  width: 700px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.2) 0%, transparent 70%);
}

@keyframes pulseNebula {
  0% { opacity: 0.6; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1.08); }
}

/* Cyber Grid Horizon Glow */
.galaxy-cyber-grid {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 180px;
  background: linear-gradient(to top, rgba(0, 136, 255, 0.15), rgba(245, 158, 11, 0.05), transparent);
  pointer-events: none;
  z-index: 4;
}

/* ==================================================
   2. ANIMATED 3D FLOATING BLOCKCHAIN CUBES & COINS
   ================================================== */

.floating-crypto-elements {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
}

/* 3D Cube Base */
.crypto-cube {
  position: absolute;
  perspective: 1200px;
  pointer-events: none;
}

.cube-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: cubeRotate 24s linear infinite;
  will-change: transform;
}

.cube-face {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 102, 255, 0.18);
  border: 1.5px solid #00d2ff;
  box-shadow: 
    inset 0 0 15px rgba(0, 210, 255, 0.4),
    0 0 15px rgba(0, 136, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00f2fe;
  font-size: 1.25rem;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.cube-left-lg {
  top: 42%;
  left: 8%;
  width: 75px;
  height: 75px;
  animation: floatBob1 10s ease-in-out infinite alternate;
}
.cube-left-lg .cube-face.front  { transform: translateZ(37.5px); }
.cube-left-lg .cube-face.back   { transform: rotateY(180deg) translateZ(37.5px); }
.cube-left-lg .cube-face.right  { transform: rotateY(90deg) translateZ(37.5px); }
.cube-left-lg .cube-face.left   { transform: rotateY(-90deg) translateZ(37.5px); }
.cube-left-lg .cube-face.top    { transform: rotateX(90deg) translateZ(37.5px); }
.cube-left-lg .cube-face.bottom { transform: rotateX(-90deg) translateZ(37.5px); }
.cube-left-lg .cube-face { font-size: 1.6rem; }

.cube-left-sm {
  top: 15%;
  left: 18%;
  width: 50px;
  height: 50px;
  animation: floatBob2 12s ease-in-out infinite alternate;
}
.cube-left-sm .cube-face.front  { transform: translateZ(25px); }
.cube-left-sm .cube-face.back   { transform: rotateY(180deg) translateZ(25px); }
.cube-left-sm .cube-face.right  { transform: rotateY(90deg) translateZ(25px); }
.cube-left-sm .cube-face.left   { transform: rotateY(-90deg) translateZ(25px); }
.cube-left-sm .cube-face.top    { transform: rotateX(90deg) translateZ(25px); }
.cube-left-sm .cube-face.bottom { transform: rotateX(-90deg) translateZ(25px); }
.cube-left-sm .cube-face { font-size: 1.1rem; }

.cube-right-sm {
  bottom: 16%;
  right: 14%;
  width: 55px;
  height: 55px;
  animation: floatBob3 14s ease-in-out infinite alternate;
}
.cube-right-sm .cube-face.front  { transform: translateZ(27.5px); }
.cube-right-sm .cube-face.back   { transform: rotateY(180deg) translateZ(27.5px); }
.cube-right-sm .cube-face.right  { transform: rotateY(90deg) translateZ(27.5px); }
.cube-right-sm .cube-face.left   { transform: rotateY(-90deg) translateZ(27.5px); }
.cube-right-sm .cube-face.top    { transform: rotateX(90deg) translateZ(27.5px); }
.cube-right-sm .cube-face.bottom { transform: rotateX(-90deg) translateZ(27.5px); }

@keyframes cubeRotate {
  0%   { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
  50%  { transform: rotateX(180deg) rotateY(240deg) rotateZ(60deg); }
  100% { transform: rotateX(360deg) rotateY(360deg) rotateZ(120deg); }
}

@keyframes floatBob1 {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-30px) rotate(6deg); }
}
@keyframes floatBob2 {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-22px) rotate(-8deg); }
}
@keyframes floatBob3 {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(26px) rotate(10deg); }
}

/* Floating 3D Golden Crypto Coins */
.floating-coin {
  position: absolute;
  perspective: 800px;
  pointer-events: none;
}

.coin-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transform-style: preserve-3d;
  animation: coinSpin 16s linear infinite;
  box-shadow: 
    0 0 25px rgba(245, 158, 11, 0.5),
    0 0 45px rgba(254, 240, 138, 0.3);
}

.coin-front, .coin-back {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff176 0%, #f59e0b 55%, #b45309 100%);
  border: 2px solid #ffd700;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #78350f;
  font-weight: 800;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.6);
  backface-visibility: hidden;
}

.coin-back {
  transform: rotateY(180deg);
}

.coin-inner.eth-style .coin-front,
.coin-inner.eth-style .coin-back {
  background: radial-gradient(circle at 35% 35%, #fef08a 0%, #d97706 60%, #92400e 100%);
  color: #451a03;
}

.coin-btc-1 {
  top: 22%;
  right: 18%;
  width: 58px;
  height: 58px;
  animation: floatBob2 9s ease-in-out infinite alternate;
}
.coin-btc-1 .coin-front span, .coin-btc-1 .coin-back span { font-size: 1.8rem; }

.coin-btc-2 {
  top: 55%;
  right: 10%;
  width: 46px;
  height: 46px;
  animation: floatBob1 11s ease-in-out infinite alternate-reverse;
}
.coin-btc-2 .coin-front span, .coin-btc-2 .coin-back span { font-size: 1.4rem; }

.coin-eth-1 {
  top: 38%;
  right: 25%;
  width: 52px;
  height: 52px;
  animation: floatBob3 13s ease-in-out infinite alternate;
}
.coin-eth-1 .coin-front span, .coin-eth-1 .coin-back span { font-size: 1.7rem; }

.coin-btc-3 {
  bottom: 24%;
  right: 22%;
  width: 40px;
  height: 40px;
  animation: floatBob2 10s ease-in-out infinite alternate;
}
.coin-btc-3 .coin-front span, .coin-btc-3 .coin-back span { font-size: 1.25rem; }

@keyframes coinSpin {
  0% { transform: rotateY(0deg) rotateX(15deg); }
  50% { transform: rotateY(180deg) rotateX(15deg); }
  100% { transform: rotateY(360deg) rotateX(15deg); }
}

/* ==================================================
   3. CONTENT CONTAINER & AUTHENTICATION WRAPPER
   ================================================== */

.galaxy-content-container {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2.5rem 1.25rem;
}

.authentication-wrapper.authentication-basic {
  background: transparent !important;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: calc(100vh - 5rem);
  padding: 0;
  margin: 0;
}

.authentication-wrapper.authentication-basic .authentication-inner {
  max-width: 450px !important;
  width: 100%;
  position: relative;
  margin: auto;
}

.authentication-wrapper.authentication-basic .authentication-inner.inner-wide {
  max-width: 540px !important;
}

.authentication-wrapper.authentication-basic .authentication-inner:before,
.authentication-wrapper.authentication-basic .authentication-inner:after {
  display: none !important;
}

/* ==================================================
   4. TRANSPARENT GLASSMORPHISM CARD DESIGN
   ================================================== */

.galaxy-card {
  position: relative;
  /* True Translucent Glass - Allows background space, earth, and stars to be seen! */
  background: var(--galaxy-bg-card) !important;
  backdrop-filter: var(--galaxy-card-blur) !important;
  -webkit-backdrop-filter: var(--galaxy-card-blur) !important;
  
  /* Electric Neon Blue Glowing Border with Subtle Golden Rim Reflection */
  border: 1.8px solid var(--primary-blue) !important;
  border-radius: var(--card-radius) !important;
  box-shadow: 
    0 0 25px var(--primary-blue-glow),
    0 0 60px rgba(0, 100, 255, 0.25),
    0 0 35px rgba(245, 158, 11, 0.15),
    inset 0 0 16px var(--primary-glow-inset),
    0 25px 50px rgba(0, 0, 0, 0.7) !important;
  
  overflow: hidden;
  transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  animation: cardAppear 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.galaxy-card:hover {
  border-color: var(--primary-cyan) !important;
  box-shadow: 
    0 0 35px var(--primary-cyan-glow),
    0 0 80px rgba(0, 136, 255, 0.4),
    0 0 45px var(--secondary-gold-glow),
    inset 0 0 20px rgba(0, 210, 255, 0.25),
    0 30px 60px rgba(0, 0, 0, 0.8) !important;
}

@keyframes cardAppear {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.galaxy-card .card-body {
  padding: 2.5rem 2.2rem !important;
  position: relative;
  z-index: 2;
}

/* ==================================================
   5. LOGO & HEADER BRANDING (TRADE ORBIT)
   ================================================== */

.galaxy-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.35rem;
}

.galaxy-logo-badge {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.85) 100%);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--primary-cyan);
  box-shadow: 
    0 0 25px var(--primary-cyan-glow),
    0 0 40px var(--secondary-gold-glow),
    0 8px 20px rgba(0, 0, 0, 0.6);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
  animation: logoGlowPulse 4s ease-in-out infinite alternate;
}

.galaxy-logo-badge:hover {
  transform: scale(1.06);
  box-shadow: 
    0 0 35px var(--primary-cyan),
    0 0 65px var(--secondary-gold-bright),
    0 10px 25px rgba(0, 0, 0, 0.7);
}

.galaxy-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  display: block;
}

@keyframes logoGlowPulse {
  0% { box-shadow: 0 0 20px var(--primary-cyan-glow), 0 0 35px rgba(245, 158, 11, 0.3); }
  100% { box-shadow: 0 0 32px var(--primary-cyan), 0 0 50px var(--secondary-gold-glow); }
}

.galaxy-title {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 1.45rem !important;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

/* Brand gradient: Electric Cyan transitioning into Radiant Gold */
.galaxy-title .brand-gradient {
  background: linear-gradient(135deg, #00f2fe 0%, #38bdf8 45%, #ffd700 85%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
  font-weight: 800;
  filter: drop-shadow(0 0 12px rgba(0, 210, 255, 0.4));
}

.galaxy-subtitle {
  color: var(--text-silver) !important;
  opacity: 0.85;
  font-size: 0.92rem !important;
  line-height: 1.45;
  margin-bottom: 1.65rem !important;
}

/* ==================================================
   6. SLEEK TRANSLUCENT FORM CONTROLS & NEON INPUTS
   ================================================== */

.galaxy-form-group {
  margin-bottom: 1.15rem;
}

.galaxy-label {
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-silver) !important;
  margin-bottom: 0.45rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  white-space: nowrap !important;
}

.galaxy-label-link {
  color: var(--secondary-gold-bright) !important;
  font-size: 0.78rem !important;
  text-transform: none;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.galaxy-label-link:hover {
  color: #ffffff !important;
  text-shadow: 0 0 12px var(--secondary-gold-glow);
}

/* Transparent Glass Input Groups */
.galaxy-input-group,
.galaxy-card .input-group-merge,
.galaxy-card .input-group {
  display: flex !important;
  align-items: stretch !important;
  width: 100% !important;
  background-color: var(--input-bg) !important;
  backdrop-filter: var(--galaxy-input-blur) !important;
  -webkit-backdrop-filter: var(--galaxy-input-blur) !important;
  border: 1.5px solid var(--input-border) !important;
  border-radius: var(--input-radius) !important;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.35) !important;
  transition: all 0.25s ease !important;
  overflow: hidden !important;
  height: 48px !important;
  padding: 0 !important;
}

/* Standalone inputs */
.galaxy-card .form-control.galaxy-input {
  background-color: transparent !important;
  border: none !important;
  color: var(--input-text) !important;
  font-size: 0.94rem !important;
  padding: 0.65rem 1rem !important;
  height: 100% !important;
  line-height: normal !important;
  box-shadow: none !important;
}

.galaxy-card input.form-control.galaxy-input:not(.galaxy-input-group input):not(.input-group-merge input) {
  background-color: var(--input-bg) !important;
  backdrop-filter: var(--galaxy-input-blur) !important;
  -webkit-backdrop-filter: var(--galaxy-input-blur) !important;
  border: 1.5px solid var(--input-border) !important;
  border-radius: var(--input-radius) !important;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.35) !important;
  height: 48px !important;
}

/* Focus states with radiant cyan and subtle golden rim */
.galaxy-input-group:focus-within,
.galaxy-card .input-group-merge:focus-within,
.galaxy-card input.form-control.galaxy-input:focus {
  border-color: var(--input-border-focus) !important;
  background-color: rgba(14, 28, 68, 0.45) !important;
  box-shadow: 
    0 0 16px var(--primary-cyan-glow),
    0 0 25px rgba(245, 158, 11, 0.2),
    inset 0 2px 5px rgba(0, 0, 0, 0.25) !important;
}

.galaxy-card .form-control.galaxy-input::placeholder {
  color: var(--input-placeholder) !important;
  opacity: 1 !important;
}

/* Input Icon Addons */
.galaxy-input-addon {
  background: transparent !important;
  border: none !important;
  color: #38bdf8 !important;
  padding: 0 1rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.25rem !important;
}

.galaxy-input-addon.cursor-pointer:hover {
  color: var(--secondary-gold-bright) !important;
  text-shadow: 0 0 10px var(--secondary-gold-glow);
}

/* Checkbox */
.galaxy-checkbox-wrapper {
  display: flex;
  align-items: center;
  margin: 1.1rem 0 1.35rem 0;
}

.galaxy-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 19px;
  height: 19px;
  border: 1.5px solid var(--input-border);
  border-radius: 5px;
  background-color: var(--input-bg);
  cursor: pointer;
  position: relative;
  margin-right: 0.65rem;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.galaxy-checkbox:checked {
  background: linear-gradient(135deg, #0066ff 0%, #00d2ff 100%);
  border-color: var(--secondary-gold-bright);
  box-shadow: 0 0 10px var(--primary-cyan-glow);
}

.galaxy-checkbox:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.galaxy-checkbox-label {
  color: var(--text-silver) !important;
  font-size: 0.88rem !important;
  cursor: pointer;
  user-select: none;
  margin-bottom: 0;
}

/* Required star */
.req-star {
  color: #f87171 !important;
  margin-left: 3px;
}

/* ==================================================
   7. ACTION BUTTONS (PRIMARY LOGO BLUE & SECONDARY GOLD)
   ================================================== */

.btn.galaxy-btn-primary {
  background: linear-gradient(135deg, #0052d4 0%, #0077ff 50%, #00d2ff 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 1.02rem !important;
  letter-spacing: 0.03em !important;
  border: 1px solid rgba(0, 242, 254, 0.45) !important;
  border-radius: 12px !important;
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 
    0 0 25px rgba(0, 136, 255, 0.75),
    0 0 45px rgba(0, 210, 255, 0.4),
    0 4px 15px rgba(0, 0, 0, 0.5) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

.btn.galaxy-btn-primary:hover,
.btn.galaxy-btn-primary:focus {
  background: linear-gradient(135deg, #0062ff 0%, #0099ff 50%, #00f2fe 100%) !important;
  color: #ffffff !important;
  border-color: #00f2fe !important;
  box-shadow: 
    0 0 35px rgba(0, 210, 255, 0.95),
    0 0 70px rgba(0, 136, 255, 0.65),
    0 6px 20px rgba(0, 0, 0, 0.6) !important;
  transform: translateY(-2px);
}

.btn.galaxy-btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 0 16px rgba(0, 136, 255, 0.8) !important;
}

/* Secondary Golden Button Option */
.btn.galaxy-btn-golden {
  background: linear-gradient(135deg, var(--secondary-gold-bright) 0%, var(--secondary-gold) 100%) !important;
  color: #3b1700 !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  border: 1px solid rgba(255, 215, 0, 0.6) !important;
  border-radius: 12px !important;
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 
    0 0 22px var(--secondary-gold-glow),
    0 4px 15px rgba(0, 0, 0, 0.5) !important;
  transition: all 0.3s ease !important;
}

.btn.galaxy-btn-golden:hover {
  background: linear-gradient(135deg, #fff176 0%, var(--secondary-gold-bright) 100%) !important;
  box-shadow: 0 0 35px var(--secondary-gold-glow), 0 6px 20px rgba(0, 0, 0, 0.6) !important;
  transform: translateY(-2px);
}

/* ==================================================
   8. FOOTER & LINK ACCENTS
   ================================================== */

.galaxy-footer-text {
  text-align: center;
  color: var(--text-silver);
  font-size: 0.9rem;
  margin-top: 1.35rem;
  margin-bottom: 0;
}

.galaxy-link-accent {
  color: var(--secondary-gold-bright) !important;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.25s ease;
  margin-left: 0.35rem;
}

.galaxy-link-accent:hover {
  color: #ffffff !important;
  text-shadow: 0 0 12px var(--secondary-gold-glow);
}

.galaxy-back-link {
  display: inline-flex;
  align-items: center;
  color: var(--secondary-gold-bright) !important;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  margin-top: 1rem;
}

.galaxy-back-link:hover {
  color: #ffffff !important;
  text-shadow: 0 0 12px var(--secondary-gold-glow);
  transform: translateX(-3px);
}

/* Credential Box in Success View */
.galaxy-credential-box {
  background: rgba(10, 20, 52, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid var(--primary-blue);
  border-radius: 14px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 
    inset 0 0 15px rgba(0, 136, 255, 0.2),
    0 0 20px rgba(245, 158, 11, 0.15);
}

/* ==================================================
   9. FULL MOBILE RESPONSIVENESS & TOUCH OPTIMIZATION
   ================================================== */

@media (max-width: 1200px) {
  .cube-left-lg { left: 4%; width: 65px; height: 65px; }
  .coin-btc-1 { right: 12%; }
  .coin-eth-1 { right: 18%; }
}

@media (max-width: 991.98px) {
  .crypto-cube.cube-left-lg {
    top: 12%;
    left: 4%;
    width: 50px;
    height: 50px;
  }
  .crypto-cube.cube-left-sm {
    display: none;
  }
  .crypto-cube.cube-right-sm {
    bottom: 8%;
    right: 4%;
    width: 45px;
    height: 45px;
  }
  .floating-coin.coin-btc-1 {
    top: 12%;
    right: 6%;
    width: 45px;
    height: 45px;
  }
  .floating-coin.coin-eth-1 {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .galaxy-content-container {
    padding: 1.5rem 1rem;
  }

  .authentication-wrapper.authentication-basic {
    min-height: calc(100vh - 3rem);
  }

  .authentication-wrapper.authentication-basic .authentication-inner,
  .authentication-wrapper.authentication-basic .authentication-inner.inner-wide {
    max-width: 100% !important;
  }

  .galaxy-card {
    border-radius: 18px !important;
    border-width: 1.5px !important;
  }

  .galaxy-card .card-body {
    padding: 1.8rem 1.4rem !important;
  }

  .galaxy-logo-badge {
    width: 78px;
    height: 78px;
  }

  .galaxy-title {
    font-size: 1.28rem !important;
  }

  .galaxy-subtitle {
    font-size: 0.86rem !important;
    margin-bottom: 1.35rem !important;
  }

  .crypto-cube.cube-left-lg {
    top: 4%;
    left: 4%;
    width: 38px;
    height: 38px;
    opacity: 0.6;
  }
  .floating-coin.coin-btc-1 {
    top: 4%;
    right: 4%;
    width: 38px;
    height: 38px;
    opacity: 0.6;
  }
  .floating-coin.coin-btc-2,
  .floating-coin.coin-btc-3,
  .crypto-cube.cube-right-sm {
    display: none;
  }
}

@media (max-width: 480px) {
  .galaxy-content-container {
    padding: 1rem 0.65rem;
  }

  .galaxy-card .card-body {
    padding: 1.5rem 1.15rem !important;
  }

  .galaxy-logo-container {
    margin-bottom: 1.1rem;
  }

  .galaxy-logo-badge {
    width: 70px;
    height: 70px;
  }

  .galaxy-title {
    font-size: 1.18rem !important;
  }

  .galaxy-input-group,
  .galaxy-card .input-group-merge,
  .galaxy-card input.form-control.galaxy-input,
  .btn.galaxy-btn-primary {
    height: 46px !important;
  }

  .galaxy-card .form-control.galaxy-input {
    font-size: 16px !important;
  }
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
  .galaxy-bg-backdrop,
  .cube-inner,
  .coin-inner,
  .crypto-cube,
  .floating-coin,
  .galaxy-card,
  .galaxy-logo-badge,
  .galaxy-nebula-cloud {
    animation: none !important;
    transition: none !important;
  }
}