/*===========================================*\
  # Ballers Core — Dark Theme
  Based on Anon eCommerce template
\*===========================================*/

:root {
  --bg-primary: #02050f;
  --bg-secondary: #0a0e1e;
  --bg-card: #121638;
  --bg-elevated: #1b1f3d;
  --text-primary: #eeeefc;
  --text-secondary: #7a74a8;
  --text-tertiary: #413c68;
  --accent: #7c3aed;
  --accent-light: #a78bfa;
  --accent-lighter: #c084fc;
  --accent-pale: #e9d5ff;
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
  --border: rgba(255,255,255,0.04);
  --border-hover: rgba(124,58,237,0.15);
  --glass: rgba(2,5,15,0.85);
  --glass-border: rgba(255,255,255,0.03);
  
  --fs-1: 1.563rem; --fs-2: 1.375rem; --fs-3: 1.25rem; --fs-4: 1.125rem;
  --fs-5: 1rem; --fs-6: 0.938rem; --fs-7: 0.875rem; --fs-8: 0.813rem;
  --fs-9: 0.75rem; --fs-10: 0.688rem; --fs-11: 0.625rem;
  --weight-300: 300; --weight-400: 400; --weight-500: 500; --weight-600: 600; --weight-700: 700; --weight-800: 800;
  --radius-lg: 18px; --radius-md: 12px; --radius-sm: 6px;
  --transition: 0.2s ease;
  --font-primary: 'Inter', -apple-system, sans-serif;
  --font-display: 'Space Grotesk', var(--font-primary);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
a { text-decoration: none; } li { list-style: none; }
button { background: none; font: inherit; border: none; cursor: pointer; }
img, button, a { display: block; } span { display: inline-block; }
html { font-family: var(--font-primary); overscroll-behavior: contain; scroll-behavior: smooth; }
input { display: block; width: 100%; font: inherit; }
input::placeholder { font: inherit; color: var(--text-tertiary); }
body { background: var(--bg-primary); color: var(--text-primary); min-height: 100vh; }
body::-webkit-scrollbar { width: 8px; }
body::-webkit-scrollbar-track { background: var(--bg-primary); }
body::-webkit-scrollbar-thumb { background: var(--text-tertiary); border-radius: 4px; }
body::-webkit-scrollbar-thumb:hover { background: var(--text-secondary); }

/* === ANIMATIONS === */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: scale(1); } }
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes pulseGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.2); } 50% { box-shadow: 0 0 0 7px rgba(16,185,129,0); } }
@keyframes gradientFlow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-33.33%); } }

/* === COSMOS BACKGROUND === */
.cosmos { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.cosmos .orb { position: absolute; border-radius: 50%; filter: blur(120px); }
.cosmos .o1 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(124,58,237,0.08), transparent 70%); top: -100px; left: -80px; animation: float 12s ease-in-out infinite; }
.cosmos .o2 { width: 450px; height: 450px; background: radial-gradient(circle, rgba(99,102,241,0.05), transparent 70%); bottom: -90px; right: -70px; animation: float 14s ease-in-out 3s infinite; }

