:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-tertiary: #1a1a1a;
  --bg-card: #161616;
  --gold: #c9a96e;
  --gold-light: #e8d5a3;
  --gold-dark: #a08050;
  --text-primary: #f0ece2;
  --text-secondary: #a09888;
  --text-muted: #666058;
  --border: rgba(201, 169, 110, 0.15);
  --border-hover: rgba(201, 169, 110, 0.4);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Playfair Display', serif;
  --font-body: 'Noto Sans SC', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dark) var(--bg-primary);
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  cursor: none;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== CUSTOM CURSOR ===== */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 100000;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(201, 169, 110, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

.cursor-ring.hover {
  width: 52px;
  height: 52px;
  border-color: var(--gold);
}

@media (max-width: 768px) {
  .cursor-dot, .cursor-ring { display: none; }
  body { cursor: auto; }
}

/* ===== PARTICLES CANVAS ===== */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s var(--transition), box-shadow 0.4s var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.navbar-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--gold);
}

.navbar-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.navbar-links a {
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  position: relative;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--transition);
}

.navbar-links a:hover {
  color: var(--gold);
}

.navbar-links a:hover::after {
  width: 100%;
}

.navbar-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .navbar { padding: 0 24px; }
  .navbar-links { display: none; }
  .navbar-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }
  .navbar-menu-btn { display: block; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  z-index: 1;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}

.hero-content {
  max-width: 800px;
}

.hero-subtitle-top {
  font-size: 14px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s var(--transition) 0.3s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s var(--transition) 0.5s forwards;
}

.hero-title .gold { color: var(--gold); }

.hero-desc {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s var(--transition) 0.7s forwards;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.4s var(--transition);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s var(--transition) 0.9s forwards;
}

.hero-cta:hover {
  background: var(--gold);
  color: var(--bg-primary);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 2px;
  animation: bounce 2s infinite;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== ABOUT ===== */
.about {
  position: relative;
  z-index: 1;
  padding: 120px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  margin-bottom: 48px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
}

.about-image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  z-index: 1;
  pointer-events: none;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition);
}

.about-image-wrapper:hover .about-image {
  transform: scale(1.03);
}

.about-text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.about-contact {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  color: var(--text-secondary);
}

.about-contact-label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}

@media (max-width: 768px) {
  .about { padding: 80px 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .stat-number { font-size: 28px; }
}

/* ===== GALLERY ===== */
.gallery {
  position: relative;
  z-index: 1;
  padding: 80px 48px 120px;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-header {
  text-align: center;
  margin-bottom: 48px;
}

.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.filter-tab {
  padding: 8px 24px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 13px;
  letter-spacing: 1px;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.3s var(--transition);
}

.filter-tab:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.filter-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg-primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  grid-auto-flow: dense;
}

.product-card.wide {
  grid-column: span 2;
}

.product-card.featured {
  grid-column: 1 / -1;
}

.product-card.wide .product-card-image {
  aspect-ratio: 16/9;
}

.product-card.featured .product-card-image {
  aspect-ratio: 21/9;
}

.product-card:not(.wide):not(.featured) .product-card-image {
  aspect-ratio: 4/5;
}

@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card.wide { grid-column: span 2; }
  .product-card.featured { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .gallery { padding: 60px 16px 80px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 16px; }
  .product-card.wide { grid-column: span 1; }
  .product-card.featured { grid-column: span 1; }
  .product-card.wide .product-card-image,
  .product-card.featured .product-card-image,
  .product-card:not(.wide):not(.featured) .product-card-image {
    aspect-ratio: 4/3;
  }
}

/* ===== PRODUCT CARD ===== */
.product-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.4s var(--transition), border-color 0.4s var(--transition), box-shadow 0.4s var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.product-card-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition);
}

.product-card:hover .product-card-image img {
  transform: scale(1.05);
}

.product-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--transition);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
}

.product-card:hover .product-card-overlay {
  opacity: 1;
}

.view-hint {
  font-size: 13px;
  color: var(--gold-light);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(8px);
  color: var(--gold);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--border);
}

.product-card-info {
  padding: 16px 20px 20px;
}

.product-card.wide .product-card-info {
  padding: 20px 24px 24px;
}

.product-card.wide .product-card-name {
  font-size: 18px;
}

.product-card.featured .product-card-info {
  text-align: center;
  padding: 24px 24px 28px;
}

.product-card.featured .product-card-name {
  font-size: 20px;
}

.product-card-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.product-card-category {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.card-skeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, #1a1a1a 30%, #252525 50%, #1a1a1a 70%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.product-card-image img {
  transition: opacity 0.4s ease, transform 0.6s var(--transition);
}

/* ===== PRODUCT MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--transition), visibility 0.4s;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 2000px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-close {
  position: absolute;
  top: -48px;
  right: 0;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 28px;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 10;
}

.modal-close:hover { color: var(--gold); }

.modal-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-tertiary);
}

.modal-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.4s ease;
  position: relative;
  z-index: 2;
}

.modal-image-prev {
  position: absolute;
  inset: 0;
  z-index: 1;
  filter: blur(2px);
  pointer-events: none;
}

.modal-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  pointer-events: none;
}

.modal-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(200, 170, 110, 0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.modal-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(10, 10, 10, 0.7);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-primary);
  font-size: 20px;
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--transition);
  backdrop-filter: blur(8px);
}

.modal-nav-btn:hover {
  background: var(--gold);
  color: var(--bg-primary);
  border-color: var(--gold);
}

.modal-nav-btn.prev { left: 16px; }
.modal-nav-btn.next { right: 16px; }

.modal-info {
  margin-top: 24px;
  text-align: center;
}

.modal-product-name {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 8px;
}

.modal-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 14px;
}

.modal-zcool-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 24px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 1px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s var(--transition);
}

.modal-zcool-btn:hover {
  background: var(--gold);
  color: var(--bg-primary);
}

.modal-dots {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.modal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.modal-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .modal-content { width: 96%; }
  .modal-nav-btn { width: 40px; height: 40px; font-size: 16px; }
  .modal-close { top: -40px; }
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  z-index: 1;
  padding: 60px 48px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
}

.footer-contact {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 14px;
  transition: all 0.3s var(--transition);
}

.footer-link:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .footer { padding: 40px 24px; }
  .footer-links { flex-direction: column; align-items: center; gap: 16px; }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
