﻿#popupAnnouncementListingModal .modal-content {
    margin: 0 auto;
    text-align: center;
    max-width: 75%;
}

#popupAnnouncementListingModal .ann-close {
    right: 0;
    bottom: -35px;
    color: #fff;
    opacity: 1;
    position: absolute;
    z-index: 111;
    text-align: center;
    left: 48%;
    font-size: 27px;
    font-weight: 100;
    border: 2px solid #fff;
    border-radius: 100%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #d7b28c;
}

/* Terms & Conditions Modal */
.missionTncModal .modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.missionTncModal .modal-header {
    background: linear-gradient(to bottom, #edd7ba 0%, #d4a982 100%);
    color: #ffffff;
    border-radius: 15px 15px 0 0;
    padding: 15px;
    border-bottom: none;
}

.missionTncModal .modal-title {
    font-weight: 700;
    font-size: 19px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.missionTncModal .btn-close {
    filter: brightness(0) invert(1);
    opacity: 1;
}

.missionTncModal .modal-body {
    padding: 15px;
    max-height: 60vh;
    overflow-y: auto;
}

.missionTncModal .tnc-content h6 {
    color: #8b6914;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 20px;
    margin-bottom: 10px;
}

    .missionTncModal .tnc-content h6:first-child {
        margin-top: 0;
    }

.missionTncModal .tnc-content p {
    color: #333333;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.missionTncModal .modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 20px 30px;
    border-radius: 0 0 15px 15px;
}

    .missionTncModal .modal-footer .btn {
        padding: 10px 30px;
        border-radius: 10px;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .missionTncModal .modal-footer .btn-secondary {
        background: linear-gradient(to bottom, #edd7ba 0%, #d4a982 100%);
        border: none;
        color: #000000;
    }

        .missionTncModal .modal-footer .btn-secondary:hover {
            filter: brightness(0.8);
            color: #ffffff;
            transform: translateY(-2px);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        }


.btn-claim {
    white-space: nowrap;
}

.btn-claim:active {
    transform: translate(-50%, 115%) !important; /* small press effect */
}

.vip-afterlogin-turnover-label {
    margin-top: 25px !important;
}

.vip-detail-table {
    max-width: 380px !important;
}

/* Fortune Wheel: canvas draws segments live from BO theme data (Winwheel.js),
   replacing the designer's static pre-baked disc image. Background/pointer/center-logo
   also come from the BO theme now, not fixed designer art. */
.fortune-page .fortune-wheel-stage {
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* fortune.css positions the pointer at top:36.55%/width:13.88%, tuned for the
   designer's MG_09_wheel_pointer.png which had a lot of transparent padding above
   the visible triangle. The BO theme's own pinpoint_image_url is tightly cropped,
   so that same top offset lands it near the wheel's center instead of the rim. */
.fortune-page .fortune-wheel-pointer {
    top: -1% !important;
    width: 9% !important;
}

.fortune-page .fortune-wheel-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}


.fortune-page .fortune-wheel-center-logo {
    position: absolute;
    top: 50%;
    left: 10%;
    z-index: 2;
    width: 10%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* Shiny pop-out win reveal, same shine.png burst CMM_KING99 uses. */
.fortune-page .fortune-wheel-prize {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: none;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('/fortunewheel/shine.png') center / 85% no-repeat;
    opacity: 0;
    pointer-events: none;
}

    .fortune-page .fortune-wheel-prize div {
        max-width: 60%;
        font-size: 20px;
        font-weight: 700;
        color: #6d3c1e;
        text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
    }

.fortune-page .fortune-game {
    margin-top: 50px;
}

