:root{
  /* Light theme */
  --bg:#f6f8fb;
  --card:#ffffff;
  --card2:#f2f5fb;
  --text:#0b1220;
  --muted:#5b667a;
  --line:rgba(12,18,32,.10);

  --accent:#19a44b;
  --accentHover:#14863d;

  --shadow: 0 14px 34px rgba(16,24,40,.10);
  --shadowHover: 0 18px 44px rgba(16,24,40,.14);
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:
    radial-gradient(1100px 650px at 10% 0%, rgba(25,164,75,.12), transparent 60%),
    radial-gradient(900px 520px at 90% 0%, rgba(11,18,32,.05), transparent 60%),
    var(--bg);
  color:var(--text);
  line-height:1.6;
}

/* Container */
.container{
  width:100%;
  max-width:1100px;
  margin:0 auto;
  padding:20px;
}

/* Header */
header{
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(10px);
  position:sticky;
  top:0;
  background:rgba(246,248,251,.88);
  z-index:10;
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.logo-img{height:56px}

/* Titles */
h1{
  margin:18px 0 8px;
  font-size:32px;
  line-height:1.15;
  letter-spacing:-.02em;
}
h2{margin:24px 0 10px}
p{margin:10px 0}
.section-title{
  margin-top:24px;
  color:var(--muted);
  font-weight:700;
  letter-spacing:.02em;
}

/* ================= CARDS ================= */
.bookmakers{
  display:grid;
  gap:16px;
}

.bm-card{
  border-radius:18px;
  padding:18px;
  border:1px solid var(--line);
  background:linear-gradient(180deg,var(--card) 0%,var(--card2) 100%);
  box-shadow:var(--shadow);
  display:flex;
  align-items:center;
  justify-content:space-between;
  transition:.2s ease;
}

.bm-card:hover{
  border-color:rgba(25,164,75,.28);
  box-shadow:var(--shadowHover);
}

/* Left layout */
.bm-left{
  display:grid;
  grid-template-columns:160px 1fr;
  grid-template-rows:auto auto;
  grid-template-areas:
    "logo title"
    "stars title";
  column-gap:18px;
  row-gap:6px;
  align-items:center;
}

.bm-icon {
    width: 150px;
    height: 70px;
    border-radius: 8px;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.bm-icon img{
  display:block;
  max-width:80%;
  max-height:100%;
  object-fit:contain;
}

.bm-meta{ grid-area:title; }

.bm-title{
  font-weight:800;
  font-size:16px;
  line-height:1.25;
  color:var(--text);
}

.bm-stars{
  grid-area:stars;
  font-size:14px;
  letter-spacing:2px;
  color:var(--accent);
  margin:0;
}

/* Right */
.bm-right{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  margin-left:20px;
}

.btn{
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent) 100%);
  color:#fff;
  border-radius:999px;
  padding:12px 18px;
  font-weight:900;
  text-decoration:none;
  border:1px solid rgba(25,164,75,.35);
  box-shadow:0 10px 22px rgba(25,164,75,.18);
  transition:.2s;
  white-space:nowrap;
}

