/* ============================================================
   NexaTopup — promos.css
   Layout and section styles for the Promos / Deals page.
   Card styles (atm, coupon, scratch, mem) live in cards.css.
   ============================================================ */

/* ── Page wrap ── */
.promo-wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 40px 20px 90px;
}

/* ── Hero ── */
.promo-hero {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, #0f1e10 0%, #0c1e18 50%, #111827 100%);
    border: 1px solid rgba(245,158,11,.15);
    border-radius: 28px; padding: 52px 40px;
    text-align: center; margin-bottom: 40px;
}
.promo-hero-glow {
    position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
    width: 500px; height: 300px; border-radius: 50%;
    background: radial-gradient(ellipse, rgba(245,158,11,.1) 0%, transparent 70%);
    pointer-events: none;
}
.promo-hero-glow2 {
    position: absolute; bottom: -60px; right: -60px;
    width: 200px; height: 200px; border-radius: 50%;
    background: radial-gradient(circle, rgba(239,68,68,.07) 0%, transparent 70%);
    pointer-events: none;
}
.promo-hero-badge {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2px;
    color: #f59e0b; background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.25);
    padding: 6px 16px; border-radius: 100px; margin-bottom: 22px;
}
.promo-hero-pulse {
    width: 7px; height: 7px; border-radius: 50%; background: #f59e0b;
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.8)} }
.promo-hero h1 {
    font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 900; color: #e8f2fa;
    margin-bottom: 14px; letter-spacing: -.5px; position: relative; z-index: 1;
}
.promo-hero h1 span { color: #f59e0b; }
.promo-hero p {
    font-size: .92rem; color: #4b6a84; max-width: 460px;
    margin: 0 auto; line-height: 1.75; position: relative; z-index: 1;
}

/* ── Section wrapper ── */
.promo-section { margin-bottom: 36px; }

.promo-section-head { margin-bottom: 18px; }
.promo-section-tag {
    font-size: .54rem; font-weight: 900; letter-spacing: 2.5px;
    text-transform: uppercase; color: #10b981; margin-bottom: 4px;
}
.promo-section-title {
    font-size: 1rem; font-weight: 900; color: #e8f2fa; margin: 0 0 4px;
}
.promo-section-sub { font-size: .72rem; color: #2a4a62; margin: 0; }

/* ── Divider ── */
.promo-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.06), transparent);
    margin: 32px 0;
}

/* ── ATM grid (3 col) ── */
.promo-atm-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
@media (max-width: 800px) { .promo-atm-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .promo-atm-grid { grid-template-columns: 1fr; } }

/* ── Classic coupon grid ── */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* ── Scratch grid (3 col) ── */
.promo-scratch-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
@media (max-width: 800px) { .promo-scratch-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .promo-scratch-grid { grid-template-columns: 1fr; } }

/* ── Membership grid (4 col) ── */
.promo-mem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
@media (max-width: 1000px) { .promo-mem-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px)  { .promo-mem-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── Code pill inside membership card ── */
.promo-mem-code {
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(0,0,0,.2); border: 1px dashed rgba(255,255,255,.1);
    border-radius: 8px; padding: 5px 9px; margin-top: 5px;
    gap: 6px;
}
.promo-mem-code__val {
    font-family: 'JetBrains Mono', 'Space Mono', monospace;
    font-size: .66rem; font-weight: 700; color: #e2e8f0; letter-spacing: 1.5px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.promo-mem-code__copy {
    font-size: .56rem; font-weight: 800; color: #10b981;
    white-space: nowrap; text-transform: uppercase; letter-spacing: .5px;
    flex-shrink: 0;
}

/* ── Empty state ── */
.promo-empty {
    text-align: center; padding: 80px 20px;
    background: #101722; border: 1px solid rgba(255,255,255,.07); border-radius: 22px;
}
.promo-empty-icon {
    width: 72px; height: 72px; border-radius: 20px;
    background: rgba(245,158,11,.08); border: 1px solid rgba(245,158,11,.18);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px; font-size: 1.8rem;
}
.promo-empty h3 { font-size: 1.1rem; font-weight: 800; color: #e2eaf3; margin-bottom: 8px; }
.promo-empty p  { font-size: .85rem; color: #3a5068; line-height: 1.6; max-width: 340px; margin: 0 auto; }

/* ── How to section ── */
.how-section {
    margin-top: 48px; background: #101722;
    border: 1px solid rgba(255,255,255,.07); border-radius: 24px;
    padding: 36px 36px 40px; overflow: hidden; position: relative;
}
.how-section::before {
    content: ''; position: absolute; top: -60px; right: -60px;
    width: 240px; height: 240px; border-radius: 50%;
    background: radial-gradient(circle, rgba(245,158,11,.05) 0%, transparent 70%);
    pointer-events: none;
}
.how-title {
    font-size: .68rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: 1.5px; color: #3a5068; margin-bottom: 28px;
    display: flex; align-items: center; gap: 8px;
}
.how-title::before {
    content: ''; display: block; width: 3px; height: 12px;
    background: #f59e0b; border-radius: 2px;
}
.how-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 700px) { .how-steps { grid-template-columns: repeat(2, 1fr); gap: 18px; } }

.how-step { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.how-step-num {
    width: 44px; height: 44px; border-radius: 14px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.2);
    color: #f59e0b;
}
.how-step-title { font-size: .9rem; font-weight: 800; color: #e2eaf3; margin-bottom: 4px; }
.how-step-text  { font-size: .78rem; color: #3a5068; line-height: 1.6; }
