/* ---------------------------------------------------------
   GLASS PANEL MINIMALISM — RED / YELLOW / BLACK (2026)
   --------------------------------------------------------- */

:root {
  /* Brand colors */
  --black: #000000;
  --red: #F20D0D;
  --yellow: #E5F20D;

  /* Atmosphere */
  --bg-gradient: radial-gradient(circle at 30% 20%, #222, #000000 70%);
  --bg-accent: linear-gradient(140deg, rgba(242,13,13,0.75), rgba(229,242,13,0.75));

  /* Borders */
  --border-color: var(--red);
  --border-size: 4px;

  /* Corner radius */
  --radius: 16px;

  /* Panels */
  --panel: rgba(0, 0, 0, 0.55);

  /* Shadows */
  --shadow-soft: 0 0 22px rgba(0, 0, 0, 0.45);
  --shadow-hover: 0 0 32px rgba(229, 242, 13, 0.18);
  --shadow-strong: 0 0 42px rgba(0, 0, 0, 0.75);

  /* Text */
  --fg: #f2f2f2;
  --fg-soft: rgba(242, 242, 242, 0.75);

  /* Typography */
  --font: 'Inter', sans-serif;
}

/* ---------------------------------------------------------
   GLOBAL
   --------------------------------------------------------- */

body {
  background: url('assets/background.jpg') center center / cover no-repeat fixed;
  color: var(--fg);
  font-family: var(--font);
  min-height: 100vh;
  padding-bottom: 4rem;
  position: relative;
}

/* Soft vignette */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at center,
    rgba(0,0,0,0) 40%,
    rgba(0,0,0,0.45) 100%
  );
}

/* ---------------------------------------------------------
   HEADER — Image-Based Minimal Glass
   --------------------------------------------------------- */

header {
  padding: 1rem 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.header-crop {
  width: 100%;
  max-width: 900px;
  height: 320px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;

  border-radius: var(--radius);
  border: var(--border-size) solid var(--border-color);

  background: rgba(0, 0, 0, 0.40);
  backdrop-filter: blur(28px);

  box-shadow: var(--shadow-strong);
}

.header-img {
  width: 100%;
  max-width: 900px;
  position: absolute;
  top: 60%;
  left: 0;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.header-crop:hover .header-img {
  transform: translateY(-50%) scale(1.02);
}

/* ---------------------------------------------------------
   FOOTER — Floating Glass Panel
   --------------------------------------------------------- */

footer {
  max-width: calc(900px - 2rem);
  margin: 3rem auto;
  padding: 1.5rem 2rem;

  border-radius: var(--radius);
  border: var(--border-size) solid var(--border-color);

  background: rgba(0, 0, 0, 0.40);
  backdrop-filter: blur(28px);

  box-shadow: var(--shadow-strong);
  text-align: center;
}

/* ---------------------------------------------------------
   NAVIGATION
   --------------------------------------------------------- */

nav a {
  color: var(--fg);
  text-decoration: none;
  margin: 0 1rem;
  font-weight: 600;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

nav a:hover {
  color: var(--red);
  text-shadow: 0 0 4px rgba(242, 13, 13, 0.35);
}

/* ---------------------------------------------------------
   PAGE CONTAINER — Floating Glass Panel
   --------------------------------------------------------- */

.page-container {
  max-width: calc(900px - 2rem);
  margin: 2rem auto;
  padding: 2rem;

  border-radius: var(--radius);
  border: var(--border-size) solid var(--border-color);

  background: rgba(0, 0, 0, 0.40);
  backdrop-filter: blur(28px);

  box-shadow: var(--shadow-strong);

  animation: fadeIn 0.6s ease forwards;
  opacity: 0;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* ---------------------------------------------------------
   PRODUCT GRID
   --------------------------------------------------------- */

.product-list {
  display: grid;
  gap: 1.8rem;
  padding: 1.5rem 0;
}

@media (min-width: 700px) {
  .product-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------------------------------------------------------
   PRODUCT CARD — Floating Glass Panel
   --------------------------------------------------------- */

.product-card {
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(26px);

  border-radius: var(--radius);
  border: var(--border-size) solid var(--border-color);

  padding: 1.8rem;
  text-align: center;

  box-shadow: var(--shadow-strong);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

/* ---------------------------------------------------------
   PRODUCT IMAGE — Soft Minimal Glow
   --------------------------------------------------------- */

.product-img {
  width: 100%;
  max-width: 180px;
  margin: 0 auto 1rem;
  display: block;

  filter: drop-shadow(0 0 6px rgba(242, 13, 13, 0.25));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.product-card:hover .product-img {
  transform: scale(1.04);
  filter: drop-shadow(0 0 10px rgba(229, 242, 13, 0.35));
}

/* ---------------------------------------------------------
   TEXT — Clean + Minimal
   --------------------------------------------------------- */

.tagline {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--yellow);
  text-shadow: 0 0 3px rgba(229, 242, 13, 0.25);
}

.desc {
  opacity: 0.85;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* ---------------------------------------------------------
   FLOATING CAPSULE PARTICLES — FALLING + ROTATING + DRIFT
   --------------------------------------------------------- */

.particle-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.particle {
  position: absolute;
  animation: fallDriftRotate linear infinite;
  filter: drop-shadow(0 0 8px rgba(242, 13, 13, 0.25));
  will-change: transform;
}

.particle.small { width: 40px; }
.particle.medium { width: 70px; }
.particle.large { width: 110px; }

@keyframes fallDriftRotate {
  0% {
    transform: translateY(-120vh) translateX(0) rotate(0deg);
    opacity: 0.25;
  }
  25% {
    transform: translateY(-60vh) translateX(20px) rotate(90deg);
    opacity: 1;
  }
  50% {
    transform: translateY(0vh) translateX(0) rotate(180deg);
    opacity: 1;
  }
  75% {
    transform: translateY(60vh) translateX(-20px) rotate(270deg);
    opacity: 1;
  }
  100% {
    transform: translateY(120vh) translateX(0) rotate(360deg);
    opacity: 0.25;
  }
}

@keyframes driftParticle {
  0%   { transform: translateX(0); }
  50%  { transform: translateX(25px); }
  100% { transform: translateX(0); }
}
