/* Welcome Back Gift — /gift */
.gift-page {
    background: #0a0a12;
}

.stz-gift {
    min-height: calc(100vh - 80px);
    padding: 2.5rem 1rem 4rem;
    position: relative;
    overflow: hidden;
}

.stz-gift__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.45;
}

.stz-gift__glow--red {
    width: 320px;
    height: 320px;
    background: #e50914;
    top: -80px;
    left: -60px;
}

.stz-gift__glow--gold {
    width: 280px;
    height: 280px;
    background: #f5c518;
    bottom: 10%;
    right: -40px;
    opacity: 0.25;
}

.stz-gift__inner {
    position: relative;
    z-index: 1;
    max-width: 1560px;
    margin: 0 auto;
}

.stz-gift__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    align-items: stretch;
}

@media (min-width: 992px) {
    .stz-gift {
        padding: 3.5rem 1.5rem 5rem;
    }

    .stz-gift__grid {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 2rem;
    }

    .stz-gift__rules {
        grid-column: 1 / -1;
    }
}

.stz-gift__hero,
.stz-gift__panel,
.stz-gift__rules {
    background: rgba(18, 18, 28, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1.75rem;
    backdrop-filter: blur(8px);
}

@media (min-width: 768px) {
    .stz-gift__hero,
    .stz-gift__panel,
    .stz-gift__rules {
        padding: 2.25rem;
    }
}

.stz-gift__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background: rgba(229, 9, 20, 0.15);
    color: #ff6b6b;
    border: 1px solid rgba(229, 9, 20, 0.35);
    margin-bottom: 1rem;
}

.stz-gift__badge i {
    font-size: 1rem;
}

.stz-gift__title {
    font-size: clamp(1.85rem, 5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 1rem;
    color: #fff;
}

.stz-gift__title span {
    background: linear-gradient(90deg, #f5c518, #ff8c42);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stz-gift__lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.stz-gift__auth-hint {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
}

.stz-gift__auth-hint i {
    color: #f5c518;
    font-size: 1.15rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.stz-gift__actions {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

@media (min-width: 480px) {
    .stz-gift__actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

.stz-gift__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 52px;
    padding: 0.85rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.stz-gift__btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.stz-gift__btn:not(:disabled):hover {
    transform: translateY(-1px);
}

.stz-gift__btn--primary {
    background: linear-gradient(135deg, #e50914, #b20710);
    color: #fff;
    box-shadow: 0 8px 24px rgba(229, 9, 20, 0.35);
    flex: 1 1 auto;
}

.stz-gift__btn--primary:not(:disabled):hover {
    box-shadow: 0 10px 28px rgba(229, 9, 20, 0.45);
    color: #fff;
}

.stz-gift__btn--secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.14);
    flex: 1 1 auto;
}

.stz-gift__btn--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.stz-gift__panel-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 1.25rem;
}

.stz-gift__rewards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin-bottom: 1.75rem;
}

.stz-gift__reward-card {
    padding: 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.stz-gift__reward-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 0.65rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.stz-gift__reward-icon--premium {
    background: rgba(229, 9, 20, 0.18);
    color: #ff6b6b;
}

.stz-gift__reward-icon--points {
    background: rgba(245, 197, 24, 0.15);
    color: #f5c518;
}

.stz-gift__reward-label {
    font-weight: 600;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.stz-gift__reward-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.4;
    margin: 0;
}

.stz-gift__steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.stz-gift__step {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.stz-gift__step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(229, 9, 20, 0.2);
    color: #ff8a8a;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stz-gift__step-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.92rem;
    line-height: 1.5;
    padding-top: 0.15rem;
}

.stz-gift__disclaimer {
    margin-top: 1.75rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

/* Reward rules — row 2 full width */
.stz-gift__rules-heading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}

.stz-gift__rules-heading i {
    color: #f5c518;
    font-size: 1.25rem;
}

.stz-gift__rules-intro {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 1.5rem;
}

.stz-gift__rules-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

@media (min-width: 768px) {
    .stz-gift__rules-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
    }
}

.stz-gift__rules-card {
    padding: 1.25rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    height: 100%;
}

.stz-gift__rules-card-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.stz-gift__rules-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.stz-gift__rules-card-icon--free {
    background: rgba(100, 149, 237, 0.15);
    color: #7eb6ff;
}

.stz-gift__rules-card-icon--premium {
    background: rgba(229, 9, 20, 0.18);
    color: #ff6b6b;
}

.stz-gift__rules-card-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
}

.stz-gift__rules-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.stz-gift__rules-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.45rem 0.5rem;
    align-items: start;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.55;
}

.stz-gift__rules-text {
    min-width: 0;
}

.stz-gift__rules-badge {
    display: inline-block;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-top: 0.2rem;
}

.stz-gift__rules-list li em {
    color: rgba(245, 197, 24, 0.95);
    font-style: normal;
    font-weight: 500;
}

.stz-gift__rules-badge--premium {
    background: rgba(229, 9, 20, 0.2);
    color: #ff8a8a;
}

.stz-gift__rules-badge--points {
    background: rgba(245, 197, 24, 0.15);
    color: #f5c518;
}

.stz-gift__exchange {
    padding: 1.25rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.stz-gift__exchange-title {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
}

.stz-gift__exchange-intro {
    margin: 0 0 1.15rem;
    font-size: 0.92rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
}

.stz-gift__exchange-intro strong {
    color: rgba(255, 255, 255, 0.9);
}

.stz-gift__exchange-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.stz-gift__exchange-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.stz-gift__exchange-table thead {
    background: rgba(255, 255, 255, 0.05);
}

.stz-gift__exchange-table th,
.stz-gift__exchange-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.stz-gift__exchange-table th {
    color: rgba(255, 255, 255, 0.55);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.stz-gift__exchange-table tbody tr:last-child td {
    border-bottom: none;
}

.stz-gift__exchange-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.stz-gift__exchange-table td {
    color: rgba(255, 255, 255, 0.85);
}

.stz-gift__pts {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    padding: 0.2rem 0.55rem;
    border-radius: 8px;
    background: rgba(245, 197, 24, 0.12);
    color: #f5c518;
    font-weight: 700;
}

.stz-gift__exchange-note {
    margin: 1rem 0 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* SweetAlert gift popup helpers */
.stz-gift-popup .swal2-html-container {
    text-align: left;
}

.stz-gift-popup__reward {
    text-align: center;
    padding: 0.5rem 0 1rem;
}

.stz-gift-popup__reward-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #f5c518;
    margin-bottom: 0.25rem;
}

.stz-gift-popup__downloads {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.stz-gift-popup__dl {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.15s ease;
}

.stz-gift-popup__dl:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff !important;
}

.stz-gift-popup__dl i {
    font-size: 1.1rem;
}
