/* DenmarkProTips - transparent "glass" header. Load AFTER style.css */
:root { --hdr-h: 72px; }

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--hdr-h);
  display: flex;
  align-items: center;
  background: transparent !important;
  border-bottom: 1px solid transparent !important;
  box-shadow: none !important;
  margin-bottom: calc(var(--hdr-h) * -1);
  transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease;
}
header .container.top-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header.scrolled {
  background: rgba(255,255,255,0.94) !important;
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(198,12,48,0.18) !important;
}

.hero { padding-top: calc(var(--hdr-h) + 32px); }

header .nav-menu a { text-shadow: 0 1px 6px rgba(0, 0, 0, .45); }

@media (max-width: 768px) {
  header .nav-menu {
    background: rgba(255,255,255,0.96);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
}

/* поизразен glass ефект и на врвот */
header:not(.scrolled) {
  background: linear-gradient(to bottom, rgba(255,255,255,0.92), rgba(255,255,255,0)) !important;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
header.scrolled {
  background: rgba(255,255,255,0.94) !important;
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,0.12) !important;
}

/* поизразен glass ефект и на врвот */
header:not(.scrolled) {
  background: linear-gradient(to bottom, rgba(255,255,255,0.92), rgba(255,255,255,0)) !important;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
header.scrolled {
  background: rgba(255,255,255,0.94) !important;
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,0.12) !important;
}

/* ===== Мени во лента под hero-то ===== */
.menu-bar {
  background: rgba(255,255,255,0.96);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.menu-bar .nav-menu {
  display: flex !important;
  position: static !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 26px;
  width: auto !important;
  padding: 14px 0 !important;
  margin: 0;
  list-style: none;
  background: transparent !important;
  border: 0 !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
@media (max-width: 900px) {
  .mobile-menu-btn { display: none !important; }
  .menu-bar .nav-menu {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 12px 14px !important;
  }
  .menu-bar .nav-menu li { flex: 0 0 auto; }
}

/* ===== Мени како картичка (иста ширина и стил како остатокот) ===== */
.menu-bar {
  background: transparent !important;
  border: 0 !important;
  padding: 18px 0 0;
}
.menu-bar .container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.menu-bar .nav-menu {
  gap: 4px 22px;
  padding: 10px 14px !important;
}
.menu-bar .nav-menu a {
  font-size: 0.9rem;
  text-shadow: none;
}
@media (max-width: 900px) {
  .menu-bar { padding: 14px 12px 0; }
  .menu-bar .nav-menu { padding: 10px 12px !important; }
}

/* ===== Hero како картичка ===== */
header { margin-bottom: 0 !important; }
.hero-wrap { padding-top: 6px; }
.hero-wrap .hero {
  padding: 48px 0 !important;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.hero-wrap .hero .container {
  max-width: none;
  padding-left: 32px;
  padding-right: 32px;
}
@media (max-width: 900px) {
  .hero-wrap .hero { padding: 32px 0 !important; }
  .hero-wrap .hero .container { padding-left: 18px; padding-right: 18px; }
}

/* ===== Помала hero слика ===== */
.hero-flex .hero-image-wrap {
  flex: 0 0 400px !important;
  width: 400px !important;
}
.hero-img-box {
  height: 240px !important;
}
@media (max-width: 900px) {
  .hero-flex .hero-image-wrap {
    flex: 0 0 auto !important;
    width: 100% !important;
  }
  .hero-img-box { height: 200px !important; }
}

/* ===== Сопствен банер: го пополнува својот простор без празни ленти ===== */
#customBannerBox img { object-fit: cover !important; object-position: center !important; }

/* ===== Без hero слика, текстот центриран ===== */
#heroImageWrap,
.hero-image-wrap,
.hero-upload-ctrl {
  display: none !important;
}
.hero-flex {
  justify-content: center !important;
  text-align: center !important;
}
.hero-flex .hero-text {
  max-width: 760px !important;
}

/* ===== Помал и попровиден header ===== */
:root { --hdr-h: 56px; }
header:not(.scrolled) {
  background: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
header.scrolled {
  background: rgba(255,255,255,0.92) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  backdrop-filter: blur(5px) !important;
  border-bottom: 1px solid rgba(198,12,48,0.14) !important;
}

/* ===== Малку провидни картичка за мени и hero ===== */
.menu-bar .container {
  background: rgba(255,255,255,0.88) !important;
}
.hero-wrap .hero {
  background: radial-gradient(circle at top, rgba(198,12,48,0.06) 0%, rgba(245,243,238,0.65) 70%) !important;
}

/* ===== Скриј статистика и филтри над Free Tips ===== */
#freeTipsStats,
#freeTipsFilters {
  display: none !important;
}

/* ===== Скриј Blog & News ===== */
#sec_blog { display: none !important; }

/* ===== Скриј footer (само на почетната) ===== */
.hero-wrap ~ footer { display: none !important; }

/* ===== Histats место под Email Contact ===== */
.histats-card {
  margin-top: 20px;
  padding: 14px;
  text-align: center;
  background: rgba(255,255,255,0.94);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.histats-card:empty { display: none; }

/* ===== Десни блокови (right-widgets.html) ===== */
.side-widget-card {
  margin-top: 20px;
  padding: 14px;
  text-align: center;
  background: rgba(255,255,255,0.94);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.side-widget-card h4 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: var(--accent);
}
#rightWidgets:empty { display: none; }

/* ===== Десниот блок секогаш најдолу во колоната ===== */
#sidebarSectionsContainer {
  display: flex;
  flex-direction: column;
}
#rightWidgets {
  order: 999;
}

/* ===== Hero слика како позадина (опционално) ===== */
.hero-bg-layer {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity .3s ease;
}
.hero-bg-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,.75), rgba(245,243,238,.92));
}
.hero.has-bg .hero-bg-layer { opacity: .6; }

