/* ==========================================================================
   GetBit.exchange — FINTECH VISUAL OVERHAUL v4.0
   Purple theme + glassmorphism everywhere + real ticker + no custom cursor
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. ANIMATED GRADIENT BACKGROUND
   -------------------------------------------------------------------------- */

.main-background {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(139, 92, 246, 0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(245, 158, 11, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, #0a0e1a 0%, #0d1117 40%, #0a0e1a 100%) !important;
  background-attachment: fixed !important;
}

/* Animated glow orbs */
.getbit-glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
  animation: getbit-orbFloat 20s ease-in-out infinite;
}

.getbit-glow-orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #8b5cf6, transparent 70%);
  top: -10%;
  left: -5%;
  animation-duration: 25s;
}

.getbit-glow-orb--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #3b82f6, transparent 70%);
  top: 40%;
  right: -10%;
  animation-duration: 30s;
  animation-delay: -10s;
}

.getbit-glow-orb--3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #f59e0b, transparent 70%);
  bottom: -5%;
  left: 30%;
  animation-duration: 22s;
  animation-delay: -5s;
}

@keyframes getbit-orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -40px) scale(1.1); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(40px, 30px) scale(1.05); }
}

/* --------------------------------------------------------------------------
   2. GLASSMORPHISM — Exchange panels
   -------------------------------------------------------------------------- */

.exchange__from,
.exchange__to,
.exchange__form {
  background: rgba(255, 255, 255, 0.03) !important;
  background-color: rgba(255, 255, 255, 0.03) !important;
  backdrop-filter: blur(20px) saturate(1.3) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1) !important;
  position: relative;
}

