/* ═══════════════════════════════════════════════════
   FateSpy.com — Glassmorphism Design System 2026
   Ultra-Modern Cosmic Glass Theme
   ═══════════════════════════════════════════════════ */

/* ───── Custom Properties ───── */
:root {
  /* Backgrounds */
  --bg-deep: #05050f;
  --bg-primary: #08081a;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --bg-glass: rgba(255, 255, 255, 0.06);
  --bg-glass-strong: rgba(255, 255, 255, 0.1);

  /* Accent Palette — Vibrant Cosmic */
  --accent-gold: #e8b94f;
  --accent-gold-l: #ffd97a;
  --accent-purple: #a855f7;
  --accent-purple-l: #c084fc;
  --accent-blue: #60a5fa;
  --accent-pink: #f472b6;
  --accent-teal: #2dd4bf;
  --accent-indigo: #818cf8;
  --accent-rose: #fb7185;

  /* Text */
  --text-primary: #f8f7ff;
  --text-secondary: rgba(248, 247, 255, 0.6);
  --text-muted: rgba(248, 247, 255, 0.35);

  /* Gradients */
  --grad-hero: linear-gradient(160deg, #08081a 0%, #0f0a2e 35%, #150d38 60%, #0a0f28 100%);
  --grad-card: linear-gradient(135deg, rgba(168, 85, 247, 0.12) 0%, rgba(96, 165, 250, 0.06) 100%);
  --grad-gold: linear-gradient(135deg, #e8b94f 0%, #ffd97a 50%, #e8b94f 100%);
  --grad-purple: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  --grad-cosmic: linear-gradient(135deg, #a855f7 0%, #6366f1 50%, #60a5fa 100%);
  --grad-aurora: linear-gradient(135deg, #a855f7, #f472b6, #fb923c, #a855f7);
  --grad-glow: radial-gradient(ellipse at 50% 0%, rgba(168, 85, 247, 0.18) 0%, transparent 55%);

  /* Glass Borders */
  --border-glass: 1px solid rgba(255, 255, 255, 0.08);
  --border-glass-strong: 1px solid rgba(255, 255, 255, 0.14);
  --border-glow: 1px solid rgba(168, 85, 247, 0.3);

  /* Shadows */
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --shadow-glow: 0 0 50px rgba(168, 85, 247, 0.15), 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-gold: 0 0 30px rgba(232, 185, 79, 0.25);
  --shadow-card-hover: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(168, 85, 247, 0.1);

  /* Layout */
  --container-max: 1200px;
  --header-h: 72px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 100px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition: 0.35s var(--ease-out);
  --transition-fast: 0.2s var(--ease-out);
}

/* ───── Reset & Base ───── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Animated cosmic background mesh */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(99, 102, 241, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(96, 165, 250, 0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ───── Buttons — Modern Glassmorphism Style ───── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Shimmer effect on buttons */
.btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
  transition: transform 0.6s;
  transform: translateX(-100%);
  pointer-events: none;
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.btn-md {
  padding: 16px 36px;
  font-size: 0.95rem;
}

.btn-lg {
  padding: 20px 48px;
  font-size: 1.05rem;
  letter-spacing: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.4), rgba(100, 50, 200, 0.4));
  color: #fff;
  box-shadow: 0 8px 32px rgba(168, 85, 247, 0.25), inset 0 1px 0 rgba(255,255,255,0.2);
  border: 1px solid rgba(168, 85, 247, 0.5);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.5), rgba(100, 50, 200, 0.5));
  box-shadow: 0 16px 48px rgba(168, 85, 247, 0.4), inset 0 1px 0 rgba(255,255,255,0.3);
  border-color: rgba(168, 85, 247, 0.8);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  color: #fff;
}

.btn-accent {
  background: rgba(232, 185, 79, 0.2);
  color: var(--accent-gold);
  border: 1px solid rgba(232, 185, 79, 0.4);
  box-shadow: 0 8px 32px rgba(232, 185, 79, 0.15);
}

.btn-accent:hover {
  background: rgba(232, 185, 79, 0.3);
  border-color: rgba(232, 185, 79, 0.8);
  box-shadow: 0 16px 48px rgba(232, 185, 79, 0.3);
  transform: translateY(-4px) scale(1.02);
  color: #fff;
}

.btn-outline {
  background: rgba(168, 85, 247, 0.05);
  color: var(--accent-purple-l);
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.btn-outline:hover {
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.2);
  color: #fff;
}

.btn-icon {
  font-size: 1.25em;
}

/* ───── Input Fields ───── */
.compat-form {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.input-field {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: all var(--transition);
  backdrop-filter: blur(10px);
}

select.input-field {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c084fc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
  padding-right: 2.5rem;
}

select.input-field option {
  background: #12122e;
  color: #fff;
}

.input-field:focus {
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15), 0 0 20px rgba(168, 85, 247, 0.1);
}


/* ═══════════════════════════════════════════════════
   HEADER — Frosted Glass Navigation
   ═══════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 16px 0;
  z-index: 1000;
  transition: all var(--transition);
}

.site-header.scrolled {
  padding: 10px 0;
  background: rgba(8, 8, 26, 0.7);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cinzel', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 10px;
}

.logo-dot {
  background: var(--grad-cosmic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.main-nav {
  display: flex;
  gap: 4px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-pill);
  transition: all var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(168, 85, 247, 0.1);
}

.nav-link.active {
  color: var(--text-primary);
  background: rgba(168, 85, 247, 0.15);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lang-dropdown-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 6px;
  transition: color var(--transition);
}

.lang-toggle:hover {
  color: var(--text-primary);
}

.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: rgba(12, 12, 36, 0.9);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border: var(--border-glass-strong);
  border-radius: var(--radius-sm);
  padding: 8px 0;
  min-width: 130px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.lang-menu.show {
  display: flex;
  flex-direction: column;
}

.lang-menu button {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 10px 16px;
  text-align: left;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
  border-radius: var(--radius-sm);
  margin: 2px 6px;
}

.lang-menu button:hover {
  background: rgba(168, 85, 247, 0.15);
  color: var(--text-primary);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ═══════════════════════════════════════════════════
   HERO — Cosmic Glass Hero
   ═══════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 48px) 24px 56px;
  background: var(--grad-hero);
  overflow: hidden;
}

/* Animated aurora blobs */
.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
  top: -20%;
  left: -10%;
  animation: float-blob 20s ease-in-out infinite;
  pointer-events: none;
}

@keyframes float-blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(80px, 40px) scale(1.1); }
  66% { transform: translate(-40px, 80px) scale(0.95); }
}

