*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --dark: #080808;
  --dark2: #111111;
  --gold: #c9a84c;
  --gold-light: #e8c96e;
  --gold-dim: rgba(201, 168, 76, 0.15);
  --white: #ffffff;
  --gray: rgba(255, 255, 255, 0.60);
  --gray-dim: rgba(255, 255, 255, 0.35);
}

html {
  scroll-behavior: smooth;
  background: var(--dark);
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--white);
  overflow-x: hidden;
}

/* ====================================================
   LOADING OVERLAY
==================================================== */
#loading-overlay {
  position: fixed;
  inset: 0;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  gap: 1.2rem;
  transition: opacity 0.7s ease;
}

#loading-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.load-logo {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 2px;
}

.load-logo span {
  color: var(--white);
}

.load-label {
  font-size: 0.65rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gray-dim);
}

.load-track {
  width: 160px;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.load-fill {
  height: 100%;
  width: 0%;
  background: var(--gold);
  transition: width 0.1s linear;
}

/* ====================================================
   FIXED CANVAS BACKGROUND (hero only)
==================================================== */
#burger-canvas {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  display: block;
}

/* Dark vignette — heavy on left+bottom, lighter on right */
#canvas-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  background:
    /* heavy left fade for text readability */
    linear-gradient(to right,
      rgba(8, 8, 8, 0.92) 0%,
      rgba(8, 8, 8, 0.65) 30%,
      rgba(8, 8, 8, 0.10) 60%,
      transparent 75%),
    /* bottom fade */
    linear-gradient(to top,
      rgba(8, 8, 8, 0.80) 0%,
      transparent 40%),
    /* top fade */
    linear-gradient(to bottom,
      rgba(8, 8, 8, 0.50) 0%,
      transparent 20%);
}

/* Amber glow (right-center of screen) */
#canvas-glow {
  position: fixed;
  top: 50%;
  right: 20%;
  transform: translate(50%, -50%);
  width: 55vw;
  height: 70vh;
  background: radial-gradient(ellipse,
      rgba(201, 168, 76, 0.14) 0%,
      transparent 65%);
  z-index: 2;
  pointer-events: none;
  animation: pulseGlow 4.5s ease-in-out infinite;
}

/* ====================================================
   PAGE WRAPPER
==================================================== */
.page {
  position: relative;
  z-index: 10;
}

/* ====================================================
   HERO SECTION
==================================================== */
#hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── NAV ── */
header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  padding: 2.2rem 3.5rem;
  gap: 2.5rem;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.55rem;
  color: var(--gold);
  letter-spacing: 1px;
  text-decoration: none;
  margin-right: auto;
}

.logo span {
  color: var(--white);
}

nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color .3s;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--gold);
  transition: width .3s ease;
}

nav a:hover {
  color: var(--gold);
}

nav a:hover::after {
  width: 100%;
}

.nav-order {
  padding: .7rem 1.5rem;
  background: var(--gold);
  color: #000;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .3s, transform .2s;
}

.nav-order:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* ── HERO CONTENT (left) ── */
.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 3.5rem 6rem;
  max-width: 520px;
  gap: 1.6rem;
  position: relative;
  z-index: 20;
}

.tagline {
  font-size: .62rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  animation: fadeUp .8s .2s ease forwards;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4.2vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.5px;
  opacity: 0;
  animation: fadeUp .9s .4s ease forwards;
}

h1 em {
  font-style: italic;
  color: var(--gold);
  position: relative;
}

h1 em::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
  border-radius: 2px;
}

.subtitle {
  font-size: .875rem;
  color: var(--gray);
  line-height: 1.8;
  max-width: 340px;
  font-weight: 300;
  letter-spacing: .02em;
  opacity: 0;
  animation: fadeUp .9s .6s ease forwards;
}

.cta-group {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  opacity: 0;
  animation: fadeUp .9s .8s ease forwards;
}

.btn-primary {
  padding: .8rem 2rem;
  background: var(--gold);
  color: #000;
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: background .3s, transform .2s, box-shadow .3s;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201, 168, 76, .4);
}

.btn-ghost {
  font-size: .82rem;
  color: rgba(255, 255, 255, .5);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 400;
  transition: color .3s;
}

.btn-ghost:hover {
  color: var(--white);
}

