@keyframes float {
    0% {
        transform: translateY(0) translateX(0);
    }

    50% {
        transform: translateY(-100px) translateX(50px);
    }

    100% {
        transform: translateY(0) translateX(0);
    }
}

div#code-input-modal .modal-content {
    background: transparent;
}

div#code-input-modal .code-input-section {
    background: #fff;
    padding: 30px 20px;
}

h2.prizeLevel {
    font-size: 20px;
}

div#code-input-modal span.close-modal {
    position: absolute;
    top: 93%;
    right: 0;
    border-radius: 50% !important;
    background: #25f074;
    color: #fff;
}

.flake {
    z-index: 0;
    overflow: hidden;
    position: absolute;
    pointer-events: none;
}

.flake {
    width: 70px;
    height: auto;
    z-index: 2;
}

/* Animation cho c谩c flake */
.flake:nth-child(1) {
    animation: float1 5s linear infinite;
    left: 10%;
}

.flake:nth-child(2) {
    animation: float2 7s linear infinite;
    left: 25%;
}

.flake:nth-child(3) {
    animation: float3 6s linear infinite;
    left: 40%;
}

.flake:nth-child(4) {
    animation: float4 8s linear infinite;
    left: 15%;
}

.flake:nth-child(5) {
    animation: float5 9s linear infinite;
    left: 70%;
}

.flake:nth-child(6) {
    animation: float6 7s linear infinite;
    left: 85%;
}

.flake:nth-child(7) {
    animation: float7 6s linear infinite;
    left: 15%;
}

.flake:nth-child(8) {
    animation: float8 8s linear infinite;
    left: 60%;

}

/* Keyframes cho animation */
@keyframes float1 {
    0% {
        top: 100px;
        transform: rotate(0deg);
    }

    100% {
        top: 100vh;
        transform: rotate(360deg);
    }
}

@keyframes float2 {
    0% {
        top: 100px;
        transform: rotate(0deg);
    }

    100% {
        top: 100vh;
        transform: rotate(-360deg);
    }
}

@keyframes float3 {
    0% {
        top: 100px;
        transform: rotate(0deg) scale(0.8);
    }

    100% {
        top: 100vh;
        transform: rotate(360deg) scale(0.8);
    }
}

@keyframes float4 {
    0% {
        top: 100px;
        transform: rotate(0deg) scale(1.2);
    }

    100% {
        top: 100vh;
        transform: rotate(-360deg) scale(1.2);
    }
}

@keyframes float5 {
    0% {
        top: 100px;
        transform: rotate(0deg);
    }

    100% {
        top: 100vh;
        transform: rotate(360deg);
    }
}

@keyframes float6 {
    0% {
        top: 100px;
        transform: rotate(0deg) scale(0.9);
    }

    100% {
        top: 100vh;
        transform: rotate(-360deg) scale(0.9);
    }
}

@keyframes float7 {
    0% {
        top: 100px;
        transform: rotate(0deg) scale(1.1);
    }

    100% {
        top: 100vh;
        transform: rotate(360deg) scale(1.1);
    }
}

@keyframes float8 {
    0% {
        top: 100px;
        transform: rotate(0deg);
    }

    100% {
        top: 100vh;
        transform: rotate(-360deg);
    }
}

/*  */
.otherstuff {
    position: absolute;
    bottom: -2px;
    left: 10px;
    width: 180px;
    line-height: 50%;
    height: 30px;
    color: #444;
    font-size: 20px;
    text-decoration: none;
    opacity: .25;
}

img.slot-machine-bg {
    position: relative;
}

.slot-machine {

    transform: translate(-50%, -50%);
    position: absolute;
    top: 50%;
    left: 50%;
    width: 84%;
    padding: 10px;
}

.otherstuff:hover {
    color: #fff;
    opacity: 1;
    transition: color .2s linear, opacity .2s linear;
}


.lucky-draw-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 10px;
    box-sizing: border-box;
    position: relative;
}

.lucky-draw-header-icon {
    animation: daxiao 3s linear infinite;
}