#starfield {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 160px;
  background: linear-gradient(to top, var(--bg-deep), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 32px;
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-purple-l) 60%, var(--accent-gold-l) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  font-weight: 300;
  -webkit-text-fill-color: var(--text-secondary);
  display: block;
  margin-top: 12px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════
   DAILY WIDGETS — Glass Cards
   ═══════════════════════════════════════════════════ */
.daily-widgets {
  padding: 0 0 60px 0;
  position: relative;
  z-index: 2;
}

.minimal-select {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  background: transparent;
  border: none;
  padding: 0 20px 0 0;
  margin: 4px 0 8px 0;
  width: auto;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c084fc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 0.8em;
  display: inline-block;
}

.minimal-select option {
  background: #12122e;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
}

.minimal-select:focus {
  outline: none;
}

.inline-selectors {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.inline-selectors .input-field {
  flex: 1 1 30%;
  padding: 8px;
  min-width: 60px;
}

.widgets-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (min-width: 900px) {
  .widgets-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.widget-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.04);
  border: var(--border-glass);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  transition: all var(--transition);
  box-shadow: var(--shadow-glass);
}

.widget-card:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.2);
}

#widget-horoscope {
  padding: 24px 28px;
  border-color: rgba(232, 185, 79, 0.2);
  background: linear-gradient(135deg, rgba(232, 185, 79, 0.06), rgba(255, 255, 255, 0.03));
}

#widget-horoscope .widget-icon {
  width: 64px;
  height: 64px;
  font-size: 2.5rem;
  background: var(--grad-gold);
  color: #0c0e24;
}

#widget-horoscope .widget-body {
  flex: 1;
}

#widget-horoscope .widget-text {
  font-size: 0.85rem;
}

#widget-horoscope .minimal-select {
  font-size: 1.25rem;
}

.widget-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-card);
  border-radius: var(--radius-md);
  border: var(--border-glass);
}

.widget-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-purple-l);
}

.widget-title {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin: 4px 0;
}

.widget-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.widget-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-gold);
  margin-top: 4px;
  display: inline-block;
  transition: all var(--transition);
}

.widget-link:hover {
  color: var(--accent-gold-l);
  transform: translateX(4px);
}

/* Tarot Widget — Flip Card */
.widget-tarot {
  cursor: pointer;
}

.tarot-card-container {
  width: 64px;
  height: 90px;
  perspective: 600px;
  flex-shrink: 0;
}

.tarot-card {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.widget-tarot.flipped .tarot-card {
  transform: rotateY(180deg) scale(1.5) translateY(-20px);
  z-index: 100;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 30px rgba(232, 185, 79, 0.4);
}

.tarot-front,
.tarot-back {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  backface-visibility: hidden;
}

.tarot-front {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(99, 102, 241, 0.2));
  border: 1px solid rgba(168, 85, 247, 0.3);
  backdrop-filter: blur(10px);
}

.tarot-symbol {
  font-size: 2rem;
}

.tarot-back {
  background: var(--grad-gold);
  transform: rotateY(180deg);
}

.tarot-reveal {
  font-size: 1.8rem;
}

.tarot-name {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  font-weight: 700;
  color: #1a0c3e;
  margin-top: 2px;
}

.tarot-hint {
  font-style: italic;
  font-size: 0.82rem !important;
}

/* ═══════════════════ SERVICES / BENTO — Glassmorphism Cards ═══════════════════ */
.services {
  padding: 60px 0 100px 0;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-purple-l));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--grad-cosmic);
  margin: 12px auto 0;
  border-radius: 3px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(320px, auto);
  gap: 24px;
}

.bento-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Card sizes */
.bento-large {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-medium {
  grid-column: span 2;
}

.bento-small {
  grid-column: span 1;
}

.bento-large img {
  height: 280px;
}

/* Bento Card — Glassmorphism */
.bento-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: var(--border-glass);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  cursor: pointer;
  box-shadow: var(--shadow-glass);
}

.bento-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(168, 85, 247, 0.25);
  background: rgba(255, 255, 255, 0.06);
}

/* Subtle inner glow on hover */
.bento-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(ellipse at 50% 0%, rgba(168, 85, 247, 0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
  z-index: 1;
}

.bento-card:hover::after {
  opacity: 1;
}

.bento-img-wrap {
  position: relative;
  overflow: hidden;
  flex: 1;
  min-height: 0;
}

.bento-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.bento-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
  pointer-events: none;
}

.bento-card:hover .bento-img-wrap img {
  opacity: 0;
  transform: scale(1.08);
}

.bento-card:hover .bento-video {
  opacity: 1;
}

/* Gradient overlay */
.bento-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 15, 0.95) 0%, rgba(5, 5, 15, 0.3) 40%, transparent 100%);
  pointer-events: none;
}

.bento-card-body {
  padding: 20px 24px;
  position: relative;
  z-index: 2;
}

.bento-large .bento-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.bento-title {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.bento-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

/* Compat Form */
.compat-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 280px;
}

/* Card-specific glass tints */
.card-coffee {
  background: linear-gradient(135deg, rgba(180, 100, 30, 0.06), rgba(255, 255, 255, 0.03));
}

.card-palmistry {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.08), rgba(255, 255, 255, 0.03));
}

.card-compat {
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.06), rgba(255, 255, 255, 0.03));
}

.card-tarot {
  background: linear-gradient(135deg, rgba(232, 185, 79, 0.06), rgba(255, 255, 255, 0.03));
}

.card-aura {
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.06), rgba(255, 255, 255, 0.03));
}

/* ═══════════════════════════════════════════════════
   SOCIAL PROOF — Glass Stats
   ═══════════════════════════════════════════════════ */
.social-proof {
  padding: 48px 0 80px;
  background: var(--grad-glow);
}

.proof-stats {
  display: flex;
  justify-content: center;
  gap: 72px;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--grad-cosmic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════════
   FOOTER — Frosted Glass Footer
   ═══════════════════════════════════════════════════ */
.site-footer {
  padding: 48px 0 32px;
  border-top: var(--border-glass);
  background: rgba(8, 8, 26, 0.5);
  backdrop-filter: blur(10px);
}

.footer-top {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all var(--transition);
  position: relative;
}

.footer-links a:hover {
  color: var(--accent-purple-l);
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-cosmic);
  transition: width var(--transition);
  border-radius: 2px;
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-seo {
  display: flex;
  justify-content: center;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.seo-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-seo a {
  font-size: 0.85rem;
  color: var(--accent-purple-l);
  transition: color var(--transition);
}

.footer-seo a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  text-align: center;
}

.disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 12px;
  line-height: 1.5;
}

