/* A.T.B. Virtual Financial World — visual layer only.
   No business rules, financial values, routes, forms, IDs or application data are changed. */
:root{
  --atb-vw-cyan:#70edff;
  --atb-vw-blue:#438fff;
  --atb-vw-violet:#9b83ff;
  --atb-vw-gold:#f3d18a;
}

html{background:#050a16!important}
body{position:relative;isolation:isolate;overflow-x:hidden}

/* Scene layers are decorative and never intercept clicks. */
.atb-vw-scene{
  position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden;
  background:
    radial-gradient(ellipse at 50% 80%,rgba(25,110,183,.13),transparent 48%),
    linear-gradient(180deg,rgba(3,8,20,.10),rgba(3,8,20,.34));
}
.atb-vw-city{
  position:absolute;left:0;right:0;bottom:0;height:min(48vh,430px);opacity:.56;
  background-repeat:repeat-x;background-position:center bottom;background-size:auto 100%;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='430' viewBox='0 0 1600 430'%3E%3Cdefs%3E%3ClinearGradient id='b' x2='0' y2='1'%3E%3Cstop stop-color='%230d3152' stop-opacity='.78'/%3E%3Cstop offset='1' stop-color='%23030a17' stop-opacity='.98'/%3E%3C/linearGradient%3E%3ClinearGradient id='l' x2='0' y2='1'%3E%3Cstop stop-color='%2370edff' stop-opacity='.8'/%3E%3Cstop offset='1' stop-color='%233b8cff' stop-opacity='.08'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23b)' stroke='%233a9ed0' stroke-opacity='.35' d='M0 430V245h55v-62h24v62h18V130h56v115h28v-90h22v90h28V205h38v-92h58v92h24v-55h25v55h27V160h62v85h27V80h72v165h24v-44h43v44h20V145h56v100h26V185h32v60h28V115h66v130h25v-70h40v70h24V160h62v85h25V45h76v200h26v-96h53v96h26V175h40v70h25V120h70v125h25v-74h45v74h23V200h54v45h25V430z'/%3E%3Cg fill='none' stroke='url(%23l)' stroke-width='2' opacity='.72'%3E%3Cpath d='M79 183V150h24v33M153 130v-30h56v30M287 113V78h58v35M490 80V35h72v45M731 145v-35h56v35M907 115V76h66v39M1098 45V18h76v27M1300 120V83h70v37'/%3E%3C/g%3E%3Cg fill='%2370edff' opacity='.45'%3E%3Cpath d='M65 265h5v9h-5zm20 0h5v9h-5zm90-92h5v8h-5zm18 0h5v8h-5zm130-65h5v9h-5zm18 0h5v9h-5zm164-12h5v10h-5zm20 0h5v10h-5zm245 76h5v9h-5zm20 0h5v9h-5zm175-70h5v9h-5zm20 0h5v9h-5zm225-63h5v9h-5zm20 0h5v9h-5z'/%3E%3C/g%3E%3C/svg%3E");
  mask-image:linear-gradient(to top,#000 12%,rgba(0,0,0,.8) 58%,transparent 100%);
}
.atb-vw-grid{
  position:absolute;inset:22% -20% -18%;opacity:.22;
  background-image:linear-gradient(rgba(76,190,255,.13) 1px,transparent 1px),linear-gradient(90deg,rgba(76,190,255,.13) 1px,transparent 1px);
  background-size:54px 54px;transform:perspective(600px) rotateX(62deg) scale(1.5);transform-origin:bottom;
  mask-image:linear-gradient(to bottom,transparent,#000 35%,#000 80%,transparent);
  animation:atb-vw-grid-drift 28s linear infinite;
}
.atb-vw-routes{position:absolute;inset:0;opacity:.48}
.atb-vw-routes:before,.atb-vw-routes:after{
  content:"";position:absolute;left:-10%;width:120%;height:1px;
  background:linear-gradient(90deg,transparent,rgba(81,213,255,.05),rgba(81,213,255,.75),rgba(157,130,255,.45),transparent);
  filter:drop-shadow(0 0 6px rgba(76,205,255,.9));
  animation:atb-vw-route-flow 12s ease-in-out infinite;
}
.atb-vw-routes:before{top:62%;transform:rotate(-8deg)}
.atb-vw-routes:after{top:76%;transform:rotate(5deg);animation-delay:-6s;opacity:.65}
.atb-vw-particles{
  position:absolute;inset:0;opacity:.35;
  background-image:radial-gradient(circle,rgba(117,226,255,.9) 1px,transparent 1.8px),radial-gradient(circle,rgba(159,132,255,.7) 1px,transparent 1.8px);
  background-size:173px 173px,239px 239px;background-position:0 0,70px 90px;
  animation:atb-vw-particle-drift 42s linear infinite;
}

/* Metallic illuminated brand mark. */
body :is(.brand,.logo,.navbar-brand,.site-logo,.admin-logo,.topbar .brand,.topbar .logo){
  color:#eafaff!important;
  background:linear-gradient(180deg,#fff 0%,#b9f5ff 30%,#64cfff 58%,#e6e9ff 76%,#8298c5 100%);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
  filter:drop-shadow(0 0 7px rgba(75,205,255,.55)) drop-shadow(0 0 18px rgba(74,139,255,.22));
  letter-spacing:.075em;
}
body :is(.brand img,.logo img,.navbar-brand img,.site-logo img,.admin-logo img){
  filter:drop-shadow(0 0 7px rgba(89,218,255,.48));
}

/* Fine light connections between major panels; purely decorative. */
body :is(.dash-card,.admin-card,.task-card,.market-stat,.team-card,.withdraw-card){position:relative;}
body :is(.dash-card,.admin-card,.task-card,.market-stat,.team-card,.withdraw-card):after{
  content:"";position:absolute;left:18px;right:18px;top:0;height:1px;pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(100,228,255,.62),rgba(160,133,255,.42),transparent);
  opacity:.65;
}

/* Gentle entrance motion. Does not hide content or alter interaction. */
@keyframes atb-vw-enter{from{opacity:.01;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@keyframes atb-vw-grid-drift{from{background-position:0 0,0 0}to{background-position:0 108px,108px 0}}
@keyframes atb-vw-route-flow{0%,100%{opacity:.22;filter:drop-shadow(0 0 2px rgba(76,205,255,.35))}50%{opacity:.8;filter:drop-shadow(0 0 9px rgba(76,205,255,.95))}}
@keyframes atb-vw-particle-drift{from{background-position:0 0,70px 90px}to{background-position:173px 173px,309px 329px}}
body :is(main,.main-content,.page-content,.dashboard,.dashboard-page,.admin-page,.tasks-page,.market-container,.team-page,.withdraw-page,.profile-page,.chat-page){
  animation:atb-vw-enter .55s ease-out both;
}

@media(max-width:700px){
 .atb-vw-city{height:30vh;opacity:.35;background-size:auto 100%}
 .atb-vw-grid{opacity:.12;background-size:38px 38px}
 .atb-vw-particles{opacity:.18}
}
@media(prefers-reduced-motion:reduce){
 .atb-vw-grid,.atb-vw-routes:before,.atb-vw-routes:after,.atb-vw-particles{animation:none!important}
 body :is(main,.main-content,.page-content,.dashboard,.dashboard-page,.admin-page,.tasks-page,.market-container,.team-page,.withdraw-page,.profile-page,.chat-page){animation:none!important}
}

/* =====================================================
   A.T.B. HOMEPAGE — DIGITAL FINANCIAL UNIVERSE
   ATB-HOMEPAGE-2026
   Homepage visuals only — no application logic changed.
   ===================================================== */

body:has(main > .hero) {
  --home-cyan: #70edff;
  --home-blue: #438fff;
  --home-violet: #9b83ff;
  --home-gold: #f3d18a;
  background: #050a16 !important;
}

/* Premium navigation */
body:has(main > .hero) .topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 82px;
  padding: 14px clamp(20px, 6vw, 90px) !important;
  background: rgba(5, 12, 28, .84) !important;
  border-bottom: 1px solid rgba(112, 237, 255, .2);
  backdrop-filter: blur(22px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .24);
}

body:has(main > .hero) .brand strong {
  font-size: clamp(25px, 3vw, 34px);
  letter-spacing: .14em;
}

body:has(main > .hero) .header-actions {
  gap: 12px;
}

/* Cinematic hero */
body:has(main > .hero) .hero {
  position: relative;
  isolation: isolate;
  min-height: 690px;
  padding: clamp(65px, 8vw, 115px) clamp(22px, 7vw, 105px);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(25px, 5vw, 75px);
  background:
    radial-gradient(ellipse at 78% 45%, rgba(30, 115, 220, .19), transparent 42%),
    radial-gradient(ellipse at 15% 15%, rgba(112, 237, 255, .08), transparent 40%),
    linear-gradient(145deg, rgba(7, 18, 39, .94), rgba(5, 10, 24, .68));
  border-bottom: 1px solid rgba(112, 237, 255, .14);
}

body:has(main > .hero) .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .23;
  background-image:
    linear-gradient(rgba(112, 237, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 237, 255, .08) 1px, transparent 1px);
  background-size: 55px 55px;
  mask-image: linear-gradient(135deg, black, transparent 75%);
}

body:has(main > .hero) .hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

body:has(main > .hero) .hero-content .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 17px;
  border: 1px solid rgba(112, 237, 255, .3);
  border-radius: 30px;
  color: var(--home-cyan);
  background: rgba(36, 112, 165, .13);
  box-shadow: 0 0 25px rgba(61, 190, 255, .1);
  letter-spacing: .08em;
}

body:has(main > .hero) .hero h1 {
  margin: 28px 0 22px;
  color: #f5fbff;
  font-size: clamp(39px, 5.2vw, 72px);
  line-height: 1.23;
  font-weight: 900;
  letter-spacing: -.035em;
  text-shadow: 0 8px 35px rgba(0, 0, 0, .3);
}

body:has(main > .hero) .hero h1 span {
  color: transparent;
  background: linear-gradient(
    100deg,
    #ffffff,
    #70edff 35%,
    #8daaff 68%,
    #d6c4ff
  );
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 18px rgba(77, 185, 255, .24));
}

