/* ==========================================================
   DEDICATII PAGE - PRO (SCOPED)
========================================================== */

.dedPage{
  --dRadius: 22px;
  --dLine: rgba(148,163,184,.18);
  --dPanel: rgba(255,255,255,.04);
  --dPanel2: rgba(2,6,23,.55);
  --dText: #e5e7eb;
  --dMuted: rgba(229,231,235,.78);
}

/* HERO */
.dedPage .dedHero{
  position:relative;
  padding:18px 16px;
  border-radius: var(--dRadius);
  background:
    radial-gradient(900px 260px at 15% 10%, rgba(96,165,250,.18), transparent 60%),
    radial-gradient(700px 260px at 85% 30%, rgba(52,211,153,.14), transparent 55%),
    var(--dPanel);
  border:1px solid var(--dLine);
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
  overflow:hidden;
}

.dedPage .dedPill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  font-weight:900;
  letter-spacing:.2px;
  background: rgba(2,6,23,.55);
  border:1px solid rgba(148,163,184,.18);
  color: var(--dText);
}

.dedPage .dedPillIco{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:26px;
  height:26px;
  border-radius:10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(148,163,184,.18);
}

.dedPage .dedHero h1{
  margin:10px 0 6px;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height:1.12;
  color: var(--dText);
}

.dedPage .dedSub{
  margin:0;
  color: var(--dMuted);
  max-width: 70ch;
  line-height:1.45;
}

.dedPage .dedSubHint{
  margin:6px 0 0;
  font-size:12.5px;
  line-height:1.35;
  color: rgba(229,231,235,.55);
  font-style: italic;
}

/* ICONS */
.dedPage .dedIco{
  width:18px;
  height:18px;
  min-width:18px;
  min-height:18px;
  display:block;
  flex:0 0 auto;
  opacity:.95;
}

/* NAV sticky (CENTRU pe PC, stack pe mobil) */
.dedPage .dedNavWrap{ margin-top:12px; }

.dedPage .dedNav{
  position: sticky;
  top: 74px;
  z-index: 40;

  display:flex;
  gap:14px;
  flex-wrap:wrap;

  justify-content:center;
  align-items:center;

  padding:10px;
  border-radius:18px;
  background: rgba(2,6,23,.55);
  backdrop-filter: blur(10px);
  border:1px solid rgba(148,163,184,.12);
  box-shadow: 0 16px 50px rgba(0,0,0,.35);
}

.dedPage .dedNav a,
.dedPage .dedNav a:hover,
.dedPage .dedNav a:focus,
.dedPage .dedNav a:active{
  text-decoration:none !important;
}

.dedPage .dedNavBtn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:14px 22px;
  border-radius:18px;
  font-weight:900;
  font-size:15px;
  color: var(--dText);

  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border:1px solid rgba(148,163,184,.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    0 18px 50px rgba(0,0,0,.30);

  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, filter .15s ease;
  white-space:nowrap;
}

.dedPage .dedNavBtn:hover{
  transform: translateY(-1px);
  border-color: rgba(125,211,252,.45);
  box-shadow: 0 22px 60px rgba(0,0,0,.45);
  filter: brightness(1.03);
}

.dedPage .dedNavBtn.is-active{
  background: linear-gradient(135deg, rgba(96,165,250,.35), rgba(52,211,153,.30));
  border-color: rgba(125,211,252,.55);
  color:#fff;
}

/* BADGE */
.dedPage .dedBadgeRow{
  display:flex;
  justify-content:flex-start;
  margin: 10px 2px 0;
}

.dedPage .dedLiveBadge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  color:#fca5a5;
  background: rgba(2,6,23,.45);
  border:1px solid rgba(248,113,113,.35);
}

.dedPage .dedLiveBadge .dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#ef4444;
  box-shadow: 0 0 0 0 rgba(239,68,68,.7);
  animation: dedPulse 1.4s infinite;
}

@keyframes dedPulse{
  0%{ box-shadow: 0 0 0 0 rgba(239,68,68,.7); }
  70%{ box-shadow: 0 0 0 6px rgba(239,68,68,0); }
  100%{ box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}

/* IFRAME CARD */
.dedPage .dedSection{ margin-top:12px; }

.dedPage .dedCard{
  position:relative;
  border-radius: var(--dRadius);
  overflow:hidden;
  background: var(--dPanel);
  border:1px solid var(--dLine);
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
}

/* fade discret peste iframe */
.dedPage .dedFade{
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:2;
  opacity:.9;
  background:
    linear-gradient(to bottom, rgba(2,6,23,.55), transparent 18%),
    linear-gradient(to top, rgba(2,6,23,.55), transparent 18%),
    linear-gradient(to right, rgba(2,6,23,.55), transparent 8%),
    linear-gradient(to left, rgba(2,6,23,.55), transparent 8%);
}

.dedPage .dedLoader{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  z-index:3;
  background: rgba(2,6,23,.55);
  backdrop-filter: blur(10px);
}

.dedPage .dedLoader.is-hidden{ display:none; }

.dedPage .dedLoaderBox{
  width:min(520px, 92%);
  padding:14px;
  border-radius:18px;
  border:1px solid rgba(148,163,184,.18);
  background: rgba(255,255,255,.06);
  box-shadow: 0 16px 55px rgba(0,0,0,.35);
}

.dedPage .dedShimmer{
  height:14px;
  border-radius:999px;
  background: linear-gradient(90deg,
    rgba(255,255,255,.06),
    rgba(255,255,255,.14),
    rgba(255,255,255,.06)
  );
  background-size: 200% 100%;
  animation: dedShimmer 1.1s infinite linear;
}
.dedPage .dedShimmer + .dedShimmer{ margin-top:10px; height:12px; opacity:.9; }

@keyframes dedShimmer{
  from{ background-position: 200% 0; }
  to{ background-position: -200% 0; }
}

.dedPage .dedFrame{
  width:100%;
  border:0;
  display:block;
  background: transparent;
  height: 760px;
  position:relative;
  z-index:1;
}

/* Responsive */
@media (max-width: 980px){
  .dedPage .dedFrame{ height: 720px; }
}

@media (max-width: 680px){
  .dedPage{ --dRadius: 18px; }

  .dedPage .dedNav{
    top: 62px;
    padding:8px;
    border-radius:16px;

    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    gap:10px;
  }

  .dedPage .dedNavBtn{
    width:100%;
    justify-content:center;
    padding:12px 18px;
    border-radius:16px;
  }

  .dedPage .dedFrame{ height: 700px; }
}

/* Titlu + badge */
.dedPage .dedTopRow{ margin-top:14px; }

.dedPage .dedH2Row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin: 0 2px 10px;
}

.dedPage .dedH2{
  font-weight: 900;
  font-size: 16px;
  color: rgba(229,231,235,.92);
}

/* Badge */
.dedPage .dedBadge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  color:#fca5a5;
  background: rgba(2,6,23,.45);
  border:1px solid rgba(248,113,113,.35);
}

.dedPage .dedBadge .dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#ef4444;
  box-shadow: 0 0 0 0 rgba(239,68,68,.7);
  animation: dedPulse 1.4s infinite;
}

@keyframes dedPulse{
  0%{ box-shadow: 0 0 0 0 rgba(239,68,68,.7); }
  70%{ box-shadow: 0 0 0 6px rgba(239,68,68,0); }
  100%{ box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}

/* Mobile: badge sub titlu */
@media (max-width: 680px){
  .dedPage .dedH2Row{
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
  }
}
