:root {
    --bg-main: #0a0a0f; --bg-card: rgba(20, 20, 30, 0.6);
    --primary: #8b5cf6; --secondary: #3b82f6;
    --text-main: #f8fafc; --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.1);
}

html { scroll-behavior: smooth; }
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Outfit', sans-serif; }

body { background-color: var(--bg-main); color: var(--text-main); line-height: 1.6; overflow-x: hidden; background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px); background-size: 30px 30px; }

/* Навигация */
.navbar { position: fixed; top: 0; left: 0; width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 20px 5%; background: rgba(10, 10, 15, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-color); z-index: 1000; flex-wrap: wrap; gap: 15px; transition: transform 0.3s ease-in-out; }
.navbar-hidden { transform: translateY(-100%); }

.logo { font-size: 1.8rem; font-weight: 900; letter-spacing: 1px; }
.logo span { color: var(--primary); }
.nav-center { display: flex; align-items: center; gap: 20px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--text-main); text-decoration: none; font-weight: 500; transition: 0.3s; cursor: pointer; }
.nav-links a:hover { color: var(--primary); }
.nav-actions { display: flex; gap: 15px; align-items: center; }

/* Бутон за мобилно меню */
.mobile-menu-btn { display: none; font-size: 1.8rem; cursor: pointer; color: white; user-select: none; padding: 10px; margin: -10px; }

/* Търсачка */
.search-container { position: relative; display: flex; align-items: center; margin-right: 20px; }
.search-input { padding: 8px 15px 8px 35px; border-radius: 20px; border: 1px solid var(--border-color); background: rgba(255, 255, 255, 0.05) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%2394a3b8" viewBox="0 0 16 16"><path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z"/></svg>') no-repeat 12px center; color: white; outline: none; transition: 0.3s; font-family: inherit; width: 200px; }
.search-input:focus { border-color: var(--primary); background-color: rgba(255, 255, 255, 0.1); width: 250px; }

/* Падащо меню */
.dropdown { position: relative; display: inline-block; padding-bottom: 20px; margin-bottom: -20px; }
.dropbtn { cursor: pointer; }
.dropdown-content { display: none; position: absolute; top: 100%; background-color: rgba(15, 15, 25, 0.95); min-width: 180px; box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.7); z-index: 1; border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; left: 50%; transform: translateX(-50%); margin-top: 5px; }
.dropdown::after { content: ''; position: absolute; top: 100%; left: 0; width: 100%; height: 15px; }
.dropdown-content a { padding: 12px 16px; display: block; font-size: 0.95rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.dropdown-content a:hover { background-color: rgba(139, 92, 246, 0.2); color: var(--primary); }
.dropdown:hover .dropdown-content { display: block; }

/* Бутони */
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; border: none; padding: 10px 20px; border-radius: 8px; font-weight: 700; cursor: pointer; transition: 0.3s; font-family: inherit; }
.btn-primary:hover { box-shadow: 0 0 20px rgba(139, 92, 246, 0.5); transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--text-main); border: 1px solid var(--border-color); padding: 10px 20px; border-radius: 8px; font-weight: 700; cursor: pointer; transition: 0.3s; }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.05); }
.btn-guest { background: transparent; border: none; color: var(--text-main); font-size: 1.2rem; cursor: pointer; transition: 0.3s; font-weight: bold; }
.btn-guest:hover { color: var(--primary); }
.btn-settings { background: rgba(255,255,255,0.1); color: white; border: 1px solid var(--border-color); padding: 8px 12px; border-radius: 8px; font-size: 0.85rem; font-weight: bold; cursor: pointer; transition: 0.3s; }
.btn-settings:hover { background: var(--primary); border-color: var(--primary); }
.btn-icon { background: rgba(255,255,255,0.05); border: 1px solid var(--border-color); color: white; padding: 10px 15px; border-radius: 8px; cursor: pointer; transition: 0.3s; font-weight: bold; font-family: inherit; }
.btn-icon:hover { background: rgba(255,255,255,0.1); border-color: white; }
.btn-buy { background: rgba(255, 255, 255, 0.1); color: white; border: 1px solid var(--border-color); padding: 10px 15px; border-radius: 8px; cursor: pointer; transition: 0.3s; font-weight: 600; font-family: inherit; flex-grow: 1;}
.btn-buy:hover { background: var(--primary); border-color: var(--primary); }
.large { padding: 15px 30px; font-size: 1.1rem; }

