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

html, body {
  min-height: 100%;
  background: #000;
  font-family: 'Poppins', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: #f4e3d3;
}

#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: radial-gradient(circle at 50% 40%, #1a0e06 0%, #000 70%);
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.75) 100%);
}

.corner {
  position: fixed;
  z-index: 3;
  width: clamp(36px, 6vw, 64px);
  height: clamp(36px, 6vw, 64px);
  pointer-events: none;
  opacity: 0;
  animation: fadeInUp 1.2s ease-out 0.2s forwards;
}

.corner--tl {
  top: clamp(16px, 3vh, 32px);
  left: clamp(16px, 3vw, 32px);
  border-top: 2px solid rgba(216, 168, 107, 0.55);
  border-left: 2px solid rgba(216, 168, 107, 0.55);
}

.corner--br {
  bottom: clamp(16px, 3vh, 32px);
  right: clamp(16px, 3vw, 32px);
  border-bottom: 2px solid rgba(216, 168, 107, 0.55);
  border-right: 2px solid rgba(216, 168, 107, 0.55);
}

.manager-login-fab {
  position: fixed;
  top: clamp(16px, 3vh, 28px);
  right: clamp(16px, 3vw, 28px);
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(216, 168, 107, 0.35);
  background: rgba(15, 8, 6, 0.6);
  color: rgba(216, 168, 107, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.manager-login-fab svg {
  width: 18px;
  height: 18px;
}

.manager-login-fab:hover {
  color: #f7ead9;
  border-color: rgba(216, 168, 107, 0.7);
  background: rgba(42, 22, 8, 0.8);
}

.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  pointer-events: none;
}

.logo-wrap {
  width: 220px;
  height: 220px;
  margin-bottom: 18px;
  filter: drop-shadow(0 0 40px rgba(196, 130, 60, 0.35)) drop-shadow(0 0 80px rgba(120, 60, 20, 0.25));
  opacity: 0;
  animation: fadeInUp 0.9s ease-out 0.1s forwards;
}

.logo-gif {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tagline {
  font-size: clamp(0.85rem, 1.8vw, 1.1rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #d8a86b;
  opacity: 0;
  animation: fadeInUp 0.9s ease-out 0.35s forwards;
}

.tagline .diamond {
  display: inline-block;
  font-size: 0.7em;
  color: rgba(216, 168, 107, 0.6);
  letter-spacing: 0;
  margin: 0 8px;
  vertical-align: middle;
}

.ribbon-wrap {
  position: relative;
  display: inline-block;
  margin: clamp(14px, 3vh, 26px) 0;
  opacity: 0;
  animation: fadeInUp 0.9s ease-out 0.6s forwards;
}

.ribbon-wrap::before,
.ribbon-wrap::after {
  content: '';
  position: absolute;
  top: 100%;
  width: 0;
  height: 0;
  border-style: solid;
}

.ribbon-wrap::before {
  left: 0;
  border-width: 10px 10px 0 0;
  border-color: #6b3f19 transparent transparent transparent;
}

.ribbon-wrap::after {
  right: 0;
  border-width: 10px 0 0 10px;
  border-color: #6b3f19 transparent transparent transparent;
}

.ribbon {
  background: linear-gradient(135deg, #f7ead9 0%, #d8a86b 55%, #a9682f 100%);
  clip-path: polygon(3% 0, 97% 0, 100% 50%, 97% 100%, 3% 100%, 0 50%);
  padding: 16px 56px;
  font-family: 'Playfair Display', 'Segoe UI', serif;
  font-size: clamp(1.4rem, 4.6vw, 2.4rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2a1608;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  white-space: nowrap;
  animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.08); }
}

.sub {
  margin-top: clamp(14px, 3vh, 24px);
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  color: rgba(244, 227, 211, 0.7);
  max-width: 32ch;
  opacity: 0;
  animation: fadeInUp 0.9s ease-out 0.95s forwards;
}

.scroll-cue {
  margin-top: clamp(28px, 5vh, 48px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(216, 168, 107, 0.4);
  border-radius: 50%;
  color: #d8a86b;
  text-decoration: none;
  font-size: 1.1rem;
  pointer-events: auto;
  opacity: 0;
  animation: fadeInUp 0.9s ease-out 1.15s forwards, bounce 2.4s ease-in-out 2s infinite;
}

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

/* --- Contact / branches section --- */
.contact-section {
  position: relative;
  z-index: 2;
  background: #050302;
  padding: clamp(48px, 8vh, 90px) 24px;
  text-align: center;
  border-top: 1px solid rgba(216, 168, 107, 0.15);
}

.section-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #d8a86b;
  margin-bottom: 10px;
}

.section-title {
  font-family: 'Playfair Display', 'Segoe UI', serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: #f7ead9;
  margin-bottom: clamp(32px, 6vh, 56px);
}

.branch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 260px));
  justify-content: center;
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.branch-card {
  background: #0f0806;
  border: 1px solid rgba(216, 168, 107, 0.18);
  border-radius: 14px;
  padding: 22px 18px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.branch-card:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 168, 107, 0.5);
}

.branch-name {
  font-size: 0.95rem;
  color: rgba(244, 227, 211, 0.85);
  margin-bottom: 10px;
  min-height: 2.6em;
}

.branch-phone {
  display: inline-block;
  color: #d8a86b;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.05rem;
}

.branch-phone:hover {
  color: #f7ead9;
}

.support-block {
  margin-top: clamp(40px, 6vh, 64px);
}

.support-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.support-links a {
  color: #f7ead9;
  text-decoration: none;
  font-size: 1rem;
}

.support-links a:hover {
  color: #d8a86b;
}

.support-links .dot {
  color: rgba(216, 168, 107, 0.5);
}

.qr-block {
  margin-top: clamp(40px, 6vh, 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr-code {
  width: 140px;
  height: 140px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.qr-caption {
  margin-top: 12px;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(216, 168, 107, 0.7);
}

.brand-footer {
  position: relative;
  z-index: 2;
  background: #000;
  border-top: 1px solid rgba(216, 168, 107, 0.15);
  padding: clamp(20px, 4vh, 32px) 24px;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(216, 168, 107, 0.55);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .tagline {
    letter-spacing: 0.2em;
  }

  .logo-wrap {
    width: 170px;
    height: 170px;
  }
}

/* --- Weekly offer popup --- */
.offer-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.offer-popup-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.offer-popup {
  position: relative;
  width: 100%;
  max-width: 360px;
  max-height: 90vh;
  overflow-y: auto;
  background: #0f0806;
  border: 1px solid rgba(216, 168, 107, 0.3);
  border-radius: 18px;
  padding: 14px 14px calc(14px + env(safe-area-inset-bottom));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
  transform: translateY(12px) scale(0.97);
  transition: transform 0.35s ease;
}

.offer-popup-overlay.is-visible .offer-popup {
  transform: translateY(0) scale(1);
}

.offer-popup-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  margin-bottom: 14px;
}

.offer-popup-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(216, 168, 107, 0.5);
  background: rgba(27, 15, 10, 0.85);
  color: #f7ead9;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.offer-popup-close:hover {
  background: #2a1608;
}

.offer-popup-btn {
  display: block;
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f7ead9 0%, #d8a86b 55%, #a9682f 100%);
  color: #2a1608;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
}
