﻿/* ============================================================
   Daily Family Mart -- Maintenance Page Stylesheet
   Design : Full-screen store backdrop, glassmorphism UI
   Palette: Warm reds + oranges + clean whites
   Fonts  : Playfair Display (display) + Outfit (body)
   Author : Akij Group IT Team
   ============================================================ */

/* -- CSS CUSTOM PROPERTIES ---------------------------------- */
:root {
  /* Brand colours */
  --clr-primary:       #d00000; /* Bright Red */
  --clr-primary-lt:    #ffba08; /* Gold/Orange */
  --clr-accent:        #faa307; /* Orange Peel */
  --clr-gold:          #ffba08;
  --clr-gold-lt:       #f48c06;

  /* Surface & text */
  --clr-bg:            #0a1a0f;
  --clr-white:         #ffffff;
  --clr-white-90:      rgba(255,255,255,0.90);
  --clr-white-65:      rgba(255,255,255,0.65);
  --clr-white-40:      rgba(255,255,255,0.40);
  --clr-white-18:      rgba(255,255,255,0.18);
  --clr-white-10:      rgba(255,255,255,0.10);
  --clr-white-06:      rgba(255,255,255,0.06);

  /* Glass cards */
  --glass-bg:          rgba(255,255,255,0.08);
  --glass-border:      rgba(255,255,255,0.16);
  --glass-shadow:      0 8px 32px rgba(0,0,0,0.36);

  /* Typography */
  --font-display:      'Playfair Display', Georgia, serif;
  --font-body:         'Outfit', system-ui, sans-serif;

  /* Layout */
  --max-w:    860px;
  --r-xs:     8px;
  --r-sm:     12px;
  --r-md:     18px;
  --r-lg:     28px;
  --ease:     cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in:  cubic-bezier(0.55, 0, 1, 0.45);
}

/* -- RESET -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* -- CUSTOM CURSOR ------------------------------------------ */
@media (pointer: fine) {
  html, body, a, button, [role="button"] { cursor: none !important; }
}

#cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--clr-accent);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.10s var(--ease),
              background 0.22s,
              width 0.22s var(--ease),
              height 0.22s var(--ease);
  box-shadow: 0 0 10px rgba(149,213,178,0.8),
              0 0 20px rgba(149,213,178,0.4);
  will-change: transform;
}

#cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(149,213,178,0.55);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease),
              height 0.35s var(--ease),
              border-color 0.25s,
              opacity 0.25s;
  will-change: transform;
  backdrop-filter: blur(1px);
}

/* Cursor hover states injected via JS class */
body.cursor-hover #cursor-dot {
  width: 12px; height: 12px;
  background: var(--clr-gold);
  box-shadow: 0 0 14px rgba(200,167,78,0.9), 0 0 28px rgba(200,167,78,0.45);
}
body.cursor-hover #cursor-ring {
  width: 52px; height: 52px;
  border-color: rgba(200,167,78,0.55);
}
body.cursor-click #cursor-dot {
  width: 6px; height: 6px;
  transform: translate(-50%, -50%) scale(0.7);
}
body.cursor-click #cursor-ring {
  width: 64px; height: 64px;
  opacity: 0.35;
}

/* -- CANVAS (particles) ------------------------------------- */
#particle-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* -- BACKGROUND IMAGE & OVERLAY ----------------------------- */
html, body { height: 100%; overflow: hidden; }

body {
  font-family: var(--font-body);
  background-color: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
  position: relative;
}

.bg-image {
  position: fixed;
  inset: 0;
  /* Supermarket aisle */
  background-image: url('https://images.unsplash.com/photo-1583258292688-d0213dc5a3a8?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.06);
  transition: transform 0.12s linear;
  z-index: 0;
}

/* Aurora animated gradient — sits between bg-image and overlay */
.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 55% at 20% 60%, rgba(45,106,79,0.32) 0%, transparent 65%),
    radial-gradient(ellipse 70% 50% at 80% 30%, rgba(82,183,136,0.20) 0%, transparent 60%),
    radial-gradient(ellipse 55% 40% at 55% 90%, rgba(200,167,78,0.12) 0%, transparent 55%);
  animation: auroraShift 16s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}

