/* =========================================================
   PROVERITAS v2 — Dark + Gold theme
   File: assets/css/style.css
   ========================================================= */

:root{
  /* Brand palette */
  --bg: #0B0D10;
  --panel: #12151B;
  --panel2: #0F1217;
  --border: rgba(255,255,255,.10);

  --text: #FFFFFF;
  --muted: rgba(255,255,255,.74);
  --muted2: rgba(255,255,255,.58);

  --gold: #F5C84C;      /* primary accent */
  --gold2: #FFD36A;     /* hover accent */
  --black: #0B0D10;

  --radius: 16px;
  --radius2: 22px;

  --max: 1120px;
  --shadow: 0 18px 50px rgba(0,0,0,.45);
}

/* Reset / base */
*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: #0B0D10; /* base only */
  color: var(--text);
}



img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; }

.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px;
}

/* =========================================================
   Header / Navigation (like previous site)
   ========================================================= */
.header{
  position: sticky;
  top:0;
  z-index: 50;
  background: rgba(11,13,16,.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.nav-left{
  display:flex;
  gap:18px;
  align-items:center;
}

.nav-left a{
  font-size: 14px;
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.nav-left a:hover{
  color: var(--text);
  border-color: rgba(255,255,255,.14);
}

.nav-left a.active{
  color: var(--text);
  border-color: rgba(245,200,76,.45);
  background: rgba(245,200,76,.10);
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.brand-mark{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: rgba(245,200,76,.12);
  border: 1px solid rgba(245,200,76,.35);
}

.brand-mark span{
  color: var(--gold);
  font-weight: 900;
  font-size: 14px;
}

.brand-name{
  display:flex;
  gap:6px;
  align-items:center;
}

.brand-name .tick{
  color: var(--gold);
  font-weight: 900;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: transparent;
  color: var(--text);
  cursor:pointer;
  font-weight: 700;
  font-size: 14px;
  transition: transform .14s ease, filter .14s ease, border-color .14s ease, background .14s ease;
}

.btn:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.20);
}

.btn.primary{
  background: var(--gold);
  color: #121212;
  border-color: transparent;
}

.btn.primary:hover{
  filter: brightness(1.06);
}

.btn.ghost{
  background: rgba(255,255,255,.04);
}

.btn.ghost:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(245,200,76,.25);
}

/* =========================================================
   Hero section (like previous layout)
   ========================================================= */
.hero{
  padding: 42px 0 22px;
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items:center;
}

.hero-copy h1{
  margin: 0 0 12px;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero-copy p{
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.55;
}

.hero-actions{
  display:flex;
  gap: 12px;
  flex-wrap:wrap;
}

.hero-bubbles{
  position: relative;
  min-height: 240px;
  border-radius: var(--radius2);
  border: 1px solid rgba(245,200,76,.18);
  background: linear-gradient(180deg, rgba(245,200,76,.08), rgba(255,255,255,.02));
  overflow:hidden;
  box-shadow: var(--shadow);
}

.bubble{
  position:absolute;
  border-radius:999px;
  background: rgba(245,200,76,.24);
  border: 1px solid rgba(245,200,76,.28);
  filter: blur(.0px);
}

.b1{ width: 120px; height:120px; right: 16%; top: 18%; }
.b2{ width: 64px; height:64px; right: 10%; bottom: 22%; background: rgba(245,200,76,.18); }
.b3{ width: 40px; height:40px; right: 34%; bottom: 14%; background: rgba(245,200,76,.14); }

.hero-bubbles .hint{
  position:absolute;
  left: 18px;
  bottom: 16px;
  color: var(--muted2);
  font-size: 13px;
}

/* =========================================================
   Section titles
   ========================================================= */
.section{
  padding: 24px 0;
}

.section-title{
  margin: 0 0 8px;
  font-size: 26px;
  letter-spacing: -0.01em;
}

.section-subtitle{
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.55;
}

/* =========================================================
   Cards / Grid (works with your existing JS output)
   ========================================================= */
.grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card{
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.02));
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,.30);
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

.card:hover{
  transform: translateY(-2px);
  border-color: rgba(245,200,76,.32);
  background: linear-gradient(180deg, rgba(245,200,76,.08), rgba(255,255,255,.02));
}