/* На телефон Hero сликата е многу широка (2048×768). Со contain остануваат
   мали празни ленти горе/долу — cover ја пополнува рамката без да ја намалуваме. */
@media (max-width: 900px) {
  .hero-bg-layer > div {
    background-size: cover !important;
    background-position: center !important;
  }
}

.hero-bg-ctrl {
  display: none;
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  gap: 8px;
  align-items: center;
}
.hero-bg-btn {
  background: rgba(198,12,48,.88);
  border: 1px solid var(--border);
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: .8rem;
  cursor: pointer;
}
.hero-bg-btn:hover { background: rgba(163,9,39,.95); }
#heroBgStatus { font-size: .8rem; color: var(--text-muted); }


/* ============================================================
   DANISH THEME — Dannebrog red / white / hygge neutrals
   Pure CSS, no image files.
   ============================================================ */
:root {
  --dk-red: #C60C30;
  --dk-red-dark: #A30927;
  --dk-ink: #1C1B1A;
  --dk-paper: #F5F3EE;
}

.brand { display:flex; align-items:center; gap:10px; }
.logo { color:var(--dk-red) !important; letter-spacing:.4px; }
.logo span, .login-brand span:first-child { color:var(--dk-ink) !important; }

/* Danish flag built from CSS only */
.dk-flag {
  position:relative;
  display:inline-block;
  flex:none;
  width:28px;
  height:20px;
  background:var(--dk-red);
  border-radius:2px;
  box-shadow:0 0 0 1px rgba(28,27,26,.12);
}
.dk-flag::before,
.dk-flag::after {
  content:"";
  position:absolute;
  background:#fff;
}
.dk-flag::before { left:7px; top:0; bottom:0; width:5px; }
.dk-flag::after  { top:7px; left:0; right:0; height:5px; }