@keyframes daxiao {
    0% {
        -o-transform: scale(1);
        -ms-transform: scale(1);
        -moz-transform: scale(1);
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    25% {
        -o-transform: scale(1.1);
        -ms-transform: scale(1.1);
        -moz-transform: scale(1.1);
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }

    50% {
        -o-transform: scale(1);
        -ms-transform: scale(1);
        -moz-transform: scale(1);
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    75% {
        -o-transform: scale(1.1);
        -ms-transform: scale(1.1);
        -moz-transform: scale(1.1);
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }

    100% {
        -o-transform: scale(1);
        -ms-transform: scale(1);
        -moz-transform: scale(1);
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

.guolv {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
    z-index: 999;
}

.lucky-draw-header-icon {
    position: absolute;
    left: 20%;
    top: 10%;
}

.lucky-draw-container-wrapper {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding-top: 40px;
    padding-bottom: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    z-index: 9;
}

img.head-img {
    position: absolute;
    top: -4%;
    left: 50%;
    width: 70%;
    max-width: 420px;
    transform: translate(-50%, -50%);
    z-index: 9;
    pointer-events: none;
}

.sub-bg {
    height: 100%;
    mix-blend-mode: color-dodge;
    position: absolute;

    width: 100%;
    display: block;
}



/* li.prize-item-preview:nth-child(3) {
    display: none;
} */
/* Slot Machine Styles */
.slot-machine-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 99;
    box-sizing: border-box;
}

.slot-machine-title {
    text-align: center;
    font-size: 48px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 20px #00ffff, 0 0 40px #ff00ff;
    margin-bottom: 30px;
    font-family: 'Arial Black', sans-serif;
    letter-spacing: 3px;
}

/* 
.slot-machine {
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    border: 3px solid #00ffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 
        0 0 30px rgba(0, 255, 255, 0.5),
        inset 0 0 30px rgba(255, 0, 255, 0.2);
    position: relative;
}

.slot-machine::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, #00ffff, #ff00ff, #ffff00, #00ffff);
    border-radius: 25px;
    z-index: -1;
    animation: borderGlow 2s linear infinite;
} */

@keyframes borderGlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.reels-container {
    display: flex;
    justify-content: center;
    gap: 5px;
    /* margin-bottom: 30px;
    perspective: 1000px; */
}

.reel {
    width: 120px;
    height: 350px;
    background: linear-gradient(180deg, #26f074, #26f074);
    border: 2px solid #26f074;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 10px #26f074, inset 0 0 20px #26f074;
}

.reel-item {
    width: 100%;
    height: 115px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #000, #000);
    border-bottom: 1px solid #17c483;
    position: relative;
}

.reel-item img {
    width: 75px;
    height: 75px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.reel-item .prize-text {
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    padding: 10px;
    word-wrap: break-word;
    line-height: 1.2;
}

.reel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
            transparent 0%,
            rgba(0, 255, 255, 0.1) 50%,
            transparent 100%);
    pointer-events: none;
}

/* Sequential Marquee (一个个转 / 逐格走马灯) styles */
.reel-item {
    transition: background 0.04s ease, box-shadow 0.04s ease, opacity 0.06s ease;
}

.reel-item.dimmed {
    opacity: 0.42;
    filter: brightness(0.65);
}

.reel-item.active-step {
    opacity: 1 !important;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.45) 0%, rgba(38, 240, 116, 0.3) 55%, rgba(4, 20, 28, 0.95) 100%) !important;
    box-shadow: inset 0 0 0 3px #00ffff, inset 0 0 18px rgba(0, 255, 255, 0.85), 0 0 25px rgba(0, 255, 255, 0.95) !important;
    z-index: 10;
}

.reel-item.active-step img {
    transform: scale(1.16);
    filter: drop-shadow(0 0 10px #00ffff) drop-shadow(0 0 18px #26f074) !important;
    transition: transform 0.08s ease;
}

/* Winning line highlight */
/* .winning-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff00ff, #00ffff, #ff00ff);
    transform: translateY(-50%);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.8);
    z-index: 10;
    animation: winningPulse 1s ease-in-out infinite;
}

.winning-line.winning {
    background: linear-gradient(90deg, #ffff00, #ff00ff, #00ffff, #ffff00);
    box-shadow: 0 0 30px rgba(255, 255, 0, 1);
    animation: winningFlash 0.5s ease-in-out infinite;
} */

@keyframes winningPulse {

    0%,
    100% {
        opacity: 0.7;
        transform: translateY(-50%) scaleX(1);
    }

    50% {
        opacity: 1;
        transform: translateY(-50%) scaleX(1.05);
    }
}

@keyframes winningFlash {

    0%,
    100% {
        opacity: 1;
        transform: translateY(-50%) scaleX(1);
    }

    50% {
        opacity: 0.5;
        transform: translateY(-50%) scaleX(1.1);
    }
}

.spin-button {
    text-align: center;
    margin-top: 20px;
}

/* .spin-btn {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e, #ff6b6b);
    color: white;
    border: none;
    padding: 20px 60px;
    font-size: 32px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 
        0 8px 20px rgba(255, 107, 107, 0.4),
        inset 0 2px 10px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
} */

/* .spin-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
} */
.spin-button-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.spin-btn img {
    width: 40%;
}

.spin-btn:hover::before {
    left: 100%;
}

.spin-btn:hover {
    transform: translateY(-3px);

}

.spin-btn:active {
    transform: translateY(-1px);

}

.spin-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Prize grid fallback for old structure */
.prize-grid {
    display: none;
    /* Hide old grid */
}

.spin-button {
    animation: updown 3s linear infinite;
}

section#contact-footer {
    z-index: 9999 !important;
}

@keyframes updown {
    0% {
        -o-transform: scale(1);
        -ms-transform: scale(1);
        -moz-transform: scale(1);
        -webkit-transform: scale(1);
        transform: scale(1);
        transform: scale(1);
    }

    25% {
        -o-transform: scale(1.1);
        -ms-transform: scale(1.1);
        -moz-transform: scale(1.1);
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
        transform: scale(1.1);
    }

    50% {
        -o-transform: scale(1);
        -ms-transform: scale(1);
        -moz-transform: scale(1);
        -webkit-transform: scale(1);
        transform: scale(1);
        transform: scale(1);
    }

    75% {
        -o-transform: scale(1.1);
        -ms-transform: scale(1.1);
        -moz-transform: scale(1.1);
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
        transform: scale(1.1);
    }

    100% {
        -o-transform: scale(1);
        -ms-transform: scale(1);
        -moz-transform: scale(1);
        -webkit-transform: scale(1);
        transform: scale(1);
        transform: scale(1);
    }

}

.prize-item {
    aspect-ratio: 1;

    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;

    position: relative;
}

.prize-item img {
    width: 100%;
    height: auto;
}

.prize-item span {
    font-weight: bold;
    color: #333;
}

.btn-delete-selected #bulk-delete-codes {
    color: #0c398e !important;
    border-color: #0c398e !important;
}

