@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600;700&family=Luckiest+Guy&family=Lilita+One&display=swap');

:root {
    --bg: #2a1208;
    --bg-accent: #3a1e0e;
    --bg-warm: #4a2208;
    --card: #4a2208;
    --card-border: #6b3310;
    --text: #ffffff;
    --muted: #f4e8e1;
    --accent: #ff66a3;
    --accent-strong: #e63982;
    --accent-light: rgba(255, 102, 163, 0.2);
    --danger: #e84040;
    --success: #2ecc5b;
    --radius-lg: 20px;
    --radius-md: 12px;
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.6);
    --shadow-hover: 0 20px 48px rgba(0, 0, 0, 0.8);
    --font-display: "Lilita One", sans-serif;
    --font-body: "Fredoka", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
img { max-width: 100%; display: block; }
button { font-family: var(--font-display); cursor: pointer; border: none; }

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

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 50% at 10% 0%, rgba(255, 247, 4, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 90% 100%, rgba(17, 171, 69, 0.05) 0%, transparent 60%);
    backdrop-filter: blur(90px);
    -webkit-backdrop-filter: blur(90px);
    z-index: -1;
}

.main-container {
    min-height: 100vh;
    padding: 48px 18px 90px;
    position: relative;
    z-index: 1;
}

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

.lang-switcher {
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 9999;
}

.lang-button {
    background-color: #9b59b6;
    background-image:
        linear-gradient(180deg, #b87dd1 0%, #9b59b6 55%, #7f4496 100%),
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,0.1) 10px, rgba(255,255,255,0.1) 11px),
        repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(255,255,255,0.1) 10px, rgba(255,255,255,0.1) 11px);
    border: 3px solid #5e2b73;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    cursor: pointer;
    font-family: 'Luckiest Guy', cursive;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    color: #ffffff;
    text-shadow: -2px -2px 0 #4a1b5c, 2px -2px 0 #4a1b5c, -2px 2px 0 #4a1b5c, 2px 2px 0 #4a1b5c;
    box-shadow: 0 4px 0 #5e2b73, inset 0 1px 0 rgba(255,255,255,0.25);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    white-space: nowrap;
    position: relative;
}

.lang-button:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #5e2b73, inset 0 1px 0 rgba(255,255,255,0.25); }
.lang-button:active { transform: translateY(2px); box-shadow: 0 1px 0 #5e2b73; }

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

.page-hero {
    text-align: center;
    padding: 10px 0 24px;
    position: relative;
}

.hero-logo {
    width: clamp(80px, 14vw, 120px);
    margin: 0 auto 16px;
    border-radius: 16px;
    border: 2px solid rgba(85, 180, 90, 0.5);
    box-shadow: 0 8px 28px rgba(0,0,0,0.4);
    animation: float-bob 6s ease-in-out infinite;
}

.hero-title {
    font-family: 'Luckiest Guy', cursive;
    font-size: clamp(1.8rem, 5vw, 3rem);
    color: #ffffff;
    letter-spacing: 0.05em;
    text-shadow: 0 3px 10px rgba(0,0,0,0.5), 0 0 30px rgba(80,200,80,0.2);
    line-height: 1.2;
    margin-bottom: 8px;
}

.hero-sub {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 700;
    text-shadow: 1px 2px 0 rgba(100, 30, 80, 0.6);
}

.social-proof {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    background: #8e44ad;
    border: 2px solid #ffffff;
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.1), 0 4px 6px rgba(0,0,0,0.5);
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 700;
    text-shadow: 1px 1px 0 rgba(100, 30, 80, 0.6);
    margin-top: 16px;
}

.social-proof .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #a29bfe;
    box-shadow: 0 0 8px rgba(22, 163, 74, 0.6);
    animation: pulse-dot 1.8s ease-in-out infinite;
}

.shop-panel {
    max-width: 680px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0,0,0,0.7);
    background: transparent;
}

.shop-header.store-banner {
    background-color: #f5c800;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 18px, rgba(0,0,0,0.12) 18px, rgba(0,0,0,0.12) 20px),
        repeating-linear-gradient(-45deg, transparent, transparent 18px, rgba(0,0,0,0.12) 18px, rgba(0,0,0,0.12) 20px);
    border-bottom: 4px solid #b8880a;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 0 0 3px #d8a800, inset 0 1px 0 rgba(255,255,255,0.4);
}

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