.btn:hover{
  background:linear-gradient(180deg, #22c55e 0%, var(--accentHover) 100%);
  transform:translateY(-1px);
}
.btn:active{transform:translateY(0)}

/* ================= CONTENT CARD ================= */
.content-card{
  margin-top:24px;
  border-radius:16px;
  padding:20px;
  border:1px solid var(--line);
  background:linear-gradient(180deg,var(--card) 0%,var(--card2) 100%);
  box-shadow:var(--shadow);
}

/* ================= TABLES ================= */
.article table{
  width:100%;
  border-collapse:collapse;
  margin:18px 0;
  border:1px solid var(--line);
  background:var(--card);
}

.article th,
.article td{
  border:1px solid var(--line);
  padding:12px;
  text-align:left;
}

.article th{
  background:rgba(25,164,75,.06);
  font-weight:800;
}

.article tbody tr:nth-child(even){
  background:rgba(11,18,32,.02);
}
.article tbody tr:hover{
  background:rgba(25,164,75,.05);
}

/* Horizontal scroll for wide tables */
.table-scroll{
  width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  border-radius:12px;
  border:1px solid var(--line);
}

.table-scroll table{
  min-width:720px;
  width:max-content;
  border-collapse:collapse;
}

/* ================= FAQ ================= */
.faq{
  display:grid;
  gap:12px;
}

.faq details{
  border-radius:12px;
  border:1px solid var(--line);
  background:var(--card);
  overflow:hidden;
  box-shadow:0 10px 24px rgba(16,24,40,.06);
}

.faq summary{
  cursor:pointer;
  padding:14px;
  font-weight:800;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.faq summary::after{
  content:"+";
  color:var(--accent);
  font-weight:900;
  font-size:18px;
}

.faq details[open] summary::after{ content:"−"; }

.faq .faq-body{
  padding:14px;
  border-top:1px solid var(--line);
  color:var(--muted);
}

/* ================= MOBILE ================= */
@media (max-width:520px){
  h1{font-size:26px}

  .bm-card{
    display:grid !important;
    grid-template-columns:120px 1fr;
    grid-template-areas:
      "logo  title"
      "stars title"
      "stars btn";
    gap:8px 14px;
    align-items:center;
  }

  .bm-left{ display:contents !important; }

  .bm-icon{
    grid-area:logo;
    width:120px;
    height:58px;
    display:flex;
    align-items:center;
    justify-content:center;

    border-right:1px solid rgba(12,18,32,.18);
    padding-right:14px;
    margin-right:8px;
  }

  .bm-icon img{
    max-width:90%;
    max-height:90%;
    object-fit:contain;
  }

  .bm-stars{
    grid-area:stars;
    margin:0;
    font-size:14px;
    letter-spacing:2px;
    justify-self:center;
  }

  .bm-meta{
    grid-area:title;
    padding-left:4px;
  }

  .bm-title{
    font-size:15px;
    line-height:1.2;
    margin:0;
  }

  .bm-right{
    grid-area:btn;
    justify-self:start;
    margin:0;
  }

  .btn{
    width:auto;
    padding:10px 16px;
  }
}

/* ================= FOOTER ================= */
footer{
  margin-top:34px;
  border-top:1px solid var(--line);
  background:rgba(255,255,255,.65);
  padding:20px 0;
  text-align:center;
}

footer .container{
  color:var(--muted);
}

footer a{
  color:#0b5bd3;
  text-decoration:none;
  font-weight:700;
  transition:.2s;
}
footer a:hover{
  text-decoration:underline;
}

/* ================= FAQ Dropdown ================= */
.faq{
  display:grid;
  gap:12px;
}

.faq-item{
  width:100%;
  text-align:left;
  border-radius:12px;
  border:1px solid var(--line);
  background:var(--card);
  box-shadow:0 10px 24px rgba(16,24,40,.06);
  padding:14px;
  cursor:pointer;

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

  font-weight:800;
  color:var(--text);
}

.faq-item:hover{
  border-color:rgba(25,164,75,.28);
}

.faq-q{
  padding-right:10px;
}

.faq-ico{
  color:var(--accent);
  font-weight:900;
  font-size:18px;
  line-height:1;
}

.faq-panel{
  margin-top:-6px;
  border-radius:12px;
  border:1px solid var(--line);
  border-top:none;
  background:var(--card);
  padding:14px;
  color:var(--muted);
}

.faq-panel p{ margin:0; }

/* ===== Stake text logo ===== */
.stake-brand{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  text-decoration:none;
  line-height:1;
}

.stake-logo{
  font-weight:900;
  font-size:38px;
  letter-spacing:-0.5px;
  color:#19a44b;
}

.stake-sub{
  font-size:17px;
  font-weight:800;
  letter-spacing:1.6px;
  color:#0b1220;
  opacity:.65;
  margin-top:2px;
}

/* hover effect */
.stake-brand:hover .stake-logo{
  color:#14863d;
}


/* ===== Intro Read More ===== */
.intro{
  margin-bottom:10px;
}

.intro-text{
  max-height:100px !important;        /* височина преди разгъване */
  overflow:hidden;
  position:relative;
  transition:max-height .35s ease;
}

/* fade ефект долу */
.intro-text::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:50px;
  background:linear-gradient(to bottom, rgba(246,248,251,0), var(--bg));
  pointer-events:none;
  transition:opacity .2s;
}

.intro-text.expanded{
  max-height:800px !important;        /* достатъчно за много текст */
}

.intro-text.expanded::after{
  opacity:0;
}

/* бутон */
.see-more{
  display:block;
  margin:8px auto 0;   /* центрира хоризонтално */
  background:none;
  border:none;
  color:var(--accent);
  font-weight:800;
  cursor:pointer;
  padding:4px 0;
  font-size:14px;
  text-align:center;
}

.see-more:hover{
  text-decoration:underline;
}

.see-more:hover{
  text-decoration:underline;
}

/* Mobile layout for bookmaker cards */
@media (max-width: 520px){
  .bm-card{
    display:grid !important;
    grid-template-columns:120px 1fr;
    grid-template-areas:
      "logo  title"
      "stars title"
      "stars btn";
    gap:8px 14px;
    align-items:center;
  }

  .bm-left{ display:contents !important; }

  .bm-icon{
    grid-area:logo;
    width:120px;
    height:60px;
    border-right:2px solid rgba(255,255,255,.18);
    padding-right:16px;
    margin-right:8px;
    display:flex;
    align-items:center;
    justify-content:center;
  }

  .bm-stars{
    grid-area:stars;
    justify-self:center;
    margin:0;
  }

  .bm-meta{ grid-area:title; }
  .bm-right{ grid-area:btn; justify-self:start; margin:0; }

  .btn{ padding:10px 16px; }
}
  .hero{
      margin-top:18px;
      border:1px solid var(--line);
      border-radius:16px;
      background:linear-gradient(180deg, rgba(26,51,64,.75) 0%, rgba(23,47,59,.75) 100%);
      box-shadow:0 14px 30px rgba(0,0,0,.35);
      overflow:hidden;
    }
    .hero-inner{
      display:grid;
      grid-template-columns: 220px 1fr;
      gap:18px;
      padding:18px;
      align-items:center;
    }
    .avatar{
      width:220px;
      height:220px;
      border-radius:18px;
      border:1px solid rgba(255,255,255,.12);
      background:rgba(0,0,0,.12);
      overflow:hidden;
      display:flex;
      align-items:center;
      justify-content:center;
    }
    .avatar img{
      width:100%;
      height:100%;
      object-fit:cover;
      display:block;
    }
    h1{margin:0 0 6px;font-weight:900;letter-spacing:.2px}
    .role{margin:0 0 12px;color:rgba(255,255,255,.78);font-weight:700}
    .bio{margin:0 0 14px;color:#d1ebff}
    .meta{
      display:flex;
      flex-wrap:wrap;
      gap:10px;
      margin-top:10px;
    }
    .pill{
      border:1px solid rgba(255,255,255,.12);
      background:rgba(0,0,0,.10);
      padding:8px 10px;
      border-radius:999px;
      color:rgba(255,255,255,.85);
      font-weight:700;
      font-size:13px;
    }
    .pill strong{color:#fff}


