/* === Services catalog (index) === */
.services-intro {
    text-align: center;
    margin-bottom: 28px;
}
.services-intro h1 {
    margin-bottom: 8px;
}
.services-intro p {
    color: var(--text-secondary-color, #bbb);
    max-width: 760px;
    margin: 10px auto;
    line-height: 1.55;
}
.reviews-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0 10px;
    padding: 10px 20px;
    border-radius: 999px;
    background: rgba(0, 255, 136, 0.08);
    border: 2px solid #00ff88;
    color: #00ff88;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    letter-spacing: 0.3px;
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.6);
    box-shadow:
        0 0 12px rgba(0, 255, 136, 0.35),
        inset 0 0 8px rgba(0, 255, 136, 0.15);
    transition: transform .15s ease, box-shadow .15s ease;
}
.reviews-badge:hover {
    transform: translateY(-1px);
    box-shadow:
        0 0 18px rgba(0, 255, 136, 0.55),
        inset 0 0 10px rgba(0, 255, 136, 0.25);
}
.reviews-badge__icon {
    font-size: 18px;
    filter: drop-shadow(0 0 4px rgba(0, 255, 136, 0.7));
}

.guarantees-link {
    display: inline-block;
    margin: 14px 0 4px;
    color: var(--accent-neon-color, #ff4da6);
    text-decoration: underline;
    cursor: pointer;
    font-weight: 500;
}
.guarantees-link:hover {
    color: #fff;
}

/* Generic info modal (used by "Гарантии и безопасность") */
.info-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 16px;
    overflow-y: auto;
    z-index: 1000;
}
.info-modal {
    background: var(--surface-color, #1a1a22);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    max-width: 720px;
    width: 100%;
    padding: 24px 26px 28px;
    color: var(--text-color, #fff);
    position: relative;
    line-height: 1.6;
}
.info-modal h2 {
    margin: 0 0 14px;
    font-size: 22px;
}
.info-modal p {
    margin: 10px 0;
    color: var(--text-secondary-color, #ccc);
    white-space: pre-line;
}
.info-modal__close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: 0;
    color: #aaa;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}
.info-modal__close:hover { color: #fff; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
    margin: 24px 0 40px;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--surface-color, #1a1a22);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.service-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-neon-color, #ff4da6);
    box-shadow: 0 8px 30px rgba(255, 77, 166, 0.25);
}

.service-card__image-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #0b0b12 center/cover no-repeat;
    overflow: hidden;
}
.service-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.service-card__discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff2e5d;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: .3px;
}

.service-card__body {
    padding: 14px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.service-card__title {
    font-size: 17px;
    font-weight: 600;
    margin: 0;
}
.service-card__price-range {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 4px;
}
.service-card__price-final {
    color: var(--accent-neon-color, #ff4da6);
    font-weight: 700;
    font-size: 16px;
}
.service-card__price-strike {
    color: #888;
    text-decoration: line-through;
    font-size: 13px;
}

/* === Category page === */
.category-page {
    margin-bottom: 100px; /* leave room for sticky buy bar on mobile */
}
.category-page__hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 26px;
}
.category-page__hero-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 14px;
    background: #0b0b12;
}
.category-page__hero-body h1 {
    margin: 0 0 8px;
}
/* === Accounts: list cards === */
.accounts-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.account-card .service-card__image-wrap {
    aspect-ratio: 4 / 3;
}
.account-card__platform {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
}
.muted-small {
    font-size: 12px;
    color: #888;
}
.muted-small code {
    color: var(--accent-neon-color, #ff4da6);
    background: rgba(255, 77, 166, 0.08);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 12px;
}

/* === Accounts: detail page === */
.account-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 30px;
}
.account-gallery__main {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #0b0b12;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.account-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.account-gallery__placeholder img {
    width: 40%;
    height: auto;
    opacity: .5;
}
.account-gallery__thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.account-thumb {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    background: #0b0b12;
    cursor: pointer;
    padding: 0;
}
.account-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.account-thumb.is-active { border-color: var(--accent-neon-color, #ff4da6); }
.account-info h1 { margin: 0 0 6px; }
.account-sku {
    color: #999;
    margin: 0 0 12px;
}
.account-sku code {
    color: var(--accent-neon-color, #ff4da6);
    background: rgba(255, 77, 166, 0.08);
    padding: 2px 8px;
    border-radius: 4px;
}
.account-meta {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 6px 14px;
    margin: 14px 0;
}
.account-meta dt { color: #888; }
.account-meta dd { margin: 0; font-weight: 600; }
.account-delivery {
    background: rgba(0, 255, 136, 0.06);
    border-left: 3px solid #00ff88;
    padding: 12px 14px;
    border-radius: 8px;
    color: #d6f8e7;
    line-height: 1.5;
    margin: 14px 0;
}
.account-description {
    margin: 16px 0;
    color: var(--text-secondary-color, #ccc);
}
.account-description > div {
    white-space: pre-line;
    margin-top: 6px;
    line-height: 1.55;
}
.account-buy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 20px;
    padding: 14px 16px;
    background: var(--surface-color, #1a1a22);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    flex-wrap: wrap;
}
.account-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.account-price__final {
    font-size: 22px;
    font-weight: 700;
    color: var(--accent-neon-color, #ff4da6);
}
.account-price__strike {
    color: #888;
    text-decoration: line-through;
    font-size: 14px;
}
@media (min-width: 900px) {
    .account-detail {
        grid-template-columns: minmax(320px, 520px) 1fr;
        align-items: start;
    }
}

.any-currency {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 6px 0 14px;
    color: var(--text-secondary-color, #ccc);
    font-size: 15px;
    font-weight: 500;
}
.any-currency .status-indicator {
    width: 12px;
    height: 12px;
    margin: 0;
    flex-shrink: 0;
}
.category-page__description {
    color: var(--text-secondary-color, #ccc);
    white-space: pre-line;
    line-height: 1.55;
}

.tier-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 20px 0 30px;
}
.tier {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--surface-color, #1a1a22);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}
.tier:hover {
    border-color: rgba(255, 77, 166, 0.5);
}
.tier input[type="radio"] {
    accent-color: var(--accent-neon-color, #ff4da6);
    margin-right: 6px;
    transform: scale(1.2);
}
.tier--selected {
    border-color: var(--accent-neon-color, #ff4da6);
    background: rgba(255, 77, 166, 0.08);
    box-shadow: 0 0 0 1px rgba(255, 77, 166, 0.35) inset;
}
.tier__name {
    flex: 1;
    font-weight: 500;
}
.tier__price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.2;
}
.tier__price-final {
    color: var(--accent-neon-color, #ff4da6);
    font-weight: 700;
    font-size: 16px;
}
.tier__price-strike {
    color: #888;
    text-decoration: line-through;
    font-size: 12px;
}
.tier__discount-badge {
    background: #ff2e5d;
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
    margin-left: 6px;
}

.sticky-buy-bar {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(20, 20, 28, 0.96);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px 14px 0 0;
    z-index: 30;
}
.sticky-buy-bar__info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.sticky-buy-bar__label {
    font-size: 12px;
    color: #999;
}
.sticky-buy-bar__name {
    font-weight: 600;
    font-size: 14px;
}
.sticky-buy-bar__price {
    font-weight: 700;
    color: var(--accent-neon-color, #ff4da6);
    font-size: 18px;
    margin-left: auto;
}
.sticky-buy-bar .buy-button {
    padding: 12px 22px;
    font-weight: 700;
}

/* Tablet & desktop refinements */
@media (min-width: 768px) {
    .tier-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .category-page__hero {
        grid-template-columns: minmax(280px, 420px) 1fr;
        align-items: start;
    }
    .tier-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .sticky-buy-bar {
        flex-wrap: wrap;
    }
    .sticky-buy-bar__price {
        width: 100%;
        text-align: right;
        margin: 0;
    }
}
