/* ═══════════════════════════════════════
   HOME PAGE — Dark Crystal Gallery
   ═══════════════════════════════════════ */

/* --- Announcement Bar --- */
.announcement-bar {
  background: linear-gradient(90deg,
    #d4c5a0 0%, #b2cdd8 9%, #7dd5e6 18%,
    #8ab5e8 27%, #c4a8e0 36%, #df82ca 45%,
    #e879b0 50%, #df82ca 55%, #c4a8e0 64%,
    #8ab5e8 73%, #7dd5e6 82%, #b2cdd8 91%,
    #d4c5a0 100%
  );
  background-size: 200% auto;
  animation: holoShift 14s linear infinite;
  padding: 10px 20px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #000;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.announcement-bar a { color: #000; text-decoration: underline; text-underline-offset: 2px; }
.announcement-bar .arrow {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  opacity: 0.5;
  transition: var(--transition);
  background: none;
  border: none;
  color: #000;
  font-size: 1rem;
  padding: 2px 6px;
}
.announcement-bar .arrow:hover { opacity: 1; }

/* Offset navbar for announcement */
.has-announcement .navbar { top: calc(36px + 16px); }
.page-home { padding-top: 0 !important; }
.page-home .hero-banner { padding-top: 0; }

/* ─── Hero Banner ─── */
.hero-banner {
  position: relative;
  width: 100%;
  height: 82vh;
  min-height: 500px;
  max-height: 780px;
  overflow: hidden;
}
.hero-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-banner-bg .bg-layer {
  position: absolute;
  inset: 0;
}

/* Mosaic — continuous scroll */
.cards-mosaic {
  position: absolute;
  inset: -20px -10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0;
  transform: rotate(-4deg) scale(1.15);
  opacity: 0.82;
  overflow: hidden;
}
.mosaic-row {
  display: flex;
  gap: 3px;
  width: max-content;
  animation: mosaicScroll var(--row-speed, 60s) linear infinite;
}
.mosaic-row:nth-child(even) { animation-name: mosaicScrollReverse; }
@keyframes mosaicScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-25%); }
}
@keyframes mosaicScrollReverse {
  0%   { transform: translateX(-25%); }
  100% { transform: translateX(0); }
}
.mosaic-card {
  border-radius: 5px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(0,0,0,0.45);
  flex-shrink: 0;
  width: 120px;
  aspect-ratio: 63/88;
}
.mosaic-card .mc-inner {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), box-shadow 0.35s ease;
}
.mosaic-card .mc-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  border-radius: inherit;
  display: block;
}
.mosaic-card .mc-inner::after {
  content: '';
  position: absolute;
  top: -80%; left: -80%;
  width: 260%; height: 260%;
  border-radius: inherit;
  background: linear-gradient(
    var(--sweep-angle, 105deg),
    transparent 38%,
    rgba(255,255,255,0.15) 43%,
    rgba(125,213,230,0.11) 47%,
    rgba(232,121,176,0.10) 50%,
    rgba(196,168,224,0.10) 53%,
    rgba(212,197,160,0.09) 57%,
    rgba(255,255,255,0.15) 62%,
    transparent 67%
  );
  pointer-events: none;
  opacity: 0;
  transform: translate(var(--sweep-x,-40%), var(--sweep-y,-20%));
  transition: transform 1.8s cubic-bezier(0.25,0.46,0.45,0.94), opacity 0.6s ease;
}
.mosaic-card .mc-inner.holo-active::after { opacity: 1; }
.mosaic-card:hover .mc-inner {
  transform: scale(1.15);
  box-shadow: 0 8px 30px rgba(125,213,230,0.22), 0 4px 20px rgba(0,0,0,0.5);
}
.mosaic-card:hover { z-index: 2; }

