:root {
  --bg: #0b1020;
  --bg2: #1a1a2e;
  --gold: #ffd700;
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.66);
  --glass: rgba(255, 255, 255, 0.08);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
  --radius: 18px;
  --scrollbar-track: rgba(26, 26, 46, 0.85);
  --scrollbar-thumb: linear-gradient(180deg, #ffe76a, #ffd700);
  --scrollbar-thumb-hover: linear-gradient(180deg, #fff2a0, #ffe14d);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial,
    sans-serif;
  color: var(--text);
  background: radial-gradient(
      1200px 700px at 18% 10%,
      rgba(255, 215, 0, 0.12),
      transparent 55%
    ),
    radial-gradient(
      900px 550px at 88% 22%,
      rgba(90, 110, 255, 0.16),
      transparent 60%
    ),
    linear-gradient(180deg, var(--bg), var(--bg2));
  overflow-x: hidden;
}

/* Cormorant Garamond for headings - luxury look */
h1, h2, h3, h4, h5, h6,
.brand-name,
.dashboard-title,
.accounts-header h1,
.create-account-card h1,
.section-heading,
.info-label {
  font-family: "Cormorant Garamond", Georgia, serif;
}

/* DM Mono for numbers, card numbers, balances */
.balance-amount,
.account-balance,
.info-balance,
.card-number-full,
.account-number,
.mono,
.tx-amount,
.total-banner-amount,
.converter-input,
.card-item-number,
.card-item-expiry,
.rates-widget-value {
  font-family: "DM Mono", "Courier New", monospace;
}

/* Кастомный скроллбар (WebKit) */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ffe76a, #ffd700);
  border-radius: 999px;
  border: 2px solid rgba(11, 16, 32, 0.9);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.25);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #fff2a0, #ffe14d);
}

::-webkit-scrollbar-corner {
  background: transparent;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #ffd700 rgba(26, 26, 46, 0.85);
}

a {
  color: inherit;
  text-decoration: none;
}

#bg3d {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  inset: -20%;
  z-index: -2;
  pointer-events: none;
  background: radial-gradient(
      800px 800px at 15% 20%,
      rgba(255,215,0,0.1),
      transparent 55%
    ),
    radial-gradient(
      700px 700px at 85% 15%,
      rgba(80,140,255,0.1),
      transparent 60%
    );
  filter: blur(24px);
  transform: translateZ(0);
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(20px);
  background: rgba(10, 10, 30, 0.85);
  border-bottom: 1px solid rgba(255, 215, 0, 0.15);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  transform-style: preserve-3d;
  text-decoration: none;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: rgba(10, 10, 18, 0.95);
  background: linear-gradient(145deg, #ffe76a, var(--gold));
  box-shadow: 0 16px 40px rgba(255, 215, 0, 0.18);
}

.brand-mark.small {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  font-size: 1.2rem;
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: white;
}