@keyframes auroraShift {
  0%   {
    background:
      radial-gradient(ellipse 80% 55% at 20% 60%, rgba(45,106,79,0.32) 0%, transparent 65%),
      radial-gradient(ellipse 70% 50% at 80% 30%, rgba(82,183,136,0.20) 0%, transparent 60%),
      radial-gradient(ellipse 55% 40% at 55% 90%, rgba(200,167,78,0.12) 0%, transparent 55%);
  }
  33%  {
    background:
      radial-gradient(ellipse 75% 60% at 70% 40%, rgba(45,106,79,0.28) 0%, transparent 60%),
      radial-gradient(ellipse 65% 55% at 25% 65%, rgba(82,183,136,0.22) 0%, transparent 60%),
      radial-gradient(ellipse 60% 35% at 80% 80%, rgba(200,167,78,0.14) 0%, transparent 55%);
  }
  66%  {
    background:
      radial-gradient(ellipse 85% 45% at 50% 20%, rgba(45,106,79,0.26) 0%, transparent 65%),
      radial-gradient(ellipse 60% 60% at 90% 70%, rgba(82,183,136,0.18) 0%, transparent 60%),
      radial-gradient(ellipse 50% 45% at 10% 50%, rgba(200,167,78,0.16) 0%, transparent 50%);
  }
  100% {
    background:
      radial-gradient(ellipse 78% 52% at 35% 75%, rgba(45,106,79,0.30) 0%, transparent 62%),
      radial-gradient(ellipse 72% 48% at 65% 25%, rgba(82,183,136,0.24) 0%, transparent 58%),
      radial-gradient(ellipse 58% 38% at 20% 10%, rgba(200,167,78,0.13) 0%, transparent 52%);
  }
}

.bg-overlay {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(
      160deg,
      rgba(5, 18, 10, 0.94) 0%,
      rgba(10, 32, 20, 0.86) 40%,
      rgba(6, 20, 14, 0.93) 100%
    );
  z-index: 1;
}

/* Cursor spotlight — follows mouse via JS CSS vars */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(
    circle 480px at var(--mx, 50%) var(--my, 50%),
    rgba(82, 183, 136, 0.075) 0%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 4;
  will-change: background;
}

/* -- ECO FLOATING LAYER ------------------------------------- */
.eco-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.eco-item {
  position: absolute;
  left: var(--x);
  top:  var(--y);
  display: block;
  transform-origin: center;
  opacity: 0;
  animation: ecoFloat var(--dur, 14s) var(--delay, 0s) ease-in-out infinite;
  will-change: transform, opacity;
}

/* Leaf variants */
.eco-leaf-a {
  width: calc(28px * var(--scale, 1));
  height: calc(38px * var(--scale, 1));
  color: rgba(82, 183, 136, 0.45);
  filter: drop-shadow(0 2px 8px rgba(82,183,136,0.30));
  animation-name: ecoFloatLeafA;
}

.eco-leaf-b {
  width: calc(28px * var(--scale, 1));
  height: calc(38px * var(--scale, 1));
  color: rgba(149, 213, 178, 0.38);
  filter: drop-shadow(0 2px 6px rgba(149,213,178,0.28));
  animation-name: ecoFloatLeafB;
}

.eco-leaf-c {
  width: calc(28px * var(--scale, 1));
  height: calc(38px * var(--scale, 1));
  color: rgba(45, 106, 79, 0.50);
  filter: drop-shadow(0 3px 10px rgba(45,106,79,0.35));
  animation-name: ecoFloatLeafA;
  animation-direction: alternate-reverse;
}

/* Drop variants */
.eco-drop-a {
  width: calc(18px * var(--scale, 1));
  height: calc(24px * var(--scale, 1));
  color: rgba(100, 200, 220, 0.40);
  filter: drop-shadow(0 2px 8px rgba(100,200,220,0.35));
  animation-name: ecoFloatDrop;
}

