/* EconomyKL — shared theme (index, shop, staff, admin) */
:root {
    --primary: #FFC72C;
    --primary-2: #FF9F0A;
    --primary-soft: rgba(255, 199, 44, 0.12);
    --on-primary: #171200;
    --bg-dark: #07070a;
    --bg-card: #101014;
    --bg-raised: #16161c;
    --line: rgba(255, 255, 255, 0.08);
    --text-white: #ffffff;
    --text-gray: #b9b9c4;
    --text-dim: #74747f;
    --ok: #2ee67a;
    --danger: #ff6b5e;
    --glow: 0 0 24px rgba(255, 199, 44, 0.45);
    --radius: 16px;
    --font-main: 'Kanit', sans-serif;
    --font-geo: 'Noto Sans Georgian', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-main);
    overflow-x: hidden;
    min-height: 100vh;
    background-image:
        radial-gradient(ellipse 80% 55% at 50% -10%, rgba(255, 199, 44, 0.20) 0%, transparent 70%),
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 100% 100%, 56px 56px, 56px 56px;
    background-attachment: fixed;
}
body.lang-ka { font-family: var(--font-geo); }
body.lang-ka .logo, body.lang-ka .ip-text, body.lang-ka .stat-number, body.lang-ka .p-price { font-family: var(--font-main); }

a { text-decoration: none; color: inherit; transition: 0.25s; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }
::selection { background: var(--primary); color: var(--on-primary); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: #2a2a33; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ---------- NAV ---------- */
nav.site-nav {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 12px 22px; position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
    width: min(1200px, calc(100% - 28px)); z-index: 100;
    background: rgba(12, 12, 16, 0.72); backdrop-filter: blur(22px) saturate(140%);
    border: 1px solid var(--line); border-radius: 18px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}
.nav-left { display: flex; align-items: center; gap: 18px; }
.logo { font-size: 1.55rem; font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; }
.logo span { color: var(--primary); text-shadow: var(--glow); }

.lang-switch {
    background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line);
    color: white; padding: 6px 12px; border-radius: 50px; cursor: pointer;
    font-size: 0.8rem; font-weight: 700; transition: 0.25s;
}
.lang-switch:hover { border-color: var(--primary); background: var(--primary-soft); }

.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
    font-weight: 600; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.72); padding: 9px 14px; border-radius: 10px;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: var(--primary-soft); }
.nav-links a.btn-store {
    background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: var(--on-primary);
    font-weight: 900; box-shadow: var(--glow); display: flex; align-items: center; gap: 8px; margin-left: 6px;
}
.nav-links a.btn-store:hover { transform: translateY(-2px); filter: brightness(1.1); color: var(--on-primary); }
.nav-links a.btn-staff { border: 1px solid rgba(255, 199, 44, 0.45); color: var(--primary); display: flex; align-items: center; gap: 8px; }

.nav-toggle { display: none; background: none; border: 0; color: white; font-size: 1.4rem; cursor: pointer; padding: 6px 8px; }

.cart-icon { position: relative; cursor: pointer; font-size: 1.25rem; transition: 0.25s; padding: 8px 10px; background: none; border: 0; color: white; }
.cart-icon:hover { color: var(--primary); transform: scale(1.1); }
.cart-badge {
    position: absolute; top: -2px; right: -4px; background: var(--primary); color: var(--on-primary);
    font-size: 0.7rem; font-weight: 900; border-radius: 50%; min-width: 20px; height: 20px;
    display: flex; align-items: center; justify-content: center; box-shadow: var(--glow);
}