.copyright {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════
   SCROLL TO TOP — Glass Button
   ═══════════════════════════════════════════════════ */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-cosmic);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 999;
  box-shadow: 0 4px 24px rgba(168, 85, 247, 0.4);
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 36px rgba(168, 85, 247, 0.6);
}

/* ═══════════════════════════════════════════════════
   MODAL — Glassmorphism Modal
   ═══════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: rgba(16, 16, 40, 0.85);
  backdrop-filter: blur(30px) saturate(1.5);
  -webkit-backdrop-filter: blur(30px) saturate(1.5);
  border: var(--border-glass-strong);
  border-radius: var(--radius-xl);
  padding: 36px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(168, 85, 247, 0.08);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-primary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: rgba(168, 85, 247, 0.3);
  transform: scale(1.1);
}

.modal-title {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  margin-bottom: 16px;
  background: var(--grad-cosmic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */

/* ─── Tablet (960px) ─── */
@media (max-width: 960px) {
  .main-nav {
    display: none;
  }

  .header-actions .lang-toggle {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Mobile nav overlay — frosted glass */
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    top: var(--header-h);
    background: rgba(8, 8, 26, 0.92);
    backdrop-filter: blur(30px) saturate(1.5);
    -webkit-backdrop-filter: blur(30px) saturate(1.5);
    padding: 32px 24px;
    gap: 8px;
    z-index: 999;
    animation: navSlide 0.4s var(--ease-out);
  }

  @keyframes navSlide {
    from {
      opacity: 0;
      transform: translateY(-12px);
    }

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

  .main-nav.open .nav-link {
    font-size: 1.1rem;
    padding: 14px 16px;
    border-radius: var(--radius-md);
  }

  .widgets-row {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  #widget-horoscope-unified {
    grid-template-columns: 1fr !important;
    gap: 24px;
    padding: 24px !important;
  }

  #widget-horoscope-unified>div:nth-child(2) {
    border-left: none !important;
    padding-left: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(160px, auto);
  }

  .card-coffee,
  .card-palmistry {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 280px;
  }

  .card-compat {
    grid-column: span 2;
  }

  .card-tarot,
  .card-numerologie,
  .card-aura,
  .card-vise,
  .card-meditatii,
  .card-cristale {
    grid-column: span 1;
    grid-row: span 1;
  }

  .proof-stats {
    gap: 36px;
  }

  .stat-number {
    font-size: 2rem;
  }
}

/* ─── Mobile (480px) ─── */
@media (max-width: 480px) {
  :root {
    --header-h: 60px;
  }

  .hero {
    min-height: 440px;
    padding: calc(var(--header-h) + 32px) 16px 40px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .daily-widgets {
    padding: 0 0 40px;
  }

  #widget-horoscope-unified {
    padding: 16px !important;
    gap: 20px;
  }

  .container {
    padding: 0 16px;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .card-coffee,
  .card-palmistry,
  .card-compat,
  .card-tarot,
  .card-numerologie,
  .card-aura,
  .card-vise,
  .card-meditatii,
  .card-cristale {
    grid-column: span 1;
    grid-row: span 1;
    min-height: auto;
  }

  .bento-large {
    min-height: 260px !important;
  }

  .bento-large .bento-card-body {
    position: relative;
  }

  .proof-stats {
    flex-direction: column;
    gap: 24px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .footer-links {
    gap: 16px;
  }
}

/* ───── Decorative star in footer corner ───── */
.site-footer .container {
  position: relative;
}

/* ───── Accessibility ───── */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

::selection {
  background: rgba(168, 85, 247, 0.35);
  color: var(--text-primary);
}

/* ═══════════════════ GDPR BANNER — Frosted Glass ═══════════════════ */
.gdpr-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(12, 12, 36, 0.85);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border-top: var(--border-glass-strong);
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10000;
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.4);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out);
}

.gdpr-banner.show {
  transform: translateY(0);
}

.gdpr-banner.hide {
  transform: translateY(100%);
}

.gdpr-banner p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
  max-width: 800px;
}

.gdpr-banner a {
  color: var(--accent-purple-l);
  text-decoration: underline;
}

.gdpr-actions {
  display: flex;
  gap: 10px;
}

@media (max-width: 768px) {
  .gdpr-banner {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
}

/* ═══════════════════ UTILITY ANIMATIONS ═══════════════════ */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(168, 85, 247, 0.2); }
  50% { box-shadow: 0 0 40px rgba(168, 85, 247, 0.4); }
}

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

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}