:root{
  --baby:#9fe0ff;
  --baby2:#78cfff;
  --text:#eaf4ff;
  --muted:rgba(234,244,255,.72);
  --muted2:rgba(234,244,255,.55);

  --glass: rgba(10,14,22,.34);
  --stroke: rgba(255,255,255,.08);
  --shadow: 0 30px 90px rgba(0,0,0,.65);
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:#070d14;
  overflow-x:hidden;
}

/* ===== Background (natural, fara “2 casute”) ===== */
.bg{
  position:fixed;
  inset:0;
  background:
    linear-gradient(180deg, rgba(5,10,18,.72), rgba(5,10,18,.90)),
    var(--bg-url) center/cover no-repeat;
  filter:saturate(1.02) contrast(1.03);
  transform:scale(1.02);
  z-index:-3;
}

.vignette{
  position:fixed; inset:0; z-index:-2;
  background:
    radial-gradient(1200px 700px at 50% 30%, rgba(0,0,0,.05) 10%, rgba(0,0,0,.55) 78%),
    linear-gradient(180deg, rgba(0,0,0,.20), rgba(0,0,0,.62));
  pointer-events:none;
}

.grain{
  position:fixed; inset:0; z-index:-1;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.25'/%3E%3C/svg%3E");
  opacity:.16;
  pointer-events:none;
  mix-blend-mode:overlay;
}

/* ===== Layout wrapper ===== */
.wrap{
  max-width:1200px;
  margin:0 auto;
  padding: 22px 20px 120px;
}

/* ===== Topbar ===== */
.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 10px 12px;
  border:1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  background: rgba(10,14,22,.26);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 55px rgba(0,0,0,.28);
}

.brand{
  display:flex; align-items:center; gap:12px; min-width: 200px;
}
.dot{
  width:10px; height:10px; border-radius: 999px;
  background: linear-gradient(180deg, var(--baby), var(--baby2));
  box-shadow: 0 0 0 6px rgba(120,207,255,.12);
}
.brand .name{font-weight:900; letter-spacing:.6px}
.brand .sub{font-size:12px; color:var(--muted2); margin-top:2px}

