@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Oswald:wght@400;500;600;700&display=swap');

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

:root {
  --bg: #0a0a0a; --bg-card: #141414; --bg-elevated: #1a1a1a;
  --text: #ffffff; --text-muted: #8a8a8a; --text-dim: #555;
  --accent: #c8102e; --accent-hover: #e01235; --accent-gold: #c9a84c;
  --border: #222; --radius: 8px;
  --nav-h: 64px; --banner-h: 40px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ANNOUNCEMENT BANNER */
.announcement { background: var(--accent); height: var(--banner-h); overflow: hidden; position: relative; white-space: nowrap; }
.announcement-track { display: inline-flex; align-items: center; height: 100%; gap: 32px; animation: marquee 20s linear infinite; padding-left: 0; }
.announcement-track a { font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 1px; transition: opacity .2s; flex-shrink: 0; }
.announcement-track a:hover { opacity: .8; }
.announcement-dot { font-size: 10px; opacity: .5; flex-shrink: 0; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-33.333%); } }

/* NAVBAR */
.navbar { position: sticky; top: 0; z-index: 1000; background: rgba(10,10,10,.92); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); height: var(--nav-h); }
.nav-inner { max-width: 1440px; margin: 0 auto; padding: 0 40px; height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: 'Oswald', sans-serif; font-size: 28px; font-weight: 700; letter-spacing: 6px; text-transform: uppercase; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; position: relative; padding: 4px 0; transition: color .2s; }
.nav-links a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width .3s; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 20px; }
.nav-actions button { font-size: 13px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; transition: color .2s; display: flex; align-items: center; gap: 6px; }
.nav-actions button:hover { color: var(--accent); }
.nav-icon { width: 18px; height: 18px; flex-shrink: 0; }
.feature-icon svg { width: 28px; height: 28px; color: var(--accent); }
.wishlist-btn svg { width: 16px; height: 16px; }
.btn-icon { width: 16px; height: 16px; vertical-align: -2px; margin-right: 4px; }
.cart-count { background: var(--accent); color: #fff; font-size: 10px; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.mobile-toggle span { width: 24px; height: 2px; background: #fff; transition: .3s; }

/* HERO */
.hero { position: relative; height: 85vh; min-height: 550px; max-height: 800px; overflow: hidden; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.5) 50%, rgba(0,0,0,.2) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 1440px; margin: 0 auto; padding: 0 40px; width: 100%; }
.hero-tag { font-size: 13px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.hero-title { font-family: 'Oswald', sans-serif; font-size: clamp(48px, 7vw, 96px); font-weight: 700; line-height: 1; text-transform: uppercase; margin-bottom: 20px; }
.hero-title em { font-style: normal; color: var(--accent); }
.hero-desc { font-size: 17px; color: var(--text-muted); max-width: 480px; margin-bottom: 32px; line-height: 1.7; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 36px; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; border-radius: var(--radius); transition: all .3s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,16,46,.3); }
.btn-outline { border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--bg); }
.btn-dark { background: var(--bg); border: 1px solid var(--border); color: #fff; }
.btn-dark:hover { border-color: var(--accent); color: var(--accent); }

/* SECTIONS */
.section { padding: 80px 0; }
.section-inner { max-width: 1440px; margin: 0 auto; padding: 0 40px; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.section-tag { font-size: 12px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.section-title { font-family: 'Oswald', sans-serif; font-size: 36px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; }
.section-link { font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); border-bottom: 1px solid var(--text-dim); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.section-link:hover { color: var(--accent); border-color: var(--accent); }

/* CATEGORY CARDS */
.categories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; cursor: pointer; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cat-card:hover img { transform: scale(1.08); }
.cat-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.8) 0%, transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; }
.cat-card-title { font-family: 'Oswald', sans-serif; font-size: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; }
.cat-card-sub { font-size: 12px; color: var(--text-muted); letter-spacing: 1px; margin-top: 4px; }

/* PRODUCT GRID */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { background: var(--bg-card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: transform .3s, border-color .3s, box-shadow .3s; cursor: pointer; position: relative; }
.product-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.product-badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 4px 12px; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; border-radius: 4px; }
.badge-new { background: var(--accent); color: #fff; }
.badge-sale { background: var(--accent-gold); color: #000; }
.badge-best { background: #fff; color: #000; }
.product-img { aspect-ratio: 1; background: #1a1a1a; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 16px; }
.product-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s; }
.product-card:hover .product-img img { transform: scale(1.08); }
.product-info { padding: 16px; }
.product-category { font-size: 11px; color: var(--text-muted); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 6px; }
.product-name { font-weight: 600; font-size: 15px; margin-bottom: 8px; line-height: 1.4; }
.product-price { display: flex; align-items: center; gap: 8px; }
.product-price .current { font-weight: 700; font-size: 16px; }
.product-price .original { font-size: 14px; color: var(--text-muted); text-decoration: line-through; }
.product-colors { display: flex; gap: 6px; margin-top: 10px; }
.color-dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--border); cursor: pointer; transition: border-color .2s; }
.color-dot:hover, .color-dot.active { border-color: var(--accent); }
.product-actions { padding: 0 16px 16px; display: flex; gap: 8px; }
.product-actions .btn { width: 100%; padding: 10px; font-size: 11px; }
.wishlist-btn { position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,.6); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; transition: background .2s; font-size: 16px; }
.wishlist-btn:hover { background: var(--accent); }

/* PROMO BANNER */
.promo-banner { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 300px; display: flex; align-items: center; background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%); border: 1px solid var(--border); }
.promo-content { padding: 48px; max-width: 50%; position: relative; z-index: 2; }
.promo-banner .section-tag { margin-bottom: 12px; }
.promo-title { font-family: 'Oswald', sans-serif; font-size: 42px; font-weight: 700; text-transform: uppercase; line-height: 1.1; margin-bottom: 16px; }
.promo-desc { color: var(--text-muted); margin-bottom: 24px; }
.promo-img { position: absolute; right: 40px; top: 50%; transform: translateY(-50%); width: 35%; }
.promo-img img { filter: drop-shadow(0 20px 40px rgba(0,0,0,.5)); }