.btn-delete-selected {
    float: right;
}

.prize-item.dim {
    opacity: 0.3;
}

tbody#the-list td {
    text-align: center;
}

table.wp-list-table.widefat.fixed.striped td {
    text-align: center;
}

.prize-item.highlight {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    opacity: 1;
}

button.btn-draw-again {
    margin: 0;
    font-size: 17px;
    padding: 10px;
}

.prize-item.active {
    opacity: 1;
    transform: scale(1.1);
    z-index: 2;
    background: linear-gradient(90deg, rgb(255 221 0 / 52%) 0%, rgb(253 145 29 / 44%) 50%, rgb(252 176 69 / 57%) 100%);
    padding: 3px;
}

img.prize-image {
    width: 125px;
    height: auto;
}

#spinButton {
    grid-column: 2 / span 2;
    grid-row: 2 / span 2;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

#spinButton {
    display: block;
}

#spinButton span {
    color: white;
    font-size: 24px;
    font-weight: bold;
}

#spinButton:hover {
    transform: scale(1.05);
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 11% auto;
    padding: 20px;
    width: 80%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.close-modal {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    text-align: right;
}

.close-modal:hover {
    color: #000;
}

.code-input-section {
    text-align: center;
    margin: 40px 0;
}

#lottery-code {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
    text-align: center;
}

#lottery-code:focus {
    border-color: #4CAF50;
    outline: none;
    box-shadow: 0 0 5px #8BC34A;
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.button-primary {
    background-color: #ff4444;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.button-secondary {
    background-color: #666;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.button-primary:hover {
    background-color: #ff2222;
}

.button-secondary:hover {
    background-color: #555;
}

/* Error message style */
.error-message {
    color: #ff4444;
    margin-top: 10px;
    font-size: 14px;
    display: none;
}

/* Message Popup Styles */
.message-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px 40px;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    text-align: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 300px;
}

.message-popup.success {
    background-color: #9c27b0;
}

.message-popup.error {
    background-color: #154c69;
}

.message-popup.error.login-required {
    background-color: #154c69;
    font-weight: bold;
}