.nav{
  display:flex; gap:8px; flex-wrap:wrap; justify-content:center;
}
.nav a{
  text-decoration:none;
  color:rgba(234,244,255,.82);
  font-weight:900;
  font-size:11px;
  letter-spacing:.9px;
  padding:9px 11px;
  border:1px solid rgba(255,255,255,.07);
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.nav a:hover{
  transform: translateY(-1px);
  border-color: rgba(159,224,255,.22);
  background: rgba(159,224,255,.08);
}

.right{
  display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:flex-end;
}
.status{
  display:flex; align-items:center; gap:10px;
  padding:9px 11px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  font-weight:1000;
  font-size:11px;
  letter-spacing:.9px;
}
.pulse{
  width:8px;height:8px;border-radius:999px;background: #49e2a5;
  box-shadow: 0 0 0 6px rgba(73,226,165,.10);
}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration:none;
  font-weight: 950;
  letter-spacing: 1px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  color: var(--text);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{transform: translateY(-1px); border-color: rgba(159,224,255,.22); background: rgba(159,224,255,.08);}
.btn.primary{
  background: linear-gradient(180deg, rgba(159,224,255,.95), rgba(120,207,255,.90));
  color:#052238;
  border-color: rgba(159,224,255,.30);
  box-shadow: 0 18px 45px rgba(120,207,255,.18);
}

/* ===== Hero ===== */
.hero{
  padding: 88px 4px 46px;
  min-height: calc(100vh - 120px);
  display:flex;
  align-items:flex-end;
}
.hero-inner{width: min(760px, 100%);}

.kicker{
  color: rgba(234,244,255,.70);
  font-weight:900;
  letter-spacing:2px;
  font-size:12px;
  margin-bottom: 14px;
}
.title{
  margin:0;
  font-size: clamp(44px, 6vw, 86px);
  letter-spacing: 1px;
  font-weight: 1000;
  text-transform: uppercase;
  line-height: .95;
  text-shadow: 0 24px 80px rgba(0,0,0,.65);
}
.title span{
  display:block;
  color: #f1e36a;
  text-shadow: 0 0 35px rgba(241,227,106,.18);
}
.lead{
  margin: 18px 0 26px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 560px;
}
.hero-actions{
  display:flex; gap:12px; flex-wrap:wrap;
}

/* ===== Sections (discover) ===== */
.section{
  margin-top: 72px;
  padding: 34px 20px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(10,14,22,.34);
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 70px rgba(0,0,0,.35);
}
.section h2{margin:0 0 10px; letter-spacing:.5px;}
.section p{margin:0; color:var(--muted); line-height:1.65}

.grid{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.card{
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  padding: 16px;
}
.card h3{margin:0 0 8px}
.card .small{font-size:12px; color:rgba(234,244,255,.62); line-height:1.55}

/* ===== AUTH: fara “casuta mare” + iframe centrat ===== */
/* IMPORTANT: targetam prin #auth ca sa mearga indiferent de clase */
#auth{
  margin-top: 90px !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.auth-title{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin: 0 0 16px;
  padding: 0 4px;
}
.auth-title h2{margin:0}
.auth-title .hint{color:rgba(234,244,255,.62); font-size:12px}

/* iframe-ul trebuie sa fie block si centrat */
.login-frame{
  display:block;
  width: min(460px, 100%);
  height: 760px;

  margin: 0 auto 140px auto;

  border: none;
  border-radius: 24px;
  overflow: hidden;

  background: transparent;
  box-shadow:
    0 40px 120px rgba(0,0,0,.65),
    0 0 0 1px rgba(255,255,255,.06);
}

/* ===== Bottom hint (un singur buton) ===== */
.bottom-hint{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;

  display:flex;
  align-items:center;
  gap:10px;

  padding: 10px 12px;
  border-radius: 999px;

  border:1px solid rgba(255,255,255,.08);
  background: rgba(10,14,22,.45);
  backdrop-filter: blur(18px);

  color: rgba(234,244,255,.80);
  font-weight: 1000;
  font-size: 12px;
  letter-spacing: .6px;

  box-shadow: 0 18px 55px rgba(0,0,0,.40);
  cursor: pointer;
  user-select:none;
  white-space: nowrap;
}
.bottom-hint:hover{
  border-color: rgba(159,224,255,.22);
  background: rgba(159,224,255,.08);
}
.bottom-hint .arr{opacity:.9; transform: translateY(1px);}

/* ===== Footer ===== */
.footer{
  margin-top: 28px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  padding: 18px 4px 0;
  color:rgba(234,244,255,.55);
  font-size: 12px;
  border-top: 1px solid rgba(255,255,255,.10);
}
.footer a{color:rgba(234,244,255,.70); text-decoration:none}
.footer a:hover{text-decoration:underline}

/* ===== Responsive ===== */
@media (max-width: 980px){
  .grid{grid-template-columns:1fr}
  .hero{padding-top:64px}
}
@media (max-width: 640px){
  .topbar{flex-direction:column; align-items:stretch;}
  .brand{justify-content:center; min-width:auto;}
  .right{justify-content:center;}
  .nav{justify-content:center;}
}


/* TITLE COLORS */
.title .bb{
  color: #9fe0ff; /* baby blue */
  text-shadow: 0 0 35px rgba(159,224,255,.25);
}

.title .white{
  color: #ffffff;
  text-shadow: 0 0 25px rgba(255,255,255,.18);
}


/* TITLE ANIMATION */
.title span{
  display:inline-block;
  opacity:0;
  transform: translateY(20px);
  animation: titleIn .8s ease forwards;
}

.title .bb{ animation-delay: .2s; }
.title .white{ animation-delay: .35s; }
.title .bb:last-child{ animation-delay: .5s; }

@keyframes titleIn{
  to{
    opacity:1;
    transform: translateY(0);
  }
}