/* Dannebrog top accent line */
header::before {
  content:"";
  position:absolute;
  left:0; right:0; top:0;
  height:3px;
  background:linear-gradient(90deg, var(--dk-red) 0 33%, #FFFFFF 33% 66%, var(--dk-red) 66% 100%);
  z-index:2;
}
header:not(.scrolled) { background:linear-gradient(to bottom, rgba(255,255,255,.92), rgba(255,255,255,0)) !important; }
header.scrolled { background:rgba(255,255,255,.90) !important; border-bottom:1px solid rgba(198,12,48,.18) !important; }
header .nav-menu a { text-shadow:none !important; color:#4A4640 !important; }
header .nav-menu a:hover, header .nav-menu a.active { color:var(--dk-red) !important; }

.hero-wrap .hero,
.hero {
  /* Clean Danish palette — white / hygge cream with a subtle Dannebrog red edge.
     No image files, no patterns — fully self-contained. */
  background:
    linear-gradient(90deg, rgba(198,12,48,.07) 0 6px, transparent 6px),
    linear-gradient(135deg, rgba(255,255,255,.88) 0%, rgba(245,243,238,.88) 72%, rgba(241,233,228,.88) 100%) !important;
  box-shadow:0 2px 18px rgba(28,27,26,.05);
}
.hero .container.hero-flex { z-index:1; }
.hero h1 { color:var(--dk-ink) !important; text-shadow:none !important; letter-spacing:-.5px; }
.hero h1::after {
  content:"";
  display:block;
  width:64px;
  height:4px;
  margin:16px auto 0;
  background:var(--dk-red);
  border-radius:2px;
}
.hero p { color:#4A4640 !important; text-shadow:none !important; }
.menu-bar .container,
.histats-card,
.side-widget-card { background:rgba(255,255,255,.90) !important; }
.hero-bg-layer::after { background:linear-gradient(to bottom, rgba(255,255,255,.78), rgba(245,243,238,.92)) !important; }
.hero-bg-btn { background:var(--dk-red) !important; color:#fff !important; }
.hero-bg-btn:hover { background:var(--dk-red-dark) !important; }

.vip-badge { background:linear-gradient(135deg,#C60C30,#A30927) !important; color:#fff !important; }
th { background:rgba(198,12,48,.06) !important; color:var(--dk-red-dark) !important; }
.badge-won { color:#2E7D5B !important; background:rgba(46,125,91,.10) !important; }
.badge-lost { color:#C60C30 !important; background:rgba(198,12,48,.10) !important; }
.badge-pending { color:#9A6A1E !important; background:rgba(154,106,30,.12) !important; }
.card, .sidebar-widget, .banner-strip { box-shadow:0 2px 10px rgba(28,27,26,.05); }
footer { background:#FFFFFF !important; }
.footer-content h4 { color:var(--dk-ink) !important; }

/* ===== Повеќе видлива позадина — намалена белина на сите површини =====
   Ова е последниот блок во файлот и ги надминува постарите 88–96% бели вредности. */
header,
header.scrolled,
header:not(.scrolled),
.menu-bar,
.menu-bar .container,
.histats-card,
.side-widget-card,
footer {
  background-color: rgba(255,255,255,.80) !important;
  background-image: none !important;
}
header .nav-menu { background: rgba(255,255,255,.82) !important; }

/* Менито останува картичка во проѕирна лента — не цела бела лента. */
.menu-bar { background: transparent !important; }

.hero-wrap .hero,
.hero {
  background:
    linear-gradient(90deg, rgba(198,12,48,.07) 0 6px, transparent 6px),
    linear-gradient(135deg, rgba(255,255,255,.76) 0%, rgba(245,243,238,.76) 72%, rgba(241,233,228,.76) 100%) !important;
}
.hero-bg-layer::after {
  background: linear-gradient(to bottom, rgba(255,255,255,.62), rgba(245,243,238,.78)) !important;
}

@supports (background: color-mix(in srgb, red 50%, transparent)) {
  .card,
  .sidebar-widget,
  .custom-banner-card,
  .email-contact-card,
  .custom-sidebar-content-card {
    background-color: color-mix(in srgb, var(--bg-card) 78%, transparent) !important;
  }
}

/* ===== Заеднички заоблени агли на сите рамки =====
   Еден радиус преку DESIGN ELEMENTS → Border radius.
   Пил-баџовите (99px) и круговите (50%) намерно не се менуваат. */
.card,
.sidebar-widget,
.side-widget-card,
.histats-card,
.banner-strip,
.custom-banner-card,
.custom-banner-box,
.email-contact-card,
.custom-sidebar-content-card,
.hero-img-box,
.subscription-offer-link,
.ofr-hero,
.ofr-card,
.ofr-combo,
.ofr-combo-in,
.ofr-step,
.ofr-faq details,
.ofr-lookup,
.ofr-disc,
.ofr-m,
.ofr-odds,
.ofr-box,
.ofr-msg,
.ofr-kv,
.ofr-wallet,
.ofr-admin,
.ofr-btn,
#customBannerBox img,
button,
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  border-radius: var(--design-radius, 12px) !important;
}