.brand-tag {
  font-size: 0.78rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-link {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.nav-link:hover {
  background: rgba(255, 215, 0, 0.08);
  color: var(--gold);
}

.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.01em;
  cursor: pointer;
  user-select: none;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
}

.btn-gold {
  border-color: rgba(255, 215, 0, 0.35);
  background: linear-gradient(
    145deg,
    rgba(255, 231, 106, 0.95),
    rgba(255, 215, 0, 0.85)
  );
  color: rgba(10, 10, 18, 0.92);
  box-shadow: 0 18px 44px rgba(255, 215, 0, 0.14);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
}

.glass {
  background: linear-gradient(
    180deg,
    var(--glass),
    rgba(255, 255, 255, 0.04)
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.pad {
  padding: 18px;
}

.flash-stack {
  margin: 16px 0 4px;
  display: grid;
  gap: 10px;
}

.flash {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(10, 14, 28, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.flash-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.05);
}

.flash-success .flash-dot {
  background: rgba(0, 255, 170, 0.75);
  box-shadow: 0 0 0 6px rgba(0, 255, 170, 0.1);
}

.flash-error .flash-dot,
.flash-danger .flash-dot {
  background: rgba(255, 70, 90, 0.85);
  box-shadow: 0 0 0 6px rgba(255, 70, 90, 0.1);
}

.flash-warning .flash-dot {
  background: rgba(255, 215, 0, 0.9);
  box-shadow: 0 0 0 6px rgba(255, 215, 0, 0.12);
}

.flash-close {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 12px;
}

.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 16px;
  padding: 18px 0 8px;
}

.hero-card {
  padding: 20px 20px;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(
      600px 600px at 20% 30%,
      rgba(255, 215, 0, 0.1),
      transparent 60%
    ),
    radial-gradient(
      700px 700px at 80% 60%,
      rgba(80, 140, 255, 0.12),
      transparent 62%
    );
  filter: blur(18px);
  transform: translateZ(-40px);
}

.hero-kicker {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.hero-title {
  margin: 10px 0 10px;
  font-size: clamp(22px, 3.2vw, 34px);
  line-height: 1.12;
}

.hero-accent {
  color: var(--gold);
  text-shadow: 0 0 22px rgba(255, 215, 0, 0.18);
}

.hero-subtitle {
  margin: 0 0 14px;
  color: var(--muted);
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chart-wrap {
  margin-top: 10px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-metrics {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.metric {
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-label {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.metric-value {
  margin-top: 6px;
  font-weight: 800;
}

.metric-good {
  color: rgba(80, 255, 190, 0.92);
}

.page {
  padding: 10px 0 30px;
}

.section-title {
  margin: 0 0 8px;
}

.muted {
  color: var(--muted);
}

.site-footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 215, 0, 0.12);
  background: rgba(10, 10, 30, 0.9);
  backdrop-filter: blur(12px);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 1000px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}

.footer-title {
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  color: white;
}

.footer-head {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.footer-link {
  display: block;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--gold);
}

.footer-text {
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.76);
}

.footer-contact-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.footer-contact-text {
  font-size: 0.95rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 215, 0, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.sep {
  opacity: 0.55;
}

@media (max-width: 920px) {
  .nav-links {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

/* ===== SELECT / INPUT ===== */

.currency-card input,
.currency-card select{

width:100%;

padding:15px 18px;

margin-top:14px;

border:none;

outline:none;

border-radius:16px;

background:

rgba(255,255,255,.06);

backdrop-filter:blur(14px);

color:black;

font-size:15px;

transition:.3s;

box-shadow:

inset 0 0 0 1px rgba(255,255,255,.05);

}

.currency-card input:focus,
.currency-card select:focus{

transform:translateY(-2px);

box-shadow:

0 0 0 1px rgba(214,164,25,.35),

0 0 25px rgba(214,164,25,.15);

}


/* ===== MAIN BUTTON ===== */

.currency-card button{

width:100%;

margin-top:22px;

padding:16px;

border:none;

cursor:pointer;

border-radius:18px;

font-size:15px;

font-weight:600;

letter-spacing:.5px;

color:#111;

background:

linear-gradient(
135deg,
#f5d36b,
#d6a419
);

box-shadow:

0 10px 35px rgba(214,164,25,.25);

transition:.35s;

position:relative;

overflow:hidden;

}


/* glow sweep */

.currency-card button::before{

content:"";

position:absolute;

top:0;

left:-120%;

width:70%;

height:100%;

background:

linear-gradient(
90deg,
transparent,
rgba(255, 255, 255, 0.35),
transparent
);

transition:.6s;

}

.currency-card button:hover{

transform:

translateY(-4px)
scale(1.02);

box-shadow:

0 15px 40px rgba(214,164,25,.45);

}

.currency-card button:hover::before{

left:150%;

}

.currency-card button:active{

transform:

translateY(0)
scale(.98);

}


/* ===== RESULT BOX ===== */

.result-box{

margin-top:25px;

padding:24px;

border-radius:20px;

background:

rgba(255,255,255,.05);

backdrop-filter:blur(18px);

border:

1px solid rgba(255,255,255,.06);

box-shadow:

0 10px 40px rgba(0,0,0,.25);

}


/* ===== LIVE RESULT ===== */

.live-result{

margin:28px 0;

font-size:42px;

font-weight:700;

text-align:center;

color:#d6a419;

text-shadow:

0 0 20px rgba(214,164,25,.45);

}


/* ===== RATE CARDS ===== */

.rate-card{

padding:25px;

margin-bottom:18px;

border-radius:22px;

background:

rgba(255,255,255,.05);

backdrop-filter:blur(16px);

border:

1px solid rgba(255,255,255,.05);

transition:.35s;

}

.rate-card:hover{

transform:

translateY(-6px);

box-shadow:

0 15px 40px rgba(214,164,25,.12);

}

.transfer-card{

padding:35px;

border-radius:24px;

max-width:700px;

margin:auto;

}

.transfer-card input,
.transfer-card select{

width:100%;

margin-top:14px;

padding:15px;

border:none;

border-radius:14px;

background:

rgba(255,255,255,.06);

color:white;

}

#receiverBox,
#balanceCheck{

margin-top:18px;

padding:16px;

border-radius:14px;

background:

rgba(255,255,255,.05);

}

.rate-value{

font-weight:700;

font-size:22px;

color:#d6a419;

display:inline-block;

animation:

pulseRate 2s infinite;

}

@keyframes pulseRate{

0%{

transform:scale(1);

}

50%{

transform:scale(1.08);

}

100%{

transform:scale(1);

}

}

/* ===== UNVERIFIED EMAIL BANNER ===== */
.unverified-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.12), rgba(255, 100, 100, 0.08));
  border-bottom: 1px solid rgba(255, 215, 0, 0.35);
  backdrop-filter: blur(16px);
  z-index: 1001;
  animation: slideDown 0.45s ease-out;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.unverified-banner-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.25), rgba(255, 100, 100, 0.15));
  border: 1px solid rgba(255, 215, 0, 0.4);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
}

.unverified-banner-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.unverified-banner-text strong {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.95);
}

.unverified-banner-text span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}

.unverified-banner-btn {
  position: relative;
  padding: 10px 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 215, 0, 0.45);
  background: linear-gradient(135deg, rgba(255, 231, 106, 0.98), rgba(255, 215, 0, 0.88));
  color: rgba(10, 10, 18, 0.95);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.25);
}

.unverified-banner-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: 0.6s ease;
}

.unverified-banner-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 32px rgba(255, 215, 0, 0.38);
}

.unverified-banner-btn:hover::before {
  left: 150%;
}

.unverified-banner-btn:active {
  transform: translateY(0) scale(0.98);
}

.unverified-banner-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none;
}

@media (max-width: 768px) {
  .unverified-banner {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
  }
  .unverified-banner-icon {
    margin: 0 auto;
  }
}