@import "tailwindcss";
@import url('https://fonts.googleapis.com/css2?family=Gruppo&display=swap');

:root {
    --color-bg-primary: #6a32de;
    --color-bg-secondary: #fd8a15;
    --color-bg-gradient: #f03b4a;
    --color-text: #ffffff;
    --color-text-accent: #6a32de;

    --bg-gradient: linear-gradient(180deg, var(--color-bg-primary) 20%, var(--color-bg-gradient));

    --font-heading: 'Gruppo', system-ui, sans-serif;
    --font-sans: "Inter", "Helvetica Neue", Arial, sans-serif;

    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
}

[x-cloak] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg-primary);
    color: var(--color-text);
    font-family: var(--font-heading);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

header, nav, #navbar{
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    isolation: isolate;
    z-index: 9999;
}

h1, h2, h3, h4, h5, p, span {
    font-weight: 600;
    line-height: 1.2;
}

button {
    cursor: pointer;
    font-weight: 600;
}

a {
    color: var(--color-accent);
    text-decoration: none;
}

a:hover {
     opacity: 0.85;
}

.product_card {
  position: relative;
  background-color: var(--color-bg-primary);
  height: 500px;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product_card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.product_card_description {
  position: absolute;
  bottom: 0;
  height: 100px;
  width: 100%;
  border-radius: 0 0 0.7rem 0.7rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 1rem;
}

.product_card_type {
  position: absolute;
  top: 1rem;
  left: 1rem;
  height: 50px;
  min-width: 50px;
  background-color: var(--color-bg-secondary);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.75rem;
  border-radius: 5rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.starfield {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.star {
  position: absolute;
  width: 4px;
  height: 4px;
  transform-origin: center center;
}

.star::before,
.star::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background-color: #ffce31;
  border-radius: 9999px;
  transform: translate(-50%, -50%);
}

.star::before {
  width: 100%;
  height: 30%;
}

.star::after {
  width: 30%;
  height: 100%;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.section-header {
  margin-bottom: 2.5rem;
}

/* ========== DROP LIST LAYOUT – 2 SPALTEN, JE DROP MIT 2x2 PRODUKT-GRID ========== */

.drops-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

/* Einzelner Drop als Karte */
.drop-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: rgba(0, 0, 0, 0.12);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

/* Kopfbereich: Logo, Beschreibung, Button */
.drop-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  min-height: 400px;
  justify-content: space-between;
}

.drop-logo {
  width: 140px;
  max-width: 70%;
  height: auto;
}

/* Copy-Styles */
.drop-description {
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.9;
}

.drop-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  margin-top: 0.2rem;
  border-radius: 999px;
  background: var(--color-highlight, #ffd447);
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.drop-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  background: #ffe37a;
}

/* Produkt-Grid (2x2) unter dem Kopfbereich */
.drop-products-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

/* Einzelnes Produktbild */
.drop-product {
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
}

.drop-product img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 220px; /* Desktop: eher große Bilder */
  object-fit: cover;
}

/* Fallback-Text, falls noch keine Produktbilder vorhanden */
.drop-gallery-empty {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  opacity: 0.75;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
}

/* ========== MOBILE: Spalten untereinander, kleinere Bilder ========== */

@media (max-width: 900px) {
  .drops-list {
    grid-template-columns: 1fr;
  }

  .drop-card {
    padding: 1.25rem;
  }

  .drop-logo {
    width: 110px;
  }

  .drop-products-grid {
    gap: 0.6rem;
  }

  .drop-product img {
    max-height: 160px; /* Mobile: etwas kleinere Bilder */
  }

  .drop-header {
    min-height: 220px;
  }
}
