/* ═══════════════════════════════════════════════════════════════
   MM2 OFFICIAL THEME — Murder Mystery 2
   Dark · Crimson · Suspense · Premium Gaming UI
   ═══════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Nunito:wght@400;600;700;800;900&display=swap');

:root {
    /* MM2 Official Dark Background */
    --bg: #0a0a0f;
    --bg-light: #1a1a26;
    --card: #16161e;

    /* MM2 Official Colors — Crimson/Red Theme */
    --mm2-red: #C4281C;
    --mm2-red-dark: #8B0000;
    --mm2-red-light: #e63946;
    --mm2-crimson: #970000;
    --mm2-gold: #ffd700;
    --warm-gold: #f5bb27;
    --mm2-silver: #b0acaa;
    --mm2-dark-grey: #2a2a3a;
    --mm2-charcoal: #1B2A35;

    /* Text — Light on Dark */
    --text: #ffffff;
    --text-light: #e0e0e0;
    --text-muted: #8888a0;
    --text-dim: #555570;

    /* Borders — Dark Red Tones */
    --border: #3a1a1a;

    /* Shadows — Red Tint */
    --shadow-card: 0 4px 24px rgba(150, 0, 0, 0.2);

    /* Fonts */
    --font-display: 'Fredoka', sans-serif;
    --font-body: 'Nunito', sans-serif;
}

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

html, body { height: 100%; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }

/* ═══════════════ BACKGROUND — Dark Crime Scene ═══════════════ */
.site-bg {
    position: fixed; inset: 0; z-index: 0; overflow: hidden;
}

.site-bg-image {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 20%, #1a0a0a 0%, #0a0a0f 50%, #050508 100%);
}

.site-bg-gradient {
    display: none;
}

.site-bg-grid {
    display: none;
}

.site-bg-orbs {
    position: absolute; inset: 0;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.08;
    animation: orbFloat 12s ease-in-out infinite;
}