/* Overlay — rich vignette */
.hero-banner-bg .overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom,
      rgba(0,0,0,0.5)  0%,
      rgba(0,0,0,0.1) 20%,
      rgba(0,0,0,0.1) 45%,
      rgba(0,0,0,0.55) 72%,
      rgba(0,0,0,0.95) 100%
    ),
    radial-gradient(ellipse at center, transparent 20%, rgba(0,0,0,0.6) 100%),
    linear-gradient(to right, rgba(0,0,0,0.3) 0%, transparent 15%, transparent 85%, rgba(0,0,0,0.3) 100%);
}

/* Hero content — centred overlay */
.hero-content {
  position: absolute;
  bottom: 18%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
  width: 90%;
  max-width: 720px;
  animation: fadeInUp 0.9s cubic-bezier(0.4,0,0.2,1) both;
}
.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(212,197,160,0.75);
  margin-bottom: 14px;
}
.hero-wordmark {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 6.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 20px;
}
.hero-tagline {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.7;
  margin-bottom: 36px;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero stats bar */
.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 40px 28px;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, transparent 100%);
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 36px;
}
.hero-stat-n {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fafaf8;
  line-height: 1;
}
.hero-stat-l {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.38);
  margin-top: 4px;
}
.hero-stat-sep {
  width: 1px;
  height: 30px;
  background: rgba(255,255,255,0.10);
  flex-shrink: 0;
}

/* ─── Marquee ─── */
.marquee-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-base);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 40px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.marquee-item .sep {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(212,197,160,0.4);
  flex-shrink: 0;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes announceTicker {
  0%   { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

/* ─── Section header — editorial style ─── */
.section-header {
  margin-bottom: 44px;
}
.section-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d4c5a0;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: #d4c5a0;
  opacity: 0.6;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fafaf8;
}

/* ─── Nouveautés (home scroll row) ─── */
.nouveautes-home-section { padding: 88px 0; }
.nouveautes-home-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-top: 12px;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(212,197,160,0.2) transparent;
}
.nouveautes-home-row::-webkit-scrollbar { height: 3px; }
.nouveautes-home-row::-webkit-scrollbar-track { background: transparent; }
.nouveautes-home-row::-webkit-scrollbar-thumb { background: rgba(212,197,160,0.25); border-radius: 4px; }
.nouveautes-home-row .poke-card {
  min-width: 255px;
  max-width: 255px;
  scroll-snap-align: start;
  flex-shrink: 0;
}

/* ─── Featured ─── */
.featured-section { padding: 0 0 100px; }
.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.featured-footer { text-align: center; margin-top: 52px; }

/* ─── Trust bar — horizontal minimal ─── */
.trust-bar {
  padding: 56px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.trust-bar-grid {
  display: flex;
  justify-content: center;
  gap: 0;
}
.trust-bar-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 36px;
  border-right: 1px solid rgba(255,255,255,0.05);
  flex: 1;
  min-width: 0;
}
.trust-bar-item:last-child { border-right: none; }
.trust-bar-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-bar-icon svg { width: 20px; height: 20px; color: rgba(212,197,160,0.8); }
.trust-bar-text { flex: 1; min-width: 0; }
.trust-bar-item h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 4px;
  color: #fafaf8;
}
.trust-bar-item p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.45;
}