.thumb{
  width:100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: #06070A;
}

.card-body{
  padding: 14px 14px 16px;
}

.card-title{
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;        /* keeps titles clean */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.meta{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  color: var(--muted2);
  font-size: 13px;
  margin-bottom: 12px;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: var(--muted);
}

.actions{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
}

/* =========================================================
   Latest Episode block (JS injects embed + details)
   ========================================================= */
.latest-wrap{
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(245,200,76,.08), rgba(255,255,255,.02));
  border-radius: var(--radius2);
  overflow:hidden;
  box-shadow: var(--shadow);
}

.embed{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  overflow:hidden;
  background: #000;
}

.embed iframe{
  width:100%;
  height: 420px;
  border:0;
  display:block;
}

.small{
  color: var(--muted2);
  font-size: 13px;
  line-height: 1.6;
}

/* =========================================================
   Shorts placeholder carousel (for later)
   ========================================================= */
.shorts-wrap{
  margin-top: 14px;
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  padding: 16px;
}

.shorts-row{
  display:flex;
  gap: 14px;
  overflow:auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.short-card{
  width: 150px;
  flex: 0 0 auto;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: #07080C;
  height: 260px;
  scroll-snap-align: start;
  position: relative;
  overflow:hidden;
}

.short-card::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.75));
}

.short-card .label{
  position:absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  font-size: 12px;
  color: rgba(255,255,255,.85);
}

.shorts-note{
  margin-top: 10px;
  color: var(--muted2);
  font-size: 13px;
}

/* =========================================================
   Footer (like previous)
   ========================================================= */
.footer{
  margin-top: 44px;
  border-top: 1px solid rgba(255,255,255,.10);
  background: #07080C;
}

.footer-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 22px;
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 22px;
}