/* FEATURES BAR */
.features-bar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature-item { padding: 32px 24px; text-align: center; border-right: 1px solid var(--border); }
.feature-item:last-child { border-right: none; }
.feature-icon { font-size: 28px; margin-bottom: 12px; }
.feature-title { font-weight: 700; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; }
.feature-desc { font-size: 13px; color: var(--text-muted); }

/* SHOP PAGE */
.shop-hero { padding: 120px 0 40px; text-align: center; background: linear-gradient(to bottom, #111 0%, var(--bg) 100%); }
.shop-hero .section-title { font-size: 48px; margin-bottom: 12px; }
.shop-hero p { color: var(--text-muted); max-width: 500px; margin: 0 auto; }
.shop-controls { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; flex-wrap: wrap; gap: 16px; }
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-tab { padding: 8px 20px; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; border: 1px solid var(--border); border-radius: 100px; transition: all .2s; }
.filter-tab:hover, .filter-tab.active { background: var(--accent); border-color: var(--accent); }
.sort-select { background: var(--bg-card); border: 1px solid var(--border); color: #fff; padding: 8px 16px; border-radius: var(--radius); font-size: 13px; font-family: inherit; }
.results-count { font-size: 13px; color: var(--text-muted); }

/* PRODUCT DETAIL MODAL */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.8); z-index: 2000; display: none; align-items: center; justify-content: center; backdrop-filter: blur(4px); }
.modal-overlay.active { display: flex; }
.modal { background: var(--bg-card); border-radius: 12px; max-width: 900px; width: 95%; max-height: 90vh; overflow-y: auto; border: 1px solid var(--border); }
.modal-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; background: var(--bg); border: 1px solid var(--border); font-size: 18px; display: flex; align-items: center; justify-content: center; z-index: 10; transition: border-color .2s; }
.modal-close:hover { border-color: var(--accent); }
.modal-body { display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.modal-gallery { background: #111; padding: 40px; display: flex; align-items: center; justify-content: center; }
.modal-gallery img { max-height: 400px; object-fit: contain; }
.modal-details { padding: 40px; }
.modal-details .product-category { margin-bottom: 8px; }
.modal-details .product-name { font-size: 24px; font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.modal-details .product-price { margin-bottom: 20px; }
.modal-details .product-price .current { font-size: 22px; }
.modal-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; color: var(--accent-gold); }
.modal-rating span { color: var(--text-muted); font-size: 13px; }
.size-selector { margin-bottom: 20px; }
.size-label { font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.size-options { display: flex; gap: 8px; flex-wrap: wrap; }
.size-btn { width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 6px; font-size: 13px; font-weight: 600; transition: all .2s; }
.size-btn:hover, .size-btn.active { border-color: var(--accent); background: var(--accent); }
.size-btn.disabled { opacity: .3; pointer-events: none; }
.qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.qty-control { display: flex; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.qty-control button { width: 40px; height: 40px; font-size: 18px; transition: background .2s; }
.qty-control button:hover { background: var(--bg-elevated); }
.qty-control input { width: 50px; text-align: center; background: transparent; border: none; color: #fff; font-size: 15px; font-weight: 600; border-left: 1px solid var(--border); border-right: 1px solid var(--border); }
.modal-add-btn { width: 100%; margin-bottom: 12px; }
.modal-features { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.modal-features li { font-size: 13px; color: var(--text-muted); padding: 4px 0; padding-left: 20px; position: relative; }
.modal-features li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* CART DRAWER */
.cart-drawer { position: fixed; top: 0; right: -420px; width: 400px; height: 100vh; background: var(--bg-card); border-left: 1px solid var(--border); z-index: 3000; transition: right .4s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; }
.cart-drawer.open { right: 0; }
.cart-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 2999; display: none; }
.cart-backdrop.open { display: block; }
.cart-header { padding: 20px 24px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.cart-header h3 { font-family: 'Oswald', sans-serif; font-size: 20px; letter-spacing: 2px; text-transform: uppercase; }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.cart-item-img { width: 80px; height: 80px; background: #111; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.cart-item-img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.cart-item-meta { font-size: 12px; color: var(--text-muted); }
.cart-item-price { font-weight: 700; margin-top: 8px; }
.cart-item-remove { color: var(--text-muted); font-size: 12px; cursor: pointer; margin-top: 4px; transition: color .2s; }
.cart-item-remove:hover { color: var(--accent); }
.cart-empty { text-align: center; padding: 60px 24px; color: var(--text-muted); }
.cart-empty .icon { font-size: 48px; margin-bottom: 16px; }
.cart-footer { padding: 20px 24px; border-top: 1px solid var(--border); }
.cart-total { display: flex; justify-content: space-between; font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.cart-footer .btn { width: 100%; }
.cart-note { font-size: 11px; color: var(--text-muted); text-align: center; margin-top: 8px; }

/* FOOTER */
.footer { background: #050505; border-top: 1px solid var(--border); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-family: 'Oswald', sans-serif; font-size: 14px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13px; color: var(--text-muted); padding: 4px 0; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; display: flex; justify-content: space-between; font-size: 12px; color: var(--text-dim); }
.footer-socials { display: flex; gap: 16px; }
.footer-socials a { font-size: 18px; color: var(--text-muted); transition: color .2s; }
.footer-socials a:hover { color: var(--accent); }

/* PAGE TRANSITIONS */
.page { display: none; }
.page.active { display: block; animation: fadeIn .4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* SCROLLBAR */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #555; }

/* LANGUAGE SWITCHER */
.lang-switcher { display: flex; gap: 4px; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.lang-btn { padding: 6px 12px; font-size: 11px; font-weight: 700; letter-spacing: 1px; transition: all .2s; }
.lang-btn.active { background: var(--accent); color: #fff; }
.lang-btn:hover:not(.active) { background: var(--bg-elevated); }

/* COMING SOON */
.badge-coming { background: linear-gradient(135deg, #555, #333); color: #fff; }
.coming-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.55); z-index: 1; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(2px); }
.coming-overlay span { font-family: 'Oswald', sans-serif; font-size: 18px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: #fff; background: rgba(200,16,46,.85); padding: 8px 24px; border-radius: 4px; }
.product-card.coming-soon { cursor: default; }
.product-card.coming-soon:hover { transform: none; border-color: var(--border); box-shadow: none; }
.product-card.coming-soon .product-img img { filter: grayscale(.4); }
.cat-coming-badge { display: inline-block; margin-top: 10px; padding: 4px 14px; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; background: var(--accent); border-radius: 4px; animation: pulse 2s infinite; }
.coming-soon-cat img { filter: grayscale(.3); }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .7; } }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .products-grid, .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
  .hero { height: 60vh; }
  .hero-title { font-size: 36px; }
  .products-grid, .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .modal-body { grid-template-columns: 1fr; }
  .promo-content { max-width: 100%; }
  .promo-img { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-inner, .nav-inner { padding: 0 20px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .hero-btns { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
}