/* Hero Секция */
.hero { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 120px 20px 40px; position: relative; overflow: hidden; }
.hero-glow-1, .hero-glow-2 { position: absolute; border-radius: 50%; filter: blur(100px); z-index: -1; }
.hero-glow-1 { width: 400px; height: 400px; background: rgba(139, 92, 246, 0.3); top: -100px; left: -100px; }
.hero-glow-2 { width: 300px; height: 300px; background: rgba(59, 130, 246, 0.2); bottom: -50px; right: -50px; }
.hero-content { max-width: 800px; z-index: 1; }
.badge { display: inline-block; background: rgba(139, 92, 246, 0.1); border: 1px solid rgba(139, 92, 246, 0.3); color: #c4b5fd; padding: 8px 16px; border-radius: 50px; font-weight: 500; margin-bottom: 25px; backdrop-filter: blur(5px); }
.hero h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 20px; }
.text-gradient { background: linear-gradient(to right, #a78bfa, #60a5fa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 40px; }

/* Продукти и Пагинация (Load More) */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-title { font-size: 2.5rem; margin-bottom: 40px; text-align: center; }
.product-grid { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.featured-grid { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

/* Класове за скриване на продукти чрез филтри или пагинация */
.hidden-by-filter, .hidden-by-search, .hidden-by-page { display: none !important; }

.product-card { background: var(--bg-card); backdrop-filter: blur(10px); border: 1px solid var(--border-color); border-radius: 16px; overflow: hidden; transition: 0.3s; display: flex; flex-direction: column; }
.product-card:hover { border-color: var(--primary); transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); }
.card-image { height: 180px; display: flex; align-items: center; justify-content: center; position: relative; cursor: pointer; }
.product-logo { width: 80px; height: auto; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4)); z-index: 2; transition: 0.3s; }
.card-image:hover .product-logo { transform: scale(1.1); }

/* Цветове на банерите */
.ai-bg { background: radial-gradient(circle, #064e3b, #022c22); }
.midjourney-bg { background: radial-gradient(circle, #374151, #111827); }
.design-bg { background: radial-gradient(circle, #4c1d95, #2e1065); }
.windows-bg { background: radial-gradient(circle, #0284c7, #082f49); }
.vpn-bg { background: radial-gradient(circle, #0ea5e9, #0c4a6e); }
.discord-bg { background: radial-gradient(circle, #6366f1, #312e81); }
.adobe-bg { background: radial-gradient(circle, #dc2626, #7f1d1d); }
.netflix-bg { background: radial-gradient(circle, #e50914, #450a0a); }
.spotify-bg { background: radial-gradient(circle, #1db954, #064e3b); }

.card-content { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
.category { font-size: 0.85rem; color: var(--secondary); text-transform: uppercase; font-weight: bold; margin-bottom: 10px; }
.product-title { font-size: 1.4rem; margin-bottom: 10px; cursor: pointer; transition: 0.3s; }
.product-title:hover { color: var(--primary); }
.description { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 25px; flex-grow: 1; }

.card-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border-color); padding-top: 20px; }
.price { display: flex; flex-direction: column; }
.old-price { color: var(--text-muted); text-decoration: line-through; font-size: 0.9rem; }
.new-price { font-size: 1.5rem; font-weight: 900; color: white; }
.card-buttons { display: flex; gap: 10px; }

/* FOOTER */
.footer { background: rgba(10, 10, 15, 0.9); padding: 60px 20px 20px; border-top: 1px solid var(--border-color); margin-top: 80px; }
.footer-content { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }
.footer h3 { color: white; margin-bottom: 20px; font-size: 1.3rem; }
.footer p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; cursor: default; } 
.footer a { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; line-height: 1.8; transition: 0.3s; cursor: pointer; } 
.footer a:hover { color: var(--primary); padding-left: 5px; }
.footer-bottom { text-align: center; padding-top: 20px; margin-top: 40px; border-top: 1px solid rgba(255,255,255,0.05); color: var(--text-muted); font-size: 0.85rem; }

/* Modal & Selects */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(5px); z-index: 2000; justify-content: center; align-items: center; }
.modal-content { background: #1e1e2d; padding: 40px; border-radius: 16px; width: 90%; max-width: 400px; position: relative; border: 1px solid var(--border-color); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.close { position: absolute; top: 15px; right: 20px; font-size: 1.5rem; color: var(--text-muted); cursor: pointer; }
.close:hover { color: white; }
.auth-form input { width: 100%; padding: 12px 15px; margin-bottom: 15px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--border-color); border-radius: 8px; color: white; font-family: inherit; outline: none; }
.auth-form input:focus { border-color: var(--primary); }

.settings-select { width: 100%; padding: 12px; background: rgba(0,0,0,0.3); border: 1px solid var(--border-color); color: white; border-radius: 8px; font-family: inherit; outline: none; cursor: pointer; }
.settings-select:focus { border-color: var(--primary); }
.settings-select option { background: #1e1e2d; color: white; }

/* --- МОБИЛНА ВЕРСИЯ --- */
@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    .nav-links { display: none; flex-direction: column; width: 100%; text-align: center; gap: 15px; margin-top: 15px; padding-bottom: 10px; }
    .nav-links.active { display: flex; }
    .nav-center { flex-direction: column; width: 100%; align-items: stretch; }
    .search-container { width: 100%; margin: 15px 0 5px 0; }
    .search-input { width: 100%; }
    .search-input:focus { width: 100%; }
    .nav-actions { width: 100%; justify-content: space-between; margin-top: 10px; }
    
    .dropdown { padding-bottom: 0; margin-bottom: 0; }
    .dropdown-content { position: static; display: none; box-shadow: none; border: none; background: transparent; transform: none; width: 100%; }
    .dropdown:hover .dropdown-content { display: none; } 
    .dropdown.active .dropdown-content { display: block; }

    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }
    .hero-buttons { flex-direction: column; }
    
    .product-grid { grid-template-columns: 1fr !important; }
    
    .product-modal-content > div { flex-direction: column; }
    .pm-left { min-height: 200px; padding: 20px !important; }
    .pm-right { padding: 20px !important; }
    
    .footer-content { grid-template-columns: 1fr; text-align: center; gap: 30px; }
}