/* ---------- BUTTONS / FORMS ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 13px 26px; border-radius: 12px; border: 1px solid transparent; cursor: pointer;
    font-weight: 800; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.6px; transition: 0.25s;
}
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: var(--on-primary); box-shadow: var(--glow); }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.1); }
.btn-ghost { background: rgba(255, 255, 255, 0.05); border-color: var(--line); color: white; }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-danger { background: rgba(255, 107, 94, 0.1); border-color: rgba(255, 107, 94, 0.4); color: var(--danger); }
.btn-danger:hover { background: rgba(255, 107, 94, 0.2); }
.btn-sm { padding: 8px 14px; font-size: 0.78rem; border-radius: 9px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; filter: none; box-shadow: none; }

.field { margin-bottom: 18px; text-align: left; }
.field label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 8px; color: #e9e9ef; }
.field label .req { color: var(--primary); margin-left: 3px; }
.input, .field input, .field select, .field textarea {
    width: 100%; padding: 13px 15px; background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line); color: white; border-radius: 11px; font-size: 0.98rem; transition: 0.2s;
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.field select option { background: #15151b; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus {
    border-color: var(--primary); outline: none; background: rgba(255, 199, 44, 0.05); box-shadow: 0 0 0 4px rgba(255, 199, 44, 0.1);
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.hint { color: var(--text-dim); font-size: 0.82rem; margin-top: 6px; }
.form-error { color: var(--danger); font-weight: 600; font-size: 0.9rem; margin: 10px 0; min-height: 1.2em; }

.card {
    background: linear-gradient(180deg, rgba(22, 22, 28, 0.92), rgba(14, 14, 18, 0.92));
    border: 1px solid var(--line); border-radius: var(--radius); backdrop-filter: blur(8px);
}

/* ---------- HERO ---------- */
.hero {
    min-height: 92vh; display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; position: relative; padding: 130px 20px 90px; overflow-x: clip;
}
.hero::before, .hero::after {
    content: ''; position: absolute; border-radius: 50%; filter: blur(90px); z-index: -1; pointer-events: none;
    animation: float 9s ease-in-out infinite;
}
.hero::before { width: 380px; height: 380px; background: rgba(255, 199, 44, 0.22); top: 14%; left: 12%; }
.hero::after { width: 320px; height: 320px; background: rgba(255, 159, 10, 0.16); bottom: 10%; right: 10%; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-28px) scale(1.08); } }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 50px; margin-bottom: 22px;
    background: var(--primary-soft); border: 1px solid rgba(255, 199, 44, 0.3); color: var(--primary);
    font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px;
}
.hero h1 {
    font-size: clamp(3rem, 10vw, 6.2rem); text-transform: uppercase; line-height: 0.95; margin-bottom: 20px;
    font-weight: 900; font-style: italic; font-family: var(--font-main); text-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}
.hero h1 span {
    background: linear-gradient(120deg, #FFE27A, var(--primary) 45%, var(--primary-2));
    -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 0 26px rgba(255, 199, 44, 0.45));
    padding-right: 0.12em;
}
.hero p.lead { font-size: 1.12rem; color: var(--text-gray); margin-bottom: 36px; max-width: 620px; line-height: 1.6; }

.ip-box {
    background: rgba(18, 18, 24, 0.75); backdrop-filter: blur(12px); padding: 14px 16px 14px 22px;
    border-radius: 16px; border: 1px solid rgba(255, 199, 44, 0.28);
    display: flex; align-items: center; gap: 18px; cursor: pointer; transition: 0.3s; color: white;
}
.ip-box:hover { border-color: var(--primary); box-shadow: var(--glow); transform: translateY(-3px); }
.ip-box > i { color: var(--primary); font-size: 2.2rem; }
.ip-text { font-size: clamp(1.15rem, 4.2vw, 1.7rem); font-weight: 900; letter-spacing: 0.5px; }
.click-hint {
    font-size: 0.75rem; text-transform: uppercase; font-weight: 900; letter-spacing: 0.5px;
    background: var(--primary); color: var(--on-primary); padding: 9px 13px; border-radius: 10px; white-space: nowrap;
}
.hero-actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; justify-content: center; }