.eco-drop-b {
  width: calc(18px * var(--scale, 1));
  height: calc(24px * var(--scale, 1));
  color: rgba(82, 183, 200, 0.35);
  filter: drop-shadow(0 2px 6px rgba(82,183,200,0.25));
  animation-name: ecoFloatLeafB;
}

/* Sparkles */
.eco-sparkle {
  width: calc(14px * var(--scale, 1));
  height: calc(14px * var(--scale, 1));
  color: rgba(200, 167, 78, 0.55);
  filter: drop-shadow(0 0 6px rgba(200,167,78,0.55));
  animation-name: ecoSparkle;
}

@keyframes ecoFloatLeafA {
  0%   { opacity: 0;    transform: translate(0px,  10px) rotate(-15deg) scale(0.85); }
  10%  { opacity: 1; }
  40%  { opacity: 0.9;  transform: translate(18px, -30px) rotate(12deg)  scale(1); }
  70%  { opacity: 0.8;  transform: translate(-10px,-55px) rotate(-8deg)  scale(0.95); }
  90%  { opacity: 0.5;  transform: translate(8px,  -80px) rotate(18deg)  scale(0.90); }
  100% { opacity: 0;    transform: translate(4px,  -110px) rotate(-5deg) scale(0.80); }
}

@keyframes ecoFloatLeafB {
  0%   { opacity: 0;    transform: translate(0px,   8px) rotate(10deg)  scale(0.80); }
  10%  { opacity: 0.85; }
  35%  { opacity: 0.90; transform: translate(-22px,-25px) rotate(-14deg) scale(1.05); }
  65%  { opacity: 0.75; transform: translate(12px, -50px) rotate(20deg)  scale(0.98); }
  90%  { opacity: 0.40; transform: translate(-6px, -75px) rotate(-10deg) scale(0.88); }
  100% { opacity: 0;    transform: translate(0px,  -100px) rotate(5deg)  scale(0.78); }
}

@keyframes ecoFloatDrop {
  0%   { opacity: 0;    transform: translateY(0px)   scale(0.9); }
  15%  { opacity: 0.80; }
  50%  { opacity: 0.70; transform: translateY(-30px) scale(1.05); }
  85%  { opacity: 0.35; transform: translateY(-65px) scale(0.88); }
  100% { opacity: 0;    transform: translateY(-90px) scale(0.80); }
}

@keyframes ecoSparkle {
  0%   { opacity: 0;    transform: scale(0)    rotate(0deg); }
  20%  { opacity: 1;    transform: scale(1.15) rotate(45deg); }
  50%  { opacity: 0.85; transform: scale(0.90) rotate(90deg); }
  80%  { opacity: 0.60; transform: scale(1.05) rotate(135deg); }
  100% { opacity: 0;    transform: scale(0.6)  rotate(180deg); }
}

/* -- PAGE WRAPPER ------------------------------------------- */
.page-wrapper {
  position: relative;
  z-index: 3;
  height: 100vh;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.75rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

/* -- REVEAL ANIMATIONS -------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: revealUp 0.9s var(--ease) forwards;
  animation-delay: var(--delay, 0s);
}

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

@keyframes logoFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-7px) rotate(-5deg); }
  66%       { transform: translateY(-3px) rotate(4deg); }
}

@keyframes logoGlow {
  0%, 100% { filter: drop-shadow(0 2px 10px rgba(149,213,178,0.35)); }
  50%       { filter: drop-shadow(0 4px 26px rgba(149,213,178,0.82)); }
}

/* -- HEADER ------------------------------------------------- */
.site-header {
  width: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-lockup {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-icon {
  width: 44px;
  height: 44px;
  color: var(--clr-accent);
  flex-shrink: 0;
  animation: logoFloat 6s ease-in-out infinite,
             logoGlow  3s ease-in-out infinite;
  transition: transform 0.5s var(--ease);
}
.logo-icon:hover {
  animation-play-state: paused;
  transform: rotate(-8deg) scale(1.12);
  filter: drop-shadow(0 4px 28px rgba(149,213,178,0.90));
}
.logo-icon svg { width: 100%; height: 100%; }

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--clr-white);
  letter-spacing: 0.01em;
  line-height: 1.1;
  text-shadow: 0 2px 14px rgba(0,0,0,0.5);
}

.brand-tagline {
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--clr-accent);
  opacity: 0.85;
}

