.tsg-premium-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.tsg-premium-header {
    text-align: center;
    margin-bottom: 40px;
}

.tsg-premium-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
    color: var(--GLOBAL, #333);
}

.tsg-premium-description {
    font-size: 16px;
    color: var(--GLOBAL_SOFT, #666);
    margin: 0;
}

.tsg-premium-offers {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.tsg-premium-offer {
    --tsg-premium-accent: var(--site-accent, #ff4a4a);
    --tsg-premium-accent-2: var(--site-accent-2, var(--tsg-premium-accent));
    /* iOS “liquid glass” (ещё прозрачнее и менее светлое) */
    background: rgba(255, 255, 255, 0.028);
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 18px;
    padding: 18px 18px 16px;
    display: flex;
    flex-direction: column;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    box-shadow:
        0 22px 70px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -1px 0 rgba(0, 0, 0, 0.20);
    backdrop-filter: blur(22px) saturate(1.35);
    -webkit-backdrop-filter: blur(22px) saturate(1.35);
}

.tsg-premium-offer:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.18) !important;
    box-shadow:
        0 28px 88px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        inset 0 -1px 0 rgba(0, 0, 0, 0.25);
}

/* Тонкая стеклянная “окантовка” */
.tsg-premium-offer::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 0 0 2px rgba(0, 0, 0, 0.10);
    opacity: 1;
}

.tsg-premium-offer > * {
    position: relative;
    z-index: 1;
}

/* “Жидкий” блик — двигается как стекло на iOS */
.tsg-premium-offer::after {
    content: "";
    position: absolute;
    inset: -40% -30%;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(40% 30% at 20% 20%, rgba(255, 255, 255, 0.16), transparent 60%),
        radial-gradient(35% 28% at 70% 30%, rgba(255, 255, 255, 0.08), transparent 62%),
        linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.09) 50%, transparent 65%);
    mix-blend-mode: soft-light;
    opacity: 0.52;
    transform: translate3d(-12%, -10%, 0) rotate(-8deg);
    animation: tsg-premium-glass-sheen 6.8s ease-in-out infinite;
}

@keyframes tsg-premium-glass-sheen {
    0%   { transform: translate3d(-14%, -12%, 0) rotate(-10deg); opacity: 0.70; }
    50%  { transform: translate3d(6%,  8%, 0) rotate(8deg);    opacity: 0.95; }
    100% { transform: translate3d(-14%, -12%, 0) rotate(-10deg); opacity: 0.70; }
}

.tsg-premium-offer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.tsg-premium-offer-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background:
        radial-gradient(60% 60% at 35% 35%, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.04) 55%, transparent 100%),
        linear-gradient(135deg, var(--tsg-premium-accent), var(--tsg-premium-accent-2));
    box-shadow: 0 18px 42px rgba(0,0,0,0.30);
    border: 1px solid rgba(255,255,255,0.18);
}

.tsg-premium-icon {
    display: inline-block;
    margin-right: 0;
    opacity: 0.95;
}

.tsg-premium-offer-icon-dot {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
}

.tsg-premium-offer-header {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    text-align: left;
}

.tsg-premium-offer-title {
    font-size: 22px;
    margin: 0 0 6px 0;
    color: rgba(255,255,255,0.95);
    font-weight: 900;
    letter-spacing: 0.2px;
}

.tsg-premium-offer-sub {
    font-size: 13px;
    color: rgba(255,255,255,0.72);
}

.tsg-premium-offer-group {
    font-size: 14px;
    color: rgba(255,255,255,0.72);
}

.tsg-premium-group {
    font-weight: 800;
}

.tsg-premium-offer-body {
    flex: 1;
    margin-bottom: 15px;
    margin-top: 12px;
}

.tsg-premium-offer-description {
    font-size: 13px;
    color: rgba(255,255,255,0.70);
    margin-bottom: 15px;
    line-height: 1.5;
}

.tsg-premium-offer-features {
    font-size: 13px;
    color: rgba(255,255,255,0.78);
    line-height: 1.6;
}

.tsg-premium-offer-features ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.tsg-premium-offer-features li {
    margin-bottom: 5px;
    padding-left: 22px;
    position: relative;
}

.tsg-premium-offer-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: color-mix(in srgb, var(--tsg-premium-accent) 70%, white);
    font-weight: 900;
    opacity: 0.95;
}

.tsg-premium-offer-bottom {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.tsg-premium-offer-price {
    font-size: 30px;
    font-weight: 900;
    color: rgba(255,255,255,0.96);
    text-align: left;
    letter-spacing: 0.2px;
}

.tsg-premium-price-value {
    color: rgba(255,255,255,0.96);
}

.tsg-premium-currency {
    font-size: 14px;
    font-weight: 800;
    color: rgba(255,255,255,0.65);
}

.tsg-premium-offer-duration {
    font-size: 13px;
    color: rgba(255,255,255,0.70);
    text-align: left;
}

.tsg-premium-buy-btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--tsg-premium-accent), var(--tsg-premium-accent-2));
    color: #fff;
    border: none;
    cursor: pointer;
    transition: transform 0.18s ease, filter 0.18s ease;
    box-shadow: 0 22px 44px rgba(0,0,0,0.32);
}

.tsg-premium-buy-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.tsg-premium-buy-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .tsg-premium-offers {
        grid-template-columns: 1fr;
    }

    .tsg-premium-header h1 {
        font-size: 24px;
    }
}

