
/* =========================================
   UNTUNG99 REVIEW SECTION
   Theme: Dark Gold
========================================= */

.untung-review-section {
    --ur-bg: #17130f;
    --ur-card: #211b15;
    --ur-gold: #ffc23f;
    --ur-gold-hover: #ffd36e;
    --ur-text: #fffaf0;
    --ur-muted: #c5bbae;
    --ur-border: #393027;

    width: 100%;
    padding: 64px 20px;
    background: var(--ur-bg);
    color: var(--ur-text);
    box-sizing: border-box;
}

.untung-review-section *,
.untung-review-section *::before,
.untung-review-section *::after {
    box-sizing: border-box;
}

.untung-review-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.untung-review-header {
    max-width: 720px;
    margin: 0 auto 32px;
    text-align: center;
}

.untung-review-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--ur-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.untung-review-header h2 {
    margin: 0 0 12px;
    color: var(--ur-text);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    line-height: 1.3;
}

.untung-review-header p {
    margin: 0;
    color: var(--ur-muted);
    font-size: 15px;
    line-height: 1.8;
}

/* Rating summary */

.untung-review-summary {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    padding: 28px;
    margin-bottom: 28px;
    background: var(--ur-card);
    border: 1px solid var(--ur-border);
    border-radius: 16px;
}

.untung-review-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

.untung-review-score-number {
    color: var(--ur-gold);
    font-size: 52px;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.untung-review-stars {
    display: flex;
    gap: 3px;
    color: #554a38;
    font-size: 23px;
    line-height: 1;
}

.untung-review-stars .is-filled,
.untung-review-card-stars .is-filled {
    color: var(--ur-gold);
}

.untung-review-total {
    color: var(--ur-muted);
    font-size: 13px;
}

/* Rating distribution */

.untung-review-breakdown {
    display: flex;
    flex-direction: column;
    gap: 13px;
    min-width: 0;
}

.untung-review-bar-row {
    display: grid;
    grid-template-columns: 75px minmax(0, 1fr) 28px;
    gap: 12px;
    align-items: center;
}

.untung-review-bar-label,
.untung-review-bar-count {
    color: var(--ur-muted);
    font-size: 12px;
}

.untung-review-bar-count {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.untung-review-bar-track {
    width: 100%;
    height: 8px;
    overflow: hidden;
    background: #393027;
    border-radius: 20px;
}

.untung-review-bar-fill {
    height: 100%;
    background: var(--ur-gold);
    border-radius: inherit;
}

/* Review cards */

.untung-review-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.untung-review-card {
    min-width: 0;
    padding: 22px;
    background: var(--ur-card);
    border: 1px solid var(--ur-border);
    border-radius: 14px;
    transition: border-color 0.2s ease;
}

.untung-review-card:hover {
    border-color: rgba(255, 194, 63, 0.45);
}

.untung-review-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    margin-bottom: 16px;
}

.untung-review-avatar {
    display: flex;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 194, 63, 0.35);
    border-radius: 50%;
    background: #302619;
    color: var(--ur-gold);
    font-size: 14px;
    font-weight: 800;
}

.untung-review-user {
    flex: 1;
    min-width: 0;
}

.untung-review-user h3 {
    margin: 0 0 5px;
    color: var(--ur-text);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.untung-review-user time {
    display: block;
    color: var(--ur-muted);
    font-size: 12px;
}

.untung-review-card-stars {
    display: flex;
    flex-shrink: 0;
    gap: 1px;
    color: #554a38;
    font-size: 14px;
}

.untung-review-text {
    margin: 0;
    color: #ded5c8;
    font-size: 14px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

/* Tablet */

@media (max-width: 800px) {
    .untung-review-section {
        padding: 48px 18px;
    }

    .untung-review-summary {
        grid-template-columns: 180px minmax(0, 1fr);
        gap: 22px;
        padding: 22px;
    }

    .untung-review-list {
        grid-template-columns: 1fr;
    }
}

/* Mobile */

@media (max-width: 520px) {
    .untung-review-section {
        padding: 38px 14px;
    }

    .untung-review-header {
        margin-bottom: 24px;
    }

    .untung-review-header p {
        font-size: 13px;
    }

    .untung-review-summary {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 22px 16px;
        border-radius: 12px;
    }

    .untung-review-score-number {
        font-size: 46px;
    }

    .untung-review-breakdown {
        width: 100%;
    }

    .untung-review-bar-row {
        grid-template-columns: 68px minmax(0, 1fr) 24px;
        gap: 8px;
    }

    .untung-review-card {
        padding: 17px;
        border-radius: 12px;
    }

    .untung-review-card-top {
        flex-wrap: wrap;
        gap: 10px;
    }

    .untung-review-avatar {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }

    .untung-review-card-stars {
        margin-left: auto;
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .untung-review-card {
        transition: none;
    }
}

/* Samakan lebar review dengan container section CTA */
.untung-review-section {
    width: 100%;
    padding: 45px 0;
    background: #110B0B;
    box-sizing: border-box;
}

.untung-review-section .untung-review-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 36px;
    box-sizing: border-box;
}

/* Isi review jangan melebar keluar */
.untung-review-section .untung-review-summary,
.untung-review-section .untung-review-list {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.untung-review-section .untung-review-card {
    min-width: 0;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .untung-review-section .untung-review-inner {
        padding-left: 20px;
        padding-right: 20px;
    }
}


.slot-rankings-section {
    background: #17130f;
    padding: 45px 0;
}

.slot-rankings-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.slot-ranking-box {
    min-width: 0;
    overflow: hidden;
    background: #211b15;
    border: 1px solid #393027;
    border-radius: 14px;
}

.slot-ranking-title {
    margin: 0;
    padding: 18px;
    color: #ffc23f;
    font-size: 18px;
    line-height: 1.4;
    border-bottom: 1px solid #393027;
}

.slot-ranking-item {
    display: grid;
    grid-template-columns: 22px 54px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border-bottom: 1px solid #393027;
}

.slot-ranking-item:last-child {
    border-bottom: 0;
}

.slot-ranking-number {
    color: #ffc23f;
    font-weight: 700;
    text-align: center;
}

.slot-ranking-thumb {
    width: 54px;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    background: #17130f;
}

.slot-ranking-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slot-ranking-name {
    min-width: 0;
    color: #fffaf0;
    font-size: 14px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.slot-ranking-value {
    color: #0eca07;
    font-size: 13px;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

@media (max-width: 1000px) {
    .slot-rankings-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .slot-rankings-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .slot-ranking-title {
        font-size: 17px;
    }
}


.slot-ranking-name,
.slot-ranking-value {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.slot-ranking-name {
    color: #fffaf0;
    font-size: 14px;
    font-weight: 600;
}

.slot-ranking-name small {
    color: #c5bbae;
    font-size: 12px;
    font-weight: 400;
}

.slot-ranking-value {
    color: #ffc23f;
    font-size: 14px;
    font-weight: 700;
    text-align: right;
}

.slot-ranking-value small {
    color: #c5bbae;
    font-size: 11px;
    font-weight: 400;
}