/* assets/css/bonus.css */

.main-container {
    max-width: 400px;
    margin: 0 auto;
    min-height: 100vh;
    background: #0d111a;
    color: white;
    font-family: Arial, sans-serif;
    padding-bottom: 20px;
}

/* Header Setup */
.bonus-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 12px;
    background: #1a1c23;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-title { font-size: 18px; font-weight: bold; color: #fff; }
.header-back-btn { color: #fff; text-decoration: none; }

/* Bonus List Container */
.bonus-list {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Individual Bonus Card */
.bonus-card {
    background: linear-gradient(90deg, #181d2c 0%, #1e2538 100%);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.bonus-card-main {
    display: flex;
    align-items: center;
    padding: 12px 15px;
}

.bonus-icon {
    width: 38px;
    height: 38px;
    object-fit: contain;
    margin-right: 15px;
}

.bonus-info {
    flex: 1;
}

.bonus-title {
    font-size: 15px;
    font-weight: bold;
    color: #ffffff;
}

/* Action Area (Right Side) */
.bonus-action {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bonus-tag {
    font-size: 10px;
    color: #8892a3;
    font-weight: bold;
    letter-spacing: 0.5px;
}

/* Claim / Open Button */
.btn-bonus {
    background: #254bce;
    color: #ffffff;
    border: none;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: bold;
    position: relative;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(37, 75, 206, 0.4);
}

.btn-bonus:active {
    transform: scale(0.95);
}

/* Golden Coin Badge on Button */
.coin-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 16px;
    height: 16px;
    background: radial-gradient(circle, #ffe600 30%, #f59e0b 100%);
    border-radius: 50%;
    border: 2px solid #1e2538;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}
.coin-badge::after {
    content: '$';
    font-size: 9px;
    font-weight: bold;
    color: #b45309;
}

/* Specific Progress Bar for 'Free Spin' */
.bonus-progress-area {
    background: #152248;
    height: 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}

.progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 45%; /* প্রোগ্রেস কমানো-বাড়ানো যাবে */
    background: repeating-linear-gradient(
        -45deg,
        #2a50d4,
        #2a50d4 10px,
        #365deb 10px,
        #365deb 20px
    );
    z-index: 1;
}

.progress-text {
    position: relative;
    z-index: 2;
    font-size: 10px;
    color: #ffffff;
    padding-right: 10px;
    font-weight: normal;
}
.bonus-card-main {
    gap: 12px;
}

.bonus-icon {
    margin-right: 0;
    flex: 0 0 38px;
}

.bonus-info {
    min-width: 0;
}

.bonus-title {
    overflow-wrap: anywhere;
}

.bonus-action {
    flex: 0 0 auto;
}

@media (max-width: 360px) {
    .bonus-list {
        padding: 10px 0;
    }

    .bonus-card-main {
        padding: 12px;
    }

    .btn-bonus {
        padding: 8px 12px;
    }

    .bonus-tag {
        display: none;
    }
}

