/* Scoped casino rating cards for the Strapi-powered ranking blocks. */

.ativ-rating-updated{
  display:flex;
  align-items:center;
  gap:8px;
  margin:-6px 0 22px;
  color:#53617d;
  font-size:16px;
  font-style:italic;
}

.ativ-rating-updated i{
  color:#FC4022;
  font-size:17px;
}

.ativ-rating-list{
  gap:24px !important;
}

.ativ-rating-list .ativ-rating-card{
  position:relative;
  overflow:hidden;
  padding:30px 26px 24px !important;
  border:1px solid rgba(252,64,34,.48) !important;
  border-radius:18px !important;
  background:
    linear-gradient(115deg, rgba(30,115,190,.22) 0%, rgba(30,115,190,0) 34%),
    linear-gradient(180deg,#101E42 0%,#091023 100%);
  box-shadow:0 22px 50px -32px rgba(9,16,35,.72), inset 0 1px 0 rgba(255,255,255,.08);
  color:#FFFFFF;
}

.ativ-rating-list .ativ-rating-card::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:3px;
  background:linear-gradient(90deg,#1E73BE,#FC4022);
}

.ativ-rating-list .ativ-rating-card:first-child{
  border-color:rgba(252,64,34,.7) !important;
  padding-top:38px !important;
}

.ativ-top-flag{
  position:absolute;
  top:0;
  left:26px;
  z-index:2;
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:8px 15px;
  border-radius:0 0 9px 9px;
  background:linear-gradient(180deg,#ff725b,#FC4022);
  color:#FFFFFF;
  font-size:12px;
  font-weight:800;
  letter-spacing:1px;
}

.ativ-card-layout{
  display:grid;
  grid-template-columns:190px minmax(0,1fr) 230px;
  gap:26px;
  align-items:start;
}

.ativ-brand-panel{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:18px;
}

.ativ-logo-box{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:92px;
  padding:10px;
  border-radius:12px;
  background:linear-gradient(180deg,#1C294B,#091023);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.1);
}

.ativ-logo-box a,
.ativ-logo-box img{
  display:block;
  width:100%;
}

.ativ-logo-box img{
  max-height:72px;
  object-fit:contain;
  object-position:center;
}

.ativ-score-box{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:7px;
}

.ativ-score-value{
  color:#FFFFFF;
  font-size:36px;
  font-weight:800;
  line-height:1;
}

.ativ-score-value span{
  margin-left:3px;
  color:#C8D2EC;
  font-size:15px;
  font-weight:800;
}

.ativ-review-count{
  color:#9aa7c2;
  font-size:12px;
  font-weight:700;
  line-height:1;
}

.ativ-rating-list .star-rating{
  display:flex;
  flex-wrap:nowrap;
  justify-content:center;
  max-width:none;
  width:auto;
}

.ativ-rating-list .star{
  width:15px;
  height:15px;
  margin-right:2px;
  background:#4b556f;
}

.ativ-rating-list .star.full{
  background-color:#FC4022;
}

.ativ-rating-list .star.partial{
  background:linear-gradient(to right,#FC4022 80%,#4b556f 80%);
}

.ativ-rating-list .star.empty{
  background-color:#4b556f;
}

.ativ-offer-panel{
  min-width:0;
}

.ativ-brand-name{
  margin:0 0 7px;
  color:#FC4022;
  font-size:12px;
  font-weight:800;
  letter-spacing:1px;
  line-height:1.1;
  text-transform:uppercase;
}

.ativ-offer-panel h4{
  margin:0 0 16px;
  color:#FFFFFF;
  font-size:28px;
  font-weight:800;
  line-height:1.16;
  overflow-wrap:anywhere;
  text-wrap:balance;
}

.ativ-offer-panel ul{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin:0;
  padding:0;
  list-style:none;
}

.ativ-feature-item{
  position:relative;
  padding-left:28px;
  color:#C8D2EC;
  font-size:16px;
  line-height:1.4;
  overflow-wrap:anywhere;
}

.ativ-feature-item::before{
  content:"✓";
  position:absolute;
  left:0;
  top:1px;
  color:#FC4022;
  font-size:14px;
  font-weight:900;
}

.ativ-details-desktop{
  margin-top:18px;
}

.ativ-details-mobile{
  display:none;
}

.ativ-advantage-grid{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.ativ-advantage-tile{
  display:flex;
  flex:1 1 150px;
  align-items:center;
  gap:10px;
  min-width:0;
  padding:12px 13px;
  border:1px solid rgba(255,255,255,.11);
  border-radius:12px;
  background:rgba(255,255,255,.055);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
}

.ativ-advantage-icon{
  display:flex;
  flex:0 0 34px;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border-radius:10px;
  background:rgba(252,64,34,.14);
  color:#FC4022;
}

.ativ-advantage-copy{
  display:flex;
  flex-direction:column;
  min-width:0;
}

.ativ-advantage-label{
  color:#8f9bb8;
  font-size:10px;
  font-weight:800;
  letter-spacing:.8px;
  line-height:1.15;
  text-transform:uppercase;
}

.ativ-advantage-value{
  color:#FFFFFF;
  font-size:14px;
  font-weight:800;
  line-height:1.2;
  overflow-wrap:anywhere;
}

.ativ-payment-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}

.ativ-payment-chip{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:7px 10px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  background:rgba(255,255,255,.06);
  color:#C8D2EC;
  font-size:12px;
  font-weight:800;
  line-height:1.1;
}

.ativ-payment-chip i{
  color:#FC4022;
}

.ativ-extra-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:12px;
}

.ativ-promo,
.ativ-review-link,
.ativ-responsible{
  border:1px solid rgba(255,255,255,.12);
  border-radius:10px;
  background:rgba(0,0,0,.12);
  color:#C8D2EC;
  font-size:12px;
  line-height:1.35;
}

.ativ-promo,
.ativ-review-link{
  padding:8px 10px;
  font-weight:800;
}

.ativ-promo b,
.ativ-review-link{
  color:#FFFFFF;
}

.ativ-review-link{
  text-decoration:none;
}

.ativ-responsible{
  margin-top:12px;
  padding:10px 12px;
}

.ativ-action-panel{
  display:flex;
  justify-content:flex-end;
}

.ativ-cta{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:100%;
  min-height:62px;
  padding:0 18px;
  border-radius:50px;
  background:linear-gradient(180deg,#ff725b,#FC4022);
  box-shadow:0 15px 30px -14px rgba(252,64,34,.78), inset 0 1px 0 rgba(255,255,255,.26);
  color:#FFFFFF;
  font-size:20px;
  font-weight:800;
  text-align:center;
  text-decoration:none;
}

.ativ-cta:hover,
.ativ-cta:focus{
  color:#FFFFFF;
  filter:brightness(1.04);
}

@media (max-width:1100px){
  .ativ-card-layout{
    grid-template-columns:170px minmax(0,1fr);
    grid-template-areas:
      "brand offer"
      "action action";
  }

  .ativ-brand-panel{
    grid-area:brand;
  }

  .ativ-offer-panel{
    grid-area:offer;
  }

  .ativ-action-panel{
    grid-area:action;
    justify-content:center;
  }

  .ativ-cta{
    max-width:420px;
  }
}

@media (max-width:720px){
  html,
  body,
  .app{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
  }

  *,
  *::before,
  *::after{
    box-sizing:border-box;
  }

  .app main.grow > section:first-child{
    padding-top:18px !important;
    padding-bottom:14px !important;
    margin-bottom:12px !important;
  }

  .app main.grow > section:first-child h2.title{
    width:100%;
    max-width:100%;
    margin-bottom:16px !important;
    font-size:24px !important;
    line-height:1.14 !important;
    overflow-wrap:anywhere !important;
    word-break:break-word !important;
  }

  .app main.grow > section:first-child h2.title > div{
    bottom:-8px !important;
    width:54px !important;
    height:4px !important;
  }

  .app main.grow > section:first-child p.text-pretty{
    width:100%;
    max-width:100%;
    font-size:14px !important;
    line-height:1.28 !important;
    overflow-wrap:anywhere !important;
  }

  .app main.grow > section:first-child .main-container,
  .ativ-rating-section .main-container{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    padding-left:10px !important;
    padding-right:10px !important;
  }

  .app main.grow > section:first-child .main-container > div,
  .app main.grow > section:first-child .main-container > div > div,
  .ativ-rating-section{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }

  .ativ-rating-list{
    gap:14px !important;
    width:100% !important;
    max-width:100% !important;
    overflow:hidden !important;
  }

  .ativ-rating-section{
    margin-bottom:20px !important;
  }

  .ativ-rating-section .main-container{
    padding-left:12px !important;
    padding-right:12px !important;
  }

  .ativ-rating-title{
    width:100%;
    max-width:100%;
    margin-bottom:8px !important;
    font-size:22px !important;
    line-height:1.16 !important;
    overflow-wrap:anywhere !important;
    word-break:break-word !important;
  }

  .ativ-rating-updated{
    justify-content:center;
    margin:-2px 0 12px;
    text-align:center;
    font-size:13px;
  }

  .ativ-rating-list .ativ-rating-card{
    width:100% !important;
    max-width:100% !important;
    margin-left:auto !important;
    margin-right:auto !important;
    padding:18px 14px 16px !important;
    border-radius:14px !important;
  }

  .ativ-rating-list .ativ-rating-card:first-child{
    padding-top:34px !important;
  }

  .ativ-top-flag{
    left:18px;
  }

  .ativ-card-layout{
    width:100%;
    min-width:0;
    grid-template-columns:1fr;
    grid-template-areas:
      "brand"
      "offer"
      "action"
      "details";
    gap:12px;
  }

  .ativ-brand-panel{
    flex-direction:row;
    justify-content:space-between;
    width:100%;
    max-width:100%;
    min-width:0;
    gap:12px;
  }

  .ativ-logo-box{
    flex:1 1 144px;
    max-width:148px;
    min-height:62px;
    padding:8px;
    min-width:0;
  }

  .ativ-logo-box img{
    max-height:50px;
  }

  .ativ-score-box{
    flex:0 0 86px;
    gap:4px;
    min-width:86px;
    max-width:86px;
  }

  .ativ-score-value{
    font-size:28px;
  }

  .ativ-score-value span{
    font-size:12px;
  }

  .ativ-rating-list .star{
    width:12px;
    height:12px;
    margin-right:1px;
  }

  .ativ-review-count{
    font-size:10px;
  }

  .ativ-brand-name{
    max-width:100%;
    margin-bottom:5px;
    font-size:11px;
    overflow-wrap:anywhere;
  }

  .ativ-offer-panel{
    width:100%;
    max-width:100%;
    overflow:hidden;
  }

  .ativ-offer-panel h4{
    display:block;
    inline-size:100%;
    max-inline-size:100%;
    max-width:100%;
    margin-bottom:9px;
    font-size:18px;
    line-height:1.2;
    white-space:normal !important;
    overflow-wrap:anywhere !important;
    word-break:break-word !important;
    text-wrap:auto;
  }

  .ativ-offer-panel ul{
    max-width:100%;
    gap:6px;
  }

  .ativ-feature-item{
    padding-left:22px;
    font-size:13px;
    line-height:1.3;
  }

  .ativ-feature-item:nth-child(n+3){
    display:none;
  }

  .ativ-feature-item::before{
    top:0;
    font-size:13px;
  }

  .ativ-cta{
    width:100%;
    max-width:none;
    min-height:46px;
    font-size:16px;
  }

  .ativ-details-desktop{
    display:none;
  }

  .ativ-details-mobile{
    grid-area:details;
    display:block;
  }

  .ativ-details-mobile summary{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:40px;
    border:1px solid rgba(255,255,255,.12);
    border-radius:999px;
    color:#FFFFFF;
    cursor:pointer;
    font-size:14px;
    font-weight:800;
    list-style:none;
  }

  .ativ-details-mobile summary::-webkit-details-marker{
    display:none;
  }

  .ativ-details-mobile[open] summary i{
    transform:rotate(180deg);
  }

  .ativ-details-mobile .ativ-advantage-grid{
    margin-top:12px;
  }

  .ativ-advantage-grid{
    gap:8px;
  }

  .ativ-advantage-tile{
    flex-basis:calc(50% - 4px);
    padding:9px;
  }

  .ativ-advantage-icon{
    flex-basis:28px;
    width:28px;
    height:28px;
    border-radius:8px;
  }

  .ativ-advantage-label{
    font-size:9px;
  }

  .ativ-advantage-value{
    font-size:12px;
  }

  .ativ-payment-chip{
    padding:6px 8px;
    font-size:11px;
  }

  .ativ-responsible{
    font-size:11px;
  }
}

@media (max-width:380px){
  .ativ-advantage-tile{
    flex-basis:100%;
  }
}