/* stats */
.stats-row {
  display: flex;
  gap: 1.8rem;
  opacity: 0;
  animation: fadeUp .9s 1s ease forwards;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: .12rem;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: .58rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gray-dim);
}

.stat-div {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, .1);
  align-self: center;
}

/* ── SCROLL HINT (bottom center) ── */
.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  opacity: 0;
  animation: fadeUp .8s 1.4s ease forwards;
  z-index: 20;
}

.scroll-hint span {
  font-size: .6rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .35);
}

.scroll-wheel {
  width: 22px;
  height: 34px;
  border: 1.5px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.scroll-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  animation: scrollDot 1.8s ease-in-out infinite;
}

/* frame progress */
.frame-badge {
  position: absolute;
  bottom: 2rem;
  right: 3rem;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: .7rem;
}

.bar-track {
  width: 100px;
  height: 1px;
  background: rgba(255, 255, 255, .12);
}

.bar-fill {
  height: 100%;
  width: 0%;
  background: var(--gold);
  transition: width .08s linear;
}

.frame-count {
  font-size: .62rem;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, .3);
}

/* ====================================================
   SECTION SHARED
==================================================== */
section {
  position: relative;
  z-index: 10;
}

.section-label {
  font-size: .65rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: .8rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: .8rem;
  letter-spacing: -.2px;
}

.section-sub {
  font-size: .85rem;
  color: var(--gray);
  line-height: 1.85;
  max-width: 460px;
  font-weight: 300;
  letter-spacing: .015em;
}

/* ====================================================
   PRODUCTS SECTION
==================================================== */
#products {
  background: var(--dark);
  padding: 7rem 3.5rem;
}

#products .section-head {
  margin-bottom: 3.5rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: linear-gradient(145deg, #141414 0%, #0e0e0e 100%);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .6),
    0 0 0 1px rgba(201, 168, 76, .2);
  border-color: rgba(201, 168, 76, .2);
}

.product-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  filter: brightness(.85) saturate(1.1);
  transition: filter .4s, transform .4s;
}

.product-card:hover .product-img {
  filter: brightness(1) saturate(1.2);
  transform: scale(1.04);
}

/* Product placeholder (CSS drawn) */
.product-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #1a1208 0%, #2a1e0a 50%, #1a1208 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  transition: transform .4s;
  overflow: hidden;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(.88) saturate(1.15);
  transition: filter .4s, transform .4s;
}

.product-card:hover .product-thumb img {
  filter: brightness(1.05) saturate(1.25);
  transform: scale(1.06);
}

.product-body {
  padding: 1.4rem 1.5rem 1.6rem;
  position: relative;
}

.product-badge {
  position: absolute;
  top: -14px;
  right: 1.2rem;
  background: var(--gold);
  color: #000;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: .28rem .7rem;
}

.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .3rem;
  letter-spacing: .01em;
}

.product-desc {
  font-size: .75rem;
  color: var(--gray-dim);
  line-height: 1.65;
  margin-bottom: 1rem;
  letter-spacing: .01em;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
}

.product-price-old {
  font-size: .7rem;
  color: rgba(255, 255, 255, .25);
  text-decoration: line-through;
  margin-left: .35rem;
}

.btn-add {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(201, 168, 76, .3);
  background: transparent;
  color: var(--gold);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s, color .25s;
}

.btn-add:hover {
  background: var(--gold);
  color: #000;
}

/* ====================================================
   OFFERS SECTION
==================================================== */
#offers {
  background: #0c0c0c;
  padding: 7rem 3.5rem;
  border-top: 1px solid rgba(255, 255, 255, .04);
}

#offers .section-head {
  text-align: center;
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.offers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Big featured offer */
.offer-featured {
  grid-row: span 2;
  background: linear-gradient(170deg, #1c1208 0%, #110d04 60%, #0c0a04 100%);
  border: 1px solid rgba(201, 168, 76, .12);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 420px;
  position: relative;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}

.offer-featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
}

.offer-featured-thumb {
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.offer-featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .55;
  filter: brightness(.7) saturate(1.1);
  transition: opacity .4s, transform .4s;
}

.offer-featured:hover .offer-featured-thumb img {
  opacity: .7;
  transform: scale(1.04);
}