.store-title-text {
    font-family: 'Luckiest Guy', cursive;
    font-size: 1.6rem;
    color: #5a2d00;
    text-shadow: 1px 1px 0 rgba(255,255,255,0.4);
    letter-spacing: 0.03em;
}

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

.store-tab {
    padding: 8px 24px;
    border-radius: 8px;
    font-family: 'Luckiest Guy', cursive;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background-color: #7f4496;
    background-image: linear-gradient(180deg, #b87dd1 0%, #9b59b6 55%, #7f4496 100%);
    border: 3px solid #5e2b73;
    color: #ffffff;
    text-shadow: -1px -1px 0 #4a1b5c, 1px -1px 0 #4a1b5c, -1px 1px 0 #4a1b5c, 1px 1px 0 #4a1b5c;
    box-shadow: 0 4px 0 #5e2b73, inset 0 1px 0 rgba(255,255,255,0.2);
    transition: all 0.15s ease;
    cursor: pointer;
}

.store-tab.active {
    background: linear-gradient(180deg, #f5c800 0%, #d8a800 60%, #b8880a 100%);
    border-color: #8a6200;
    color: #5a2d00;
    text-shadow: 1px 1px 0 rgba(255,255,255,0.3);
    box-shadow: 0 4px 0 #8a6200, inset 0 1px 0 rgba(255,255,255,0.4);
}

.store-tab:hover:not(.active) {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #5e2b73, inset 0 1px 0 rgba(255,255,255,0.2);
}

.shop-items-list {
    display: flex;
    flex-direction: column;
    padding: 14px;
    gap: 10px;
}

.shop-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    background-color: #3a1a04;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 14px, rgba(0,0,0,0.1) 14px, rgba(0,0,0,0.1) 15px),
        repeating-linear-gradient(-45deg, transparent, transparent 14px, rgba(0,0,0,0.1) 14px, rgba(0,0,0,0.1) 15px);
    border: 2px solid rgba(0,0,0,0.35);
    cursor: pointer;
    transition: all 0.15s ease;
    position: relative;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.3);
}

.shop-item:hover {
    background-color: #4a2408;
    border-color: rgba(91,196,55,0.5);
    transform: translateY(-2px);
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.3), 0 6px 0 rgba(0,0,0,0.25);
}

.shop-item-img-box {
    width: 64px; height: 64px;
    border-radius: 8px;
    background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(180,140,80,0.2) 0%, rgba(30,10,0,0) 70%), #1e0c00;
    border: 2px solid rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: inset 0 0 12px rgba(0,0,0,0.6);
}

