.cmy {
  font-family: "Poppins", Sans-serif;
  font-size: 45px;
  font-weight: 600;
  text-transform: none;
  line-height: 1.2em;
  color: #1BB117;
}
.greenc {
  color: #1BB117;
}

/* Container */
.rt-table-wrapper {
  max-width: 1100px;
  margin: 2rem auto;
  overflow-x: auto;
  font-family: Arial, sans-serif;
}

/* Table base */
.rt-table {
  width: 100%;
  border-collapse: collapse;
}
.rt-table th,
.rt-table td {
  vertical-align: middle;
}

/* Header */
.rt-table thead {
  background: #dc2744;
  border-bottom: 4px solid #ffce00;
}
.rt-table thead th {
  color: #fff;
  padding: 12px;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

/* Columns */
.rt-table th.col-rank   { width: 80px; }
.rt-table th.col-logo   { width: 200px; }
.rt-table th.col-desc   { /* auto */ }
.rt-table th.col-rating { width: 140px; }
.rt-table th.col-score  { width: 111px; }
.rt-table th.col-action { width: 236px; }

/* Rows */
.rt-table tbody tr {
  background: #fff;
  transition: background .2s;
}
.rt-table tbody tr:nth-child(even) {
  background: #f8f8f8;
}
.rt-table tbody tr:first-child {
  box-shadow: 0 0 0 2px #ffce00 inset;
}
.rt-table tbody tr:hover {
  background: #fffcf2;
  cursor: pointer;
}

/* Rank & Ribbon */
.col-rank {
  position: relative;
  text-align: center;
}
.rt-rank-number {
  display: block;
  font-size: 24px;
  font-weight: bold;
  color: #171C2B;
}
.rt-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  padding: 5px 8px;
  font-size: 10px;
  font-weight: 700;
  width: 99px;
  border-radius: 4px;
  color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,.2);
  transform: none;
  /* PULSE animation */
  animation: ribbonPulse 3s ease-in-out infinite;
}
.rt-badge-best-choice    .rt-ribbon { background: #FFCE00; color: #171C2B; }
.rt-badge-most-popular   .rt-ribbon { background: #FF9000; }
.rt-badge-exclusive-offer.rt-ribbon { background: #C8043C; }
.rt-badge-fast-withdrawals.rt-ribbon { background: #2F77FC; }

/* Logo column */
.col-logo {
  text-align: center;
  padding: 12px;
  position: relative;
}
.rt-logo {
  max-height: 40px;
  vertical-align: middle;
  margin-right: 8px;
}

/* Bonus column */
.col-desc {
  text-align: center;
  padding: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #171C2B;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.rt-bonus-subtext {
  font-size: 12px;
  color: #34B059;
  margin-top: 4px;
}

/* Stars */
.col-rating {
  text-align: center;
  padding: 12px;
}
.rt-stars {
  display: inline-block;
  font-size: 16px;
  line-height: 1;
}
.star {
  display: inline-block;
  font-size: 21px;
  margin-right: 2px;
  position: relative;
  opacity: 0;
  animation: starFade 0.5s ease-out forwards;
}
@keyframes starFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.star.full:before  { content:"★"; color:#fe9804; }
.star.empty:before { content:"☆"; color:#ccc; }
.star.half:before  { content:"★"; color:#ccc; }
.star.half:after   {
  content:"★"; color:#fe9804;
  position:absolute; top:0; left:0; width:50%; height:100%; overflow:hidden;
}
.rt-rating-label {
  font-size: 13px;
  font-weight: 600;
  color: #000;
  margin-top: 3px;
}

/* Score circle */
.col-score {
  text-align: center;
  padding: 12px;
}
.rt-score-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border: 3px solid #FE9807;
  border-radius: 50%;
  font-size: 21px;
  font-weight: bold;
  color: #171C2B;
  animation: scorePulse 0.8s ease-out;
}
@keyframes scorePulse {
  0%   { transform: scale(0); opacity:0; }
  60%  { transform: scale(1.2); opacity:1; }
 100%  { transform: scale(1); }
}

/* Button */
.col-action {
  text-align: center;
  padding: 12px;
  width: 236px;
}
.rt-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #34B059;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  transition: background .2s;
}
.rt-btn:hover,
.rt-table tbody tr:hover .rt-btn {
  background: #fe9804;
}

/* Extra padding */
.rt-table td {
  padding-top: 24px !important;
  padding-bottom: 24px !important;
}

table thead tr {
  border: 1px solid #dc2744 !important;
}

/* ———————————————————————————————
   MOBILE only: true 50/50 split, badges, button & no gaps
   ——————————————————————————————— */
@media only screen and (max-width: 768px) {
  /* hide headers */
  .rt-table thead,
  .rt-table th { display: none; }

  /* row → card */
  .rt-table tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto auto;
    grid-template-areas:
      "ribbon ribbon"
      "logo-area bonus-area"
      "rating-area bonus-area"
      "score-area action-area";
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    cursor: default;
    background: transparent !important;
  }
  .rt-table td {
    display: block;
    padding: 0;
    border: none;
    background: transparent !important;
  }

  /* ribbon (col-rank cell) */
  .rt-table td.col-rank {
    grid-area: ribbon;
    display: block;
    position: relative;
    padding: 0;
    overflow: hidden;
    background: #2e0014 !important;
  }
  .rt-table td.col-rank .rt-ribbon {
    display: block;
    position: static;
    width: 100%;
    text-align: center;
    transform: none;
    padding: 8px 1rem;
    border-radius: 8px 8px 0 0;
    box-shadow: none;
  }

  /* left half */
  .rt-table td.col-logo {
    grid-area: logo-area;
    background: #42001e !important;
    padding: 1rem;
  }
  .rt-table td.col-rating {
    grid-area: rating-area;
    background: #42001e !important;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .rt-table td.col-score {
    grid-area: score-area;
    background: #42001e !important;
    padding: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  /* right half */
  .rt-table td.col-desc {
    grid-area: bonus-area;
    background: #2e0014 !important;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .rt-table td.col-action {
    grid-area: action-area;
    background: #2e0014 !important;
    padding: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .rt-table td.col-action .rt-btn {
    width: 100%;
    max-width: 200px;
    padding: 12px;
    font-size: 14px;
    border-radius: 50px;
    background: #34B059 !important;
    color: #fff !important;
  }

  /* hide “#” */
  .rt-table td.col-rank { display: none; }

  /* text colors */
  .rt-table tbody tr,
  .rt-table tbody tr * {
    color: #fff !important;
    background: none !important;
  }
  .rt-rating-label {
    color: #ccc !important;
    font-size: 14px;
    margin-top: 5px;
  }
  .rt-bonus-subtext {
    color: #34B059 !important;
    font-size: 14px;
    margin-top: 5px;
  }

  /* tweaks */
  .rt-logo {
    max-height: 50px !important;
    margin-bottom: 10px;
  }
  .star { font-size: 24px !important; }
  .rt-score-circle {
    width: 60px;
    height: 60px;
    font-size: 21px;
    margin-bottom: 5px;
  }

  /* no mobile hover */
  .rt-table tbody tr:hover,
  .rt-btn:hover {
    background: none !important;
  }
  
      .rt-table td.col-action {
        grid-area: action-area;
       width: 100%;
    }
    
  .rt-table tbody tr   .rt-bonus-subtext {
    color: #34B059!important;
}

    .rt-logo {
        object-fit: scale-down;
    }
    
    .cmy{
        margin-left: auto!important;
        margin-right: auto!important;
        display: block!important;
        text-align: center!important;
    }
  
}

/* Ribbon pulse keyframes */
@keyframes ribbonPulse {
  0%,100% { transform: translateY(0) rotate(0); }
  50%     { transform: translateY(-3px) rotate(0); }
}


 .rt-logo {
        object-fit: scale-down;
    }