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

:root {
    --bg:        #0d1117;
    --surface:   #161b22;
    --surface2:  #1c2330;
    --border:    #30363d;
    --text:      #e6edf3;
    --muted:     #8b949e;
    --accent:    #4f8ef7;
    --accent2:   #a371f7;
    --green:     #3fb950;
    --discord:   #5865f2;
    --radius:    12px;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; overflow-x: hidden; }

/* ── LOGO ── */
.logo-vk  { color: var(--accent); font-weight: 800; font-size: 1.3rem; }
.logo-dev { color: var(--text);   font-weight: 800; font-size: 1.3rem; }
.gradient-text { background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ── NAVBAR ── */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(13,17,23,.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: .9rem 2rem; display: flex; align-items: center; gap: 2rem; }
.nav-logo { text-decoration: none; }
.nav-links { display: flex; gap: 1.5rem; flex: 1; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .9rem; transition: color .15s; }
.nav-links a:hover { color: var(--text); }

/* ── BUTTONS ── */
.btn-discord { display: flex; align-items: center; gap: .5rem; background: var(--discord); color: #fff; border: none; border-radius: var(--radius); padding: .5rem 1rem; font-size: .875rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: opacity .15s; white-space: nowrap; }
.btn-discord:hover { opacity: .85; }
.btn-discord.btn-sm { padding: .35rem .75rem; font-size: .8rem; }
.btn-discord-lg { display: inline-flex; align-items: center; gap: .6rem; background: var(--discord); color: #fff; border-radius: var(--radius); padding: .85rem 2rem; font-size: 1rem; font-weight: 700; text-decoration: none; transition: opacity .15s, transform .15s; }
.btn-discord-lg:hover { opacity: .9; transform: translateY(-2px); }
.btn-primary { display: inline-block; background: var(--accent); color: #fff; border-radius: var(--radius); padding: .75rem 1.75rem; font-size: .95rem; font-weight: 700; text-decoration: none; transition: opacity .15s, transform .15s; }
.btn-primary:hover { opacity: .9; transform: translateY(-2px); }
.btn-outline { display: inline-flex; align-items: center; gap: .5rem; background: transparent; color: var(--text); border: 1px solid var(--border); border-radius: var(--radius); padding: .75rem 1.75rem; font-size: .95rem; font-weight: 600; text-decoration: none; transition: border-color .15s, transform .15s; }
.btn-outline:hover { border-color: var(--accent); transform: translateY(-2px); }
.btn-buy { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; border: none; border-radius: 8px; padding: .45rem 1rem; font-size: .85rem; font-weight: 700; text-decoration: none; cursor: pointer; transition: opacity .15s, transform .15s; white-space: nowrap; }
.btn-buy:hover { opacity: .9; transform: translateY(-1px); }

/* ── HERO ── */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; padding: 6rem 2rem 4rem; overflow: hidden; }
.hero-glow { position: absolute; top: 20%; left: 50%; transform: translateX(-50%); width: 700px; height: 400px; background: radial-gradient(ellipse, rgba(79,142,247,.15) 0%, transparent 70%); pointer-events: none; }
.hero-content { max-width: 700px; text-align: center; position: relative; z-index: 1; animation: fadeUp .7s ease both; }
.hero-badge { display: inline-block; background: rgba(79,142,247,.12); border: 1px solid rgba(79,142,247,.3); color: var(--accent); border-radius: 99px; padding: .35rem 1rem; font-size: .8rem; font-weight: 600; margin-bottom: 1.5rem; letter-spacing: .05em; }
.hero-content h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; margin-bottom: 1.25rem; }
.hero-content p { font-size: 1.1rem; color: var(--muted); margin-bottom: 2rem; line-height: 1.7; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); color: var(--muted); animation: bounce 2s infinite; font-size: 1.2rem; }

/* ── SECTIONS ── */
.section { padding: 6rem 2rem; }
.section-dark { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-inner.center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; margin-bottom: .75rem; }
.section-header p { color: var(--muted); font-size: 1rem; }

/* ── FILTER ── */
.filter-bar { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2.5rem; }
.filter-btn { background: var(--surface2); border: 1px solid var(--border); color: var(--muted); border-radius: 99px; padding: .4rem 1rem; font-size: .8rem; cursor: pointer; transition: all .15s; }
.filter-btn:hover, .filter-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ── PRODUCTS GRID ── */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.loading { color: var(--muted); text-align: center; grid-column: 1/-1; padding: 3rem; }

.product-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; position: relative; transition: transform .2s, border-color .2s; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-4px); border-color: rgba(79,142,247,.4); }
.product-badge { position: absolute; top: .75rem; right: .75rem; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; font-size: .7rem; font-weight: 700; padding: .2rem .6rem; border-radius: 99px; z-index: 1; }
.product-img { height: 180px; background: var(--surface2); background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; }
.product-img-placeholder { font-size: 2.5rem; font-weight: 800; color: var(--border); }
.product-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; gap: .5rem; }
.product-cat { font-size: .7rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }
.product-name { font-size: 1.1rem; font-weight: 700; }
.product-desc { font-size: .85rem; color: var(--muted); line-height: 1.6; flex: 1; }
.product-footer { display: flex; align-items: center; justify-content: space-between; margin-top: .75rem; }
.product-price { font-size: 1.1rem; font-weight: 800; color: var(--text); }

/* ── FOOTER ── */
.footer { border-top: 1px solid var(--border); padding: 1.5rem 2rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }
