* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

body,
html {
  height: 100%;
  background-color: #0d0d0d;
  color: #ffffff;
}

.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.85)),
    url("/img/bg-step1.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 20px;
  text-align: center;
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 850px;
  padding: 40px 20px;
}

h1 {
  font-size: 36px;
  font-weight: bold;
  color: #ffffff;
  line-height: 1.4;
  margin-bottom: 40px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.cta-btn {
  background-color: #ffffff;
  color: #800080;
  font-size: 18px;
  font-weight: bold;
  padding: 16px 40px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

/* --- ФУТЕР --- */
footer {
  width: 100%;
  max-width: 1000px;
  font-size: 11px;
  color: #a0a0a0;
  line-height: 1.6;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
  margin-bottom: 15px;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 10px;
  font-weight: 500;
}

.footer-links a:hover {
  text-decoration: underline;
}

.divider {
  color: rgba(255, 255, 255, 0.2);
  margin: 10px 0;
  letter-spacing: -1px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 80%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: #1a1a1a;
  color: #e0e0e0;
  margin: 5% auto;
  padding: 30px;
  border: 1px solid #333;
  width: 90%;
  max-width: 650px;
  border-radius: 8px;
  text-align: left;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  overflow-y: scroll;
  overflow-x: hidden;
  max-height: 100%;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-btn:hover {
  color: #fff;
}

.modal h2 {
  color: #fff;
  margin-bottom: 5px;
  font-size: 24px;
}

.modal-subtitle {
  font-size: 12px;
  color: #888;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.modal h3 {
  color: #fff;
  font-size: 14px;
  margin-top: 20px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.modal ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 15px;
}

.modal ul li {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 5px;
  padding-left: 15px;
  position: relative;
}

.modal ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #800080;
}

.modal a {
  color: #cc66cc;
  text-decoration: none;
}
.modal a:hover {
  text-decoration: underline;
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(150%);
  width: 90%;
  max-width: 350px;
  background-color: #ffffff;
  border: 1px solid #3a3a3c;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  z-index: 999;

  transition: transform 0.4s ease-out;
}

.cookie-banner.show {
  transform: translateX(-50%) translateY(0);
}

.cookie-banner .banner-bottom {
  font-size: 14px;
  color: #424242;
  line-height: 1.4;
  margin-block: 15px;
}

.cookie-banner p strong {
  display: block;
  color: #000000;
  font-size: 16px;
}

.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.cookie-btn {
  padding: 10px 20px;
  font-size: 12px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-transform: uppercase;
  transition: background 0.2s;
}

.btn-accept {
  background-color: #ffffff;
  border: 1px solid #3a3a3c;
  color: #000000;
}

.btn-accept:hover {
  background-color: #e5e5ea;
}

.btn-essential {
  background-color: #3a3a3c;
  color: #ffffff;
}

.btn-essential:hover {
  background-color: #48484a;
}

.cookie-footer-links {
  font-size: 12px;
  color: #6d6d6d;
  text-align: center;
}

.cookie-footer-links a {
  color: #6e6e6e;
  text-decoration: none;
}

.cookie-footer-links a:hover {
  color: #414141;
  text-decoration: underline;
}

@media (max-width: 600px) {
  h1 {
    font-size: 26px;
  }
  .cta-btn {
    width: 100%;
    font-size: 16px;
  }
  .cookie-buttons {
    flex-direction: column;
  }
  .modal {
    height: 94%;
  }
}
