/* ═══════════════════════════════════════════
   CASINO RANKING SHORTCODE  [casino_ranking]
   File: css/casino-ranking.css
   Theme colours: green #1a5c2e / gold #f5c842
   Zero impact on existing .aces-* styles.
═══════════════════════════════════════════ */

/* ── Wrapper ── */
.acr-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 4px 0;
}

/* ── Card ── */
.acr-card {
    background: #fff;
    border-radius: 14px;
    border: 0.5px solid #e0e0e0;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.acr-card:hover {
    box-shadow: 0 4px 18px rgba(0,0,0,0.07);
}
.acr-card--top {
    border: 1.5px solid #e8a020;
}

/* ── Accent bar ── */
.acr-accent {
    height: 3px;
    width: 100%;
}

/* ── Body row ── */
.acr-body {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background-color: #F6FFF5;
}

/* ── Rank ── */
.acr-rank {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    width: 26px;
    flex-shrink: 0;
}
.acr-rank__num {
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    color: #bbb;
}
.acr-rank__num--1 { color: #e8a020; }
.acr-rank__num--2 { color: #909090; }
.acr-rank__num--3 { color: #a0522d; }
.acr-rank__icon   { font-size: 13px; line-height: 1; }

/* ── Logo ── */
.acr-logo {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: #f5f5f5;
    border: 0.5px solid #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.acr-logo__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.acr-logo__text {
    font-size: 10px;
    font-weight: 700;
    color: #1a5c2e;
    text-align: center;
    padding: 4px;
    line-height: 1.2;
}

/* ── Info ── */
.acr-info {
    flex: 1;
    min-width: 0;
}
.acr-info__name {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

/* Badges */
.acr-badge {
    font-size: 9px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 6px;
    line-height: 1.4;
}
.acr-badge--hot { background: #e8390e; color: #fff; }
.acr-badge--top { background: #e8a020; color: #fff; }
.acr-badge--new { background: #1a5c2e; color: #fff; }

/* Perks (Style B bullets) */
.acr-perks {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.acr-perk {
    font-size: 11px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 5px;
    line-height: 1.4;
}
.acr-perk__icon {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #e8f5ed;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ── Meta column ── */
.acr-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

/* Stars */
.acr-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}
.acr-star {
    display: inline-block;
    width: 11px;
    height: 11px;
    clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
}
.acr-star--full  { background: #f5c842; }
.acr-star--half  { background: linear-gradient(90deg, #f5c842 50%, #e0e0e0 50%); }
.acr-star--empty { background: #e0e0e0; }
.acr-stars__val {
    font-size: 11px;
    font-weight: 600;
    color: #333;
    margin-left: 3px;
}

/* Cuci live dot */
.acr-cuci {
    font-size: 10px;
    color: #1a5c2e;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.acr-cuci__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4caf6e;
    animation: acr-pulse 1.8s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes acr-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(0.75); }
}

/* ── Buttons ── */
.acr-btns {
    display: flex;
    gap: 5px;
}
.acr-btn {
    font-size: 10px;
    font-weight: 600;
    padding: 7px 13px;
    border-radius: 10px;
    text-decoration: none !important;
    white-space: nowrap;
    display: inline-block;
    transition: background 0.15s, color 0.15s, transform 0.1s;
    line-height: 1;
}
.acr-btn--play {
    background: #1a5c2e;
    color: #fff !important;
    border: none;
}
.acr-btn--play:hover {
    background: #236b38;
    color: #fff !important;
    transform: translateY(-1px);
}
.acr-btn--review {
    background: #fff;
    color: #1a5c2e !important;
    border: 1px solid #1a5c2e;
}
.acr-btn--review:hover {
    background: #f0faf4;
    color: #1a5c2e !important;
}

/* ── Mobile responsive ── */
@media (max-width: 640px) {
    .acr-body {
        gap: 8px;
        padding: 12px 12px;
    }
    .acr-logo {
        width: 44px;
        height: 44px;
    }
    .acr-info__name {
        font-size: 12px;
    }
    .acr-perk {
        font-size: 10px;
    }
    .acr-btn {
        font-size: 9px;
        padding: 6px 10px;
    }
    .acr-stars__val,
    .acr-cuci {
        font-size: 9px;
    }
}

@media (max-width: 400px) {
    .acr-btn--review { display: none; }
}
