/* ====================================================
   RESET & BASE
==================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --pink:       #ff5eb5;
    --pink-dark:  #cc3a8a;
    --purple:     #9b50d4;
    --purple-dark:#6a28a8;
    --bg:         #1a0a2e;
    --surface:    rgba(30,12,55,0.92);
    --surface2:   rgba(45,18,80,0.85);
    --border:     rgba(255,94,181,0.25);
    --text:       #f0d9ff;
    --text-dim:   #b088cc;
    --success:    #4ade80;
    --epic:       #b06aff;
    --mythic:     #ffd700;
    --legendary:  #ff8c00;
    --radius:     14px;
    --shadow:     0 8px 32px rgba(0,0,0,0.5);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Fredoka', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ====================================================
   KEYBOARD BACKGROUND
==================================================== */
#keyboard-bg {
    position: fixed;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, 42px);
    gap: 3px;
    padding: 3px;
    z-index: 0;
    opacity: 0.18;
    pointer-events: none;
}

.bg-key {
    width: 42px;
    height: 42px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fredoka', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    border-bottom: 3px solid rgba(0,0,0,0.3);
    flex-shrink: 0;
}

/* ====================================================
   MAIN LAYOUT
==================================================== */
.main-wrap {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ====================================================
   HERO
==================================================== */
.hero {
    padding: 36px 16px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.hero-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    filter: drop-shadow(0 0 14px var(--pink));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

.hero-title {
    font-family: 'Luckiest Guy', cursive;
    font-size: clamp(22px, 5vw, 38px);
    letter-spacing: 1.5px;
    color: #fff;
    text-shadow: 0 0 20px var(--pink), 2px 2px 0 var(--pink-dark);
    line-height: 1.15;
}

.hero-sub {
    font-size: 15px;
    color: var(--text-dim);
    max-width: 480px;
}

.hero-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,94,181,0.12);
    border: 1px solid var(--border);
    border-radius: 99px;
    padding: 5px 14px;
    font-size: 13px;
    color: var(--pink);
    font-weight: 600;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 6px #4ade80;
    animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(0.85); }
}

/* ====================================================
   SHOP PANEL
==================================================== */
.shop-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: var(--shadow), 0 0 40px rgba(155,80,212,0.15);
}

.shop-header {
    background: linear-gradient(135deg, #2a0845 0%, #1a0a2e 100%);
    border-bottom: 1px solid var(--border);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.shop-title {
    font-family: 'Luckiest Guy', cursive;
    font-size: 20px;
    color: var(--pink);
    letter-spacing: 1px;
    text-shadow: 0 0 12px var(--pink);
}

.store-tabs {
    display: flex;
    gap: 6px;
}

.store-tab {
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
    border-radius: 99px;
    color: var(--text-dim);
    font-family: 'Fredoka', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 5px 16px;
    cursor: pointer;
    transition: all .2s;
}

.store-tab.active,
.store-tab:hover {
    background: var(--pink);
    border-color: var(--pink);
    color: #fff;
    box-shadow: 0 0 12px rgba(255,94,181,0.4);
}

/* ====================================================
   ITEM GRID
==================================================== */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
    padding: 20px;
}

@media (max-width: 480px) {
    .items-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 14px; }
}

.item-card {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, border-color .2s;
    display: flex;
    flex-direction: column;
}

.item-card:hover {
    transform: translateY(-4px);
    border-color: var(--pink);
    box-shadow: 0 8px 24px rgba(255,94,181,0.25);
}

.item-card.fire-effect {
    border-color: rgba(255,165,0,0.5);
    box-shadow: 0 0 18px rgba(255,100,0,0.2);
}

.item-img-wrap {
    position: relative;
    background: rgba(0,0,0,0.25);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.item-img-wrap img {
    width: 85%;
    height: 85%;
    object-fit: contain;
    transition: transform .3s;
}

.item-card:hover .item-img-wrap img {
    transform: scale(1.08);
}

.item-stock-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: rgba(0,0,0,0.65);
    border-radius: 99px;
    font-size: 10px;
    font-weight: 700;
    color: #a0e8a0;
    padding: 2px 8px;
    white-space: nowrap;
}

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

.item-name {
    font-weight: 700;
    font-size: 13px;
    color: #fff;
    line-height: 1.2;
}

.rarity-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    border-radius: 99px;
    padding: 2px 9px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    width: fit-content;
}

