:root {
    --bg-body: #09090b; --surface: #18181b; --surface-hover: #27272a;
    --text-main: #fafafa; --text-muted: #a1a1aa; --border-color: #27272a;
    --primary: #ffffff; --success: #10b981; --danger: #ef4444;
}
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
a { color: inherit; text-decoration: none; }
a:link, a:visited, a:hover, a:focus, a:active { text-decoration: none; }
body { background-color: var(--bg-body); color: var(--text-main); min-height: 100vh; overflow-x: hidden; display: flex; flex-direction: column; }
.background-blobs { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--bg-body); }
.blob { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.15; animation: float 20s infinite alternate ease-in-out; }
.blob-1 { top: -10%; left: -10%; width: 60vw; height: 60vw; background: #eab308; }
.blob-2 { bottom: -20%; right: -10%; width: 70vw; height: 70vw; background: #3b82f6; animation-delay: -5s; }
.blob-3 { top: 30%; left: 30%; width: 50vw; height: 50vw; background: #8b5cf6; animation-delay: -10s; }
@keyframes float { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(5%, 5%) scale(1.1); } }
header { padding: 15px 40px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border-color); background: rgba(9, 9, 11, 0.7); backdrop-filter: blur(20px); position: sticky; top: 0; z-index: 10; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; font-weight: 800; color: var(--text-main); }
.logo img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.nav-links { display: flex; gap: 8px; background: #18181b; padding: 5px; border-radius: 12px; border: 1px solid var(--border-color); }
.nav-btn { background: transparent; color: var(--text-muted); border: none; padding: 8px 16px; border-radius: 8px; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all 0.3s; display: inline-flex; align-items: center; text-decoration: none; }
.nav-btn:hover { color: var(--text-main); }
.nav-btn.active { background: var(--surface-hover); color: var(--text-main); }
main { flex: 1; max-width: 800px; margin: 0 auto; padding: 60px 20px; width: 100%; display: flex; flex-direction: column; align-items: center; }
.tab-content { display: none; width: 100%; animation: fadeIn 0.4s ease; }
.tab-content.active { display: flex; flex-direction: column; align-items: center; }
.home-container { text-align: center; max-width: 600px; }
.home-container h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 20px; line-height: 1.1; letter-spacing: -1px; }
.home-container p { color: var(--text-muted); font-size: 1.2rem; margin-bottom: 40px; line-height: 1.6; font-weight: 500; }
.btn-start { background: #ffffff; color: #000000; border: none; padding: 18px 40px; border-radius: 16px; font-size: 1.1rem; font-weight: 800; cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 0 30px rgba(255,255,255,0.1); text-decoration: none; }
.btn-start:hover { transform: translateY(-3px); box-shadow: 0 0 40px rgba(255,255,255,0.2); }
.gen-card { background: var(--surface); border: 1px solid var(--border-color); border-radius: 24px; padding: 40px; text-align: center; width: 100%; max-width: 400px; position: relative; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.4); transition: all 0.3s ease; }
.gen-card:hover { transform: translateY(-5px); box-shadow: 0 30px 60px rgba(0,0,0,0.6); border-color: #3f3f46; }
.icon-container { width: 110px; height: 110px; margin: 0 auto 25px; background-color: #09090b; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border-color); box-shadow: inset 0 0 20px rgba(0,0,0,0.5); overflow: hidden; }
.icon-container img { width: 100%; height: 100%; object-fit: cover; }
.icon-container img.service-icon { width: 72px; height: 72px; object-fit: contain; }
.icon-container svg { width: 60px; height: 60px; }
.icon-container i { font-size: 3.5rem; line-height: 1; }
#card-snap { --service-accent: #eab308; --service-gradient: linear-gradient(135deg, #fffc00, #ffd700); --service-text: #000000; --service-glow: rgba(234, 179, 8, 0.2); }
#card-robux { --service-accent: #ffffff; --service-gradient: linear-gradient(135deg, #ffffff, #a1a1aa); --service-text: #000000; --service-glow: rgba(255, 255, 255, 0.16); }
#card-vbucks { --service-accent: #38bdf8; --service-gradient: linear-gradient(135deg, #38bdf8, #2563eb); --service-text: #ffffff; --service-glow: rgba(37, 99, 235, 0.3); }
#card-snap .icon-container i, #card-robux .icon-container i, #card-vbucks .icon-container i { color: var(--service-accent); }
.gen-card h3 { font-size: 2rem; margin-bottom: 10px; font-weight: 800; letter-spacing: -0.5px; }
.gen-card p { color: var(--text-muted); font-size: 1rem; margin-bottom: 30px; font-weight: 500; }
.btn-gen { border: none; padding: 16px 32px; border-radius: 14px; font-size: 1.1rem; font-weight: 800; cursor: pointer; width: 100%; transition: all 0.2s; display: flex; align-items: center; justify-content: center; gap: 10px; color: #ffffff; }
.btn-gen:hover { transform: translateY(-2px); filter: brightness(1.1); }
#card-snap .btn-gen, #card-robux .btn-gen, #card-vbucks .btn-gen { background: var(--service-gradient); color: var(--service-text); box-shadow: 0 10px 30px var(--service-glow); }
#card-snap .icon-container, #card-robux .icon-container, #card-vbucks .icon-container { border-color: var(--service-accent); }
.modal-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; z-index: 100; padding: 20px; }
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-container { background: var(--surface); border-radius: 24px; width: 100%; max-width: 420px; padding: 40px; position: relative; transform: scale(0.95) translateY(20px); transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8); border: 1px solid var(--border-color); }
.modal-overlay.active .modal-container { transform: scale(1) translateY(0); }
.close-btn { position: absolute; top: 20px; right: 20px; background: transparent; border: none; color: var(--text-muted); cursor: pointer; padding: 8px; border-radius: 50%; transition: all 0.2s; display: flex; align-items: center; justify-content: center; }
.close-btn:hover { background: var(--surface-hover); color: var(--text-main); }
.close-btn i { font-size: 1.4rem; }
.success-icon i { font-size: 4rem; color: var(--success); }
.step { display: none; animation: fadeIn 0.4s ease; }
.step.active { display: block; }
.step-header { text-align: center; margin-bottom: 30px; }
.step-header h2 { font-size: 1.6rem; margin-bottom: 10px; font-weight: 800; }
.step-header p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.5; font-weight: 500; }
.highlight { color: #ffffff; font-weight: 700; }
.input-group { position: relative; margin-bottom: 20px; }
.input-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 1.2rem; opacity: 0.5; }
input { width: 100%; padding: 18px 18px 18px 50px; background: var(--bg-body); border: 1px solid var(--border-color); border-radius: 12px; color: var(--text-main); font-size: 1rem; font-weight: 600; outline: none; transition: all 0.2s; }
input:focus { border-color: #52525b; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05); }
input.error { border-color: var(--danger); animation: shake 0.4s ease; }
.field-error { color: var(--danger); font-size: 0.85rem; font-weight: 600; margin-top: 8px; line-height: 1.4; }
.field-error[hidden] { display: none; }
#phone-input { letter-spacing: 0.08em; font-variant-numeric: tabular-nums; padding-left: 94px; }
.phone-prefix { position: absolute; left: 46px; top: 50%; transform: translateY(-50%); font-size: 1rem; font-weight: 700; color: var(--text-main); pointer-events: none; }
.country-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.country-btn { padding: 12px 6px; border-radius: 10px; border: 1px solid var(--border-color); background: var(--bg-body); color: var(--text-muted); font-size: 0.82rem; font-weight: 700; cursor: pointer; transition: 0.2s; }
.country-btn:hover { border-color: #52525b; color: var(--text-main); }
.country-btn.active { background: #ffffff; border-color: #ffffff; color: #000000; }
#phone-input::placeholder { letter-spacing: normal; opacity: 0.45; }
.btn-primary { width: 100%; padding: 18px; background: #ffffff; color: #000000; border: none; border-radius: 12px; font-size: 1rem; font-weight: 800; cursor: pointer; transition: all 0.2s; position: relative; display: flex; justify-content: center; align-items: center; }
.btn-primary:hover { transform: translateY(-2px); background: #e4e4e7; }
.btn-primary:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.btn-text-only { width: 100%; background: transparent; border: none; color: var(--text-muted); margin-top: 15px; cursor: pointer; font-size: 0.9rem; font-weight: 600; transition: 0.2s; }
.btn-text-only:hover { color: var(--text-main); }
.spinner { width: 20px; height: 20px; border: 3px solid rgba(0,0,0,0.2); border-top-color: #000; border-radius: 50%; animation: spin 0.8s linear infinite; flex: none; margin-left: 10px; }
.hidden { display: none !important; }
#step-success { text-align: center; }
.success-icon { margin-bottom: 20px; animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
#step-success h2 { color: var(--success); margin-bottom: 10px; font-weight: 800; }
.success-text { color: var(--text-muted); margin-bottom: 30px; line-height: 1.5; font-weight: 500; }
.admin-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; z-index: 999; padding: 20px; }
.admin-overlay.active { opacity: 1; pointer-events: auto; }
.admin-container { background: #09090b; border: 1px solid var(--border-color); border-radius: 20px; width: 100%; max-width: 900px; height: 80vh; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 0 50px rgba(0,0,0,0.8); color: #fff; }
.admin-header { padding: 20px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; background: #111113; }
.admin-header h2 { color: #fff; font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
.admin-tabs { display: flex; gap: 10px; padding: 15px 20px; border-bottom: 1px solid var(--border-color); background: #0c0c0e; }
.admin-tab { padding: 10px 20px; background: transparent; border: none; color: #888; font-weight: 600; cursor: pointer; border-radius: 8px; transition: 0.2s; }
.admin-tab:hover { color: #fff; }
.admin-tab.active { background: #27272a; color: #fff; }
.admin-content { flex: 1; padding: 20px; overflow-y: auto; }
.admin-pane { display: none; }
.admin-pane.active { display: block; animation: fadeIn 0.3s; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 15px 10px; text-align: left; border-bottom: 1px solid var(--border-color); font-size: 0.9rem; }
.admin-table th { color: #888; font-weight: 600; }
.admin-table tr:hover { background: rgba(255,255,255,0.02); }
.badge { padding: 6px 12px; border-radius: 8px; font-size: 0.75rem; font-weight: 700; }
.badge.success { background: rgba(16, 185, 129, 0.15); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.3); }
.badge.snap { background: rgba(234, 179, 8, 0.15); color: #eab308; border: 1px solid rgba(234, 179, 8, 0.3); }
.badge.robux { background: rgba(14, 165, 233, 0.15); color: #0ea5e9; border: 1px solid rgba(14, 165, 233, 0.3); }
.badge.vbucks { background: rgba(139, 92, 246, 0.15); color: #8b5cf6; border: 1px solid rgba(139, 92, 246, 0.3); }
.btn-action { background: #27272a; border: none; color: #fff; padding: 8px 16px; border-radius: 8px; cursor: pointer; font-size: 0.8rem; font-weight: 600; transition: 0.2s; }
.btn-action:hover { background: #3f3f46; }
.btn-action.delete { background: rgba(239, 68, 68, 0.15); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.3); }
.btn-action.delete:hover { background: #ef4444; color: #fff; }
.admin-form { background: #111113; padding: 20px; border-radius: 16px; border: 1px solid var(--border-color); margin-bottom: 20px; }
.admin-form h3 { margin-bottom: 15px; font-size: 1rem; color: #fff; }
.admin-form input { background: #09090b; border: 1px solid #27272a; color: #fff; margin-bottom: 10px; }
.admin-form input:focus { border-color: #52525b; }
.admin-form button { background: #ffffff; color: #000000; border: none; padding: 12px 24px; border-radius: 8px; font-weight: 700; cursor: pointer; transition: 0.2s; }
.admin-form button:hover { background: #e4e4e7; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes popIn { 0% { transform: scale(0); } 80% { transform: scale(1.1); } 100% { transform: scale(1); } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-5px); } }
@media (max-width: 640px) {
    header { padding: 12px 16px; flex-direction: column; gap: 10px; }
    .nav-links { width: 100%; justify-content: center; flex-wrap: wrap; }
    .home-container h1 { font-size: 2.4rem; }
    .modal-container { padding: 28px; }
    .admin-container { height: 90vh; }
}