/* ─── Newsletter ─── */
.newsletter-section { padding: 0 0 100px; }
.newsletter-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 72px 48px;
  text-align: center;
  background: rgba(12,12,16,0.7);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 40px 80px rgba(0,0,0,0.5),
    0 0 60px rgba(125,213,230,0.02) inset;
}
.newsletter-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212,197,160,0.04) 0%, rgba(125,213,230,0.02) 40%, transparent 70%);
  z-index: 0;
}
/* Holo border glow */
.newsletter-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(212,197,160,0.18), rgba(125,213,230,0.12), rgba(232,121,176,0.10), transparent 60%);
  z-index: -1;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 1px;
}
.newsletter-card > * { position: relative; z-index: 1; }
.newsletter-card h2 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.newsletter-card p {
  color: rgba(255,255,255,0.45);
  margin-bottom: 32px;
  font-size: 0.95rem;
  line-height: 1.6;
}
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
}
.newsletter-input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: #fafaf8;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}
.newsletter-input:focus { border-color: rgba(212,197,160,0.4); }
.newsletter-input::placeholder { color: rgba(255,255,255,0.25); }
.newsletter-submit {
  padding: 14px 28px;
  border-radius: 50px;
  background: linear-gradient(90deg,
    #d4c5a0 0%, #b2cdd8 9%, #7dd5e6 18%,
    #8ab5e8 27%, #c4a8e0 36%, #df82ca 45%,
    #e879b0 50%, #df82ca 55%, #c4a8e0 64%,
    #8ab5e8 73%, #7dd5e6 82%, #b2cdd8 91%,
    #d4c5a0 100%
  );
  background-size: 200% auto;
  animation: holoShift 14s linear infinite;
  color: #000;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.newsletter-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,197,160,0.3);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .featured-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .hero-banner { min-height: 480px; max-height: 680px; height: 80vh; }
  .hero-content { bottom: 20%; }
  .hero-wordmark { font-size: clamp(2.8rem, 11vw, 4.5rem); }
  .hero-tagline { font-size: 0.95rem; }
  .hero-stat { padding: 6px 20px; }
  .hero-stat-n { font-size: 1.15rem; }
  .hero-stats { padding: 16px 20px 22px; }
  .nouveautes-home-row .poke-card { min-width: 220px; max-width: 220px; }
  .featured-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .trust-bar-grid { flex-wrap: wrap; }
  .trust-bar-item { flex: 1 1 calc(50% - 1px); min-width: 0; padding: 18px 20px; }
  .trust-bar-item:nth-child(2) { border-right: none; }
  .trust-bar-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.05); border-right: none; flex: 1 1 100%; }
  .trust-bar-item:nth-child(3) { justify-content: center; }
  .newsletter-form { flex-direction: column; }
  .newsletter-card { padding: 44px 24px; }
  .announcement-bar { overflow: hidden; padding: 9px 0; justify-content: flex-start; }
  .announcement-bar .arrow { display: none; }
  #announcementText { white-space: nowrap; font-size: 0.68rem; padding: 0 24px; animation: announceTicker 18s linear infinite; }
  .has-announcement .navbar { top: calc(34px + 12px); }
}
@media (max-width: 480px) {
  .hero-banner { min-height: max(360px, 50dvh); max-height: 560px; }
  .hero-content { bottom: 22%; width: 94%; }
  .hero-wordmark { font-size: clamp(2.4rem, 13vw, 3.8rem); }
  .hero-tagline { font-size: 0.88rem; margin-bottom: 24px; }
  .hero-eyebrow { font-size: 0.62rem; letter-spacing: 0.16em; }
  .hero-actions { gap: 10px; }
  .hero-stat { padding: 4px 14px; }
  .hero-stat-n { font-size: 1rem; }
  .hero-stat-l { font-size: 0.55rem; }
  .mosaic-card { width: 85px; }
  .cards-mosaic { gap: 2px; }
  .mosaic-row { gap: 2px; }
  .featured-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .trust-bar { padding: 32px 0; }
  .trust-bar-grid { flex-direction: column; flex-wrap: nowrap; }
  .trust-bar-item { flex: none; width: 100%; border-right: none !important; border-top: none !important; border-bottom: 1px solid rgba(255,255,255,0.05); padding: 14px 0; gap: 14px; }
  .trust-bar-item:last-child { border-bottom: none; }
  .newsletter-card { padding: 32px 16px; }
  .newsletter-card h2 { font-size: 1.4rem; }
  .newsletter-card p { font-size: 0.85rem; }
  .newsletter-input { font-size: 0.85rem; padding: 12px 16px; }
  .newsletter-submit { padding: 12px 20px; font-size: 0.84rem; }
  .nouveautes-home-row .poke-card { min-width: 180px; max-width: 180px; }
  .marquee-item { padding: 13px 22px; font-size: 0.7rem; }
  #announcementText { font-size: 0.64rem; animation-duration: 15s; }
}