.exchange__from:hover,
.exchange__to:hover,
.exchange__form:hover {
  border-color: rgba(139, 92, 246, 0.15) !important;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 0 40px -10px rgba(139, 92, 246, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

/* Top glow line on cards */
.exchange__from::before,
.exchange__to::before,
.exchange__form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.exchange__from:hover::before,
.exchange__to:hover::before,
.exchange__form:hover::before {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   RIGHT PANEL (.exchange__form) — Override Tailwind *:bg-(--exchange-block-bg)
   The parent grid uses Tailwind wildcard bg, need to force transparent bg
   -------------------------------------------------------------------------- */

/* Override Tailwind's *:bg-(--exchange-block-bg) on parent grid */
.exchange__from,
.exchange__to,
.exchange__form {
  background-color: transparent !important;
}

/* Override Material + iEXE CSS variables inside right panel to enable glass */
.exchange__form {
  --mat-form-field-filled-container-color: rgba(255, 255, 255, 0.04);
  --input-background: rgba(255, 255, 255, 0.04);
  --secondary-background-foreground: rgba(255, 255, 255, 0.04);
  --exchange-block-bg: transparent;
}

/* --- Rate bar INSIDE right panel — was opaque rgb(23,23,36) blocking glass --- */
.exchange__form .exchange__rates,
.exchange__rates.flex {
  background: rgba(255, 255, 255, 0.04) !important;
  background-color: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 12px !important;
}

/* --- Form fields inside right panel — glass-compatible --- */
.exchange__form .mat-mdc-text-field-wrapper,
.exchange__form .mat-mdc-text-field-wrapper.mdc-text-field,
.exchange__form .mdc-text-field--filled:not(.mdc-text-field--disabled),
.exchange__form .mat-mdc-form-field .mdc-text-field {
  background: rgba(255, 255, 255, 0.04) !important;
  background-color: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 12px !important;
}

/* Form field focus overlays — make subtle */
.exchange__form .mat-mdc-form-field-focus-overlay {
  background-color: transparent !important;
}

/* --- Any inner elements with bg-(--secondary-background) --- */
.exchange__form [class*="bg-(--secondary"],
.exchange__form [class*="bg-secondary"] {
  background: rgba(255, 255, 255, 0.04) !important;
  background-color: rgba(255, 255, 255, 0.04) !important;
}

/* AML info block — distinct glass with warning accent */
[class*="aml"],
app-aml-info,
app-aml-info > div,
.exchange__form [class*="aml"] {
  background: rgba(245, 158, 11, 0.03) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(245, 158, 11, 0.15) !important;
  border-radius: 12px !important;
}

/* --------------------------------------------------------------------------
   3. GLASSMORPHISM — Banner section
   -------------------------------------------------------------------------- */

app-banners {
  display: block;
}

/* Reduce ONLY the gap between banner and exchange blocks */
app-banners {
  margin-bottom: -12px !important;
}

/* Banner card — glass with border/shadow, just no opaque bg */
app-banners .rounded-3xl {
  background: rgba(255, 255, 255, 0.03) !important;
  background-color: rgba(255, 255, 255, 0.03) !important;
  backdrop-filter: blur(20px) saturate(1.3) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  transition: all 0.4s ease !important;
}

/* Force ALL inner elements transparent — nuke Tailwind bg vars */
app-banners *:not(a):not(button):not(img):not(svg):not(path) {
  --background: transparent !important;
  --section-bg: transparent !important;
  --foreground: transparent !important;
  background-color: transparent !important;
}
/* The swiper wrapper itself — also transparent */
app-banners .swiper,
app-banners .swiper-wrapper,
app-banners .swiper-slide {
  background: transparent !important;
  background-color: transparent !important;
}

app-banners .rounded-3xl:hover {
  transform: translateY(-3px);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.35),
    0 0 40px -10px rgba(139, 92, 246, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

/* Banner top glow line */
app-banners .rounded-3xl::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), transparent);
  pointer-events: none;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   4. GLASSMORPHISM — Advantages section
   -------------------------------------------------------------------------- */

exchange-advantages {
  display: block;
  position: relative;
}

exchange-advantages > div,
exchange-advantages > section {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Individual advantage cards/items */
exchange-advantages [class*="grid"] > div,
exchange-advantages [class*="flex"] > div {
  background: rgba(255, 255, 255, 0.02) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.04) !important;
  border-radius: 12px !important;
  padding: 16px !important;
  transition: all 0.3s ease !important;
}

exchange-advantages [class*="grid"] > div:hover,
exchange-advantages [class*="flex"] > div:hover {
  border-color: rgba(139, 92, 246, 0.1) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
}

/* --------------------------------------------------------------------------
   5. GLASSMORPHISM — Exchange details
   -------------------------------------------------------------------------- */

exchange-details {
  display: block;
}

exchange-details > div {
  background: rgba(255, 255, 255, 0.03) !important;
  backdrop-filter: blur(20px) saturate(1.3) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  transition: all 0.3s ease !important;
}

/* --------------------------------------------------------------------------
   6. GLASSMORPHISM — Form/checkout area
   -------------------------------------------------------------------------- */

.exchange__finally {
  position: relative;
}

.exchange__finally > div {
  background: rgba(255, 255, 255, 0.02) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.04) !important;
  border-radius: 12px !important;
  transition: all 0.3s ease !important;
}

/* --------------------------------------------------------------------------
   7. GLASSMORPHISM — Footer
   -------------------------------------------------------------------------- */

app-footer {
  display: block;
  position: relative;
}

app-footer > div,
app-footer > footer,
app-footer footer {
  background: rgba(255, 255, 255, 0.02) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  backdrop-filter: blur(16px) saturate(1.2) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.2) !important;
}

/* --------------------------------------------------------------------------
   8. GLASSMORPHISM — Universal (other pages: rules, contacts, etc)
   -------------------------------------------------------------------------- */

/* Material cards on any page */
.mat-mdc-card,
.mdc-card {
  background: rgba(255, 255, 255, 0.03) !important;
  backdrop-filter: blur(20px) saturate(1.3) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  transition: all 0.4s ease !important;
}

/* Dialog/modal containers */
.mat-mdc-dialog-container .mdc-dialog__surface {
  background: rgba(15, 20, 35, 0.95) !important;
  backdrop-filter: blur(30px) saturate(1.5) !important;
  -webkit-backdrop-filter: blur(30px) saturate(1.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5) !important;
}

/* =======================================================================
   UNIVERSAL GLASS: Target all iEXE panel blocks site-wide.
   iEXE uses bg-(--section-bg), bg-(--background), bg-(--foreground)
   with rounded-3xl / rounded-4xl as panel containers.
   We override their opaque BG with glassmorphism once.
   ======================================================================= */

