:root {
    --bg-dark: #0e051b;
    --card-bg: #2A163F;
    --card-border: #4A2A71;
    --accent-yellow: #fdd835;
    --text-white: #ffffff;
    --text-muted: #CABBE6;
    --accent-green: #10a352;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-dark);
    background-image: radial-gradient(circle at 50% 15%, #2a114f 0%, #0e051b 75%);
    color: var(--text-white);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 16px;
    padding-bottom: 120px;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 28px;
    background: #1F0C3A;
    /*backdrop-filter: blur(10px);*/
    /*-webkit-backdrop-filter: blur(10px);*/
    z-index: 900;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 30px;
    background: var(--bg-dark);
    /*backdrop-filter: blur(12px);*/
    /*-webkit-backdrop-filter: blur(12px);*/
    z-index: 900;
    pointer-events: none;
}

/* Контейнер у мобільному стилі */
.container {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 80px;
    padding-bottom: 24px;
}

/* Верхня плашка */
.top-bar {
    position: fixed;
    top: 16px;
    width: calc(100% - 32px);
    max-width: 420px;
    background: linear-gradient(180deg, #30194B 0%, #28153F 100%);
    border: 1px solid #4A2A71;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 16px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mini-logo {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background-color: #2b1150;
    border: 1px solid #ffd500;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mini-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.region-title {
    font-size: 0.9rem;
    font-weight: 600;
}

.btn-change {
    color: var(--accent-yellow);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    transition: opacity 0.2s;
}

.btn-change:hover {
    opacity: 0.8;
}

/* Головна частина */
.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Аватар та бейдж */
.avatar-container {
    position: relative;
    margin: 15px 0;
}

.avatar-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(253, 216, 53, 0.45) 0%, transparent 70%);
    filter: blur(12px);
    z-index: 1;
}

.avatar-border {
    position: relative;
    z-index: 2;
    width: 90px;
    height: 90px;
    border-radius: 20px;
    border: 2px solid var(--accent-yellow);
    background: linear-gradient(145deg, #441269, #1c0e35);
    padding: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-avatar {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    object-fit: cover;
}

.badge-premium {
    position: absolute;
    bottom: -6px;
    left: 50%;
    width: 60px;
    text-align: center;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #ffe082 0%, #ffb300 100%);
    color: #1a0833;
    font-size: 0.55rem;
    font-weight: 850;
    padding: 3px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

/* Пігулка-тег */
.pill-badge {
    background-color: #311B4C;
    /*border: 1px solid #4A2A71;*/
    color: var(--text-white);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Ціни */
.pricing {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 6px;
}

.old-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #CABBE6;
    text-decoration-thickness: 3px;
    opacity: 0.85;
    position: relative;
}
.old-price:after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 100%;
    height: 3px;
    background: red;
}

.current-price {
    font-size: 2.3rem;
    font-weight: 800;
}

.pricing-info {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.pricing-subinfo {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Список переваг */
.features-list {
    list-style: none;
    width: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
    padding-left: 6px;
}

.features-list li {
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #f1f1f1;
}

.features-list li span {
    flex-shrink: 0;
    color: var(--accent-yellow);
    font-size: 0.95rem;
}

/* Подарункова картка */
.bonus-card {
    background: linear-gradient(180deg, #30194B 0%, #28153F 100%);
    /*border: 1px solid #4A2A71;*/
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    text-align: left;
}

.bonus-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.bonus-text {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #eaeaea;
    font-weight: 500;
}

/* Блок покупки */
.purchase-box {
    position: fixed;
    left: 50%;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    width: min(420px, calc(100% - 32px));
    z-index: 1000;
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.btn-activate {
    width: 100%;
    background-color: var(--accent-green);
    color: var(--text-white);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    padding: 14px;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(16, 163, 82, 0.35);
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn-activate:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

.btn-activate:active {
    transform: translateY(1px);
}

.payment-methods {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Оферта */
.disclaimer {
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.4;
    padding: 0 16px;
    font-style: italic;
}

.disclaimer a {
    color: var(--text-muted);
    text-decoration: underline;
}