body:has(main > .hero) .hero-content > p {
  max-width: 510px;
  color: #b9cce0;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 2;
}

body:has(main > .hero) .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

body:has(main > .hero) .hero-actions .btn {
  min-height: 53px;
  padding: 14px 27px;
  border-radius: 13px;
  font-weight: 800;
  transition: transform .25s ease, box-shadow .25s ease;
}

body:has(main > .hero) .hero-actions .btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(65, 177, 255, .23);
}

/* Digital market centerpiece */
body:has(main > .hero) .hero-visual {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 490px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

body:has(main > .hero) .yasmin-market-motion {
  position: relative;
  width: 100%;
  min-height: 390px;
  border: 1px solid rgba(112, 237, 255, .19);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 48%, rgba(45, 125, 235, .18), transparent 55%),
    linear-gradient(145deg, rgba(14, 36, 68, .65), rgba(5, 14, 31, .42));
  box-shadow:
    inset 0 0 45px rgba(56, 160, 255, .07),
    0 25px 75px rgba(0, 0, 0, .28),
    0 0 35px rgba(50, 164, 255, .08);
  overflow: hidden;
}

body:has(main > .hero) .yasmin-market-glow {
  filter: blur(15px);
  opacity: .75;
}

body:has(main > .hero) .yasmin-coin {
  filter: drop-shadow(0 0 25px rgba(112, 237, 255, .65));
}

