/* Cookie consent — matches Blockeco landing / age-gate language */

.bec-cookie {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 90000;
  display: none;
  pointer-events: none;
}

.bec-cookie.is-visible {
  display: block;
  pointer-events: auto;
  animation: becCookieIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.bec-cookie[hidden] {
  display: none !important;
}

@keyframes becCookieIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.bec-cookie-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  padding: 18px 20px;
  border-radius: 18px;
  background:
    linear-gradient(165deg, rgba(14, 24, 40, 0.96) 0%, rgba(5, 10, 20, 0.98) 100%);
  border: 1px solid rgba(0, 212, 255, 0.2);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(0, 212, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #fff;
  font-family: "DM Sans", sans-serif;
}

.bec-cookie-copy {
  min-width: 0;
  flex: 1;
}

.bec-cookie-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.bec-cookie-icon {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.22);
  color: #00d4ff;
  flex-shrink: 0;
}

.bec-cookie-desc {
  margin: 0;
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.55;
}

.bec-cookie-desc a {
  color: #00d4ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 212, 255, 0.35);
  transition: color 0.2s, border-color 0.2s;
}

.bec-cookie-desc a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.4);
}

.bec-cookie-actions {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
}

.bec-cookie-btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 18px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 0.86rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.bec-cookie-btn.is-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.bec-cookie-btn.is-ghost:hover {
  background: rgba(0, 212, 255, 0.08);
  border-color: rgba(0, 212, 255, 0.35);
}

.bec-cookie-btn.is-solid {
  background: linear-gradient(135deg, #00d4ff 0%, #1a6fff 100%);
  color: #041018;
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.28);
}

.bec-cookie-btn.is-solid:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 212, 255, 0.36);
}

/* Hide while age gate is locking the page */
body.age-locked .bec-cookie {
  display: none !important;
}

@media (max-width: 720px) {
  .bec-cookie {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
  .bec-cookie-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 14px;
  }
  .bec-cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .bec-cookie-btn {
    padding: 12px 10px;
    text-align: center;
  }
}