.rarity-epic      { background: rgba(176,106,255,0.18); color: var(--epic);    border: 1px solid rgba(176,106,255,0.35); }
.rarity-mythic    { background: rgba(255,215,0,0.15);   color: var(--mythic);  border: 1px solid rgba(255,215,0,0.35); }
.rarity-legendary { background: rgba(255,140,0,0.15);   color: var(--legendary); border: 1px solid rgba(255,140,0,0.35); }

.btn-claim {
    margin-top: auto;
    background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
    border: none;
    border-radius: 99px;
    color: #fff;
    font-family: 'Fredoka', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 12px;
    cursor: pointer;
    width: 100%;
    letter-spacing: 0.5px;
    transition: opacity .2s, transform .15s, box-shadow .2s;
    box-shadow: 0 4px 14px rgba(255,94,181,0.3);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.btn-claim:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255,94,181,0.45);
}

.btn-claim:active { transform: scale(0.97); }

/* ====================================================
   MODAL
==================================================== */
.gen-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.gen-modal.open { display: flex; }

.gen-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10,4,20,0.85);
    backdrop-filter: blur(6px);
    cursor: pointer;
}

.gen-box {
    position: relative;
    width: 100%;
    max-width: 460px;
    max-height: 90vh;
    overflow-y: auto;
    background: linear-gradient(160deg, #1e0b38 0%, #120820 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 40px rgba(155,80,212,0.2);
    scrollbar-width: thin;
    scrollbar-color: var(--pink) transparent;
}

/* Header */
.gen-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: rgba(0,0,0,0.2);
}

.gen-logo { width: 36px; height: 36px; object-fit: contain; }

.gen-header-title {
    font-family: 'Luckiest Guy', cursive;
    font-size: 18px;
    color: var(--pink);
    letter-spacing: 1px;
    text-shadow: 0 0 10px var(--pink);
}

.gen-close {
    margin-left: auto;
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-dim);
    font-size: 16px;
    transition: background .2s, color .2s;
}

.gen-close:hover { background: var(--pink); color: #fff; border-color: var(--pink); }

/* Screens */
.gen-screen { display: none; padding: 22px 22px 26px; }
.gen-screen.active { display: flex; flex-direction: column; gap: 16px; }

/* Screen 1 */
.gen-item-preview {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
}

.gen-item-thumb {
    width: 64px;
    height: 64px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px var(--purple));
    flex-shrink: 0;
}

.gen-item-meta { display: flex; flex-direction: column; gap: 5px; }

.gen-item-title {
    font-weight: 700;
    font-size: 16px;
    color: #fff;
}

.gen-free-badge {
    display: inline-block;
    background: linear-gradient(90deg, var(--pink), var(--purple));
    border-radius: 99px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    padding: 2px 10px;
    letter-spacing: 0.5px;
}

.gen-desc { font-size: 14px; color: var(--text-dim); text-align: center; line-height: 1.5; }

.gen-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
    border-radius: 99px;
    padding: 10px 18px;
    transition: border-color .2s;
}

.gen-input-wrap:focus-within { border-color: var(--pink); }

.gen-input-icon { font-size: 18px; }

.gen-input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: 'Fredoka', sans-serif;
    font-size: 15px;
    flex: 1;
}

.gen-input::placeholder { color: var(--text-dim); }

.gen-btn-primary {
    background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
    border: none;
    border-radius: 99px;
    color: #fff;
    font-family: 'Luckiest Guy', cursive;
    font-size: 18px;
    letter-spacing: 1px;
    padding: 13px;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 6px 20px rgba(255,94,181,0.35);
    transition: opacity .2s, transform .15s;
}

.gen-btn-primary:hover  { opacity: 0.9; transform: translateY(-1px); }
.gen-btn-primary:active { transform: scale(0.98); }

.gen-error { color: #ff6b6b; font-size: 13px; text-align: center; min-height: 16px; }

.gen-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 12px;
    color: var(--text-dim);
}

.gen-security-dot {
    width: 8px; height: 8px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--success);
}

/* Screen 2 — Progress */
.gen-progress-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scanner-wrap {
    width: 72px; height: 72px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 2px solid var(--pink);
    box-shadow: 0 0 16px rgba(255,94,181,0.4);
}

