/* partner.css — стиль как на референсе (dark + glass + big typography + pill buttons) */
/* Можно вставлять поверх текущего partner.css (или заменить полностью). */

:root{
  --bg0:#07070c;
  --bg1:#0b0c14;
  --panel: rgba(255,255,255,.06);
  --panel2: rgba(255,255,255,.04);
  --stroke: rgba(255,255,255,.10);
  --stroke2: rgba(255,255,255,.14);

  --text:#f3f6ff;
  --muted: rgba(243,246,255,.72);

  --accent:#7c5cff;
  --accent2:#00e6ff;
  --good:#13FFC3;

  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 16px;

  --shadow: 0 24px 70px rgba(0,0,0,.55);
  --shadow2: 0 18px 40px rgba(0,0,0,.42);

  --blur: 18px;
}


img{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }

.container{
  width: min(1320px, 94%);
  margin: 0 auto;
  padding: 24px 0 38px;
  margin-top: 16vh; /* fixed header */
  display:flex;
  gap: 28px;
  align-items:flex-start;
}

/* ===== Left (logo) ===== */
.left-col{
  width: 18%;
  min-width: 220px;

  border-radius: var(--r-xl);
  background:
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03)),
    radial-gradient(120% 120% at 20% 0%, rgba(124,92,255,.22), transparent 60%),
    var(--panel2);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow2);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));

  padding: 26px;
  display:flex;
  align-items:center;
  justify-content:center;
  aspect-ratio: 1 / 1;
}

.l-col-logo{
  width: min(180px, 100%);
  height:auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 34px rgba(0,0,0,.45));
}

/* ===== Middle ===== */
.middle-col{
  width: 56%;
  min-width: 560px;
  display:flex;
  flex-direction:column;
  gap: 22px;
}

/* Top block (hero) */
.top-block{
  border-radius: var(--r-xl);
  background:
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03)),
    radial-gradient(120% 120% at 10% 0%, rgba(124,92,255,.20), transparent 60%),
    radial-gradient(120% 120% at 90% 20%, rgba(0,230,255,.10), transparent 55%),
    var(--panel);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));

  padding: 30px;
  display:flex;
  flex-direction:column;
  gap: 18px;
}

.first-top-block{
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap: 18px;
}

/* Big title like reference */
#partnerName{
  margin:0;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.06;
  font-size: clamp(34px, 3.2vw, 56px);
  max-width: 72%;
  word-break: break-word;
}

/* Verify pill */
.main-verify{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;

  background: rgba(19,255,195,.10);
  border: 1px solid rgba(19,255,195,.50);
  box-shadow: 0 18px 40px rgba(0,0,0,.30);

  color: var(--good);
  font-weight: 900;
  font-size: 14px;
  white-space: nowrap;
}

.Verif{ margin:0; font-size:inherit; }
#partnerVerif{ margin:0; font-size:inherit; opacity:.95; }

/* Bonus chips */
#bonusContainer{
  display:flex;
  flex-wrap:wrap;
  gap: 12px;
  margin-top: 2px;
}

.label-boxes{ display:inline-flex; margin:0; }

.label{
  margin:0;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing:.2px;

  color: rgba(243,246,255,.92);
  border: 1px solid rgba(255,255,255,.16);
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* CTA like reference (big white pill) */
.site-btn{
  margin-top: 10px;
  width: 100%;
  height: 64px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;

  background: rgba(255,255,255,.95);
  color: #0b0c14;

  font-weight: 900;
  letter-spacing: .3px;
  text-transform: none;

  box-shadow: 0 22px 60px rgba(0,0,0,.55);
  transition: transform .14s ease, filter .14s ease;
}

.site-btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.btngift{ width:22px; height:22px; margin:0; }

/* ===== Rating block (glass section) ===== */
.rating-block{
  border-radius: var(--r-xl);
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03)),
    radial-gradient(140% 140% at 0% 20%, rgba(124,92,255,.14), transparent 55%),
    var(--panel2);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow2);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));

  padding: 28px;
}

.rating-title{
  display:flex;
  align-items:center;
  gap: 10px;
  margin: 0 0 14px 0;
}

#partnerVerif2{
  margin:0;
  font-weight: 900;
  letter-spacing: -.01em;
  font-size: 28px;
}

.rait-ast{
  width: 5vw;
  height:auto;
  opacity: .9;
}