body:has(main > .hero) .yasmin-indicator {
  border: 1px solid rgba(112, 237, 255, .24);
  border-radius: 15px;
  background: rgba(5, 17, 37, .88);
  box-shadow: 0 12px 35px rgba(0, 0, 0, .24);
  backdrop-filter: blur(12px);
}

body:has(main > .hero) .yasmin-chart {
  opacity: .85;
  filter: drop-shadow(0 0 7px rgba(73, 200, 255, .55));
}

/* Existing market cards */
body:has(main > .hero) .home-visuals {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

body:has(main > .hero) .home-photo {
  position: relative;
  min-width: 0;
  min-height: 105px;
  overflow: hidden;
  border: 1px solid rgba(112, 237, 255, .18);
  border-radius: 13px;
  background: #10213b;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .2);
  transition: transform .3s ease, border-color .3s ease;
}

body:has(main > .hero) .home-photo:hover {
  transform: translateY(-5px);
  border-color: rgba(112, 237, 255, .65);
}

body:has(main > .hero) .home-photo img {
  width: 100%;
  height: 110px;
  display: block;
  object-fit: cover;
  opacity: .72;
  transition: transform .5s ease, opacity .3s ease;
}

body:has(main > .hero) .home-photo:hover img {
  transform: scale(1.08);
  opacity: 1;
}

body:has(main > .hero) .home-photo-caption {
  padding: 10px;
  color: #eaf7ff;
  background: linear-gradient(transparent, rgba(3, 10, 23, .95));
}

body:has(main > .hero) .home-photo-caption strong {
  font-size: 12px;
}

body:has(main > .hero) .home-photo-caption small {
  color: #9dbbd4;
  font-size: 10px;
}

/* Section transitions and highlights */
body:has(main > .hero) .home-highlights,
body:has(main > .hero) .atb-world,
body:has(main > .hero) .features,
body:has(main > .hero) .atb-license-section {
  position: relative;
  padding: clamp(55px, 7vw, 95px) clamp(20px, 7vw, 100px);
}

body:has(main > .hero) .home-highlights {
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(62, 144, 255, .12), transparent 65%),
    #071225;
}

