* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #0a0e1a;
  color: white;
  overflow-x: hidden;
  position: relative;
  height: 100vh;
  background-image: url("");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ================= COOKIE OVERLAY ================= */

.cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: flex-end;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
}

.cookie-overlay.show {
  display: flex;
}

.cookie-overlay.hidden {
  display: none;
}

.cookie-modal {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 30px;
  max-width: 650px;
  width: 100%;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 40px;
}

.cookie-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #666;
  cursor: pointer;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.cookie-close:hover {
  background: #f0f0f0;
  color: #333;
}

.cookie-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  text-align: center;
}

.cookie-text {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: center;
}

.cookie-text a {
  color: #ff6b35;
  text-decoration: none;
  font-weight: 600;
}

.cookie-text a:hover {
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.cookie-link {
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  min-width: 100px;
}

.accept-link {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: white;
  border: none;
}

.accept-link:hover {
  background: linear-gradient(135deg, #e55a2b, #e8851a);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.close-link {
  background: #f5f5f5;
  color: #666;
  border: 1px solid #ddd;
}

.close-link:hover {
  background: #e9e9e9;
  color: #333;
  transform: translateY(-1px);
}

.cookie-footer {
  margin-top: 20px;
  text-align: center;
  border-top: 1px solid #eee;
  padding-top: 15px;
}

.cookie-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.footer-link {
  color: #666;
  text-decoration: none;
  font-size: 0.65rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #ff6b35;
  text-decoration: underline;
}

.separator {
  color: #ccc;
  font-size: 0.85rem;
}

.cookie-disclaimer {
  font-size: 0.50rem;
  color: #888;
  line-height: 1.4;
  margin-top: 10px;
}

/* ================= POLICY CONTENT ================= */

.policy-content {
  display: none;
  margin-top: 20px;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #e9ecef;
  max-height: 300px;
  overflow-y: auto;
  font-size: 0.50rem;
  color: #888;
}

.policy-content.active {
  display: block;
  animation: slideDown 0.3s ease-out;
}

.policy-content h4 {
  color: #333;
  margin-bottom: 15px;
  font-size: 1.1rem;
  font-weight: 600;
}

.policy-content p {
  color: #555;
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 12px;
}

.policy-content ul {
  margin: 10px 0;
  padding-left: 20px;
}

.policy-content li {
  color: #555;
  font-size: 0.85rem;
  margin-bottom: 5px;
}

.close-policy {
  background: #ff6b35;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 5px;
  font-size: 0.8rem;
  cursor: pointer;
  margin-top: 15px;
  transition: background 0.3s ease;
}

.close-policy:hover {
  background: #e55a2b;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
  .cookie-modal {
    padding: 25px;
    margin: 15px;
  }

  .cookie-actions {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .cookie-modal {
    padding: 25px;
    margin: 15px;
  }

  .cookie-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .cookie-modal {
    padding: 20px;
  }
}

/* ================= BACKGROUND IMAGES ================= */

body {
  background-image: url("mobile.jpg");
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  min-height: 100vh;
  margin: 0;
}

@media (max-width: 1024px) and (min-aspect-ratio: 3/4) and (max-aspect-ratio: 4/3) {
  body {
    background-image: url("tablet.jpg");
  }
}

@media (min-width: 1025px) and (max-width: 1920px) {
  body {
    background-image: url("desktop.jpg");
  }
}

@media (min-width: 1921px) {
  body {
    background-image: url("ultra.jpg");
  }
}