/* Score bars like “Category list” feel */
.score-bar{
  position:relative;
  margin: 12px 0;
  padding: 14px 14px 12px;
  border-radius: 16px;

  background: rgba(0,0,0,.16);
  border: 1px solid rgba(255,255,255,.10);
}

.score-bar > span{
  position:absolute;
  right: 14px;
  top: 14px;
  font-weight: 900;
  color: rgba(243,246,255,.92);
}

.score-bar .bar{
  height: 10px;
  border-radius: 999px;
  margin-top: 12px;

  background: linear-gradient(90deg, var(--accent), var(--accent2));
  box-shadow: 0 16px 30px rgba(124,92,255,.18);
  width: 0; /* JS sets */
}

/* Description */
#partnerDescp{
  margin: 18px 0 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ===== Right column (cards list) ===== */
.right-col{
  width: 26%;
  min-width: 320px;
  display:flex;
  flex-direction:column;
  gap: 14px;
}

#info, #empty{
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(243,246,255,.82);
}

#partners{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.card{
  position:relative;
  border-radius: 22px;
  padding: 16px;

  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03)),
    rgba(0,0,0,.12);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  transition: transform .14s ease, box-shadow .14s ease;
}

.card:hover{
  transform: translateY(-2px);
  box-shadow: 0 26px 70px rgba(0,0,0,.55);
}

.tooinone-sec{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap: 12px;
}

.card .card-image{
  width: 84px;
  height: 84px;
  border-radius: 18px;
  background-position:center;
  background-repeat:no-repeat;
  background-size:contain;
  background-color: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
}

.card-content{
  display:flex;
  flex-direction:column;
  gap: 10px;
}

.card-offer{
  margin:0;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.35;
  color: rgba(243,246,255,.92);
}

/* Rating pill */
.card-rating{
  display:flex;
  align-items:center;
  gap: 6px;

  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 14px;

  background: rgba(19,255,195,.10);
  border: 1px solid rgba(19,255,195,.50);
  color: var(--good);
  white-space: nowrap;
}

.rating-icon{ width:16px; height:16px; margin:0; opacity:.95; }

/* Visit button — pill */
.card button{
  border: none;
  cursor:pointer;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;

  background: rgba(255,255,255,.95);
  color: #0b0c14;
  font-weight: 900;
  letter-spacing: .3px;

  align-self:flex-start;
  transition: transform .12s ease, filter .12s ease;
}

.card button:hover{
  transform: translateY(-1px);
  filter: brightness(1.02);
}

/* Sponsored / Best styling (gold) */
.card.sponsored,
.card.best-of-month{
  background: linear-gradient(135deg, #EECB12 40%, #FAE79B 70%, #E6B018 92%);
  border: 1px solid rgba(255,215,0,.70);
}

.card.sponsored .card-offer,
.card.best-of-month .card-offer{ color: rgba(0,0,0,.86); }

.card.sponsored .card-rating,
.card.best-of-month .card-rating{
  background: rgba(11,12,20,.92);
  border-color: rgba(11,12,20,.92);
  color: rgba(243,246,255,.94);
}

.card.sponsored button,
.card.best-of-month button{
  background: #0b0c14;
  color: #fff;
}

.sponsored-badge{
  position:absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(11,12,20,.92);
  color: rgba(243,246,255,.92);
  border: 1px solid rgba(0,0,0,.25);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}

/* ===== Responsive ===== */
@media (max-width: 1100px){
  .middle-col{ min-width: 0; width: 60%; }
  .right-col{ min-width: 300px; }
  .left-col{ min-width: 200px; }
}

@media (max-width: 920px){
  .container{
    flex-direction:column;
    margin-top: 12vh;
    gap: 16px;
    width: min(760px, 94%);
  }

  .left-col, .middle-col, .right-col{
    width: 100%;
    min-width: 0;
  }

  .left-col{
    aspect-ratio:auto;
    padding: 18px;
  }

  #partnerName{ max-width: 100%; }
  .first-top-block{ flex-direction:column; align-items:flex-start; }

  .site-btn{ height: 58px; }
}

@media (max-width: 520px){
  #partnerName{ font-size: 34px; }
  .top-block, .rating-block, .left-col{ border-radius: 22px; }
  .site-btn{ height: 56px; }
  .score-bar{ padding-right: 70px; }
}