.offer-tag {
  display: inline-block;
  background: var(--gold);
  color: #000;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: .3rem .8rem;
  margin-bottom: 1.2rem;
  width: fit-content;
}

.offer-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: .7rem;
  letter-spacing: -.1px;
}

.offer-name em {
  color: var(--gold);
  font-style: italic;
}

.offer-desc {
  font-size: .79rem;
  color: var(--gray);
  line-height: 1.7;
  max-width: 255px;
  margin-bottom: 1.3rem;
  letter-spacing: .01em;
}

.offer-price-row {
  display: flex;
  align-items: baseline;
  gap: .8rem;
  margin-bottom: 1.3rem;
}

.offer-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--gold);
}

.offer-price-old {
  font-size: .85rem;
  color: rgba(255, 255, 255, .25);
  text-decoration: line-through;
}

.offer-discount {
  background: rgba(201, 168, 76, .15);
  color: var(--gold);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: 1px;
  padding: .2rem .55rem;
  border-radius: 2px;
}

/* Small offer card */
.offer-card {
  background: linear-gradient(145deg, #141209 0%, #0f0e09 100%);
  border: 1px solid rgba(255, 255, 255, .05);
  padding: 1.8rem 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  transition: transform .3s, border-color .3s;
  position: relative;
  overflow: hidden;
}

.offer-card:hover {
  transform: translateX(4px);
  border-color: rgba(201, 168, 76, .18);
}

.offer-card-thumb {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(201, 168, 76, .07);
}

.offer-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(.85) saturate(1.1);
  transition: filter .35s, transform .35s;
}

.offer-card:hover .offer-card-thumb img {
  filter: brightness(1) saturate(1.2);
  transform: scale(1.08);
}

.offer-card-body {
  flex: 1;
}

.offer-card-label {
  font-size: .57rem;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .28rem;
}

.offer-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .22rem;
  letter-spacing: .01em;
}

.offer-card-desc {
  font-size: .72rem;
  color: var(--gray-dim);
  line-height: 1.6;
  letter-spacing: .01em;
}

.offer-card-price {
  text-align: right;
  flex-shrink: 0;
}

.offer-card-price .now {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
}

.offer-card-price .was {
  font-size: .72rem;
  color: rgba(255, 255, 255, .25);
  text-decoration: line-through;
}

/* ====================================================
   FOOTER
==================================================== */
footer {
  background: #050505;
  border-top: 1px solid rgba(201, 168, 76, .1);
  padding: 3rem 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--gold);
}

.footer-logo span {
  color: var(--white);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: .72rem;
  color: rgba(255, 255, 255, .3);
  text-decoration: none;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color .3s;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-copy {
  font-size: .68rem;
  color: rgba(255, 255, 255, .2);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ====================================================
   KEYFRAMES
==================================================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {

  0%,
  100% {
    opacity: 1;
    transform: translate(50%, -50%) scale(1);
  }

  50% {
    opacity: .6;
    transform: translate(50%, -50%) scale(1.1);
  }
}

@keyframes floatBg {

  0%,
  100% {
    transform: scale(1) translateY(0);
  }

  40% {
    transform: scale(1.02) translateY(-10px);
  }

  70% {
    transform: scale(1.01) translateY(6px);
  }
}

@keyframes scrollDot {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  75% {
    opacity: 0;
    transform: translateY(12px);
  }

  100% {
    opacity: 0;
    transform: translateY(12px);
  }
}

/* canvas float animation */
.canvas-float {
  animation: floatBg 8s ease-in-out infinite;
}

/* ====================================================
   RESPONSIVE
==================================================== */
@media (max-width:900px) {

  #burger-canvas,
  #canvas-overlay,
  #canvas-glow {
    height: 90vh;
  }

  #hero {
    height: 90vh;
  }

  header {
    padding: 1.5rem 1.5rem;
    gap: 1.2rem;
  }

  .hero-content {
    padding: 0 1.5rem 5rem;
    max-width: 100%;
  }

  h1 {
    font-size: 2.4rem;
  }

  #products,
  #offers {
    padding: 5rem 1.5rem;
  }

  .offers-grid {
    grid-template-columns: 1fr;
  }

  .offer-featured {
    grid-row: auto;
    min-height: 320px;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