div#userPointsDisplay {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Login Notice Styles */
.login-notice .modal-content {
    max-width: 400px;
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.login-notice h2 {
    color: #333;
    margin-bottom: 15px;
    font-size: 24px;
}

.login-notice p {
    color: #666;
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.5;
}

.login-notice .button-group {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.login-notice .button-primary {
    background-color: #ff4444;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.login-notice .button-secondary {
    background-color: #666;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.login-notice .button-primary:hover {
    background-color: #ff2222;
}

.login-notice .button-secondary:hover {
    background-color: #555;
}

.login-notice .close-modal {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    transition: color 0.3s;
}

.login-notice .close-modal:hover {
    color: #333;
}

/* Modal Background */
.lucky-draw-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Initial Winning Popup */
.winning-popup .modal-content {
    max-width: 500px;
    padding: 30px;
    text-align: center;
    background: #010202ad;
    border-radius: 10px;
    box-shadow: 1px 1px 17px #cddc39;
    border: 2px solid #fff;
}

.winning-popup .prize-image {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
}

.winning-popup .button-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.winning-popup .go-check-btn,
.winning-popup .draw-again-btn {
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.winning-popup .go-check-btn {
    background-color: #f5f5f5;
    color: #fff;
}

.winning-popup .draw-again-btn {
    background-color: #ff4444;
    color: white;
}

/* Prize Details Popup */
.prize-details-popup .modal-content {
    max-width: 500px;
    background: white;
    border-radius: 10px;
    position: relative;
    padding: 0;
}

.prize-details-popup h2 {
    margin: 0;
    padding: 15px 20px;
    background: #f5f5f5;
    border-radius: 10px 10px 0 0;
    font-size: 18px;
    color: #333;
    text-align: center;
}

.prize-result {
    text-align: center;
}

.search-history-section {
    margin-top: 30px;
}

.close-modal {
    position: absolute;
    right: 15px;
    top: 12px;
    font-size: 28px;
    color: #fff;
    cursor: pointer;

    background: #ff0000;
    padding: 0px 15px;
    box-shadow: 2px -3px 1px #fff;
}

.prize-info {
    padding: 5px;
}

.prize-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.prize-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.prize-title {
    font-size: 16px;
    color: #666;
}

.congratulations-text {
    text-align: center;
    color: #ff4444;
    font-size: 18px;
    margin-bottom: 20px;
}

.prize-value {
    font-size: 24px;
    font-weight: bold;
    margin-top: 5px;
}

.redemption-section {
    background: #005153;
    border-radius: 10px;
    margin: 10px;
    padding: 20px;
    text-align: left;
    border: 1px solid #4caf50;
}

.redemption-section h3 {
    color: #ff4444;
    font-size: 18px;
    margin: 0 0 15px 0;
}

.redemption-row {
    display: flex;
    margin-bottom: 15px;
}

.redemption-row .label {
    width: 150px;
    color: #fff;
}

.code-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.code {
    color: #fff;
    font-family: monospace;
}

.copy-btn {
    background: transparent;
    border: 1px solid #8BC34A;
    color: #8BC34A;
    padding: 2px 10px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
}

h2.prizeLevel {
    color: #fff;
}

.copy-btn:hover {
    background: #8BC34A;
    color: white;
}

.method {
    color: #fff;
    flex: 1;
}

/* Animation */
.winning-popup {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Code Display Styles */
.code-content {
    text-align: center;
}

.code-content h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
}

.code-display {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.code-display input {
    padding: 10px 15px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 5px;
    width: 200px;
    text-align: center;
    background: #f9f9f9;
}

.copy-code-btn {
    padding: 10px 20px;
    background-color: #9c27b0;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.copy-code-btn:hover {
    background-color: #45a049;
}

.back-to-prize-btn {
    padding: 10px 20px;
    background-color: #666;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.back-to-prize-btn:hover {
    background-color: #555;
}

.button-group button {
    font-size: 20px !important;
    padding: 10px;
    background: linear-gradient(to right, #25f074, #009688);
    color: #fff;
    border: 2px solid #ffffff !important;
}

.redemption-section h3 {
    text-align: center !important;
    line-height: 40px !important;
    border-bottom: none !important;
    margin-top: 14px !important;
    font-size: 1rem !important;
    color: #d91b1b !important;
}

.prize-info {
    display: flex;
    align-items: center;
    justify-content: center;
}



.lucky-draw-bottom-btn img {
    width: 100%;
    height: auto;
}


.lucky-draw-header-bg {
    text-align: center;
    /* margin-bottom: -7px; */
    position: absolute;
    top: -17%;
}

.lucky-draw-header-bg img {
    width: 100%;
}

.lucky-draw-container {
    position: relative;
}


.sub-bg {
    opacity: 0.2;
    height: 100%;
    mix-blend-mode: color-dodge;
    position: absolute;
    z-index: 1;
    width: 100%;
    display: block;
}

.lucky-draw-bottom-btn {
    text-align: center;
    display: flex;
    justify-content: center;
    cursor: pointer;
}

/* Prize Total Modal Styles */
.lucky-draw-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.prizes-list-modal .modal-content {
    background: #fff;
    max-width: 500px;
    margin: 50px auto;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    max-height: 70vh;
    overflow-y: auto;
    top: 10%;
}

.prizes-list-modal h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.prizes-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.prize-item-preview {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    justify-content: space-between;
    min-width: 200px;
}

.prize-item-preview:hover {
    transform: translateY(-5px);
}



.prize-item-preview h3 {
    margin: 0;
    font-size: 16px;
    color: #333;
}



/* Th锚m cursor pointer cho prize-total */
#prize-total {
    cursor: pointer;
}

#prize-total:hover {
    opacity: 0.8;
}

.lucky-draw-modal .modal-content {
    width: 35%;
}

.prizes-list-modal .modal-content::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #F5F5F5;
}

.prizes-list-modal .modal-content::-webkit-scrollbar {
    width: 10px;
    background-color: #F5F5F5;
}

.prizes-list-modal .modal-content::-webkit-scrollbar-thumb {
    background-color: rgb(27, 115, 216);
    background-image: -webkit-linear-gradient(45deg,
            rgba(255, 255, 255, .2) 25%,
            transparent 25%,
            transparent 50%,
            rgba(255, 255, 255, .2) 50%,
            rgba(255, 255, 255, .2) 75%,
            transparent 75%,
            transparent)
}

/* Responsive design for modals and general components */
@media (max-width: 1024px) {
    .lucky-draw-modal .modal-content {
        width: 59%;
    }
}

@media (max-width: 768px) {
    .lucky-draw-modal .modal-content {
        width: 80%;
    }
    .lucky-draw-header-bg img {
        width: 100%;
    }
    .lucky-draw-header-bg {
        top: -12%;
    }
}

/* .prize-grid {
    position: relative;
    border-radius: 23px;
}
.prize-grid::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
     border-radius: 23px;
     border: 5px solid rgb(200 239 249);
    animation: border-anim 2s linear infinite;
    
}


@keyframes border-anim {
    0% {
        clip-path: polygon(0% 0%, 0% 0%, 0% 0%, 0% 0%);
    }
    25% {
        clip-path: polygon(0% 0%, 25% 0%, 0% 0%, 0% 0%);
    }
    50% {
        clip-path: polygon(0% 0%, 100% 0%, 100% 25%, 0% 25%);
    }
    75% {
        clip-path: polygon(0% 100%, 100% 100%, 100% 0%, 100% 0%);
    }
    100% {
        clip-path: polygon(0% 0%, 0% 0%, 0% 0%, 0% 0%);
    }
} *//* ========================================= */
/* BUTTONS & PODIUM LAYOUT                   */
/* ========================================= */
.spin-button-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 12px 10px;
    box-sizing: border-box;
}
.lucky-draw-bottom-btn {
    flex: 0 0 24%;
    max-width: 130px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 99;
}
.lucky-draw-bottom-btn img {
    width: 100%;
    max-width: 120px;
    height: auto;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.2s;
}
.lucky-draw-bottom-btn img:hover {
    transform: scale(1.05);
}
.spin-button {
    flex: 0 0 50%;
    max-width: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 99;
}
.spin-btn {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.spin-btn img {
    width: 100% !important;
    max-width: 280px;
    height: auto;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.15s ease;
}
.spin-btn img:active {
    transform: scale(0.96);
}

.user-points-display {
    text-align: center;
    margin: 8px 0;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    width: 100%;
    box-sizing: border-box;
}
.user-points-display .current-points {
    cursor: pointer;
    display: inline-block;
    padding: 4px 14px;
    background: rgba(4, 18, 38, 0.7);
    border: 1px solid rgba(0, 255, 255, 0.4);
    border-radius: 999px;
    font-size: 13px;
    color: #7df9ff;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.6);
    backdrop-filter: blur(6px);
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}
body {
    background: url('../images/neon/BACKGROUND.jpg') center/cover fixed !important;
    background-color: #001030 !important;
}

/* ========================================= */
/* FIX FOR SLOT MACHINE REELS POSITIONING    */
/* ========================================= */
.slot-machine {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    position: absolute !important;
    top: 50.2% !important;
    left: 49.8% !important;
    transform: translate(-50%, -50%) !important;
    width: 82.5% !important;
    height: 55% !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}
.slot-machine::before {
    display: none !important;
}
.reels-container {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    gap: 1.2% !important;
    box-sizing: border-box !important;
}
.reel {
    flex: 1 1 0 !important;
    width: auto !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    background: linear-gradient(180deg, #26f074, #26f074) !important;
    border: 2px solid #26f074 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    position: relative !important;
    box-shadow: 0 0 10px #26f074, inset 0 0 14px #26f074 !important;
    box-sizing: border-box !important;
}
.reel-item {
    flex: 1 1 0 !important;
    width: 100% !important;
    height: 33.333% !important;
    min-height: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #000, #000) !important;
    border-bottom: 1px solid #17c483 !important;
    position: relative !important;
    box-sizing: border-box !important;
    padding: 2px !important;
}
.reel-item:last-child {
    border-bottom: none !important;
}
.reel-item img {
    max-width: 80% !important;
    max-height: 80% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
    transition: transform 0.08s ease;
}
img.slot-machine-bg {
    width: 100% !important;
    height: auto;
    display: block;
}

/* ========================================= */
/* FIX UGLY CLOSE BUTTON & ADD MUSIC BUTTON  */
/* ========================================= */
.close-modal {
    background: transparent !important;
    box-shadow: none !important;
    color: #fff !important;
    font-size: 32px !important;
    top: 10px !important;
    right: 20px !important;
    opacity: 0.7;
    transition: all 0.3s ease;
}
.close-modal:hover {
    opacity: 1;
    transform: scale(1.1);
}

#musicBtn {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    transition: all 0.3s ease;
}
#musicBtn::after {
    content: '';
}
#musicBtn:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.6);
    transform: scale(1.1);
}
.rotate360 {
    animation: rotate360 4s linear infinite;
}