/* Main panels — the rounded cards across ALL pages */
docs-pages [class*="bg-(--section-bg)"],
docs-pages [class*="bg-(--background)"],
contacts-page [class*="bg-(--section-bg)"],
contacts-page [class*="bg-(--background)"],
app-account-layout [class*="bg-(--section-bg)"],
app-account-layout [class*="bg-(--background)"],
app-orders [class*="bg-(--section-bg)"],
app-orders [class*="bg-(--background)"],
app-partners [class*="bg-(--section-bg)"],
app-partners [class*="bg-(--background)"],
app-cards [class*="bg-(--section-bg)"],
app-cards [class*="bg-(--background)"],
app-settings [class*="bg-(--section-bg)"],
app-settings [class*="bg-(--background)"],
app-auth [class*="bg-(--section-bg)"],
app-auth [class*="bg-(--background)"] {
  background: rgba(255, 255, 255, 0.03) !important;
  background-color: rgba(255, 255, 255, 0.03) !important;
  backdrop-filter: blur(20px) saturate(1.3) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

/* Inner foreground blocks (darker sub-panels) — lighter glass */
docs-pages [class*="bg-(--foreground)"],
contacts-page [class*="bg-(--foreground)"],
app-account-layout [class*="bg-(--foreground)"],
app-partners [class*="bg-(--foreground)"] {
  background: rgba(255, 255, 255, 0.02) !important;
  background-color: rgba(255, 255, 255, 0.02) !important;
}

/* Account settings form fields — transparent Material inputs */
app-settings {
  --mat-form-field-filled-container-color: rgba(255, 255, 255, 0.04);
  --input-background: rgba(255, 255, 255, 0.04);
  --secondary-background-foreground: rgba(255, 255, 255, 0.04);
}

/* Partner links / monitoring logos — NO glass, keep original look */
partner-links,
partner-links > div,
partner-links > section {
  background: transparent !important;
  background-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* --------------------------------------------------------------------------
   9. HEADER — Glass redesign
   -------------------------------------------------------------------------- */

app-header .mat-toolbar {
  background: rgba(10, 14, 26, 0.6) !important;
  backdrop-filter: blur(20px) saturate(1.5) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.5) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.3s ease !important;
}

/* Nav links — purple underline hover */
app-header .mat-mdc-button {
  position: relative !important;
  transition: color 0.3s ease !important;
}

app-header .mat-mdc-button::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #8b5cf6, #a78bfa);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: 1px;
  transform: translateX(-50%);
}

app-header .mat-mdc-button:hover::after {
  width: 70%;
}

/* User icon — glow ring */
app-header .mat-mdc-icon-button {
  transition: all 0.3s ease !important;
}

app-header .mat-mdc-icon-button:hover {
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.2) !important;
}

/* --------------------------------------------------------------------------
   10. CTA BUTTON — Purple gradient (matching site theme)
   -------------------------------------------------------------------------- */

submit-button .mat-mdc-fab,
submit-button .mdc-fab {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #8b5cf6 100%) !important;
  background-size: 200% 200% !important;
  animation: getbit-btnGradient 3s ease infinite !important;
  box-shadow:
    0 4px 15px rgba(139, 92, 246, 0.3),
    0 0 40px -10px rgba(139, 92, 246, 0.2) !important;
  border: none !important;
  transition: all 0.3s ease !important;
  position: relative;
  overflow: hidden;
}

submit-button .mat-mdc-fab:hover,
submit-button .mdc-fab:hover {
  transform: translateY(-2px) !important;
  box-shadow:
    0 8px 25px rgba(139, 92, 246, 0.4),
    0 0 60px -10px rgba(139, 92, 246, 0.3) !important;
}

/* Shine sweep on hover */
submit-button .mat-mdc-fab::after,
submit-button .mdc-fab::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: rotate(45deg) translateY(-100%);
  transition: transform 0.6s ease;
}

submit-button .mat-mdc-fab:hover::after,
submit-button .mdc-fab:hover::after {
  transform: rotate(45deg) translateY(100%);
}

@keyframes getbit-btnGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* --------------------------------------------------------------------------
   11. FIX: Swap/reverse button — must NOT be covered
   -------------------------------------------------------------------------- */

