@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/packages/shared_core/assets/fonts/Cairo-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/packages/shared_core/assets/fonts/Cairo-Bold.ttf") format("truetype");
}

:root {
  --gold: #d4af37;
  --gold-light: #e8d48a;
  --gold-dark: #b8860b;
  --ink: #0d0d0d;
  --muted: #6b6b6b;
  --page: #f5f5f5;
  --glass-border: rgba(13, 13, 13, 0.18);
  --shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.08);
  --shadow-lift: 0 18px 42px rgba(0, 0, 0, 0.14);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--page);
  color: var(--ink);
  font-family: "Cairo", "Inter", "Roboto", system-ui, sans-serif;
}

button { font: inherit; }
body { overflow: hidden; }

.landing-shell,
.legacy-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.landing-shell {
  display: flex;
  flex-direction: column;
  overflow: auto;
  overscroll-behavior-y: contain;
  background: var(--page);
  color: var(--ink);
  opacity: 1;
  transition: opacity 220ms ease, visibility 220ms ease;
  -webkit-overflow-scrolling: touch;
}

html[data-glint-shell="off"] .landing-shell,
html[data-glint-shell="on"] .legacy-splash,
.landing-shell.is-hidden,
.legacy-splash.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

html[data-glint-shell="off"] .legacy-splash { display: flex; }

.shell-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: calc(64px + env(safe-area-inset-top, 0px));
  padding: calc(8px + env(safe-area-inset-top, 0px)) 12px 8px;
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  background: linear-gradient(180deg, rgba(245, 245, 245, 0.94), rgba(245, 245, 245, 0));
}

.shell-icon-button,
.shell-link-button {
  border: 0;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
}

.shell-icon-button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  line-height: 1;
}

.shell-page {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: calc(92px + var(--safe-bottom));
}

.shell-logo-section {
  display: grid;
  place-items: center;
  padding: 4px 20px 24px;
}

.shell-logo {
  height: 100px;
  max-width: min(78vw, 420px);
  object-fit: contain;
  animation: shell-rise 360ms ease-out both;
}

.shell-announcement {
  width: 100%;
  margin: 20px 0 10px;
  padding: 10px 0;
  min-height: 44px;
  overflow: hidden;
  color: #fff;
  background: #1a1a2e;
}

.announcement-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: announcement-scroll 16s linear infinite;
}

.announcement-text {
  padding-inline: 18px;
  font-size: 13px;
  font-weight: 500;
  line-height: 24px;
}

.shell-banners { padding: 16px 20px 4px; }

.banner-frame {
  max-width: 1200px;
  height: 200px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow-lift);
  background: #ececec;
}

.banner-track {
  height: 100%;
  display: flex;
  direction: ltr;
  transition: transform 600ms ease-in-out;
}

.banner-slide {
  position: relative;
  min-width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: #ececec;
  cursor: pointer;
}

.banner-slide img,
.brand-card img,
.product-image img {
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 280ms ease;
}

.banner-slide img { object-fit: cover; }
.image-ready { opacity: 1 !important; }

.banner-dots {
  min-height: 22px;
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.banner-dot {
  width: 8px;
  height: 6px;
  border-radius: 999px;
  background: rgba(13, 13, 13, 0.18);
  transition: width 220ms ease, background 220ms ease;
}

.banner-dot.is-active {
  width: 24px;
  background: var(--gold);
}

.shell-section { padding: 40px 0 0; }

.shell-section-header {
  padding: 0 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.shell-section h2,
.welcome-card h1 {
  margin: 0;
  color: var(--ink);
}

.shell-section h2 {
  font-size: 32px;
  font-weight: 300;
  line-height: 1.15;
}

.gold-rule {
  display: block;
  width: 60px;
  height: 2px;
  margin-top: 8px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light), var(--gold));
}

.shell-link-button {
  min-height: 40px;
  padding: 0;
  font-size: 14px;
  font-weight: 700;
}

.brand-list {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  min-height: 252px;
  padding: 56px 24px 16px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.brand-list::-webkit-scrollbar {
  display: none;
}

.brand-card {
  width: 140px;
  height: 180px;
  flex: 0 0 140px;
  border: 1px solid rgba(13, 13, 13, 0.05);
  border-radius: 16px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.brand-card:hover {
  transform: scale(1.04);
  border-color: rgba(212, 175, 55, 0.8);
  box-shadow: 0 18px 38px rgba(212, 175, 55, 0.16);
}

.brand-card img { object-fit: contain; }

.brand-placeholder,
.product-placeholder,
.banner-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(212, 175, 55, 0.45);
  background: rgba(13, 13, 13, 0.04);
}

.welcome-card,
.product-card {
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}