.header-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-gold);
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(200,167,78,0.35);
  border-radius: 999px;
  background: rgba(200,167,78,0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  flex-shrink: 0;
}

.header-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-gold);
  animation: pulse 2.4s ease-in-out infinite;
}

/* -- HERO --------------------------------------------------- */
.hero {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.05rem;
  padding: 0.5rem 0;
}

/* Status badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 1.1rem;
  background: var(--clr-white-06);
  border: 1px solid var(--clr-white-18);
  border-radius: 999px;
  font-size: 0.70rem;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--clr-white-65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clr-primary-lt);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(82,183,136,0.70); }
  55%       { box-shadow: 0 0 0 8px rgba(82,183,136,0); }
}

/* Headline */
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7.5vw, 5.2rem);
  font-weight: 700;
  line-height: 1.10;
  color: var(--clr-white);
  letter-spacing: -0.015em;
  text-shadow: 0 4px 30px rgba(0,0,0,0.45);
  animation: headlineGlow 6s ease-in-out infinite;
}

@keyframes headlineGlow {
  0%, 100% { text-shadow: 0 4px 30px rgba(0,0,0,0.45); }
  50%       { text-shadow: 0 4px 30px rgba(0,0,0,0.45), 0 0 70px rgba(149,213,178,0.12); }
}

.hero-headline em {
  font-style: italic;
  font-weight: 800;
  background: linear-gradient(
    90deg,
    var(--clr-primary-lt)  0%,
    var(--clr-accent)       25%,
    #d4f5e5                50%,
    var(--clr-accent)       75%,
    var(--clr-primary-lt)  100%
  );
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 4s linear infinite;
}

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

/* Description */
.hero-description {
  max-width: 480px;
  font-size: 0.93rem;
  font-weight: 300;
  line-height: 1.70;
  color: var(--clr-white-65);
  letter-spacing: 0.01em;
}
.br-desktop { display: block; }

/* -- COUNTDOWN ---------------------------------------------- */
.countdown-wrapper { width: 100%; }

.countdown-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.countdown-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--glass-shadow),
              0 1px 0 rgba(255,255,255,0.10) inset;
  padding: 1rem 1.4rem;
  min-width: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: transform 0.30s var(--ease),
              box-shadow 0.30s var(--ease),
              border-color 0.30s;
  /* Staggered entrance — delay set per-card via JS */
  animation: cardEntrance 0.72s var(--ease) both;
  animation-delay: calc(0.60s + var(--card-delay, 0s));
}

/* Top accent line */
.countdown-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent));
  opacity: 0.8;
}

/* Bottom shimmer line */
.countdown-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(149,213,178,0.3), transparent);
}

.countdown-card:hover {
  box-shadow: 0 18px 44px rgba(0,0,0,0.46);
  border-color: rgba(149,213,178,0.38);
  /* transform is handled by JS tilt */
}

.countdown-card.done {
  border-color: var(--clr-primary-lt);
  box-shadow: 0 0 0 3px rgba(82,183,136,0.18), var(--glass-shadow);
}

.cd-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.1rem);
  font-weight: 700;
  color: var(--clr-white);
  line-height: 1;
  letter-spacing: -0.03em;
}

.cd-number.flip {
  animation: numFlip 0.38s var(--ease);
}

@keyframes numFlip {
  0%   { transform: scale(1)    translateY(0);    opacity: 1; }
  30%  { transform: scale(0.82) translateY(-6px); opacity: 0.45; }
  65%  { transform: scale(1.06) translateY(2px);  opacity: 1; }
  100% { transform: scale(1)    translateY(0);    opacity: 1; }
}