body:has(main > .hero) .home-highlights h2,
body:has(main > .hero) .atb-world-heading h2,
body:has(main > .hero) .section-heading h2 {
  color: #f1f8ff;
  font-size: clamp(27px, 3.3vw, 43px);
  font-weight: 900;
  line-height: 1.4;
}

body:has(main > .hero) .home-highlights .intro,
body:has(main > .hero) .atb-world-heading p,
body:has(main > .hero) .section-heading p {
  color: #a9bfd5;
  line-height: 1.9;
}

/* Virtual world cards */
body:has(main > .hero) .atb-world {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(42, 110, 190, .12), transparent 65%),
    #081529;
}

body:has(main > .hero) .atb-world-heading {
  max-width: 750px;
  margin: 0 auto 38px;
  text-align: center;
}

body:has(main > .hero) .atb-world-heading > span {
  color: var(--home-cyan);
  letter-spacing: .2em;
  font-size: 12px;
  font-weight: 800;
}

body:has(main > .hero) .atb-world-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

body:has(main > .hero) .atb-world-card {
  position: relative;
  padding: 30px 26px;
  min-height: 215px;
  overflow: hidden;
  border: 1px solid rgba(112, 237, 255, .2);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(22, 49, 82, .85), rgba(8, 21, 42, .94));
  box-shadow: 0 18px 45px rgba(0, 0, 0, .2);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

body:has(main > .hero) .atb-world-card:hover {
  transform: translateY(-8px);
  border-color: rgba(112, 237, 255, .65);
  box-shadow: 0 22px 50px rgba(28, 133, 220, .17);
}

body:has(main > .hero) .atb-world-icon {
  color: var(--home-cyan);
  font-size: 35px;
  text-shadow: 0 0 20px rgba(112, 237, 255, .45);
}

body:has(main > .hero) .atb-world-card h3 {
  color: #f1f8ff;
  margin: 15px 0 9px;
}