.online-tag {
    margin-top: 26px; background: rgba(46, 230, 122, 0.1); color: var(--ok);
    padding: 6px 16px; border-radius: 20px; font-weight: 700; font-size: 0.9rem;
    border: 1px solid rgba(46, 230, 122, 0.22); display: flex; align-items: center; gap: 8px;
}
.online-tag.offline { background: rgba(255, 255, 255, 0.05); color: var(--text-dim); border-color: var(--line); }
.online-dot { width: 8px; height: 8px; background: currentColor; border-radius: 50%; box-shadow: 0 0 10px currentColor; animation: pulse 1.8s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---------- STATS ---------- */
.stats-container { display: flex; justify-content: center; gap: 22px; margin-top: -46px; position: relative; z-index: 10; padding: 0 5%; flex-wrap: wrap; }
.stat-card { padding: 24px 46px; text-align: center; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5); min-width: 210px; transition: 0.3s; }
.stat-card:hover { transform: translateY(-6px); border-color: rgba(255, 199, 44, 0.5); }
.stat-number { font-size: 2.2rem; font-weight: 900; color: var(--primary); display: block; text-shadow: var(--glow); }
.stat-label { font-size: 0.82rem; color: var(--text-dim); text-transform: uppercase; font-weight: 700; letter-spacing: 1px; }

/* ---------- SECTIONS ---------- */
.section-padding { padding: 110px max(5%, calc((100% - 1200px) / 2)); }
.section-alt { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.02) 20%, rgba(255, 255, 255, 0.02) 80%, transparent); }
.section-title { text-align: center; margin-bottom: 56px; }
.section-title h2 { font-size: clamp(2rem, 6vw, 3rem); text-transform: uppercase; font-weight: 900; font-style: italic; }
.section-title h2 span { color: var(--primary); text-shadow: var(--glow); }
.section-title::after { content: ''; display: block; width: 70px; height: 4px; border-radius: 4px; margin: 16px auto 0; background: linear-gradient(90deg, var(--primary), var(--primary-2)); }

.grid-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.feature-card { padding: 38px 32px; text-align: center; transition: 0.35s; position: relative; overflow: hidden; }
.feature-card::before {
    content: ''; position: absolute; inset: 0; opacity: 0; transition: 0.35s; pointer-events: none;
    background: radial-gradient(circle at 50% 0%, rgba(255, 199, 44, 0.16), transparent 65%);
}
.feature-card:hover { border-color: rgba(255, 199, 44, 0.55); transform: translateY(-8px); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
    width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 20px; display: grid; place-items: center;
    background: var(--primary-soft); border: 1px solid rgba(255, 199, 44, 0.25); font-size: 2rem; color: var(--primary); transition: 0.35s;
}
.feature-card:hover .feature-icon { transform: scale(1.08) rotate(6deg); box-shadow: var(--glow); }
.feature-card h3 { font-size: 1.35rem; margin-bottom: 12px; font-weight: 800; text-transform: uppercase; }
.feature-card p { color: var(--text-gray); font-size: 0.95rem; line-height: 1.6; }