.scanner-avatar {
    width: 100%; height: 100%;
    object-fit: cover;
}

.scanner-laser {
    position: absolute;
    left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--pink), transparent);
    top: 50%;
    animation: scan 1.5s ease-in-out infinite;
}

@keyframes scan {
    0%   { top: 0%;   opacity: 1; }
    50%  { top: 100%; opacity: 1; }
    100% { top: 0%;   opacity: 0.5; }
}

.gen-progress-label { font-size: 14px; color: var(--text-dim); }

.gen-steps { display: flex; flex-direction: column; gap: 10px; }

.gen-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    transition: border-color .3s, background .3s;
}

.gen-step.active {
    border-color: var(--pink);
    background: rgba(255,94,181,0.08);
}

.gen-step.done {
    border-color: rgba(74,222,128,0.3);
    background: rgba(74,222,128,0.06);
}

.gen-step-icon {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700;
    color: var(--text-dim);
    flex-shrink: 0;
    transition: all .3s;
}

.gen-step.active .gen-step-icon { border-color: var(--pink); color: var(--pink); background: rgba(255,94,181,0.15); }
.gen-step.done  .gen-step-icon { border-color: var(--success); color: var(--success); background: rgba(74,222,128,0.12); }

.gen-step-title { font-size: 14px; font-weight: 700; }
.gen-step-sub   { font-size: 12px; color: var(--text-dim); margin-top: 2px; }

.gen-progress-bar-wrap {
    height: 6px;
    background: rgba(255,255,255,0.08);
    border-radius: 99px;
    overflow: hidden;
}

.gen-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--pink), var(--purple));
    border-radius: 99px;
    transition: width .6s ease;
    box-shadow: 0 0 8px var(--pink);
}

/* Screen 3 — Offers */
.gen-transfer-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
}

.transfer-node { display: flex; flex-direction: column; align-items: center; gap: 6px; }

.transfer-avatar-wrap {
    position: relative;
    width: 54px; height: 54px;
}

.transfer-avatar-img,
.transfer-item-img {
    width: 54px; height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--purple);
}

.transfer-item-img { border-radius: 10px; border-color: var(--pink); }

.transfer-status {
    position: absolute;
    bottom: 0; right: 0;
    width: 14px; height: 14px;
    border-radius: 50%;
    border: 2px solid #120820;
}

.transfer-status.online  { background: var(--success); box-shadow: 0 0 6px var(--success); }
.transfer-status.pending { background: var(--pink);    box-shadow: 0 0 6px var(--pink); }

.transfer-username, .transfer-item-name {
    font-size: 12px; font-weight: 700; color: #fff; text-align: center;
}

.transfer-badge {
    font-size: 10px; font-weight: 700; border-radius: 99px; padding: 2px 9px;
}

.transfer-badge.connected { background: rgba(74,222,128,0.15); color: var(--success); border: 1px solid rgba(74,222,128,0.3); }
.transfer-badge.ready     { background: rgba(255,94,181,0.15);  color: var(--pink);    border: 1px solid rgba(255,94,181,0.3); }

.transfer-path { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 1; }

.transfer-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--purple), var(--pink));
    border-radius: 99px;
    position: relative;
    overflow: hidden;
}

.transfer-line::after {
    content: '';
    position: absolute;
    left: -50%;
    top: 0; bottom: 0;
    width: 50%;
    background: rgba(255,255,255,0.4);
    animation: slide 1.4s linear infinite;
}

@keyframes slide { to { left: 150%; } }

.gen-success-sub { font-size: 13px; color: var(--text-dim); text-align: center; line-height: 1.5; }

/* Offers */
.offers-loading {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    padding: 16px; color: var(--text-dim); font-size: 13px;
}

.spinner {
    width: 28px; height: 28px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: var(--pink);
    border-radius: 50%;
    animation: spin .8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.offer-container { display: flex; flex-direction: column; gap: 12px; }

/* Offer Card — item image + info + Claim Now */
.offer-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    text-decoration: none;
    color: var(--text);
    cursor: pointer;
    transition: border-color .2s, background .2s, transform .15s;
}

.offer-card:hover {
    border-color: var(--pink);
    background: rgba(255,94,181,0.07);
    transform: translateY(-2px);
}

/* Item image displayed in offer card */
.offer-img-col {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.08);
}

.offer-img-col img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

