*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  width: 100%;
  min-height: 100%;
  font-family: 'Open Sans', sans-serif;
  background: #000;
}

/* ── BACKGROUND ── */
.bg-image {
  position: fixed;
  inset: 0;
  background-image: url('bg-desktop.png');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  opacity: 0.5;
  z-index: 0;
}

@media (max-width: 600px) {
  .bg-image {
    background-image: url('bg-mobile.png');
  }
}

.bg-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 15, 40, 0.30);
  z-index: 1;
}

/* ══ COOKIE POPUP ══ */
#cookie-wrapper {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

#cookie-banner {
  background: #fff;
  color: #1e293b;
  border-radius: 20px;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.06);
  padding: 36px 36px 32px;
  max-width: 520px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: popIn 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes popIn {
  from { transform: scale(0.88) translateY(24px); opacity: 0; }
  to   { transform: scale(1)    translateY(0);    opacity: 1; }
}

.cookie-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.cookie-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}

.cookie-text h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.15rem;
  color: #0a1628;
  margin-bottom: 8px;
  line-height: 1.2;
}

.cookie-text p {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.65;
}

.cookie-text a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-divider {
  height: 1px;
  background: #e2e8f0;
  border: none;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-accept {
  flex: 1;
  min-width: 180px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0a1628;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 15px 28px;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.4);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.55);
}

.btn-decline {
  background: transparent;
  color: #94a3b8;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.83rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 99px;
  padding: 15px 22px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.btn-decline:hover {
  background: #f8fafc;
  color: #64748b;
  border-color: #cbd5e1;
}

.cookie-note {
  font-size: 0.72rem;
  color: #94a3b8;
  text-align: center;
  line-height: 1.5;
}

@media (max-width: 500px) {
  #cookie-banner { padding: 28px 22px 24px; }
  .cookie-actions { flex-direction: column; }
  .btn-accept, .btn-decline { width: 100%; text-align: center; }
}