/* ========================================= */
/* COMPREHENSIVE RESPONSIVE DESIGN (MOBILE)  */
/* ========================================= */
@media (max-width: 768px) {
    #musicBtn {
        top: 10px;
        right: 12px;
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    .lucky-draw-container-wrapper {
        padding-top: 24px;
        padding-bottom: 20px;
    }
    .guolv {
        width: 100%;
        max-width: 100%;
        padding: 0 6px;
    }
    .lucky-draw-container {
        padding: 0;
    }
    .slot-machine-container {
        margin-top: 105px;
    }
    img.head-img {
        width: 70%;
        max-width: 330px;
        top: -2%;
    }
    .spin-button-container {
        padding: 8px 4px;
    }
    .lucky-draw-bottom-btn {
        flex: 0 0 24%;
        max-width: 110px;
    }
    .lucky-draw-bottom-btn img {
        max-width: 100px;
    }
    .spin-button {
        flex: 0 0 50%;
        max-width: 230px;
    }
    .spin-btn img {
        max-width: 230px;
    }
}

@media (max-width: 480px) {
    #musicBtn {
        top: 8px;
        right: 10px;
        width: 34px;
        height: 34px;
        font-size: 15px;
    }
    .lucky-draw-container-wrapper {
        padding-top: 20px;
        padding-bottom: 16px;
    }
    .guolv {
        padding: 0 4px;
    }
    .slot-machine-container {
        width: 100%;
        margin-top: 100px;
    }
    img.head-img {
        width: 72%;
        max-width: 300px;
        top: -1%;
    }
    .slot-machine {
        width: 82.5% !important;
        height: 55% !important;
    }
    .reels-container {
        gap: 1% !important;
    }
    .reel {
        border-width: 1.5px !important;
        border-radius: 7px !important;
        box-shadow: 0 0 5px #26f074, inset 0 0 8px #26f074 !important;
    }
    .reel-item {
        padding: 1px !important;
    }
    .reel-item img {
        max-width: 82% !important;
        max-height: 82% !important;
    }
    .spin-button-container {
        padding: 6px 2px;
    }
    .lucky-draw-bottom-btn {
        flex: 0 0 23%;
        max-width: 85px;
    }
    .lucky-draw-bottom-btn img {
        max-width: 80px;
    }
    .spin-button {
        flex: 0 0 52%;
        max-width: 190px;
    }
    .spin-btn img {
        max-width: 190px;
    }
}