.shop-item-img-box img {
    width: 48px; height: 48px;
    object-fit: contain;
    transition: transform 0.2s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

.shop-item:hover .shop-item-img-box img {
    transform: scale(1.1) rotate(5deg);
}

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

.shop-item-name {
    font-family: 'Luckiest Guy', cursive;
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
}

.shop-item:hover .shop-item-name { color: #b87dd1; }

.shop-item-stock {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 600;
}

.shop-item-rarity {
    display: inline-block;
    font-family: 'Luckiest Guy', cursive;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 6px;
    width: fit-content;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.4);
    box-shadow: 0 2px 0 rgba(0,0,0,0.25);
}

.rarity-mythic { background: #ff4757; border: 2px solid #b32d3a; color: #ffffff; }
.rarity-legendary { background: #f5c800; border: 2px solid #b8880a; color: #5a2d00; text-shadow: none; box-shadow: 0 2px 0 #8a6200; }
.rarity-epic { background: #8040cc; border: 2px solid #5a1fa0; color: #f0e0ff; box-shadow: 0 2px 0 #3d0d80; }

.roblox-claim-btn {
    flex-shrink: 0;
    padding: 10px 24px;
    border-radius: 8px;
    background: linear-gradient(180deg, #b87dd1 0%, #9b59b6 60%, #7f4496 100%);
    border: 2px solid #5e2b73;
    color: #ffffff;
    font-family: 'Luckiest Guy', cursive;
    font-size: 1rem;
    text-transform: uppercase;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.35);
    box-shadow: 0 4px 0 #5e2b73, inset 0 1px 0 rgba(255,255,255,0.2);
    transition: all 0.1s ease;
    white-space: nowrap;
}

.shop-item:hover .roblox-claim-btn { background: linear-gradient(180deg, #c88de1 0%, #b069c6 60%, #8f54a6 100%); }
.roblox-claim-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 #5e2b73; }

.fire-effect {
    animation: firePulse 1s infinite alternate;
    border-color: #ff4500 !important;
}

@keyframes firePulse {
    0% { box-shadow: inset 0 2px 8px rgba(0,0,0,0.3), 0 0 10px #ff4500, 0 0 20px #ff8c00; }
    100% { box-shadow: inset 0 2px 8px rgba(0,0,0,0.3), 0 0 20px #ff4500, 0 0 40px #ff8c00, 0 0 60px #ff0000; }
}

.ios-popup {
    position: fixed;
    inset: 0;
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ios-popup-background {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
}

.ios-popup-content {
    position: relative;
    z-index: 1;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    width: min(92vw, 420px);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.ios-instruction-gif { width: 100%; border-radius: var(--radius-md); border: 1px solid var(--card-border); }

.ios-instruction-text h3 {
    font-family: var(--font-display);
    color: var(--text);
    margin: 14px 0 8px;
}

.ios-instruction-text p { color: var(--muted); font-size: 0.9rem; }

.site-footer {
    margin-top: 36px;
    padding: 18px 0 12px;
    border-top: 1px solid var(--card-border);
}

.footer-keywords {
    text-align: center;
    font-size: 0.75rem;
    color: var(--muted);
    letter-spacing: 0.02em;
}

.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.55);
    backdrop-filter: blur(4px);
}

.gen-box {
    position: relative;
    z-index: 1;
    background-color: var(--card);
    background-image:
        linear-gradient(45deg, rgba(255,255,255,.03) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,.03) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255,255,255,.03) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255,255,255,.03) 75%);
    background-size: 20px 20px;
    border: 5px solid var(--card-border);
    border-radius: 16px;
    color: #fff;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 0 0 4px #6b3a1a, 0 0 0 7px #8b4a1e, 0 24px 80px rgba(0,0,0,0.7);
    overflow: hidden;
    animation: genSlideIn 0.3s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes genSlideIn {
    from { opacity: 0; transform: translateY(28px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.gen-header {
    background-color: var(--bg-warm);
    background-image:
        linear-gradient(45deg, rgba(255,255,255,.18) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,.18) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255,255,255,.18) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255,255,255,.18) 75%);
    background-size: 20px 20px;
    border-bottom: 3px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
}

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

.gen-logo-img { width: 38px; height: 38px; border-radius: 8px; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4)); }

.gen-label {
    font-family: 'Luckiest Guy', cursive;
    color: #fff;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.35);
    line-height: 1.1;
}

.gen-close {
    background: linear-gradient(180deg, #f05050 0%, #d42020 100%);
    border: 2px solid #8b0000;
    border-radius: 6px;
    width: 34px; height: 34px;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Luckiest Guy', cursive;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.4);
    box-shadow: 0 3px 0 #8b0000, inset 0 1px 0 rgba(255,255,255,0.2);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    flex-shrink: 0;
}
.gen-close:hover { transform: translateY(-1px); }
.gen-close:active { transform: translateY(1px); box-shadow: 0 1px 0 #8b0000; }

.gen-screen { display: none; padding: 18px 16px 18px; flex-direction: column; gap: 14px; }
.gen-screen.active { display: flex; }

.gen-item-preview {
    display: flex;
    align-items: center;
    gap: 14px;
    background-color: #3a1a04;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 14px, rgba(0,0,0,0.12) 14px, rgba(0,0,0,0.12) 15px),
        repeating-linear-gradient(-45deg, transparent, transparent 14px, rgba(0,0,0,0.12) 14px, rgba(0,0,0,0.12) 15px);
    border: 2px solid rgba(0,0,0,0.4);
    border-radius: 10px;
    padding: 12px 14px;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.4);
}

.gen-item-thumb {
    width: 70px; height: 70px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
    background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(180,140,80,0.2) 0%, rgba(30,10,0,0) 70%), #1e0c00;
    border: 2px solid rgba(0,0,0,0.4);
    padding: 6px;
    box-shadow: inset 0 0 12px rgba(0,0,0,0.6);
}

.gen-item-name {
    font-family: 'Luckiest Guy', cursive;
    font-size: 1.15rem;
    color: #ffffff;
    letter-spacing: 0.03em;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
    line-height: 1.15;
}

.gen-item-badge {
    display: inline-block;
    margin-top: 5px;
    font-family: 'Luckiest Guy', cursive;
    background-color: #8040cc;
    border: 2px solid #5a1fa0;
    color: #f0e0ff;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    padding: 3px 10px;
    border-radius: 6px;
    box-shadow: 0 2px 0 #3d0d80;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.4);
}

.gen-desc { color: #d4c8b8; font-size: 0.875rem; text-align: center; font-weight: 500; }

.gen-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 2px solid rgba(0,0,0,0.4);
    border-radius: 8px;
    padding: 0 14px;
    background: #1e0c00;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.5);
}
.gen-input-wrap:focus-within { border-color: #b87dd1; box-shadow: inset 0 2px 6px rgba(0,0,0,0.5), 0 0 0 2px rgba(91,196,55,0.25); }

.gen-input-icon { font-size: 1.1rem; }

.gen-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 13px 0;
    font-size: 0.95rem;
    font-family: var(--font-body);
    color: #fff;
    outline: none;
}
.gen-input::placeholder { color: #7a5a3a; }

.gen-error-msg {
    color: #ff5050;
    font-size: 0.8rem;
    font-weight: 700;
    min-height: 14px;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.5);
}

.gen-btn-primary {
    width: 100%;
    background: linear-gradient(180deg, #b87dd1 0%, #9b59b6 60%, #7f4496 100%);
    color: #fff;
    border: 2px solid #5e2b73;
    border-radius: 8px;
    padding: 14px;
    font-family: 'Luckiest Guy', cursive;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    cursor: pointer;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.35);
    box-shadow: 0 4px 0 #5e2b73, inset 0 1px 0 rgba(255,255,255,0.2);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.gen-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #5e2b73, inset 0 1px 0 rgba(255,255,255,0.2); }
.gen-btn-primary:active { transform: translateY(2px); box-shadow: 0 1px 0 #5e2b73; }

.gen-security-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #a3c8a0;
    font-size: 0.75rem;
    font-weight: 600;
}

.gen-security-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #b87dd1;
    display: inline-block;
    box-shadow: 0 0 0 3px rgba(91,196,55,0.25);
}

.gen-progress-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-bottom: 6px;
}

.avatar-scanner-container {
    width: 110px; height: 110px;
    border-radius: 50%;
    background: rgba(210, 110, 150, 0.6);
    border: 3px solid var(--card-border);
    position: relative;
    overflow: hidden;
    margin: 10px auto;
    box-shadow: 0 0 20px rgba(22, 163, 74, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scanner-avatar-img { width: 75px; height: 75px; object-fit: cover; opacity: 0.4; transition: opacity 0.5s ease; }

.avatar-scanner-container.scanning { border-color: var(--success); box-shadow: 0 0 25px rgba(155, 89, 182, 0.45); }
.avatar-scanner-container.scanning .scanner-avatar-img { opacity: 0.8; }

.scanner-laser {
    position: absolute;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, transparent, var(--success), transparent);
    box-shadow: 0 0 12px var(--success);
    top: 0; left: 0;
    opacity: 0;
}

.avatar-scanner-container.scanning .scanner-laser {
    opacity: 1;
    animation: laser-sweep 2s linear infinite;
}

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

.gen-progress-label { font-size: 0.875rem; font-weight: 600; color: #fff704; text-align: center; }

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

.gen-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background-color: #3a1a04;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 14px, rgba(0,0,0,0.1) 14px, rgba(0,0,0,0.1) 15px),
        repeating-linear-gradient(-45deg, transparent, transparent 14px, rgba(0,0,0,0.1) 14px, rgba(0,0,0,0.1) 15px);
    border: 2px solid rgba(0,0,0,0.35);
    transition: background-color 0.25s, border-color 0.25s;
}

.gen-step.active { background-color: #4a2408; border-color: rgba(91,196,55,0.5); }
.gen-step.done { background-color: #2a3808; border-color: rgba(91,196,55,0.7); }

.gen-step-icon {
    width: 30px; height: 30px;
    border-radius: 6px;
    background: #1e0c00;
    border: 2px solid rgba(0,0,0,0.4);
    color: #a3cca7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Luckiest Guy', cursive;
    font-size: 0.85rem;
    flex-shrink: 0;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
    transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.gen-step.active .gen-step-icon { background: #9b59b6; border-color: #b87dd1; color: #fff; }
.gen-step.done  .gen-step-icon  { background: #b87dd1; border-color: #9b59b6; color: #fff; }

.gen-step-title {
    font-family: 'Luckiest Guy', cursive;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    color: #fff;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.4);
}

.gen-step-sub { font-size: 0.73rem; color: #a3cca7; margin-top: 1px; font-weight: 600; transition: color 0.2s; }
.gen-step.done .gen-step-sub { color: #7fff7f; }

.gen-progress-bar-wrap {
    background: #1e0c00;
    border-radius: 99px;
    height: 10px;
    overflow: hidden;
    border: 2px solid rgba(0,0,0,0.4);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
}

.gen-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #9b59b6, #b87dd1);
    border-radius: 99px;
    transition: width 0.6s ease;
    box-shadow: 0 0 8px rgba(91,196,55,0.6);
}

.gen-transfer-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #3a1a04;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 14px, rgba(0,0,0,0.1) 14px, rgba(0,0,0,0.1) 15px),
        repeating-linear-gradient(-45deg, transparent, transparent 14px, rgba(0,0,0,0.1) 14px, rgba(0,0,0,0.1) 15px);
    border: 2px solid rgba(0,0,0,0.4);
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.4);
}

.transfer-node { display: flex; flex-direction: column; align-items: center; text-align: center; width: 120px; z-index: 1; }

.transfer-avatar-wrap, .transfer-item-wrap {
    width: 72px; height: 72px;
    border-radius: 10px;
    background: #1e0c00;
    border: 2px solid rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: inset 0 0 12px rgba(0,0,0,0.6), 0 2px 8px rgba(0,0,0,0.5);
}

.transfer-avatar-wrap { border-color: rgba(91,196,55,0.6); box-shadow: inset 0 0 12px rgba(0,0,0,0.6), 0 0 12px rgba(91,196,55,0.3); }
.transfer-item-wrap { border-color: rgba(128,64,204,0.6); box-shadow: inset 0 0 12px rgba(0,0,0,0.6), 0 0 12px rgba(128,64,204,0.3); }

.transfer-avatar-img { width: 54px; height: 54px; border-radius: 6px; object-fit: cover; }
.transfer-item-img { width: 54px; height: 54px; object-fit: contain; filter: drop-shadow(0 0 8px rgba(255, 247, 4, 0.2)); }

.transfer-status-indicator {
    position: absolute;
    bottom: -2px; right: -2px;
    width: 14px; height: 14px;
    border-radius: 50%;
    border: 2px solid #102606;
}
.transfer-status-indicator.online { background: #10b981; box-shadow: 0 0 8px #10b981; animation: pulse-green 1.5s infinite; }
.transfer-status-indicator.pending { background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: pulse-yellow 1.5s infinite; }

@keyframes pulse-green { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.2); opacity: 0.7; } }
@keyframes pulse-yellow { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.2); opacity: 0.7; } }

.transfer-username, .transfer-item-name {
    font-family: 'Luckiest Guy', cursive;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    margin-top: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    text-align: center;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.5);
}
.transfer-username { color: #fff; }
.transfer-item-name { color: #f0e0ff; }

.transfer-badge {
    font-family: 'Luckiest Guy', cursive;
    font-size: 0.6rem;
    letter-spacing: 0.05em;
    padding: 3px 8px;
    border-radius: 5px;
    margin-top: 4px;
}
.online-badge { background-color: #9b59b6; border: 1px solid #2a7a10; color: #d4f7c5; box-shadow: 0 1px 0 #5e2b73; }
.pending-badge { background-color: #8040cc; border: 1px solid #5a1fa0; color: #f0e0ff; box-shadow: 0 1px 0 #3d0d80; }

.transfer-path { flex: 1; display: flex; align-items: center; justify-content: center; position: relative; padding: 0 10px; height: 40px; }
.transfer-line { width: 100%; height: 2px; background: linear-gradient(90deg, var(--success), var(--accent)); opacity: 0.5; }

.transfer-pulse {
    position: absolute;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    animation: flow-pulse 2s infinite linear;
}

@keyframes flow-pulse {
    0% { left: 10%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 90%; opacity: 0; }
}

.gen-final-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background-color: #3a1a04;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 14px, rgba(0,0,0,0.12) 14px, rgba(0,0,0,0.12) 15px),
        repeating-linear-gradient(-45deg, transparent, transparent 14px, rgba(0,0,0,0.12) 14px, rgba(0,0,0,0.12) 15px);
    border: 2px solid rgba(0,0,0,0.4);
    border-radius: 10px;
    padding: 12px 14px;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.4);
}

.gen-final-thumb {
    width: 60px; height: 60px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
    background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(180,140,80,0.2) 0%, rgba(30,10,0,0) 70%), #1e0c00;
    border: 2px solid rgba(0,0,0,0.4);
    padding: 5px;
    box-shadow: inset 0 0 12px rgba(0,0,0,0.6);
}

.gen-final-name {
    font-family: 'Luckiest Guy', cursive;
    font-size: 1.1rem;
    letter-spacing: 0.03em;
    color: #ffffff;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
}

.gen-final-tag {
    font-family: 'Luckiest Guy', cursive;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    color: #d4f7c5;
    margin-top: 5px;
    display: inline-block;
    background-color: #9b59b6;
    border: 1px solid #2a7a10;
    padding: 2px 8px;
    border-radius: 5px;
    box-shadow: 0 1px 0 #5e2b73;
}

.gen-expire-note {
    text-align: center;
    font-family: 'Luckiest Guy', cursive;
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    color: #ff5050;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.5);
}

.offer-container { display: flex; flex-direction: column; gap: 12px; margin: 10px 0 20px 0; }

.offer-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    background: linear-gradient(135deg, #a29bfe, #9b59b6);
    border: 2px solid rgba(255, 247, 4, 0.25);
    border-radius: 12px;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 800;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(22, 163, 74, 0.4);
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.2);
    font-family: var(--font-body);
    gap: 12px;
}

.offer-card:hover {
    border-color: #fff704;
    background: linear-gradient(135deg, #22c55e, #a29bfe);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(22, 163, 74, 0.6), 0 0 12px rgba(255, 247, 4, 0.3);
}

.offer-left { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.offer-img { width: 32px; height: 32px; border-radius: 6px; object-fit: cover; }

.offer-info { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; text-align: left; }

.offer-title {
    font-family: 'Luckiest Guy', cursive;
    font-size: 1rem;
    color: #ffffff;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.3);
}

.offer-desc { font-size: 0.8rem; color: #e0d0ff; font-weight: 600; }

.offer-action {
    background: #f5c800;
    color: #5a2d00;
    font-family: 'Luckiest Guy', cursive;
    font-size: 0.9rem;
    padding: 6px 16px;
    border-radius: 8px;
    box-shadow: 0 3px 0 #b8880a;
    flex-shrink: 0;
    border: none;
    text-shadow: 1px 1px 0 rgba(255,255,255,0.3);
}

.offers-loading { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 20px 0; color: #a3cca7; font-size: 0.9rem; }

.offers-loading .spinner {
    width: 32px; height: 32px;
    border: 3px solid rgba(255,255,255,0.05);
    border-top-color: #fff704;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.secure-footer-line { font-family: 'Luckiest Guy', cursive; color: #fff704; }

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

@keyframes pulse-dot { 0%, 100% { transform: scale(1); box-shadow: 0 0 8px rgba(22, 163, 74, 0.5); } 50% { transform: scale(1.35); box-shadow: 0 0 16px rgba(22, 163, 74, 0.85); } }

@media (max-width: 600px) {
    .main-container { padding: 30px 10px 60px; }
    .hero-title { font-size: 1.6rem; }
    .shop-item { gap: 10px; padding: 10px; }
    .shop-item-name { font-size: 1rem; }
    .roblox-claim-btn { padding: 8px 16px; font-size: 0.9rem; }
    .footer-keywords { display: none; }
}

.animated-background, .bg-item-img, .bg-item-img img { display: none !important; }