.footer h4{
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer p, .footer a{
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.footer a:hover{ color: var(--text); }

.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 14px 22px;
  text-align:center;
  color: rgba(255,255,255,.45);
  font-size: 13px;
}
/* =========================
   LOGO
   ========================= */
.logo{
  height: 38px;
  width: auto;
}

.footer-logo{
  height: 44px;
  margin-bottom: 12px;
}

/* =========================
   NAV ICONS
   ========================= */
.nav-left a{
  display:flex;
  align-items:center;
  gap:8px;
}

.nav-icon{
  font-size: 16px;
  opacity: .85;
}

/* Mobile: hide text, show icons */
@media (max-width: 620px){
  .nav-text{
    display:none;
  }
}

/* =========================
   SOCIAL ICONS
   ========================= */
.social-links{
  display: flex;
  flex-direction: row;   /* ← ОВА Е КЛУЧОТ */
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;       /* ако нема простор, не се кршат */
}
.social-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.social-link:hover{
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}
.social-links a{
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.social-links a:hover{
  transform: translateY(-2px);
  background: rgba(245,200,76,.15);
  border-color: rgba(245,200,76,.55);
}

.social-links img{
  width: 18px;
  height: 18px;
}
/* ===== Page vertical gradient (content only) ===== */
.page-gradient{
  min-height: 100vh;
  background: linear-gradient(180deg,
    #10131A 0%,
    #0B0D10 40%,
    #0B0D10 75%,
    #090B0E 100%
  );
}

/* ===== Episodes toolbar ===== */
.toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.search{
  flex: 1 1 280px;
  min-width: 220px;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: var(--text);
  outline: none;
}

.search::placeholder{ color: rgba(255,255,255,.45); }

.filters{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip{
  appearance:none;
  cursor:pointer;
  border-radius: 999px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
}

.chip:hover{
  border-color: rgba(245,200,76,.45);
  background: rgba(245,200,76,.10);
}

.chip.active{
  border-color: rgba(245,200,76,.55);
  background: rgba(245,200,76,.16);
}

/* ===== Pagination ===== */
.pagination{
  display:flex;
  gap: 10px;
  align-items:center;
  justify-content:space-between;
  flex-wrap: wrap;
}

.page-info{
  color: var(--muted);
  font-size: 13px;
}

.page-actions{
  display:flex;
  gap: 10px;
}

.page-actions .btn{
  padding: 10px 14px;
}

/* =========================
   Global background bubbles
   ========================= */
.bg-bubbles{
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Base bubble */
.bg-bubbles::before,
.bg-bubbles::after{
  content:"";
  position:absolute;
  border-radius:50%;
  background: rgba(245,200,76,.18);
  filter: blur(8px);
}

/* Big bubble */
.bg-bubbles::before{
  width: 420px;
  height: 420px;
  top: 8%;
  left: 12%;
  opacity: .22;
}

/* Medium bubble */
.bg-bubbles::after{
  width: 260px;
  height: 260px;
  top: 28%;
  right: 14%;
  opacity: .18;
}

/* Extra bubbles using box-shadow trick */
.bg-bubbles{
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .55;  /* keep subtle */
}

/* ensure content is above */
header, main, footer{
  position: relative;
  z-index: 1;
}
/* ===== Badge rows with icons ===== */
.badge-row{
  display:flex;
  align-items:center;
  gap: 10px;
}

.badge-split{
  justify-content: space-between;
}

.badge-left{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 0; /* allow text to shrink */
}

.badge-icon{
  width: 16px;
  height: 16px;
  display:block;
  opacity: .9;
}

.badge-text{
  color: var(--text);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* On small screens let email wrap nicely */
@media (max-width: 520px){
  .badge-text{ white-space: normal; }
  .badge-split{ flex-wrap: wrap; gap: 10px; }
}



@keyframes floatSlow{
  0%{ transform: translateY(0); }
  50%{ transform: translateY(-30px); }
  100%{ transform: translateY(0); }
}

.bg-bubbles::before{
  animation: floatSlow 40s ease-in-out infinite;
}

.bg-bubbles::after{
  animation: floatSlow 55s ease-in-out infinite;
}
.header{
  background: #0B0D10;   /* solid */
  backdrop-filter: none; /* remove blur mixing */
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.footer{
  background: #07080C;   /* solid */
}

#load-more{
  padding: 12px 18px;
}

/* =========================
   CONTACT: Social links fix
   ========================= */

.social-links{
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 14px 18px !important;
  align-items: center !important;
}

.social-link{
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  color: var(--muted) !important;
  font-size: 14px !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;

  border-bottom: 1px solid transparent !important;
  padding-bottom: 2px !important;
  transition: color .15s ease, border-color .15s ease, transform .15s ease;
}

.social-link:hover{
  color: var(--text) !important;
  border-color: var(--gold) !important;
  transform: translateY(-1px);
}

.social-link img{
  width: 18px !important;
  height: 18px !important;
  display: block !important;
  opacity: .9;
}

/* OPTIONAL: ако сакаш иконата да има суптилен badge feel (без кругчиња) */
.social-link img{
  padding: 6px;
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
}

.social-link:hover img{
  border-color: rgba(245,200,76,.55);
  background: rgba(245,200,76,.10);
}
/* =========================
   Hero brand logo (replace bubbles)
   ========================= */

.hero-brand{
  border-radius: 18px;
  padding: 28px;
  border: 1px solid rgba(245,200,76,.35);
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.03),
    rgba(255,255,255,.01)
  );
  box-shadow:
    0 20px 60px rgba(0,0,0,.45),
    inset 0 0 0 1px rgba(255,255,255,.04);

  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 200px;
}

/* Logo itself */
.hero-brand-logo{
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;

  /* premium feel */
  filter:
    drop-shadow(0 12px 24px rgba(0,0,0,.55))
    drop-shadow(0 0 18px rgba(245,200,76,.25));
}

/* Responsive behavior */
@media (max-width: 900px){
  .hero-brand{
    margin-top: 16px;
    padding: 22px;
  }
}
.hero-bubbles{ display:none !important; }

.short-thumb{
  width:100%;
  height: 180px;
  border-radius: 14px;
  overflow:hidden;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
}
.short-thumb img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}



/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px){
  .hero-grid{
    grid-template-columns: 1fr;
  }
  .hero-bubbles{
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: none;
}

  .grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-inner{
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px){
  .hero-copy h1{ font-size: 34px; }
  .grid{
    grid-template-columns: 1fr;
  }
  .embed iframe{ height: 240px; }
  .nav-left{ gap: 8px; }
  .nav-left a{ padding: 8px 10px; }
}