/* --- MODALS FROM TEMPLATE2 --- */



/* --- MODALS FROM TEMPLATE2 --- */

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 10% auto;
    padding: 25px;
    width: 90%;
    max-width: 420px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-modal {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #333;
}

.code-input-section, .search-history-section {
    text-align: center;
    margin: 20px 0 10px;
}

.input-field {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: center;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.input-field:focus {
    border-color: #ff4444;
    outline: none;
}

.button-primary {
    background: linear-gradient(to right, #ff4444, #d91b1b);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(255, 68, 68, 0.3);
    transition: all 0.2s;
}

.button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 68, 68, 0.4);
}

.error-message {
    color: #ff4444;
    margin-top: 10px;
    font-size: 14px;
    display: none;
}

/* User winning notifications & details */
.lucky-draw-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.lucky-draw-modal.active {
    display: flex;
}

.winning-popup .modal-content {
    background: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 15px;
    max-width: 400px;
}

.winning-popup .prize-image {
    width: 130px;
    height: 130px;
    object-fit: contain;
    margin: 0 auto 20px;
    display: block;
}

.winning-popup h2 {
    color: #d91b1b;
    font-size: 22px;
    margin: 10px 0;
}

.congratulations-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.winning-popup .button-group {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.winning-popup button {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    border: none;
    font-weight: bold;
    transition: all 0.2s;
}

.winning-popup .go-check-btn {
    background-color: #f0f0f0;
    color: #333;
}

.winning-popup .go-check-btn:hover {
    background-color: #e0e0e0;
}

.winning-popup .draw-again-btn {
    background-color: #ff4444;
    color: white;
    box-shadow: 0 4px 10px rgba(255, 68, 68, 0.3);
}

.winning-popup .draw-again-btn:hover {
    background-color: #d91b1b;
}

/* Prize Details Popup */
.prize-details-popup .modal-content {
    max-width: 450px;
    padding: 0;
    overflow: hidden;
}

.prize-details-popup h2 {
    margin: 0;
    padding: 15px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    font-size: 18px;
    color: #333;
    text-align: center;
}

.prize-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.prize-header img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
}

