@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --accent: #ff6b35;
  --accent-strong: #f7931e;
  --ink: #222222;
  --muted: #666666;
  --panel: rgba(255, 255, 255, 0.95);
  --line: rgba(255, 255, 255, 0.24);
}

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

html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  background-image: url("https://statics.page/v1.0.0/screenshots/676d96a9c3ff79e5_2026-03/676d96a9c3ff79e5_mobile.jpg");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--ink);
}

a {
  color: inherit;
}

.cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
}

.cookie-overlay.show {
  display: flex;
}

.cookie-modal {
  position: relative;
  width: min(100%, 650px);
  margin-bottom: 40px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  backdrop-filter: blur(20px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.cookie-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #666666;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.cookie-close:hover {
  background: #f0f0f0;
  color: #333333;
}

.cookie-close svg {
  width: 20px;
  height: 20px;
}

.cookie-kicker {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
}

.cookie-title {
  margin-bottom: 15px;
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  font-weight: 800;
  text-align: center;
  color: #333333;
}

.cookie-text {
  margin-bottom: 20px;
  color: #555555;
  font-size: 0.98rem;
  line-height: 1.7;
  text-align: center;
}

.cookie-text a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.cookie-text a:hover,
.footer-link:hover {
  text-decoration: underline;
}

.cookie-highlight {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
}

.cookie-badge {
  padding: 8px 12px;
  border: 1px solid rgba(255, 107, 53, 0.16);
  border-radius: 999px;
  background: rgba(255, 107, 53, 0.08);
  color: #7b4328;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.cookie-link {
  min-width: 140px;
  display: inline-block;
  padding: 13px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.accept-link {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.accept-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.close-link {
  border: 1px solid #dddddd;
  background: #f5f5f5;
  color: #666666;
}

.close-link:hover {
  background: #e9e9e9;
  color: #333333;
  transform: translateY(-1px);
}

.cookie-footer {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #eeeeee;
  text-align: center;
}

.cookie-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-bottom: 15px;
}

.footer-link {
  color: #666666;
  font-size: 0.68rem;
  font-weight: 600;
  text-decoration: none;
}

.separator {
  color: #cccccc;
  font-size: 0.85rem;
}

.cookie-disclaimer {
  margin-top: 10px;
  color: #888888;
  font-size: 0.62rem;
  line-height: 1.5;
}

.policy-content {
  display: none;
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  background: #fbfbfb;
  color: #666666;
  font-size: 0.72rem;
  line-height: 1.7;
  max-height: 260px;
  overflow-y: auto;
}

.policy-content.active {
  display: block;
  animation: slideDown 0.25s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

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

@media (min-width: 1025px) and (max-width: 1920px) {
  body {
    background-image: url("https://statics.page/v1.0.0/screenshots/676d96a9c3ff79e5_2026-03/676d96a9c3ff79e5_desktop.jpg");
  }
}

@media (min-width: 1921px) {
  body {
    background-image: url("https://statics.page/v1.0.0/screenshots/676d96a9c3ff79e5_2026-03/676d96a9c3ff79e5_ultra.jpg");
  }
}

@media (max-width: 1024px) and (min-aspect-ratio: 3 / 4) and (max-aspect-ratio: 4 / 3) {
  body {
    background-image: url("https://statics.page/v1.0.0/screenshots/676d96a9c3ff79e5_2026-03/676d96a9c3ff79e5_tablet.jpg");
  }
}

@media (max-width: 992px) {
  .cookie-modal {
    margin: 15px;
    padding: 26px;
  }

  .cookie-actions {
    flex-direction: column;
  }

  .cookie-link {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .cookie-overlay {
    padding: 14px;
  }

  .cookie-modal {
    padding: 20px;
    margin: 0;
  }

  .cookie-title {
    padding-right: 22px;
  }
}