@keyframes cardEntrance {
  from { opacity: 0; transform: translateY(22px) scale(0.90); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

/* Click ripple inside countdown cards */
.ripple {
  position: absolute;
  border-radius: 50%;
  width: 110px;
  height: 110px;
  margin-left: -55px;
  margin-top: -55px;
  pointer-events: none;
  background: rgba(149, 213, 178, 0.22);
  transform: scale(0);
  animation: rippleAnim 0.70s linear forwards;
}

@keyframes rippleAnim {
  to { transform: scale(4.5); opacity: 0; }
}

.cd-label {
  font-size: 0.60rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clr-white-40);
}

.cd-sep {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--clr-white-18);
  margin-bottom: 1.3rem;
  align-self: flex-start;
  user-select: none;
}

.countdown-note {
  text-align: center;
  margin-top: 0.7rem;
  font-size: 0.73rem;
  font-weight: 300;
  color: var(--clr-white-40);
  letter-spacing: 0.04em;
}

/* -- PROGRESS BAR ------------------------------------------- */
.progress-block {
  width: 100%;
  max-width: 500px;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.70rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-white-40);
  margin-bottom: 0.6rem;
}

.progress-pct {
  color: var(--clr-gold);
  font-weight: 600;
}

.progress-track {
  height: 5px;
  background: var(--clr-white-10);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--clr-white-18);
}

.progress-fill {
  height: 100%;
  width: var(--pct, 0%);
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent));
  border-radius: 999px;
  animation: growBar 1.8s 0.8s var(--ease) both;
  position: relative;
  overflow: hidden;
}

/* Shimmer sweep across the progress bar */
.progress-fill::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.42), transparent);
  animation: progressShimmer 2.4s 2.8s ease-in-out infinite;
}

/* Animated glow tip */
.progress-fill::after {
  content: '';
  position: absolute;
  right: 0; top: -2px;
  width: 10px; height: 9px;
  background: radial-gradient(circle, rgba(149,213,178,0.9) 0%, transparent 80%);
  animation: glowTip 1s 2.6s ease-in-out forwards;
  opacity: 0;
}

@keyframes growBar {
  from { width: 0%; }
  to   { width: var(--pct); }
}

@keyframes glowTip {
  0%   { opacity: 0; }
  40%  { opacity: 1; }
  100% { opacity: 0.35; }
}

@keyframes progressShimmer {
  0%   { transform: translateX(-200%); }
  100% { transform: translateX(500%); }
}

/* -- NOTIFY SECTION ----------------------------------------- */
.notify-section {
  width: 100%;
  max-width: 490px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.notify-label {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--clr-white-65);
  letter-spacing: 0.04em;
}

.notify-form {
  display: flex;
  width: 100%;
  gap: 0.5rem;
  background: var(--clr-white-06);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  padding: 0.35rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.notify-form:focus-within {
  border-color: rgba(82,183,136,0.40);
  box-shadow: 0 0 0 4px rgba(82,183,136,0.10);
}

.notify-input-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 0.85rem;
  width: 15px; height: 15px;
  color: rgba(255,255,255,0.32);
  pointer-events: none;
}

.notify-input {
  width: 100%;
  padding: 0.68rem 0.9rem 0.68rem 2.45rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--clr-white);
  background: transparent;
  border: none;
  outline: none;
  letter-spacing: 0.01em;
}

.notify-input::placeholder { color: rgba(255,255,255,0.30); }

.notify-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.68rem 1.3rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #0a1a0f;
  background: linear-gradient(135deg, var(--clr-primary-lt), var(--clr-accent));
  border: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.22s,
              transform 0.22s var(--ease),
              box-shadow 0.22s;
  box-shadow: 0 4px 20px rgba(82,183,136,0.40);
  position: relative;
  overflow: hidden;
}

/* Shimmer on button */
.notify-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -70%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s;
}
.notify-btn:hover::before { left: 130%; }

