@import url('info-button.css?v=20261108-1');

.giveaway-hub-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    width: min(100%, 560px);
    margin: -4px auto 14px;
    padding: 3px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    background: rgba(13, 17, 32, .82);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .035);
    backdrop-filter: blur(18px);
}

.giveaway-hub-tab {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    gap: 6px;
    padding: 6px 11px;
    overflow: hidden;
    border-radius: 10px;
    color: rgba(230, 235, 255, .62);
    font-size: 13px;
    font-weight: 850;
    letter-spacing: .035em;
    white-space: nowrap;
    text-decoration: none;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.giveaway-hub-tab:hover {
    color: #fff;
    background: rgba(255, 255, 255, .045);
}

.giveaway-hub-tab:active { transform: scale(.985); }

.giveaway-hub-tab.is-active {
    color: #fff;
    background: linear-gradient(135deg, rgba(70, 126, 255, .92), rgba(116, 72, 232, .9));
    box-shadow: 0 9px 24px rgba(72, 97, 238, .24), inset 0 1px 0 rgba(255, 255, 255, .32);
}

.giveaway-hub-tab:first-child.is-active {
    color: #03111f;
    background: linear-gradient(135deg, #ffe88a 0%, #ff9f0a 100%);
    box-shadow: 0 9px 24px rgba(255, 159, 10, .26), inset 0 1px 0 rgba(255, 255, 255, .32);
}

.giveaway-prize-claim {
    margin: 0;
    padding: 18px;
    border: 1px solid rgba(70, 166, 255, .18);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(70, 166, 255, .08), rgba(111, 124, 255, .035));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 16px 35px rgba(0, 0, 0, .16);
}

.active-gift-claim-section--wheel .giveaway-prize-claim {
    border-color: var(--wheel-line);
    background: var(--wheel-card);
    box-shadow: 0 20px 55px rgba(0, 0, 0, .23), inset 0 1px 0 rgba(255, 255, 255, .035);
    backdrop-filter: blur(18px);
}

.active-gift-claim-section--giveaway .giveaway-prize-claim {
    border-color: rgba(255, 255, 255, .05);
    background: rgba(255, 255, 255, .02);
    box-shadow: 0 15px 45px rgba(0, 0, 0, .4);
    backdrop-filter: blur(12px);
}

.giveaway-prize-claim-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.giveaway-prize-claim-img {
    width: 96px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    background: rgba(255, 255, 255, .04);
}

.giveaway-prize-claim-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.giveaway-prize-claim-info {
    min-width: 0;
    flex: 1;
}

.giveaway-prize-claim-tag {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 5px;
    color: var(--blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.active-gift-claim-section--wheel .giveaway-prize-claim-tag > span {
    color: var(--wheel-blue);
    background: linear-gradient(135deg, var(--wheel-blue), var(--wheel-violet));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.active-gift-claim-section--giveaway .giveaway-prize-claim-tag > span {
    color: #ffbf26;
    background: linear-gradient(135deg, #ffe88a 0%, #ff9f0a 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.active-gift-claim-section--wheel .giveaway-prize-claim-info-button:hover {
    background: rgba(94, 162, 251, .1);
}

.active-gift-claim-section--giveaway .giveaway-prize-claim-info-button:hover {
    background: rgba(255, 184, 26, .11);
}

.active-gift-claim-section--wheel .giveaway-prize-claim-info-button:focus-visible {
    outline-color: rgba(118, 87, 234, .78);
}

.active-gift-claim-section--giveaway .giveaway-prize-claim-info-button:focus-visible {
    outline-color: rgba(255, 184, 26, .78);
}

.giveaway-prize-claim-name {
    color: #fff;
    font-size: 15px;
    font-weight: 850;
    line-height: 1.25;
}

.giveaway-prize-claim-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    color: rgba(255, 255, 255, .72);
    background: rgba(255, 255, 255, .04);
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

.giveaway-prize-claim-timer svg { flex-shrink: 0; }

.giveaway-prize-claim-timer span {
    color: #ff4d4d;
    font-weight: 850;
    font-variant-numeric: tabular-nums;
}

.giveaway-prize-claim-timer .giveaway-prize-claim-timer-label {
    color: rgba(255, 255, 255, .72);
}

.giveaway-prize-claim-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    box-shadow: 0 6px 26px rgba(70, 166, 255, .22);
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: all .2s;
}

.giveaway-prize-claim-btn:active {
    transform: scale(.97);
    filter: brightness(1.1);
}

.active-gift-claim-section--wheel .giveaway-prize-claim-btn {
    color: #fff;
    background: linear-gradient(135deg, var(--wheel-blue), var(--wheel-violet));
    box-shadow: 0 6px 26px rgba(93, 125, 255, .24), inset 0 1px 0 rgba(255, 255, 255, .24);
}

.active-gift-claim-section--giveaway .giveaway-prize-claim-btn {
    color: #03111f;
    background: linear-gradient(135deg, #ffe88a 0%, #ff9f0a 100%);
    box-shadow: 0 6px 30px rgba(255, 159, 10, .3), inset 0 1px 1px rgba(255, 255, 255, .6);
}

.active-gift-info-overlay {
    position: fixed;
    inset: 0;
    z-index: 1600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    background: rgba(2, 7, 18, .76);
    backdrop-filter: blur(7px);
    transition: opacity .22s ease, visibility .22s ease;
}

.active-gift-info-overlay.is-active {
    visibility: visible;
    opacity: 1;
}

.active-gift-info-modal {
    width: min(100%, 340px);
    padding: 28px 24px 20px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 28px;
    background: #111a2d;
    box-shadow: 0 28px 70px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .035);
    text-align: center;
    transform: translateY(12px) scale(.98);
    transition: transform .22s ease;
}

.active-gift-info-overlay.is-active .active-gift-info-modal {
    transform: translateY(0) scale(1);
}

.active-gift-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 20px;
    color: #55e7a3;
    background: rgba(41, 200, 135, .08);
}

.active-gift-info-title {
    margin: 0;
    color: #fff;
    font-size: 20px;
    font-weight: 850;
    line-height: 1.25;
}

.active-gift-info-text {
    margin: 18px 0 24px;
    color: #91a0bd;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
}

.active-gift-info-text strong {
    color: #55e7a3;
    font-weight: 850;
}

.active-gift-info-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    padding: 12px 18px;
    border: 0;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    box-shadow: 0 10px 28px rgba(70, 166, 255, .22);
    font: inherit;
    font-size: 15px;
    font-weight: 850;
    cursor: pointer;
    transition: all .2s;
}

.active-gift-info-overlay--wheel .active-gift-info-close {
    color: #fff;
    background: linear-gradient(135deg, var(--wheel-blue), var(--wheel-violet));
    box-shadow: 0 6px 26px rgba(93, 125, 255, .24), inset 0 1px 0 rgba(255, 255, 255, .24);
}

.active-gift-info-overlay--giveaway .active-gift-info-close {
    color: #03111f;
    background: linear-gradient(135deg, #ffe88a 0%, #ff9f0a 100%);
    box-shadow: 0 6px 30px rgba(255, 159, 10, .3), inset 0 1px 1px rgba(255, 255, 255, .6);
}

.active-gift-info-close:active {
    transform: scale(.96);
}

.active-gift-info-close:focus-visible {
    outline: 2px solid rgba(255, 255, 255, .72);
    outline-offset: 3px;
}

.lottery-gift-history {
    margin-top: 16px;
    padding-bottom: 22px;
}

.lottery-gift-history-title {
    margin: 0 0 14px;
    color: #fff;
    font-size: 16px;
    font-weight: 850;
}

.lottery-gift-history-table {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;
    background: rgba(20, 30, 54, .4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}

.lottery-gift-row {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 108px;
    align-items: center;
    column-gap: 12px;
    padding: 14px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .04);
}

.lottery-gift-row:last-child { border-bottom: 0; }

.lottery-gift-row.is-head {
    padding-top: 11px;
    padding-bottom: 11px;
    color: #8fa3c7;
    background: rgba(0, 0, 0, .2);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.lottery-gift-id {
    color: #8fa3c7;
    font-size: 12px;
    font-weight: 850;
}

.lottery-gift-name {
    min-width: 0;
    overflow: hidden;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lottery-gift-status {
    justify-self: start;
    font-size: 12px;
    font-weight: 850;
    text-align: left;
    white-space: nowrap;
}

.lottery-gift-status.amount-plus { color: var(--green); }
.lottery-gift-status.amount-minus { color: var(--danger); }
.lottery-gift-status.amount-pending { color: var(--blue); }
.lottery-gift-status.amount-neutral { color: rgba(255, 255, 255, .42); }

.lottery-gift-empty {
    padding: 24px 18px;
    border: 1px dashed rgba(255, 255, 255, .1);
    border-radius: 20px;
    background: rgba(20, 30, 54, .24);
    text-align: center;
}

.lottery-gift-empty-title {
    color: #fff;
    font-size: 14px;
    font-weight: 850;
}

.lottery-gift-empty-desc {
    margin-top: 5px;
    color: rgba(143, 163, 199, .62);
    font-size: 12px;
    font-weight: 750;
    line-height: 1.35;
}

.lottery-gift-pages {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
}

.lottery-gift-page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 8px;
    color: #8fa3c7;
    background: rgba(255, 255, 255, .03);
    font-size: 11px;
    font-weight: 750;
    cursor: pointer;
}

.lottery-gift-page-btn.active {
    border-color: transparent;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    box-shadow: 0 4px 15px rgba(70, 166, 255, .22);
}

.lottery-gift-page-btn.disabled {
    opacity: .32;
    pointer-events: none;
}

@media (max-width: 430px) {
    .lottery-gift-history { margin-top: 14px; }
    .lottery-gift-row { grid-template-columns: 50px minmax(0, 1fr) 92px; column-gap: 8px; padding: 14px 10px; }
    .lottery-gift-row.is-head { padding: 10px; font-size: 8.5px; letter-spacing: .035em; }
    .lottery-gift-id { font-size: 11px; }
    .lottery-gift-name { display: -webkit-box; font-size: 12.5px; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
    .lottery-gift-status { font-size: 11.5px; }
}

@media (max-width: 390px) {
    .lottery-gift-row { grid-template-columns: 46px minmax(0, 1fr) 86px; column-gap: 7px; padding: 12px 10px; }
    .lottery-gift-row.is-head { font-size: 8px; }
    .lottery-gift-name { font-size: 12px; -webkit-line-clamp: 3; }
    .lottery-gift-status { font-size: 11px; }
    .lottery-gift-pages { gap: 5px; margin-top: 16px; }
    .lottery-gift-page-btn { width: 28px; height: 28px; font-size: 10.5px; }
}

@media (max-width: 360px) {
    .lottery-gift-row { grid-template-columns: 42px minmax(0, 1fr) 82px; column-gap: 6px; padding: 11px 10px; }
    .lottery-gift-row.is-head { font-size: 7.5px; }
    .lottery-gift-id { font-size: 10.5px; }
    .lottery-gift-name { font-size: 11.5px; -webkit-line-clamp: 2; }
    .lottery-gift-status { font-size: 10.5px; }
}

@media (max-width: 520px) {
    .giveaway-hub-tabs {
        width: 100%;
        margin-bottom: 12px;
        border-radius: 13px;
    }

    .giveaway-hub-tab {
        min-height: 36px;
        gap: 5px;
        padding-inline: 3px;
        font-size: 13px;
        letter-spacing: 0;
    }
}