.prize-value {
    color: #d91b1b;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
}

.redemption-section {
    background: #fff5f5;
    padding: 20px;
    border-top: 1px solid #ffe3e3;
}

.redemption-section h3 {
    color: #d91b1b;
    font-size: 16px;
    margin: 0 0 15px;
    text-align: center;
}

.redemption-row {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
}

.redemption-row .label {
    font-weight: bold;
    color: #666;
    font-size: 14px;
}

.code-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #ffd1d1;
    padding: 10px;
    border-radius: 6px;
}

.code {
    font-family: monospace;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.copy-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
}

.copy-btn:hover {
    background: #45a049;
}

.method {
    color: #555;
    font-size: 14px;
    line-height: 1.4;
}

.btn-draw-again {
    width: 100%;
    padding: 10px;
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

.btn-draw-again:hover {
    background: #d91b1b;
}

/* Bottom Actions */
.lucky-draw-bottom-btn {
    text-align: center;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    z-index: 99;
}

.lucky-draw-bottom-btn img {
    width: 140px;
    height: auto;
    cursor: pointer;
    transition: transform 0.2s;
}

.lucky-draw-bottom-btn img:hover {
    transform: scale(1.05);
}

/* Search History Modal Details */
.prize-result {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #eee;
    margin-top: 15px;
    text-align: center;
}

.prize-result img {
    max-width: 100px;
    height: auto;
    margin-bottom: 10px;
}

.prize-result h3 {
    color: #d91b1b;
    font-size: 18px;
    margin: 5px 0;
}

.prize-result p {
    margin: 5px 0;
    color: #666;
    font-size: 14px;
}

.win-date {
    color: #ff9800 !important;
    font-weight: bold;
}

/* How to Participate section */
.q-participate-section {
    width: 100%;
    max-width: 600px;
    text-align: center;
    padding: 30px 10px;
    color: #fff;
    margin-top: 30px;
    position: relative;
    z-index: 9;
}

.q-participate-title {
    font-size: 22px;
    margin-bottom: 25px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.q-participate-steps {
    display: flex;
    justify-content: space-around;
    gap: 15px;
    flex-wrap: wrap;
}

.q-participate-step {
    width: 150px;
    text-align: center;
    background: rgba(0,0,0,0.4);
    padding: 15px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
}

.q-participate-icon {
    width: 45px;
    height: 45px;
    margin-bottom: 10px;
}

.q-participate-step-title {
    font-size: 15px;
    margin-bottom: 5px;
    color: #ffca00;
}

.q-participate-step-text {
    font-size: 12px;
    line-height: 1.4;
    opacity: 0.9;
}

.music-toggle-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 999;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-toggle-btn svg {
    fill: #ffffff;
}

/* Responsiveness */
@media (max-width: 600px) {
    .prize-grid {
        padding: 20px;
        gap: 6px;
    }
    .q-participate-steps {
        gap: 10px;
    }
    .q-participate-step {
        width: 45%;
    }
}

@media (max-width: 400px) {
    .q-participate-step {
        width: 90%;
    }
}

/* ========================================= */
/* WINNING CELL HIGHLIGHT (shuffled reels)   */
/* ========================================= */
.reel-item.win-highlight {
    opacity: 1 !important;
    background: radial-gradient(circle, rgba(38, 240, 116, 0.5) 0%, rgba(0, 255, 255, 0.3) 50%, rgba(2, 30, 20, 0.98) 100%) !important;
    box-shadow: inset 0 0 0 3px #7dffb0, inset 0 0 22px rgba(38, 240, 116, 0.9), 0 0 32px rgba(38, 240, 116, 1), 0 0 45px rgba(0, 255, 255, 0.5) !important;
    animation: neonWinPulse .5s ease-in-out infinite alternate;
    z-index: 15;
}

.reel-item.win-highlight img {
    transform: scale(1.2);
    filter: drop-shadow(0 0 14px #7dffb0) drop-shadow(0 0 24px #26f074) !important;
    transition: transform .2s ease;
}

@keyframes neonWinPulse {
    from {
        box-shadow: inset 0 0 0 3px #26f074, inset 0 0 16px rgba(38, 240, 116, .7), 0 0 20px rgba(38, 240, 116, .7);
    }

    to {
        box-shadow: inset 0 0 0 3px #7dffb0, inset 0 0 28px #26f074, 0 0 40px rgba(125, 255, 176, 1), 0 0 55px rgba(0, 255, 255, 0.6);
    }
}

/* ========================================= */
/* WINNER MARQUEE TICKER (中奖提示条流动)     */
/* ========================================= */
.winner-ticker-wrapper {
    width: 92%;
    max-width: 600px;
    margin: 6px auto 10px;
    height: 36px;
    background: rgba(4, 18, 38, 0.82);
    border: 1px solid rgba(0, 255, 255, 0.4);
    border-radius: 999px;
    display: flex;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2), inset 0 0 10px rgba(0, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    z-index: 50;
    box-sizing: border-box;
}

.winner-ticker-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 255, 255, 0.25), rgba(38, 240, 116, 0.15));
    border-right: 1px solid rgba(0, 255, 255, 0.3);
    flex-shrink: 0;
    font-family: 'Rajdhani', sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #00ffff;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.8);
}