.notify-btn:hover:not(:disabled) {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(82,183,136,0.52);
}
.notify-btn:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 12px rgba(82,183,136,0.35);
}
.notify-btn:disabled { opacity: 0.50; cursor: not-allowed; }

.btn-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.22s var(--ease);
}
.notify-btn:hover:not(:disabled) .btn-arrow {
  transform: translateX(3px);
}

.notify-msg {
  width: 100%;
  padding: 0.55rem 1rem;
  border-radius: var(--r-sm);
  font-size: 0.82rem;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.01em;
}

.notify-msg--success {
  background: rgba(82,183,136,0.12);
  color: var(--clr-accent);
  border: 1px solid rgba(82,183,136,0.28);
}

.notify-msg--error {
  background: rgba(220,80,80,0.10);
  color: #f08c8c;
  border: 1px solid rgba(220,80,80,0.22);
}

.notify-privacy {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.67rem;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.03em;
}

.lock-icon {
  width: 11px; height: 11px;
  flex-shrink: 0;
}

/* -- FOOTER ------------------------------------------------- */
.site-footer {
  width: 100%;
  text-align: center;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--clr-white-10);
}

/* Social row */
.social-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--clr-white-06);
  border: 1px solid var(--clr-white-18);
  color: var(--clr-white-65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.24s var(--ease),
              border-color 0.24s,
              color 0.24s,
              transform 0.24s var(--ease),
              box-shadow 0.24s;
}

.social-link svg {
  width: 15px; height: 15px;
}

.social-link:hover {
  background: rgba(82,183,136,0.16);
  border-color: rgba(82,183,136,0.40);
  color: var(--clr-accent);
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 6px 18px rgba(82,183,136,0.28);
}

.social-link:focus-visible {
  outline: 2px solid var(--clr-primary-lt);
  outline-offset: 3px;
}

.footer-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--clr-white-18), transparent);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.22rem;
}

.footer-copy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.02em;
}

.footer-dev {
  font-size: 0.70rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.02em;
}

.footer-dev strong {
  color: var(--clr-gold);
  font-weight: 500;
}

/* -- RESPONSIVE --------------------------------------------- */
@media (max-width: 640px) {
  .page-wrapper {
    padding: 1.3rem 1.1rem 1rem;
    gap: 0;
  }

  .hero { gap: 0.8rem; }

  .brand-name  { font-size: 1.1rem; }
  .logo-icon   { width: 38px; height: 38px; }

  .countdown-card {
    min-width: 68px;
    padding: 0.75rem 0.8rem;
  }
  .cd-sep { font-size: 1.7rem; }

  .notify-form {
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.4rem;
  }
  .notify-btn {
    width: 100%;
    justify-content: center;
    padding: 0.78rem 1rem;
  }
  .notify-input {
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
  }

  .social-link { width: 34px; height: 34px; }
  .social-link svg { width: 14px; height: 14px; }

  .br-desktop { display: none; }
}

@media (max-width: 420px) {
  .countdown-grid { gap: 0.35rem; }
  .countdown-card { min-width: 60px; padding: 0.65rem 0.65rem; }
  .cd-sep         { font-size: 1.45rem; }
  .hero-description { display: none; }
  .countdown-grid .cd-sep:nth-child(8) { display: none; } /* hide last sep on tiny  */
}

/* -- REDUCED MOTION ----------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .progress-fill,
  .countdown-card,
  .eco-item,
  .bg-aurora {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
  }
  .status-dot,
  .header-pill-dot,
  .logo-icon,
  .hero-headline,
  .hero-headline em,
  .progress-fill::before { animation: none !important; }
  body::after { display: none; }
  .eco-layer  { display: none; }
  .bg-aurora  { display: none; }
  .bg-image { transform: none !important; transition: none !important; }
  #cursor-dot, #cursor-ring { display: none !important; }
}

/* Hide cursor elements on touch devices */
@media (pointer: coarse) {
  #cursor-dot, #cursor-ring { display: none !important; }
}