body:has(main > .hero) .atb-world-card p {
  color: #a9bfd5;
  line-height: 1.9;
}

/* Platform services */
body:has(main > .hero) .features {
  background: linear-gradient(180deg, #071225, #050b18);
}

body:has(main > .hero) .section-heading {
  max-width: 750px;
  margin: 0 auto 38px;
  text-align: center;
}

body:has(main > .hero) .section-heading .eyebrow {
  color: var(--home-cyan);
  letter-spacing: .2em;
  font-size: 12px;
}

body:has(main > .hero) .feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
}

body:has(main > .hero) .feature-card {
  min-width: 0;
  padding: 27px 22px;
  border: 1px solid rgba(112, 237, 255, .19) !important;
  border-radius: 18px !important;
  background: linear-gradient(145deg, rgba(21, 46, 78, .94), rgba(7, 19, 38, .97)) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, .2);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

body:has(main > .hero) .feature-card:hover {
  transform: translateY(-7px);
  border-color: rgba(112, 237, 255, .65) !important;
  box-shadow: 0 20px 45px rgba(40, 145, 230, .15);
}

body:has(main > .hero) .feature-card > span {
  color: var(--home-cyan);
  font-size: 32px;
  text-shadow: 0 0 18px rgba(112, 237, 255, .4);
}

body:has(main > .hero) .feature-card h3 {
  color: #eff8ff;
}

body:has(main > .hero) .feature-card p {
  color: #a9bfd5;
  line-height: 1.8;
}

/* Legal information */
body:has(main > .hero) .atb-license-section {
  background: #050b18;
}

body:has(main > .hero) .atb-license-card {
  max-width: 1050px;
  margin: auto;
  padding: 30px;
  border: 1px solid rgba(112, 237, 255, .22);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(18, 42, 72, .9), rgba(7, 18, 36, .95));
  box-shadow: 0 20px 50px rgba(0, 0, 0, .22);
}

body:has(main > .hero) .atb-license-label {
  color: var(--home-cyan);
  letter-spacing: .14em;
}

/* Footer */
body:has(main > .hero) footer {
  padding: 35px 20px;
  text-align: center;
  color: #a9bfd5;
  background: #030814;
  border-top: 1px solid rgba(112, 237, 255, .16);
}

body:has(main > .hero) footer strong {
  display: inline-block;
  margin-bottom: 12px;
  color: #dffaff;
  font-size: 25px;
  letter-spacing: .16em;
}

/* Responsive layout */
@media (max-width: 950px) {
  body:has(main > .hero) .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  body:has(main > .hero) .hero-content {
    margin: auto;
  }

  body:has(main > .hero) .hero-content > p {
    margin-left: auto;
    margin-right: auto;
  }

  body:has(main > .hero) .hero-actions {
    justify-content: center;
  }

  body:has(main > .hero) .hero-visual {
    width: 100%;
    max-width: 720px;
    margin: auto;
  }
}

@media (max-width: 700px) {
  body:has(main > .hero) .hero {
    padding: 48px 18px;
    gap: 25px;
  }

  body:has(main > .hero) .hero-visual {
    min-height: 0;
  }

  body:has(main > .hero) .yasmin-market-motion {
    min-height: 320px;
  }

  body:has(main > .hero) .home-visuals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:has(main > .hero) .atb-world-grid {
    grid-template-columns: 1fr;
  }

  body:has(main > .hero) .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:has(main > .hero) .home-highlights,
  body:has(main > .hero) .atb-world,
  body:has(main > .hero) .features,
  body:has(main > .hero) .atb-license-section {
    padding: 48px 18px;
  }
}

@media (max-width: 420px) {
  body:has(main > .hero) .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  body:has(main > .hero) .home-photo,
  body:has(main > .hero) .home-photo img,
  body:has(main > .hero) .atb-world-card,
  body:has(main > .hero) .feature-card,
  body:has(main > .hero) .hero-actions .btn {
    transition: none !important;
  }
}