/* ---------- STAFF TEAM ---------- */
.staff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 260px)); gap: 26px; justify-content: center; }
.staff-card { padding: 30px; text-align: center; transition: 0.3s; }
.staff-card:hover { border-color: rgba(255, 199, 44, 0.55); transform: translateY(-6px); }
.staff-head { width: 90px; height: 90px; margin: 0 auto 16px; border-radius: 22px; border: 3px solid var(--primary); box-shadow: var(--glow); background-size: cover; background-position: center; }
.staff-role { padding: 4px 11px; border-radius: 6px; font-size: 0.7rem; font-weight: 900; text-transform: uppercase; margin-bottom: 10px; display: inline-block; letter-spacing: 0.5px; }
.role-owner { background: var(--primary); color: var(--on-primary); }
.role-admin { background: var(--primary-2); color: var(--on-primary); }
.role-mod { background: #2ecc71; color: #04210f; }
.join-team { text-align: center; margin-top: 44px; }

/* ---------- DISCORD ---------- */
.discord-box { padding: 60px 30px; text-align: center; max-width: 900px; margin: 0 auto; position: relative; overflow: hidden; }
.discord-box::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: #5865F2; box-shadow: 0 0 24px #5865F2; }
.discord-box h2 { text-transform: uppercase; font-weight: 900; }
.discord-btn { background: #5865F2; color: white; padding: 13px 30px; border-radius: 12px; font-weight: 900; text-transform: uppercase; display: inline-block; margin-top: 24px; }
.discord-btn:hover { background: #4752c4; transform: translateY(-2px); box-shadow: 0 0 24px rgba(88, 101, 242, 0.5); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { margin-bottom: 12px; overflow: hidden; }
.faq-question { width: 100%; padding: 20px 22px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 700; font-size: 1rem; background: none; border: 0; color: white; text-align: left; transition: 0.25s; }
.faq-question:hover { color: var(--primary); }
.faq-question i { transition: 0.3s; color: var(--primary); }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: 0.35s; padding: 0 22px; color: var(--text-gray); line-height: 1.6; }
.faq-item.active .faq-answer { padding: 0 22px 20px; max-height: 240px; }

footer { padding: 54px 5%; text-align: center; border-top: 1px solid var(--line); color: var(--text-dim); margin-top: 40px; }
footer .logo { margin-bottom: 10px; color: white; }
footer .foot-links { display: flex; gap: 20px; justify-content: center; margin-top: 14px; flex-wrap: wrap; font-size: 0.9rem; }
footer .foot-links a:hover { color: var(--primary); }

/* ---------- TOAST ---------- */
#toast {
    visibility: hidden; min-width: 240px; background: #15151b; color: white; text-align: center;
    border-radius: 12px; padding: 14px 20px; position: fixed; z-index: 3000; left: 50%; bottom: 30px;
    transform: translateX(-50%); font-weight: 800; border: 1px solid rgba(255, 199, 44, 0.5); box-shadow: var(--glow);
}
#toast.show { visibility: visible; animation: slideUp 0.4s, fadeOut 0.4s 2.4s forwards; }
@keyframes slideUp { from { bottom: 0; opacity: 0; } to { bottom: 30px; opacity: 1; } }
@keyframes fadeOut { from { bottom: 30px; opacity: 1; } to { bottom: 0; opacity: 0; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- PAGE HERO (shop / staff) ---------- */
.page-hero { text-align: center; padding: 160px 20px 44px; }
.page-hero h1 { font-size: clamp(2.4rem, 8vw, 4rem); text-transform: uppercase; margin-bottom: 12px; font-weight: 900; font-style: italic; }
.page-hero h1 span { color: var(--primary); text-shadow: var(--glow); }
.page-hero p { color: var(--text-gray); font-size: 1.08rem; max-width: 620px; margin: 0 auto; line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px 90px; }

/* ---------- CHAT ---------- */
.chat { display: flex; flex-direction: column; height: 460px; }
.chat-log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.chat-empty { margin: auto; color: var(--text-dim); text-align: center; font-size: 0.95rem; }
.bubble { max-width: 78%; padding: 10px 14px; border-radius: 16px; line-height: 1.45; font-size: 0.96rem; white-space: pre-wrap; overflow-wrap: anywhere; animation: fadeIn 0.25s ease; }
.bubble time { display: block; font-size: 0.68rem; opacity: 0.6; margin-top: 4px; }
.bubble .who { display: block; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 3px; opacity: 0.8; }
.bubble.them { align-self: flex-start; background: #1d1d25; border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.bubble.me { align-self: flex-end; background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: var(--on-primary); border-bottom-right-radius: 5px; }
.chat-form { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; }

.status-pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; }
.status-pending { background: var(--primary-soft); color: var(--primary); border: 1px solid rgba(255, 199, 44, 0.3); }
.status-accepted { background: rgba(46, 230, 122, 0.1); color: var(--ok); border: 1px solid rgba(46, 230, 122, 0.3); }
.status-rejected { background: rgba(255, 255, 255, 0.05); color: var(--text-gray); border: 1px solid var(--line); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
    .nav-toggle { display: block; }
    .nav-links {
        position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px;
        background: rgba(12, 12, 16, 0.97); border: 1px solid var(--line); border-radius: 16px; padding: 12px; display: none;
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 13px 14px; }
    .nav-links a.btn-store { margin-left: 0; justify-content: center; }
    .section-padding { padding: 80px 5%; }
    .stat-card { min-width: 0; flex: 1 1 150px; padding: 20px; }
    .ip-box { flex-wrap: wrap; justify-content: center; padding: 16px; }
    .logo { font-size: 1.25rem; }
    .bubble { max-width: 90%; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
}