/* The reverse button between exchange panels */
.exchange__form > button,
.exchange__form > a,
.exchange__form > div > button,
reverse-button,
.exchange__form [class*="reverse"],
.exchange__form [class*="swap"],
.exchange__form fa-icon[icon="shuffle"],
.exchange__form > *:not(.exchange__from):not(.exchange__to):not(.exchange__rates):not(exchange-details):not(.exchange__finally):not(submit-button):not(app-banners):not(exchange-advantages) {
  position: relative;
  z-index: 15 !important;
}

/* --------------------------------------------------------------------------
   12. TOGGLE BUTTONS (Fiat/Crypto/Stablecoins) — Modern pills
   -------------------------------------------------------------------------- */

.mat-button-toggle-group {
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: rgba(255, 255, 255, 0.02) !important;
  backdrop-filter: blur(10px) !important;
  overflow: hidden !important;
}

.mat-button-toggle-checked .mat-button-toggle-button {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.1)) !important;
  box-shadow: inset 0 0 20px rgba(139, 92, 246, 0.05) !important;
}

/* --------------------------------------------------------------------------
   13. CURRENCY LIST — Card-style items with purple accent
   -------------------------------------------------------------------------- */

.item-anim-wrapper {
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1) !important;
  border-radius: 12px !important;
  padding: 2px 4px !important;
  position: relative;
}

.item-anim-wrapper:hover {
  background: rgba(139, 92, 246, 0.06) !important;
  transform: translateX(4px);
  box-shadow: -4px 0 0 0 rgba(139, 92, 246, 0.5);
}

/* Currency icon — scale + glow on hover */
.item-anim-wrapper img {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.item-anim-wrapper:hover img {
  transform: scale(1.15);
  filter: drop-shadow(0 0 6px rgba(139, 92, 246, 0.25));
}

/* Selected currency — accent border */
.item-anim-wrapper:has(.text-green-500),
.item-anim-wrapper:has([style*="color"]) {
  background: rgba(139, 92, 246, 0.08) !important;
  border-left: 2px solid rgba(139, 92, 246, 0.5);
}

/* --------------------------------------------------------------------------
   14. INPUT FIELDS — Purple focus glow
   -------------------------------------------------------------------------- */

.mat-mdc-text-field-wrapper {
  transition: all 0.3s ease !important;
  border-radius: 12px !important;
}

.mat-mdc-text-field-wrapper:focus-within {
  box-shadow:
    0 0 0 2px rgba(139, 92, 246, 0.15),
    0 0 20px -5px rgba(139, 92, 246, 0.1) !important;
}

/* Amount input — subtle glow */
.exchange__from input[type="text"],
.exchange__to input[type="text"],
.exchange__from input[type="number"],
.exchange__to input[type="number"] {
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
}

/* Search input in currency list */
search-form .mat-mdc-text-field-wrapper {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  transition: all 0.3s ease !important;
}

search-form .mat-mdc-text-field-wrapper:focus-within {
  border-color: rgba(139, 92, 246, 0.3) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  box-shadow: 0 0 20px -5px rgba(139, 92, 246, 0.1) !important;
}

/* --------------------------------------------------------------------------
   15. EXCHANGE ARROW — Animated
   -------------------------------------------------------------------------- */

.exchange__form .text-green-500,
.exchange__form [class*="arrow"],
.exchange__form fa-icon {
  transition: all 0.3s ease !important;
}

.exchange__form .text-green-500:hover,
.exchange__form fa-icon:hover {
  transform: scale(1.2);
  filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.4));
}

/* --------------------------------------------------------------------------
   16. COUNT-DOWN TIMER — Neon style
   -------------------------------------------------------------------------- */

