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

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
    background-color: #313338;
    color: var(--text-primary);
    line-height: 1.4;
    margin: 0;
    padding-top: 82px;
}

.comparison-page {
    min-height: 100vh;
    overflow-x: hidden;
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
    background: transparent;
    padding: 28px 20px 24px;
}

.hero__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    align-items: center;
}

.hero__label {
    font-size: 10px;
    font-weight: 700;
    color: #5865F2;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 8px;
}

.hero__title {
    font-size: 26px;
    font-weight: 700;
    color: #F2F3F5;
    line-height: 1.25;
    margin-bottom: 8px;
}

.hero__title span { color: #5865F2; }

.hero__description {
    font-size: 13px;
    color: #B5BAC1;
    line-height: 1.6;
    margin-bottom: 18px;
    max-width: 440px;
}

.hero__actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.hero__btn-primary {
    padding: 9px 20px;
    background: #5865F2;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}
.hero__btn-primary:hover { background: #4752C4; }

.hero__btn-outline {
    padding: 9px 20px;
    background: transparent;
    color: #B5BAC1;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}
.hero__btn-outline:hover { background: #383A40; color: #F2F3F5; }

.hero__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.hero__stat {
    background: #2B2D31;
    border-radius: 5px;
    padding: 12px 14px;
}

.hero__stat-value {
    font-family: 'Courier New', monospace;
    font-size: 22px;
    font-weight: 700;
    color: #F2F3F5;
}

.hero__stat-value--accent { color: #5865F2; }

.hero__stat-label {
    font-size: 11px;
    color: #80848E;
    margin-top: 3px;
}

@media (max-width: 768px) {
    .hero__inner { grid-template-columns: 1fr; }
    .hero__description { max-width: 100%; }
}

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-section {
    padding: 20px;
}

.faq-section__container {
    max-width: 1100px;
    margin: 0 auto;
}

.faq-section__list {
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 6px;
    overflow: hidden;
}

.faq-section__item {
    background: #2B2D31;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.faq-section__item:last-child { border-bottom: none; }

.faq-section__item--active .faq-section__question {
    background: rgba(255,255,255,0.04);
}

.faq-section__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    background: transparent;
    border: none;
    color: #F2F3F5;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
    gap: 12px;
    font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.faq-section__question:hover { background: #383A40; }
.faq-section__question-text { flex: 1; }

.faq-section__question-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #80848E;
    transition: transform 0.15s;
}

.faq-section__item--active .faq-section__question-icon { transform: rotate(180deg); }
.faq-section__question-icon svg { width: 14px; height: 14px; }

.faq-section__answer {
    padding: 0 14px 12px;
    display: none;
}

.faq-section__answer-text {
    font-size: 12px;
    color: #B5BAC1;
    line-height: 1.65;
}

/* ── GIFTCARDS ───────────────────────────────────────────── */
.giftcards-section {
    padding: 20px;
}

.giftcards-section__container {
    max-width: 1100px;
    margin: 0 auto;
}

.giftcards-section__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.giftcards-section__empty {
    color: #80848E;
    font-size: 13px;
    padding: 20px 0;
}

@media (max-width: 1024px) {
    .giftcards-section { padding: 16px; }
    .giftcards-section__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .giftcards-section__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── GIFT CARD ───────────────────────────────────────────── */
.gift-card {
    background: #2B2D31;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: border-color 0.15s;
    min-width: 0;
}

.gift-card:hover { border-color: rgba(88,101,242,0.4); }

.gift-card__image {
    width: 100%;
    height: 110px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.gift-card__image-background {
    position: absolute;
    inset: 0;
    background-color: #43434e;
}

.gift-card-svg__store {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 56px;
    height: 56px;
}

.gift-card-svg__store svg { width: 100%; height: 100%; }

.gift-card-svg__location {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    width: 28px;
    height: 20px;
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.2);
}

.gift-card-svg__location svg { width: 100%; height: 100%; }

.gift-card__content {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.gift-card__type {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
}

.gift-card__display_name {
    font-size: 13px;
    font-weight: 600;
    color: #F2F3F5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.gift-card__card__amount {
    font-size: 11px;
    color: #80848E;
    background: rgba(255,255,255,0.05);
    padding: 3px 8px;
    border-radius: 3px;
    border: 1px solid rgba(255,255,255,0.08);
    white-space: nowrap;
    flex-shrink: 0;
}

.gift-card .game-card__prices { margin-top: auto; }

.gift-card .price-item__amounts {
    display: flex;
    align-items: baseline;
    gap: 5px;
    flex-wrap: wrap;
}

.gift-card .price-item__current {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: 700;
    color: #23A55A;
}

.gift-card .price-item__old {
    font-size: 11px;
    color: #80848E;
    text-decoration: line-through;
}

.gift-card .game-card__discount {
    background: #5865F2;
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
}

/* ── NEWS ────────────────────────────────────────────────── */
.news-section {
    padding: 20px;
}

.news-section__container {
    max-width: 1100px;
    margin: 0 auto;
}

.news-section__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

@media (max-width: 1024px) {
    .news-section { padding: 16px; }
    .news-section__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .news-section__grid { grid-template-columns: 1fr; }
}
