.sponsored-box {
    background: #0d203b;
    border-radius: 18px;
    padding: 15px;
    margin-bottom: 25px;
    box-shadow: 0 0 20px rgba(0, 229, 255, .2)
}

.sponsored-title {
    color: #00e5ff;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px
}

.sponsored-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.spon-card {
    background: #08162b;
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 0 10px rgba(0, 229, 255, .4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-size: 13px
}

.spon-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0, 229, 255, .9)
}

.spon-card img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-bottom: 5px
}

.place-ad-btn {
    margin-top: 12px;
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, #00e5ff, #3b82f6);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    color: #00111f;
    text-transform: uppercase;
    letter-spacing: .5px
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999
}

.modal-box {
    background: #08162b;
    padding: 25px 20px 20px;
    border-radius: 20px;
    width: 90%;
    max-width: 420px;
    text-align: left;
    box-shadow: 0 0 30px rgba(0, 229, 255, .8);
    color: #fff
}

.modal-title {
    text-align: center;
    margin-bottom: 15px;
    color: #00e5ff;
    font-weight: 700
}

.modal-label {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
    color: #b7c4e0
}

.modal-box input,
.modal-box select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    background: #040b16;
    color: #fff
}

.modal-box input:focus,
.modal-box select:focus {
    outline: 1px solid #00e5ff
}

.wallet-box {
    margin-top: 8px;
    margin-bottom: 8px;
    font-size: 13px;
    background: #020712;
    padding: 8px;
    border-radius: 8px;
    word-break: break-all
}

.wallet-box code {
    font-family: monospace
}

.modal-note {
    font-size: 12px;
    color: #b7c4e0;
    margin-top: 4px
}

.modal-main-btn,
.modal-close-btn {
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    border-radius: 10px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    font-size: 14px
}

.modal-main-btn {
    background: linear-gradient(90deg, #00e5ff, #3b82f6);
    color: #00111f
}

.modal-close-btn {
    background: #202938;
    color: #fff
}

@media (max-width:480px) {
    .sponsored-grid {
        grid-template-columns: 1fr 1fr
    }
}

.copy-btn {
    width: 100%;
    margin-top: 6px;
    padding: 8px;
    border-radius: 8px;
    background: #0b2a3f;
    color: #00e5ff;
    border: 1px solid #00e5ff;
    cursor: pointer;
    font-size: 12px
}

.sponsored-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px
}

@media (max-width:640px) {
    .sponsored-grid {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 10px;
        padding-bottom: 6px
    }
    .sponsored-grid::-webkit-scrollbar {
        height: 6px
    }
    .sponsored-grid::-webkit-scrollbar-thumb {
        background: #00e5ff;
        border-radius: 10px
    }
    .spon-card {
        min-width: 160px;
        max-width: 160px;
        flex: 0 0 auto;
        scroll-snap-align: start
    }
}

.spon-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 12px 10px;
    height: 100%;
    text-decoration: none
}

.spon-card img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin-top: 4px
}

.spon-card span {
    margin-top: auto;
    padding-top: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    word-break: break-word
}

@media (max-width:640px) {
    .sponsored-grid {
        padding-top: 8px
    }
    .spon-card {
        margin-top: 6px
    }
}

.spon-card img {
    margin-top: 10px
}

.modal-box select,
.modal-box option {
    background-color: #0b1d33 !important;
    color: #ffffff !important;
    border: 1px solid #00d0ff !important
}

.modal-box select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 208, 255, .4)
}

.modal-box select option {
    background-color: #0f2645 !important;
    color: #ffffff !important
}

.modal-box select option:checked {
    background-color: #007bff !important;
    color: #ffffff !important
}

.copy-btn {
    display: block;
    width: 100%;
    margin-bottom: 18px !important
}

.modal-box button[onclick="confirmPayment()"] {
    margin-top: 8px
}

.modal-box button[onclick="confirmPayment()"] {
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease
}

.modal-box button[onclick="confirmPayment()"]:hover {
    transform: translateY(-1px) scale(1.015);
    box-shadow: 0 8px 25px rgba(0, 208, 255, .45)
}

.modal-box button[onclick="confirmPayment()"]:active {
    transform: scale(.97);
    box-shadow: 0 4px 12px rgba(0, 208, 255, .4)
}

.modal-box button[onclick="confirmPayment()"]::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 120%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .25), transparent);
    transition: none
}

.modal-box button[onclick="confirmPayment()"]:hover::after {
    animation: confirmGlow 0.9s ease
}

@keyframes confirmGlow {
    from {
        left: -120%
    }
    to {
        left: 120%
    }
}

.spon-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
    position: relative;
    overflow: hidden
}

.spon-card:hover {
    transform: translateY(-4px) scale(1.025);
    box-shadow: 0 10px 35px rgba(0, 208, 255, .45);
    filter: brightness(1.1)
}

.spon-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .15), transparent);
    left: -120%;
    transition: none
}

.spon-card:hover::after {
    animation: sponsorGlow 1.1s ease
}

@keyframes sponsorGlow {
    from {
        left: -120%
    }
    to {
        left: 120%
    }
}

@media (max-width:768px) {
    .spon-card:active {
        transform: scale(.965);
        box-shadow: 0 4px 15px rgba(0, 208, 255, .35)
    }
}