:root {
    --smart-primary: #009688;
    --smart-primary-soft: rgba(0, 150, 136, 0.24);
    --smart-bg-card: rgba(8, 14, 26, 0.82);
    --smart-bg-chip: rgba(14, 22, 36, 0.7);
    --smart-text: #ffffff;
    --smart-text-soft: #d7dfe8;
    --smart-border: rgba(206, 207, 209, 0.26);
}

.smart-page {
    padding-bottom: 28px;
}

.smart-page__hero {
    position: relative;
}

.smart-page__hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 10, 16, 0.12) 0%, rgba(8, 10, 16, 0.72) 100%);
}

.smart-page__hero > .container {
    position: relative;
    z-index: 2;
}

.smart-page__subhead {
    margin: 0 0 16px;
    color: var(--smart-text-soft);
    text-align: center;
    font-size: 16px;
}

.smart-page__meta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.smart-page__meta-chip {
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--smart-border);
    background: var(--smart-bg-chip);
    color: var(--smart-text-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 13px;
}

.smart-page__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.smart-page__btn {
    min-height: 38px;
    border-radius: 999px;
    padding: 6px 14px;
    border: 1px solid var(--smart-border);
    background: rgba(255, 255, 255, 0.06);
    color: var(--smart-text);
    text-decoration: none;
    transition: background-color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.smart-page__btn:hover {
    color: var(--smart-text);
    border-color: rgba(0, 150, 136, 0.52);
    background: rgba(0, 150, 136, 0.2);
    transform: translateY(-1px);
}

.smart-page__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

@media (min-width: 768px) {
    .smart-page__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (min-width: 1200px) {
    .smart-page__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
    }
}

.smart-card {
    position: relative;
    border-radius: 16px;
    border: 1px solid var(--smart-primary-soft);
    background: var(--smart-bg-card);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.smart-card--vip {
    border-color: rgba(66, 165, 245, 0.52);
    box-shadow: 0 14px 30px rgba(33, 150, 243, 0.18), 0 12px 28px rgba(0, 0, 0, 0.28);
}

.smart-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 150, 136, 0.55);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.34);
}

.smart-card--vip:hover {
    border-color: rgba(66, 165, 245, 0.72);
}

.smart-card__link {
    color: inherit;
    text-decoration: none;
    display: block;
}

.smart-card__poster {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #111;
}

.smart-card__poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.smart-card__rank {
    position: absolute;
    top: 10px;
    inset-inline-start: 10px;
    left: auto;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(0, 150, 136, 0.6);
    background: rgba(8, 10, 16, 0.84);
    color: #fff;
    line-height: 1;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.smart-card__vip {
    position: absolute;
    top: 10px;
    inset-inline-end: 10px;
    inset-inline-start: auto;
    right: auto;
    left: auto;
    z-index: 5;
    min-height: 24px;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid rgba(66, 165, 245, 0.72);
    background: rgba(33, 150, 243, 0.16);
    color: #8ad2ff;
    font-size: 11px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: calc(100% - 20px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
    backdrop-filter: blur(4px);
}

.smart-card__vip::before {
    content: none;
    margin-inline-end: 0;
    line-height: 1;
}

.smart-card__vip:empty {
    display: none !important;
}

.smart-card__body {
    padding: 12px 12px 14px;
    text-align: center;
}

.smart-card__title {
    margin: 0 0 10px;
    color: var(--smart-text);
    line-height: 1.35;
    font-size: 20px;
}

.smart-card__meta {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
}

.smart-card__meta li {
    min-height: 27px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--smart-border);
    background: var(--smart-bg-chip);
    color: var(--smart-text-soft);
    font-size: 13px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.smart-page__empty {
    border-radius: 16px;
    border: 1px dashed var(--smart-border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--smart-text-soft);
    text-align: center;
    padding: 28px 18px;
}

.vip-page__panel {
    border-radius: 18px;
    border: 1px solid rgba(0, 150, 136, 0.3);
    background:
        radial-gradient(circle at 0% 0%, rgba(0, 150, 136, 0.2), rgba(0, 150, 136, 0) 42%),
        linear-gradient(165deg, rgba(8, 14, 26, 0.94), rgba(8, 14, 26, 0.84));
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.32);
    padding: clamp(18px, 2.2vw, 28px);
    margin-bottom: 18px;
}

.vip-page__title {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(24px, 3vw, 34px);
}

.vip-page__desc {
    margin: 0 0 14px;
    color: #d8e8e6;
}

.vip-page__benefits {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 8px;
}

@media (min-width: 768px) {
    .vip-page__benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.vip-page__benefits li {
    min-height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vip-page__price-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

@media (min-width: 768px) {
    .vip-page__price-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.vip-page__price-card {
    border-radius: 14px;
    border: 1px solid rgba(0, 150, 136, 0.35);
    background: rgba(7, 14, 24, 0.72);
    color: #fff;
    padding: 14px 12px;
    text-align: center;
}

.vip-page__price-card h3 {
    margin: 0 0 6px;
    font-size: 18px;
}

.vip-page__price-card p {
    margin: 0;
    color: #bfd7d4;
}

.vip-page__cta {
    margin-top: 14px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