.ticker-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #26f074;
    box-shadow: 0 0 8px #26f074;
    animation: tickerDotPulse 1.2s ease-in-out infinite alternate;
}

@keyframes tickerDotPulse {
    from { opacity: 0.4; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1.2); }
}

.winner-ticker-viewport {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
}

.winner-ticker-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: tickerMarquee 26s linear infinite;
    gap: 36px;
    padding-left: 20px;
    width: max-content;
}

.winner-ticker-track:hover {
    animation-play-state: paused;
}

@keyframes tickerMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #e0f2fe;
}

.ticker-item .t-user {
    color: #38bdf8;
    font-weight: 800;
}

.ticker-item .t-won {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    text-transform: uppercase;
}

.ticker-item .t-prize {
    color: #ff4757;
    font-weight: 800;
    text-shadow: 0 0 8px rgba(255, 71, 87, 0.6);
}

.ticker-item .t-time {
    color: rgba(148, 163, 184, 0.7);
    font-size: 11px;
    margin-left: 4px;
}

.ticker-item.highlight-new {
    background: rgba(38, 240, 116, 0.2);
    border: 1px solid #26f074;
    border-radius: 6px;
    padding: 2px 8px;
    animation: newWinnerBlink 1s ease 3;
}

@keyframes newWinnerBlink {
    0%, 100% { box-shadow: 0 0 10px #26f074; }
    50% { box-shadow: none; }
}

@media (max-width: 768px) {
    .winner-ticker-wrapper {
        margin: 6px 10px 10px;
        height: 32px;
    }
    .winner-ticker-badge {
        font-size: 11px;
        padding: 0 10px;
    }
    .ticker-item {
        font-size: 12px;
        gap: 4px;
    }
    .winner-ticker-track {
        gap: 24px;
    }
}