/* === NGNIX 503 === */
.nginx-503 { display: flex; align-items: center; justify-content: center; height: 100vh; background: #0f0f0f; color: #888; flex-direction: column; gap: 6px; }
.nginx-503 h1 { font-size: 20px; font-weight: 400; } .nginx-503 p { font-size: 14px; color: #555; }

/* === HEADER === */
.header { position: sticky; top: 0; z-index: 100; background: var(--glass); backdrop-filter: blur(40px); border-bottom: 1px solid var(--glass-border); padding: 0; }
.header-top { background: var(--bg-secondary); padding: 8px 0; border-bottom: 1px solid var(--border); font-size: var(--fs-10); }
.header-top .container { display: flex; align-items: center; justify-content: space-between; padding: 0 28px; max-width: 1340px; margin: 0 auto; }
.header-alert-news { color: var(--text-secondary); text-align: center; flex: 1; }
.header-alert-news b { color: var(--accent-light); }
.header-main { padding: 0 28px; height: 70px; display: flex; align-items: center; max-width: 1340px; margin: 0 auto; gap: 24px; }

.header-logo { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -0.6px; background: linear-gradient(135deg, var(--accent-pale), var(--accent-light), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-size: 200% 200%; animation: gradientFlow 4s ease infinite; cursor: pointer; user-select: none; }
.header-search-container { position: relative; flex: 1; max-width: 400px; }
.search-field { background: var(--bg-card); border: 1px solid var(--border); color: var(--text-primary); padding: 10px 16px; border-radius: var(--radius-md); font-size: var(--fs-7); outline: none; transition: var(--transition); }
.search-field:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(124,58,237,0.05); }
.header-user-actions { display: flex; gap: 8px; align-items: center; }
.action-btn { position: relative; color: var(--text-secondary); padding: 8px; border-radius: var(--radius-sm); transition: var(--transition); }
.action-btn:hover { color: #fff; background: rgba(255,255,255,0.03); }
.balance-badge { background: rgba(124,58,237,0.08); border: 1px solid rgba(124,58,237,0.15); color: var(--accent-light); padding: 8px 16px; border-radius: 20px; font-size: var(--fs-8); font-weight: 700; white-space: nowrap; display: none; }

/* === BUTTONS === */
.btn { background: linear-gradient(135deg, var(--accent), #5b21b6); color: #fff; padding: 10px 24px; border-radius: 11px; font-weight: 600; font-size: var(--fs-7); transition: all 0.3s; overflow: hidden; position: relative; box-shadow: 0 4px 16px rgba(124,58,237,0.18); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(124,58,237,0.3); }
.btn::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent); transform: translateX(-100%); animation: shimmer 3s infinite; }
.btn-outline { background: transparent; border: 1px solid rgba(255,255,255,0.1); color: var(--text-primary); padding: 8px 18px; border-radius: 11px; font-size: var(--fs-8); font-weight: 500; transition: var(--transition); }
.btn-outline:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.02); color: #fff; }
.btn-sm { padding: 6px 14px; font-size: var(--fs-10); border-radius: 8px; }
.btn-danger { background: linear-gradient(135deg, #dc2626, #991b1b); color: #fff; padding: 6px 14px; border-radius: 8px; font-size: var(--fs-10); font-weight: 600; }

/* === MAIN === */
main { position: relative; z-index: 1; max-width: 1340px; margin: 0 auto; padding: 0 28px 80px; }
section { padding: 50px 0; }

/* === HERO === */
.hero { text-align: center; padding: 80px 20px 40px; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; background: rgba(124,58,237,0.06); border: 1px solid rgba(124,58,237,0.12); border-radius: 24px; font-size: var(--fs-10); font-weight: 700; color: var(--accent-light); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 24px; }
.hero-tag .dot { width: 6px; height: 6px; background: var(--accent-lighter); border-radius: 50%; }
.hero h1 { font-family: var(--font-display); font-size: clamp(36px, 6vw, 62px); font-weight: 700; letter-spacing: -2px; line-height: 1.05; margin-bottom: 16px; }
.hero h1 .gr { background: linear-gradient(135deg, var(--accent-light), var(--accent-pale), var(--accent-lighter)); background-size: 300% 300%; -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: gradientFlow 5s ease infinite; }
.hero p { font-size: var(--fs-5); color: var(--text-secondary); max-width: 480px; margin: 0 auto 28px; line-height: 1.6; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }

.stats { display: flex; justify-content: center; gap: 48px; }
.stat { text-align: center; }
.stat .n { font-family: var(--font-display); font-size: 32px; font-weight: 700; background: linear-gradient(to bottom, var(--text-primary), var(--text-secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat .l { font-size: var(--fs-10); color: var(--text-secondary); margin-top: 4px; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; }

/* === PRODUCT GRID === */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.product-card { background: linear-gradient(180deg, var(--bg-card), var(--bg-secondary)); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; cursor: pointer; transition: all 0.35s; position: relative; overflow: hidden; animation: fadeUp 0.4s both; }
.product-card:nth-child(1) { animation-delay: 0.03s; } .product-card:nth-child(2) { animation-delay: 0.06s; } .product-card:nth-child(3) { animation-delay: 0.09s; } .product-card:nth-child(4) { animation-delay: 0.12s; }
.product-card:hover { transform: translateY(-6px); border-color: var(--border-hover); box-shadow: 0 18px 40px rgba(0,0,0,0.3); }
.product-card .glow { position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx,50%) var(--my,50%), rgba(124,58,237,0.04), transparent 60%); opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.product-card:hover .glow { opacity: 1; }
.product-icon { width: 46px; height: 46px; border-radius: var(--radius-md); margin-bottom: 14px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(168,139,250,0.03)); border: 1px solid rgba(124,58,237,0.1); transition: 0.3s; }
.product-card:hover .product-icon { animation: float 1.8s infinite; border-color: rgba(124,58,237,0.25); box-shadow: 0 0 20px rgba(124,58,237,0.2); }
.product-icon svg { width: 22px; height: 22px; }
.product-name { font-family: var(--font-display); font-size: var(--fs-5); font-weight: 700; margin-bottom: 4px; }
.product-desc { color: var(--text-secondary); font-size: var(--fs-8); line-height: 1.5; margin-bottom: 16px; }
.product-footer { display: flex; justify-content: space-between; align-items: center; }
.product-price { font-family: var(--font-display); font-size: var(--fs-1); font-weight: 800; }
.product-price .eur { font-size: var(--fs-7); color: var(--accent-lighter); margin-right: 2px; }
.stock-badge { font-size: var(--fs-10); font-weight: 700; padding: 4px 10px; border-radius: 20px; display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.stock-badge.green { background: rgba(16,185,129,0.06); color: var(--success); border: 1px solid rgba(16,185,129,0.12); animation: pulseGlow 2.5s infinite; }
.stock-badge.red { background: rgba(239,68,68,0.06); color: var(--error); border: 1px solid rgba(239,68,68,0.1); }
.stock-badge .sdot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.oos { opacity: 0.32; pointer-events: none; filter: grayscale(0.3); }
.nf { display: none; text-align: center; padding: 40px; color: var(--text-secondary); }

/* === TICKER === */
.ticker { overflow: hidden; margin: 40px 0; padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ticker-track { display: flex; gap: 28px; animation: marquee 35s linear infinite; width: max-content; }
.ticker-item { white-space: nowrap; color: var(--text-secondary); font-size: var(--fs-10); }
.ticker-item b { color: var(--accent-lighter); font-weight: 700; }

/* === MODAL / OVERLAY === */
.overlay { display: none; position: fixed; inset: 0; z-index: 400; background: rgba(1,3,10,0.94); backdrop-filter: blur(6px); justify-content: center; align-items: center; padding: 20px; }
.overlay.active { display: flex; }
.modal { background: linear-gradient(180deg, var(--bg-card), var(--bg-secondary)); border: 1px solid var(--border); border-radius: 22px; padding: 40px; width: 440px; max-width: 94vw; max-height: 88vh; overflow-y: auto; animation: scaleIn 0.25s ease-out; box-shadow: 0 24px 70px rgba(0,0,0,0.6); }
.modal h2 { font-family: var(--font-display); font-size: var(--fs-2); font-weight: 800; margin-bottom: 24px; color: var(--text-primary); }
.modal .field { margin-bottom: 15px; }
.modal .field label { display: block; font-size: var(--fs-10); color: var(--text-secondary); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; }
.modal input, .modal textarea { width: 100%; background: var(--bg-elevated); border: 1px solid var(--border); color: var(--text-primary); padding: 10px 14px; border-radius: 10px; font-size: var(--fs-7); outline: none; resize: vertical; }
.modal textarea { min-height: 80px; }
.modal input:focus, .modal textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(124,58,237,0.04); }
.modal .error { color: var(--error); font-size: var(--fs-10); font-weight: 500; min-height: 14px; margin-bottom: 8px; }
.modal .alt { text-align: center; margin-top: 16px; color: var(--text-secondary); font-size: var(--fs-8); }
.modal .alt a { color: var(--accent-light); cursor: pointer; font-weight: 600; }
.modal .btn { width: 100%; padding: 12px; font-size: var(--fs-6); font-weight: 700; margin-top: 4px; }

/* === PRODUCT DETAIL OVERLAY === */
.detail-overlay { display: none; position: fixed; inset: 0; z-index: 300; background: rgba(1,3,10,0.92); backdrop-filter: blur(8px); justify-content: center; align-items: center; padding: 20px; }
.detail-overlay.active { display: flex; }
.detail-panel { background: linear-gradient(180deg, var(--bg-card), var(--bg-secondary)); border: 1px solid var(--border); border-radius: 22px; width: 520px; max-width: 94vw; max-height: 88vh; overflow-y: auto; padding: 36px; animation: scaleIn 0.3s ease-out; box-shadow: 0 24px 70px rgba(0,0,0,0.6); position: relative; }
.detail-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); border-radius: 50%; color: var(--text-secondary); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 18px; transition: var(--transition); z-index: 1; line-height: 1; }
.detail-close:hover { background: rgba(239,68,68,0.08); border-color: var(--error); color: var(--error); }
.detail-panel h3 { font-family: var(--font-display); font-size: var(--fs-2); font-weight: 800; margin-bottom: 10px; }
.detail-meta { color: var(--text-secondary); font-size: var(--fs-7); margin-bottom: 20px; line-height: 1.5; }
.detail-features { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 24px; }
.detail-features span { font-size: var(--fs-8); color: var(--text-secondary); }
.detail-features .chk { color: var(--success); font-weight: 800; }
.detail-price-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.detail-price-row .val { font-family: var(--font-display); font-size: 30px; font-weight: 900; }
.detail-price-row .ea { color: var(--text-secondary); font-size: var(--fs-7); }
.detail-stock { margin-bottom: 20px; }
.detail-buy { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.detail-buy input[type="number"] { width: 62px; background: var(--bg-elevated); border: 1px solid var(--border); color: var(--text-primary); padding: 10px; border-radius: 10px; text-align: center; font-size: var(--fs-6); font-weight: 600; outline: none; }
.detail-buy input:focus { border-color: var(--accent); }
.detail-buy .buy-btn { flex: 1; padding: 12px; font-size: var(--fs-5); font-weight: 800; border-radius: 12px; background: linear-gradient(135deg, var(--accent), #6d28d9); color: #fff; cursor: pointer; overflow: hidden; position: relative; }
.detail-buy .buy-btn::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent); transform: translateX(-100%); animation: shimmer 3s infinite; }
.detail-message { font-size: var(--fs-8); font-weight: 600; min-height: 16px; }
.detail-message.ok { color: var(--success); }
.detail-message.er { color: var(--error); }

/* === DASHBOARD === */
.dash-layout { display: flex; min-height: calc(100vh - 110px); }
.dash-sidebar { width: 240px; background: var(--bg-secondary); border-right: 1px solid var(--border); flex-shrink: 0; padding: 24px 0; display: flex; flex-direction: column; }
.dash-sidebar .user-info { padding: 0 16px; margin-bottom: 16px; }
.dash-sidebar .user-info .un { font-family: var(--font-display); font-size: var(--fs-5); font-weight: 700; }
.dash-sidebar .user-info .ut { font-size: var(--fs-10); color: var(--text-secondary); text-transform: uppercase; letter-spacing: 2px; }
.dash-sidebar .balance-card { margin: 0 14px 20px; padding: 15px; background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(168,139,250,0.03)); border: 1px solid rgba(124,58,237,0.1); border-radius: 13px; }
.dash-sidebar .balance-card .lbl { font-size: var(--fs-10); color: var(--text-secondary); text-transform: uppercase; letter-spacing: 2px; }
.dash-sidebar .balance-card .amt { font-family: var(--font-display); font-size: var(--fs-2); font-weight: 800; color: var(--accent-lighter); }
.dash-sidebar nav { flex: 1; display: flex; flex-direction: column; padding: 0 10px; gap: 1px; }
.dash-sidebar nav a { display: flex; align-items: center; gap: 9px; color: var(--text-secondary); padding: 10px 15px; border-radius: 10px; font-size: var(--fs-8); font-weight: 500; cursor: pointer; transition: var(--transition); }
.dash-sidebar nav a:hover { color: #fff; background: rgba(255,255,255,0.02); }
.dash-sidebar nav a.active { color: #fff; background: linear-gradient(135deg, var(--accent), #5b21b6); font-weight: 600; box-shadow: 0 4px 14px rgba(124,58,237,0.16); }
.dash-sidebar nav a svg { width: 16px; height: 16px; flex-shrink: 0; opacity: 0.7; }
.dash-sidebar nav a.active svg { opacity: 1; }
.dash-sidebar .logout-btn { padding: 16px; border-top: 1px solid var(--border); margin-top: auto; }
.dash-sidebar .logout-btn button { width: 100%; padding: 9px; background: transparent; border: 1px solid var(--border); color: var(--text-secondary); border-radius: 9px; cursor: pointer; font-size: var(--fs-8); font-weight: 500; }
.dash-sidebar .logout-btn button:hover { border-color: var(--error); color: var(--error); }
.dm { flex: 1; padding: 28px 36px 80px; overflow-y: auto; }
.dm h2 { font-family: var(--font-display); font-size: var(--fs-1); font-weight: 800; margin-bottom: 4px; }
.dm .desc { color: var(--text-secondary); font-size: var(--fs-7); margin-bottom: 24px; }
.dp { display: none; animation: fadeIn 0.35s ease-out; }
.dp.active { display: block; }

/* === ADMIN === */
.admin-tabs { display: flex; gap: 3px; margin-bottom: 20px; flex-wrap: wrap; background: var(--bg-secondary); padding: 4px; border-radius: 12px; width: fit-content; }
.admin-tabs button { padding: 8px 20px; border-radius: 10px; font-size: var(--fs-8); font-weight: 600; cursor: pointer; background: transparent; border: none; color: var(--text-secondary); transition: var(--transition); }
.admin-tabs button.active { background: var(--accent); color: #fff; }
.admin-tabs button:hover:not(.active) { color: #fff; }
.admin-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--fs-8); background: var(--bg-secondary); border-radius: var(--radius-lg); overflow: hidden; }
.admin-table th { text-align: left; color: var(--text-tertiary); font-size: var(--fs-10); text-transform: uppercase; letter-spacing: 1.5px; padding: 12px 14px; background: var(--bg-secondary); border-bottom: 1px solid var(--border); font-weight: 700; position: sticky; top: 0; }
.admin-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.admin-table tr:hover td { background: rgba(124,58,237,0.015); }
.admin-table input, .admin-table select { background: var(--bg-elevated); border: 1px solid var(--border); color: var(--text-primary); padding: 5px 8px; border-radius: 6px; font-size: var(--fs-10); outline: none; text-align: center; }
.admin-table input[type="text"] { width: 140px; text-align: left; }
.admin-table input:focus, .admin-table select:focus { border-color: var(--accent); }

/* === TICKETS === */
.ticket-list { display: flex; flex-direction: column; gap: 5px; margin-bottom: 16px; }
.ticket-item { padding: 14px 18px; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-md); cursor: pointer; transition: var(--transition); display: flex; justify-content: space-between; align-items: center; }
.ticket-item:hover { transform: translateX(3px); border-color: var(--border-hover); }
.ticket-subject { font-weight: 600; font-size: var(--fs-7); margin-bottom: 2px; }
.ticket-meta { font-size: var(--fs-10); color: var(--text-secondary); }
.ticket-status { padding: 4px 10px; border-radius: 16px; font-size: var(--fs-10); font-weight: 700; text-transform: uppercase; }
.ticket-status.open { color: var(--success); background: rgba(16,185,129,0.05); }
.ticket-status.closed { color: var(--text-secondary); }
.msg-box { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 14px; padding: 18px; max-height: 350px; overflow-y: auto; margin-bottom: 10px; display: flex; flex-direction: column; gap: 12px; }
.msg-item { padding: 10px 15px; border-radius: 12px; max-width: 75%; font-size: var(--fs-8); line-height: 1.5; word-break: break-word; }
.msg-item.me { background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(124,58,237,0.05)); align-self: flex-end; }
.msg-item.admin { background: linear-gradient(135deg, rgba(59,130,246,0.14), rgba(59,130,246,0.03)); align-self: flex-start; border: 1px solid rgba(59,130,246,0.08); }
.msg-item.other { background: rgba(255,255,255,0.012); align-self: flex-start; }
.msg-item .who { font-size: var(--fs-10); font-weight: 700; margin-bottom: 2px; opacity: 0.4; text-transform: uppercase; }
.chat-row { display: flex; gap: 8px; }
.chat-row input { flex: 1; background: var(--bg-elevated); border: 1px solid var(--border); color: var(--text-primary); padding: 10px 14px; border-radius: 10px; font-size: var(--fs-7); outline: none; }
.chat-row input:focus { border-color: var(--accent); }

/* === LUNAY === */
.lunaty-card { background: linear-gradient(135deg, rgba(124,58,237,0.05), rgba(168,139,250,0.015)); border: 1px solid rgba(124,58,237,0.09); border-radius: var(--radius-lg); padding: 36px; text-align: center; max-width: 440px; }
.lunaty-card .star { font-size: 48px; margin-bottom: 14px; }
.lunaty-card h4 { font-family: var(--font-display); font-size: var(--fs-3); font-weight: 800; margin-bottom: 6px; color: var(--accent-lighter); }
.lunaty-card p { color: var(--text-secondary); font-size: var(--fs-7); margin-bottom: 18px; line-height: 1.5; }
.lunaty-card .token { font-family: monospace; display: inline-block; background: var(--bg-elevated); padding: 8px 20px; border-radius: 9px; font-size: var(--fs-5); color: var(--accent-lighter); letter-spacing: 2px; font-weight: 700; border: 1px solid rgba(124,58,237,0.1); }

/* === CONFETTI === */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 999; }
.confetti-piece { position: absolute; top: -10px; animation: confettiDrop 2.2s ease-in forwards; }
@keyframes confettiDrop { 0% { transform: translateY(-80px) rotate(0deg); opacity: 1; } 100% { transform: translateY(110vh) rotate(800deg); opacity: 0; } }
.toast { position: fixed; top: 24px; left: 50%; transform: translateX(-50%); z-index: 999; background: var(--bg-secondary); border: 1px solid var(--accent); padding: 14px 28px; border-radius: 14px; animation: fadeIn 0.4s ease-out; font-weight: 700; font-size: var(--fs-7); box-shadow: 0 16px 44px rgba(124,58,237,0.4); }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .header { padding: 0 12px; }
  .header-main { gap: 12px; }
  .header-search-container { display: none; }
  .hero { padding: 50px 12px 30px; }
  .hero h1 { font-size: 28px; }
  .product-grid { grid-template-columns: 1fr; }
  .dash-layout { flex-direction: column; }
  .dash-sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--border); flex-direction: row; overflow-x: auto; padding: 10px; gap: 6px; }
  .dash-sidebar nav { flex-direction: row; flex: 1; }
  .dash-sidebar .user-info, .dash-sidebar .balance-card, .dash-sidebar .logout-btn { display: none; }
  .dm { padding: 20px 12px 40px; }
  .detail-features { grid-template-columns: 1fr; }
}