.orb-1 { width: 400px; height: 400px; background: #C4281C; top: -10%; left: -10%; animation-delay: 0s; }
.orb-2 { width: 300px; height: 300px; background: #8B0000; top: 60%; right: -5%; animation-delay: -4s; }
.orb-3 { width: 250px; height: 250px; background: #f5bb27; bottom: -5%; left: 30%; animation-delay: -8s; }
.orb-4 { width: 200px; height: 200px; background: #970000; top: 30%; right: 20%; animation-delay: -2s; }
.orb-5 { width: 350px; height: 350px; background: #2a1a1a; top: -15%; right: 30%; animation-delay: -6s; }

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

/* ═══════════════ LAYOUT ═══════════════ */
.main-container {
    min-height: 100vh;
    padding: 50px 16px 80px;
    position: relative; z-index: 1;
}

.container { max-width: 880px; margin: 0 auto; }

/* ═══════════════ LANG SWITCHER ═══════════════ */
.lang-switcher {
    position: fixed; top: 16px; right: 16px; z-index: 99999;
    background: transparent; border: none; padding: 0;
}

.lang-button {
    background: linear-gradient(135deg, var(--warm-gold), #d4a020);
    border: 2px solid var(--warm-gold);
    border-radius: 10px;
    display: flex; align-items: center; gap: 6px;
    padding: 8px 14px;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    color: #1a0a0a;
    box-shadow: 0 3px 0 #a07010;
    transition: all 0.12s ease;
    white-space: nowrap;
}

.lang-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 0 #a07010;
    background: linear-gradient(135deg, #ffcc44, var(--warm-gold));
}

.lang-button:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #a07010;
}

.lang-icon { font-size: 14px; }

.lang-select {
    border: none; background: transparent; cursor: pointer; outline: none;
    appearance: none; -webkit-appearance: none;
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; opacity: 0; z-index: 10;
}

/* ═══════════════ ANIMATED BACKGROUND ═══════════════ */
.animated-background {
    position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}

.bg-item-img {
    position: absolute; bottom: -100px;
    animation: floatUp var(--duration) linear infinite;
    animation-delay: var(--delay); opacity: 0.08;
}

.bg-item-img img {
    width: 64px; height: 64px; border-radius: 12px;
    border: 2px solid rgba(196, 40, 28, 0.3);
    box-shadow: 0 0 16px rgba(196, 40, 28, 0.1);
}

@keyframes floatUp {
    0% { transform: translateY(0) rotate(0deg); opacity: 0.08; }
    50% { opacity: 0.15; }
    100% { transform: translateY(-110vh) rotate(20deg); opacity: 0; }
}

/* ═══════════════ HERO ═══════════════ */
.page-hero { text-align: center; margin-bottom: 40px; }

.hero-logo {
    width: clamp(110px, 22vw, 170px);
    margin: 0 auto 20px;
    border-radius: 16px;
    border: 3px solid var(--mm2-red);
    box-shadow: 0 0 30px rgba(196, 40, 28, 0.3), 0 8px 32px rgba(0, 0, 0, 0.5);
    animation: heroFloat 3s ease-in-out infinite;
}

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

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(24px, 5vw, 40px);
    font-weight: 700;
    color: #fff;
    text-shadow:
        0 0 30px rgba(245, 187, 39, 0.3),
        0 0 20px rgba(196, 40, 28, 0.4),
        2px 2px 0 rgba(0, 0, 0, 0.8);
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.hero-sub {
    font-size: 16px;
    color: var(--mm2-silver);
    margin-top: 12px;
    font-weight: 600;
}

.social-proof {
    margin-top: 22px;
    display: inline-flex; align-items: center; gap: 10px;
    padding: 10px 22px;
    background: linear-gradient(135deg, #1a1010, #0d0505);
    border: 2px solid var(--warm-gold);
    border-radius: 50px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    box-shadow: 0 3px 0 #a07010, inset 0 1px 0 rgba(245, 187, 39, 0.1);
}

.social-proof .dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--warm-gold);
    animation: pulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px var(--warm-gold);
}

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

/* ═══════════════ SHOP PANEL ═══════════════ */
.shop-panel {
    max-width: 700px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    background: var(--card);
    border: 2px solid var(--border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* ═══════════════ SHOP HEADER ═══════════════ */
.shop-header.store-banner {
    background: linear-gradient(180deg, #1a1010 0%, #0d0505 100%);
    padding: 16px 20px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 14px;
    border-bottom: 2px solid var(--warm-gold);
}

.store-banner-left { display: flex; align-items: center; gap: 10px; }

.store-title-text {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    text-shadow: 0 0 16px rgba(245, 187, 39, 0.25);
}

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

.store-tab {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    border: 2px solid rgba(196, 40, 28, 0.3);
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.12s ease;
}

.store-tab:hover {
    background: rgba(196, 40, 28, 0.15);
    color: #fff;
    border-color: var(--mm2-red);
}

.store-tab.active {
    background: linear-gradient(180deg, var(--warm-gold) 0%, #c99520 100%);
    color: #1a0a0a;
    border-color: #a07010;
    box-shadow: 0 3px 0 #a07010;
}

/* ═══════════════ SHOP ITEMS ═══════════════ */
.shop-items-list {
    display: flex; flex-direction: column; gap: 0; padding: 12px;
}

.shop-item {
    display: flex; align-items: center; justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    margin: 5px 0;
    background: #1a1a26;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.shop-item:hover {
    background: #222233;
    border-color: var(--warm-gold);
    box-shadow: 0 4px 20px rgba(245, 187, 39, 0.12);
    transform: translateY(-2px);
}

.shop-item:active {
    transform: translateY(0px);
}

/* Image Box */
.shop-item-img-box {
    width: 100px; height: 100px; min-width: 100px;
    border-radius: 12px;
    background: #0d0d15;
    border: 2px solid var(--mm2-dark-grey);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; flex-shrink: 0;
    transition: all 0.15s ease;
}

.shop-item:hover .shop-item-img-box {
    border-color: var(--warm-gold);
    box-shadow: 0 0 20px rgba(245, 187, 39, 0.15);
}

.shop-item-img-box img {
    width: 80px; height: 80px;
    object-fit: contain; border-radius: 8px;
    transition: transform 0.25s ease;
}

.shop-item:hover .shop-item-img-box img { transform: scale(1.12); }

/* Item Info */
.shop-item-info {
    flex: 1; min-width: 0;
    display: flex; flex-direction: column; gap: 4px;
}

.shop-item-name {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.shop-item-stock {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Rarity Badge */
.shop-item-rarity {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 5px;
    display: inline-block;
}

.rarity-godly { background: linear-gradient(135deg, #ff6b00, #ffd700); color: #000; border: 1px solid #ffd700; }
.rarity-ancient { background: linear-gradient(135deg, #00d4ff, #7b2ff7); color: #fff; border: 1px solid #7b2ff7; }
.rarity-legendary { background: linear-gradient(135deg, #f7c948, #ff8c00); color: #000; border: 1px solid #ff8c00; }
.rarity-unique { background: linear-gradient(135deg, #ff6bcb, #c44dff); color: #fff; border: 1px solid #c44dff; }
.rarity-rare { background: linear-gradient(135deg, #4fc3f7, #0288d1); color: #fff; border: 1px solid #0288d1; }
.rarity-uncommon { background: linear-gradient(135deg, #81c784, #388e3c); color: #fff; border: 1px solid #388e3c; }
.rarity-common { background: #555570; color: #ccc; border: 1px solid #444460; }

.fire-effect { animation: fireGlow 2s ease-in-out infinite; }
@keyframes fireGlow { 0%, 100% { box-shadow: 0 0 6px rgba(255, 107, 0, 0.15); } 50% { box-shadow: 0 0 18px rgba(255, 107, 0, 0.3); } }

.summer-event-badge {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    border: 1px solid rgba(255, 193, 7, 0.4);
    white-space: nowrap;
}

/* Claim Button — MM2 RED style with warm gold accent */
.roblox-claim-btn {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    padding: 14px 30px;
    border-radius: 10px;
    border: 2px solid #a07010;
    background: linear-gradient(180deg, var(--warm-gold) 0%, #d4a020 100%);
    color: #1a0a0a;
    cursor: pointer;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 0 #a07010;
    transition: all 0.12s ease;
    flex-shrink: 0;
}

.roblox-claim-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #a07010;
    background: linear-gradient(180deg, #ffcc44 0%, var(--warm-gold) 100%);
}

.roblox-claim-btn:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #a07010;
}

/* Mobile */
@media (max-width: 480px) {
    .roblox-claim-btn { padding: 10px 20px; font-size: 14px; }
    .shop-item-img-box { width: 72px; height: 72px; min-width: 72px; }
    .shop-item-img-box img { width: 56px; height: 56px; }
    .shop-item-name { font-size: 13px; }
    .shop-item-rarity { font-size: 8px; padding: 3px 6px; }
}

/* ═══════════════ FOOTER ═══════════════ */
.site-footer {
    margin-top: 60px; padding: 24px 16px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-keywords {
    font-size: 11px; color: var(--text-dim);
    font-weight: 600; line-height: 2;
}

/* ═══════════════════════════════════════════════════════════════
   GENERATOR MODAL — MM2 Dark Theme
   ═══════════════════════════════════════════════════════════════ */
.gen-modal {
    display: none; position: fixed; inset: 0;
    z-index: 99999; align-items: center; justify-content: center; padding: 16px;
}
.gen-modal.open { display: flex; }

.gen-backdrop {
    position: absolute; inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
}

.gen-box {
    position: relative; z-index: 1;
    background: var(--card);
    border: 2px solid var(--warm-gold);
    border-radius: 16px;
    color: var(--text);
    width: 100%; max-width: 420px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6), 0 0 24px rgba(196, 40, 28, 0.15);
    overflow: hidden;
    animation: modalPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ═══════════════ MODAL HEADER ═══════════════ */
.gen-header {
    background: linear-gradient(180deg, #1a1010 0%, #0d0505 100%);
    padding: 14px 16px;
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: 2px solid var(--warm-gold);
}

.gen-close {
    background: var(--mm2-red);
    border: 2px solid #4a0000;
    border-radius: 8px;
    width: 32px; height: 32px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 3px 0 #4a0000;
    transition: all 0.12s ease;
}

.gen-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 0 #4a0000;
    background: var(--mm2-red-light);
}

.gen-close:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #4a0000;
}

.gen-logo-row { display: flex; align-items: center; gap: 12px; }

.gen-logo-img {
    width: 38px; height: 38px;
    border-radius: 10px;
    border: 2px solid var(--warm-gold);
    object-fit: cover;
}

.gen-label {
    font-family: var(--font-display);
    color: var(--text);
    font-size: 17px;
    font-weight: 600;
}

/* ═══════════════ MODAL SCREENS ═══════════════ */
.gen-screen {
    display: none; padding: 20px 16px;
    flex-direction: column; gap: 16px;
}
.gen-screen.active { display: flex; }

/* Screen 1 */
.gen-item-preview {
    display: flex; align-items: center; gap: 14px;
    background: var(--bg-light);
    border-radius: 12px;
    border: 2px solid var(--border);
    padding: 12px;
}

.gen-item-thumb {
    width: 64px; height: 64px;
    object-fit: contain;
    border-radius: 10px;
    background: #0d0d15;
    border: 2px solid var(--mm2-dark-grey);
    padding: 4px; flex-shrink: 0;
}

.gen-item-details { flex: 1; min-width: 0; }

.gen-item-name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
}

.gen-item-badge {
    display: inline-block; margin-top: 5px;
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 700;
    background: linear-gradient(180deg, var(--warm-gold) 0%, #c99520 100%);
    border: 1px solid #a07010;
    color: #1a0a0a;
    padding: 3px 10px;
    border-radius: 6px;
    box-shadow: 0 2px 0 #a07010;
}

.gen-desc {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center; font-weight: 600;
}

/* Username input */
.gen-input-wrap {
    display: flex; align-items: center; gap: 12px;
    border: 2px solid var(--border);
    border-radius: 10px;
    padding: 0 12px;
    background: #0d0d15;
    transition: all 0.15s ease;
}

.gen-input-wrap:focus-within {
    border-color: var(--mm2-red);
    box-shadow: 0 0 0 2px rgba(196, 40, 28, 0.2);
}

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

.gen-input {
    flex: 1; border: none; background: transparent;
    padding: 12px 0; font-size: 14px;
    font-family: var(--font-body);
    color: var(--text); outline: none; font-weight: 600;
}

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

.gen-error-msg {
    color: var(--mm2-red-light);
    font-size: 12px; font-weight: 700;
    min-height: 16px;
}

/* Claim button — Warm Gold */
.gen-btn-primary {
    width: 100%;
    background: linear-gradient(180deg, var(--warm-gold) 0%, #c99520 100%);
    color: #1a0a0a;
    border: 2px solid #a07010;
    border-radius: 10px;
    padding: 14px;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 0 #a07010;
    transition: all 0.12s ease;
}

.gen-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #a07010;
    background: linear-gradient(180deg, #ffcc44 0%, var(--warm-gold) 100%);
}

.gen-btn-primary:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #a07010;
}

.gen-security-row {
    display: flex; align-items: center; justify-content: center;
    gap: 8px; color: var(--text-dim);
    font-size: 11px; font-weight: 600;
}

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

/* ═══════════════ SCREEN 2: PROGRESS ═══════════════ */
.gen-progress-header {
    display: flex; flex-direction: column;
    align-items: center; gap: 12px; padding-bottom: 8px;
}

.avatar-scanner-container {
    width: 90px; height: 90px;
    border-radius: 50%;
    background: var(--bg-light);
    border: 3px solid var(--border);
    position: relative; overflow: hidden;
    margin: 8px auto;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.avatar-scanner-container.scanning {
    border-color: var(--mm2-red-light);
    box-shadow: 0 4px 20px rgba(196, 40, 28, 0.25);
}

.scanner-avatar-img {
    width: 64px; height: 64px;
    object-fit: cover; border-radius: 50%;
    opacity: 0.4; transition: opacity 0.5s;
}

.avatar-scanner-container.scanning .scanner-avatar-img { opacity: 0.8; }

.scanner-laser {
    position: absolute; width: 100%; height: 3px;
    background: var(--mm2-red-light);
    box-shadow: 0 0 10px var(--mm2-red);
    top: 0; left: 0; opacity: 0;
}

.avatar-scanner-container.scanning .scanner-laser {
    opacity: 1;
    animation: laser-sweep 1.5s ease-in-out infinite;
}

@keyframes laser-sweep {
    0%, 100% { top: 0%; }
    50% { top: 100%; }
}

.gen-progress-label {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--warm-gold);
    text-align: center;
}

/* Steps */
.gen-steps { display: flex; flex-direction: column; gap: 6px; }

.gen-step {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--bg-light);
    border: 2px solid var(--border);
    transition: all 0.2s ease;
}

.gen-step.active {
    background: #1a1510;
    border-color: var(--warm-gold);
    box-shadow: 0 2px 10px rgba(245, 187, 39, 0.1);
}

.gen-step.done {
    background: #0d1a0d;
    border-color: #2a6b2a;
}

.gen-step-icon {
    width: 28px; height: 28px;
    border-radius: 6px;
    background: #0d0d15;
    border: 2px solid var(--border);
    color: var(--text-dim);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.gen-step.active .gen-step-icon {
    background: var(--warm-gold);
    border-color: #a07010;
    color: #1a0a0a;
    box-shadow: 0 2px 0 #a07010;
}

.gen-step.done .gen-step-icon {
    background: #2a8a2a;
    border-color: #1a5a1a;
    color: #fff;
    box-shadow: 0 2px 0 #1a5a1a;
}

.gen-step-title {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.gen-step-sub {
    font-size: 11px;
    color: var(--text-dim);
    margin-top: 2px;
    font-weight: 600;
}

.gen-step.done .gen-step-sub { color: #4a8a4a; }

/* Progress bar */
.gen-progress-bar-wrap {
    background: var(--bg-light);
    height: 10px; overflow: hidden;
    border-radius: 8px;
    border: 2px solid var(--border);
}

.gen-progress-bar {
    height: 100%; width: 0%;
    background: linear-gradient(90deg, var(--warm-gold), #ffcc44);
    border-radius: 8px;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(245, 187, 39, 0.3);
}

/* ═══════════════ SCREEN 3: CLAIM ═══════════════ */
.gen-transfer-panel {
    display: flex; align-items: center; justify-content: space-between;
    background: var(--bg-light);
    border-radius: 12px;
    border: 2px solid var(--border);
    padding: 16px;
    margin-bottom: 12px;
}

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

.transfer-avatar-wrap, .transfer-item-wrap { position: relative; }

.transfer-avatar-img, .transfer-item-img {
    width: 50px; height: 50px;
    border-radius: 10px;
    border: 2px solid var(--border);
    background: #0d0d15;
    object-fit: contain;
}

.transfer-status-indicator {
    position: absolute; bottom: -3px; right: -3px;
    width: 14px; height: 14px;
    border-radius: 50%; border: 2px solid var(--card);
}

.transfer-status-indicator.online {
    background: #2a8a2a;
    box-shadow: 0 0 6px #2a8a2a;
}

.transfer-status-indicator.pending {
    background: var(--mm2-gold);
    box-shadow: 0 0 6px var(--mm2-gold);
    animation: pulse 1.5s ease-in-out infinite;
}

.transfer-username, .transfer-item-name {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
}

.transfer-badge {
    font-family: var(--font-display);
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
}

.online-badge {
    background: #0d1a0d;
    border: 1px solid #2a6b2a;
    color: #4a8a4a;
}

.pending-badge {
    background: #1a1a0d;
    border: 1px solid #6b6b00;
    color: #aaaa00;
}

.transfer-path {
    flex: 0 0 40px; height: 2px;
    background: var(--border);
    border-radius: 10px;
    position: relative;
}

.transfer-pulse {
    position: absolute; top: -4px; left: 0;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--mm2-red-light);
    border: 2px solid var(--card);
    box-shadow: 0 0 6px var(--mm2-red);
    animation: transferPulse 1.5s ease-in-out infinite;
}

@keyframes transferPulse {
    0% { left: 0%; }
    50% { left: 75%; }
    100% { left: 0%; }
}

.gen-success-sub {
    text-align: center; font-size: 12px;
    color: var(--text-muted); font-weight: 600; line-height: 1.6;
}



/* ═══════════════ OFFERS ═══════════════ */
.offers-loading {
    text-align: center; color: var(--text-dim);
    font-size: 12px; font-weight: 600;
    display: none; margin: 12px 0;
}

.spinner {
    width: 24px; height: 24px;
    border: 2px solid var(--border);
    border-top-color: var(--mm2-red);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 8px;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

.offer-card {
    display: flex; align-items: center; justify-content: space-between;
    background: #1a1a26;
    border: 2px solid var(--border);
    border-radius: 10px;
    padding: 10px 12px;
    text-decoration: none;
    transition: all 0.12s ease;
    margin-bottom: 6px;
}

.offer-card:hover {
    border-color: var(--mm2-red);
    box-shadow: 0 3px 10px rgba(196, 40, 28, 0.1);
    transform: translateY(-2px);
}

.offer-info {
    display: flex; flex-direction: column;
    gap: 3px; text-align: left;
}

.offer-title {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.offer-desc {
    font-size: 10px; color: var(--text-dim);
    font-weight: 600;
}

.offer-action {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    border: 2px solid #6b0000;
    padding: 6px 12px;
    border-radius: 6px;
    background: linear-gradient(180deg, var(--mm2-red-light) 0%, var(--mm2-red) 100%);
    box-shadow: 0 3px 0 #4a0000;
    transition: all 0.12s ease;
}

.offer-card:hover .offer-action {
    background: linear-gradient(180deg, var(--mm2-red) 0%, var(--mm2-red-dark) 100%);
}

.cpa-modal-footer {
    margin-top: 12px; padding-top: 12px;
    border-top: 2px solid var(--border);
    display: flex; flex-direction: column;
    gap: 6px; align-items: center;
}

.secure-footer-line {
    display: flex; align-items: center; gap: 8px;
}

.status-dot {
    width: 8px; height: 8px;
    border-radius: 50%; background: var(--warm-gold);
    border: none;
    box-shadow: 0 0 8px var(--warm-gold);
}

.status-dot.pulsing { animation: pulse 1.5s ease-in-out infinite; }

#cpaStatusText {
    font-size: 11px; color: var(--text-dim);
    font-weight: 600;
}

.gen-expire-note {
    font-size: 12px; color: var(--mm2-gold);
    font-weight: 600;
}

.success-message-box {
    text-align: center; padding: 14px;
    border-radius: 10px;
    border: 2px solid #2a6b2a;
    background: #0d1a0d;
    font-family: var(--font-display);
    font-size: 13px; color: #4a8a4a;
    font-weight: 600; line-height: 1.7;
}

/* ═══════════════ iOS POPUP ═══════════════ */
.ios-popup {
    position: fixed; inset: 0; z-index: 999999;
    display: flex; align-items: center; justify-content: center;
}

.ios-popup-background {
    position: absolute; inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.ios-popup-content {
    position: relative; z-index: 1;
    background: var(--card);
    border: 2px solid var(--mm2-red);
    border-radius: 16px;
    padding: 24px; max-width: 380px;
    text-align: center;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
}

.ios-gif-container { margin-bottom: 16px; }

.ios-instruction-gif {
    width: 100%; max-width: 300px;
    border-radius: 12px;
    border: 2px solid var(--border);
}

.ios-instruction-text h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}

.ios-instruction-text p {
    font-size: 13px; color: var(--text-muted);
    line-height: 1.6; font-weight: 600;
}

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 600px) {
    .hero-title { font-size: 24px; }
    .shop-item { padding: 10px; gap: 8px; }
    .gen-box { max-width: 100%; border-radius: 14px; }
    .gen-transfer-panel { flex-direction: row; gap: 8px; }
    .transfer-path { flex: 0 0 30px; height: 2px; width: auto; }
    .transfer-avatar-img, .transfer-item-img { width: 40px; height: 40px; }
    .transfer-username, .transfer-item-name { font-size: 11px; }
    .verify-btn { font-size: 15px; padding: 14px; max-width: 240px; }
    .store-tab { font-size: 11px; padding: 6px 12px; }
    .store-title-text { font-size: 16px; }
    .shop-header.store-banner { padding: 12px 14px; }
    .shop-item-img-box { width: 72px; height: 72px; min-width: 72px; }
    .shop-item-img-box img { width: 56px; height: 56px; }
    .page-hero { margin-bottom: 28px; }
}

@media (max-width: 380px) {
    .shop-item { flex-wrap: wrap; }
    .roblox-claim-btn { width: 100%; margin-top: 6px; }
    .hero-title { font-size: 20px; }
    .main-container { padding: 30px 10px 60px; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
}