/* Right column */
.offer-info-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.offer-network-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: var(--purple);
    background: rgba(155,80,212,0.15);
    border: 1px solid rgba(155,80,212,0.3);
    border-radius: 99px;
    padding: 2px 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    width: fit-content;
}

.offer-network-badge.usa-badge {
    color: #60a5fa;
    background: rgba(96,165,250,0.12);
    border-color: rgba(96,165,250,0.3);
}

.offer-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.offer-desc {
    font-size: 12px;
    color: var(--text-dim);
    line-height: 1.4;
}

/* Claim Now button inside offer card */
.btn-offer-claim {
    margin-top: 6px;
    align-self: flex-start;
    background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
    border: none;
    border-radius: 99px;
    color: #fff;
    font-family: 'Fredoka', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 22px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(255,94,181,0.35);
    letter-spacing: 0.5px;
    transition: opacity .2s, transform .15s;
    pointer-events: none; /* click handled by parent <a> */
}

.offer-card:hover .btn-offer-claim {
    opacity: 0.9;
}

/* Success message */
.offer-success-msg {
    text-align: center;
    padding: 18px;
    color: var(--success);
    font-size: 15px;
    font-weight: 700;
    border: 1px solid rgba(74,222,128,0.25);
    border-radius: var(--radius);
    background: rgba(74,222,128,0.07);
}

/* CPA Footer */
.cpa-footer {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.cpa-status {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--text-dim);
}

.status-dot {
    width: 8px; height: 8px;
    background: #ffcc00;
    border-radius: 50%;
    animation: pulse 1.4s ease-in-out infinite;
}

.gen-expires {
    font-size: 12px;
    color: var(--pink);
    font-weight: 600;
}

/* ====================================================
   PUSH NOTIFICATION
==================================================== */
.push-notif {
    position: fixed;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    max-width: 420px;
    z-index: 9999;
    transition: top 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

.push-notif.show {
    top: 12px;
    pointer-events: all;
}

.push-notif-bar {
    background: rgba(22, 8, 45, 0.97);
    border: 1px solid rgba(255, 94, 181, 0.45);
    border-radius: 18px;
    padding: 11px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 36px rgba(0,0,0,0.6), 0 0 24px rgba(255,94,181,0.18);
    backdrop-filter: blur(12px);
}

.push-notif-img {
    width: 46px;
    height: 46px;
    border-radius: 11px;
    object-fit: contain;
    background: rgba(0,0,0,0.35);
    padding: 4px;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.08);
}

.push-notif-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.push-notif-title {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.push-notif-sub {
    font-size: 11px;
    color: var(--text-dim);
}

.push-notif-claim {
    background: linear-gradient(135deg, var(--pink), var(--purple));
    border: none;
    border-radius: 99px;
    color: #fff;
    font-family: 'Fredoka', sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 7px 16px;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(255,94,181,0.35);
    white-space: nowrap;
    transition: opacity .2s;
}

.push-notif-claim:hover { opacity: 0.88; }

.push-notif-close {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--text-dim);
    font-size: 12px;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .2s, color .2s;
}

.push-notif-close:hover { background: rgba(255,94,181,0.2); color: var(--pink); }

/* ====================================================
   IOS POPUP
==================================================== */
.ios-popup {
    position: fixed; inset: 0; z-index: 2000;
    align-items: center; justify-content: center;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
}

.ios-popup-content {
    background: linear-gradient(160deg, #1e0b38, #120820);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px 24px;
    max-width: 360px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.ios-gif { width: 200px; border-radius: 12px; }

.ios-popup-content h3 { font-family: 'Luckiest Guy', cursive; font-size: 20px; color: var(--pink); }

.ios-popup-content p { font-size: 14px; color: var(--text-dim); line-height: 1.6; }

/* ====================================================
   FOOTER
==================================================== */
.site-footer {
    text-align: center;
    padding: 20px 16px;
    font-size: 12px;
    color: rgba(255,255,255,0.2);
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* ====================================================
   LANG SWITCHER
==================================================== */
.lang-switcher {
    position: fixed;
    top: 14px; right: 14px;
    z-index: 500;
    display: flex;
    align-items: center;
}

.lang-select {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 99px;
    color: var(--text);
    font-family: 'Fredoka', sans-serif;
    font-size: 13px;
    padding: 5px 12px;
    cursor: pointer;
    outline: none;
}