.count-down {
  text-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

/* --------------------------------------------------------------------------
   17. CHECKBOX — Refined
   -------------------------------------------------------------------------- */

dynamic-checkbox .mat-mdc-checkbox {
  transition: all 0.2s ease !important;
}

dynamic-checkbox .mat-mdc-checkbox:hover {
  transform: translateX(2px);
}

/* --------------------------------------------------------------------------
   18. TELEGRAM FAB BUTTON — Float + glow
   -------------------------------------------------------------------------- */

.mat-mdc-mini-fab {
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

.mat-mdc-mini-fab:hover {
  transform: translateY(-4px) scale(1.05) !important;
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(139, 92, 246, 0.15) !important;
}

/* --------------------------------------------------------------------------
   19. PROGRESS BAR — Purple gradient
   -------------------------------------------------------------------------- */

.mat-mdc-progress-bar .mdc-linear-progress__bar-inner {
  background: linear-gradient(90deg, #8b5cf6, #3b82f6, #8b5cf6) !important;
  background-size: 200% 100% !important;
  animation: getbit-progressGradient 2s linear infinite !important;
}

@keyframes getbit-progressGradient {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* --------------------------------------------------------------------------
   20. SCROLL REVEAL — Dramatic entrance animations
   -------------------------------------------------------------------------- */

@keyframes getbit-fadeInUp {
  from { opacity: 0; transform: translateY(40px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes getbit-fadeInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes getbit-fadeInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

.getbit-anim-reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.getbit-anim-reveal.getbit-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.getbit-anim-reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.getbit-anim-reveal-left.getbit-visible {
  opacity: 1;
  transform: translateX(0);
}

.getbit-anim-reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.getbit-anim-reveal-right.getbit-visible {
  opacity: 1;
  transform: translateX(0);
}

.getbit-anim-delay-1 { transition-delay: 0.15s; }
.getbit-anim-delay-2 { transition-delay: 0.3s; }
.getbit-anim-delay-3 { transition-delay: 0.45s; }

/* --------------------------------------------------------------------------
   21. SCROLLBAR — Custom purple
   -------------------------------------------------------------------------- */

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

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}

::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.25);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(139, 92, 246, 0.4);
}

/* --------------------------------------------------------------------------
   22. PARTICLE GRID — Purple tint
   -------------------------------------------------------------------------- */

.getbit-grid-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.03;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.3) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

/* --------------------------------------------------------------------------
   23. NOISE TEXTURE
   -------------------------------------------------------------------------- */

.getbit-noise {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   25. SCROLL-UP BUTTON
   -------------------------------------------------------------------------- */

app-scroll-up button {
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

app-scroll-up button:hover {
  transform: translateY(-4px) !important;
  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(139, 92, 246, 0.15) !important;
}

/* --------------------------------------------------------------------------
   25. PARTICLES CANVAS
   -------------------------------------------------------------------------- */

.getbit-particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* --------------------------------------------------------------------------
   26. PRELOADER — Fullscreen with logo image
   -------------------------------------------------------------------------- */

.getbit-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a0e1a;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.getbit-preloader--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.getbit-preloader-logo-img {
  width: auto;
  height: 56px;
  margin-bottom: 2rem;
  animation: getbit-preloaderPulse 2s ease-in-out infinite;
  object-fit: contain;
}

/* Fallback text logo (if image fails) */
.getbit-preloader-logo-text {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #8b5cf6, #f59e0b);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: getbit-btnGradient 2s ease infinite;
  margin-bottom: 2rem;
  letter-spacing: 2px;
}

@keyframes getbit-preloaderPulse {
  0%, 100% { opacity: 0.8; filter: brightness(1); }
  50% { opacity: 1; filter: brightness(1.15) drop-shadow(0 0 20px rgba(139, 92, 246, 0.3)); }
}

.getbit-preloader-bar {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.getbit-preloader-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, transparent, #8b5cf6, transparent);
  animation: getbit-preloaderSlide 1s ease-in-out infinite;
}

@keyframes getbit-preloaderSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* --------------------------------------------------------------------------
   27. LIVE TICKER — Real crypto prices
   -------------------------------------------------------------------------- */

.getbit-ticker {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 28px;
  background: rgba(139, 92, 246, 0.06);
  border-bottom: 1px solid rgba(139, 92, 246, 0.1);
  z-index: 10000;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.getbit-ticker-track {
  display: flex;
  align-items: center;
  height: 100%;
  animation: getbit-tickerScroll 40s linear infinite;
  white-space: nowrap;
  will-change: transform;
}

.getbit-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 20px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Roboto', sans-serif;
  letter-spacing: 0.3px;
}

.getbit-ticker-symbol {
  color: #a78bfa;
  font-weight: 600;
}

.getbit-ticker-price {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.getbit-ticker-change--up {
  color: #10b981;
  font-weight: 500;
}

.getbit-ticker-change--down {
  color: #ef4444;
  font-weight: 500;
}

.getbit-ticker-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.4);
  flex-shrink: 0;
}

@keyframes getbit-tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Push body content down for ticker */
body:has(.getbit-ticker) app-header .mat-toolbar {
  margin-top: 28px;
}

/* --------------------------------------------------------------------------
   28. TRUST BADGES — Purple accent
   -------------------------------------------------------------------------- */

.getbit-trust-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 16px 0;
  flex-wrap: wrap;
}

.getbit-trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Roboto', sans-serif;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.getbit-trust-badge:hover {
  border-color: rgba(139, 92, 246, 0.2);
  background: rgba(139, 92, 246, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.getbit-trust-badge-icon {
  font-size: 16px;
  line-height: 1;
}

.getbit-trust-badge-value {
  color: #a78bfa;
  font-weight: 600;
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   29. CONFETTI
   -------------------------------------------------------------------------- */

.getbit-confetti-piece {
  position: fixed;
  width: 8px;
  height: 8px;
  z-index: 999999;
  pointer-events: none;
  border-radius: 2px;
  animation: getbit-confettiFall 1.5s ease-out forwards;
}

@keyframes getbit-confettiFall {
  0% { opacity: 1; transform: translateY(0) rotate(0deg) scale(1); }
  100% { opacity: 0; transform: translateY(400px) rotate(720deg) scale(0.3); }
}

/* --------------------------------------------------------------------------
   30. ANIMATED LOGO — Purple glow pulse
   -------------------------------------------------------------------------- */

app-logo,
app-header app-logo {
  transition: all 0.3s ease;
}

app-logo img,
app-logo svg,
app-header a[routerlink="/"] img {
  transition: filter 0.4s ease, transform 0.3s ease;
}

app-logo:hover img,
app-logo:hover svg,
app-header a[routerlink="/"]:hover img {
  filter: drop-shadow(0 0 12px rgba(139, 92, 246, 0.4))
          drop-shadow(0 0 30px rgba(139, 92, 246, 0.15));
  transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   31. PARALLAX SECTIONS
   -------------------------------------------------------------------------- */

.getbit-parallax-section {
  transition: transform 0.1s linear;
  will-change: transform;
}

/* --------------------------------------------------------------------------
   32. ANIMATED COUNTER NUMBERS
   -------------------------------------------------------------------------- */

.getbit-counter {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   33. SMOOTH SELECTION COLOR — Purple
   -------------------------------------------------------------------------- */

::selection {
  background: rgba(139, 92, 246, 0.25);
  color: #fff;
}

::-moz-selection {
  background: rgba(139, 92, 246, 0.25);
  color: #fff;
}

/* --------------------------------------------------------------------------
   34. LINK HOVER — Purple tint
   -------------------------------------------------------------------------- */

a {
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

a:hover {
  text-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
}

/* --------------------------------------------------------------------------
   35. RESPONSIVE — Disable heavy effects on mobile
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .getbit-glow-orb,
  .getbit-grid-bg,
  .getbit-noise {
    display: none !important;
  }
}

@media (max-width: 768px) {
  /* Fix horizontal overflow / page shift */
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }

  /* Hide glow orbs completely — they overflow on mobile */
  .getbit-glow-orb { display: none !important; }

  /* Remove ticker margin from header — ticker is hidden on mobile */
  app-header .mat-toolbar {
    margin-top: 0 !important;
  }
  .getbit-grid-bg { display: none; }
  .getbit-particles-canvas { display: none; }
  .getbit-ticker { display: none; }
  .getbit-trust-badges { display: none; }

  .exchange__from:hover,
  .exchange__to:hover,
  .exchange__form:hover {
    transform: none;
  }

  .exchange__from,
  .exchange__to,
  .exchange__form {
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
  }

  /* Ticker container hidden but still in DOM — hide fully */
  .getbit-ticker {
    display: none !important;
    height: 0 !important;
    overflow: hidden !important;
  }
}
