/* ---------- SYSTEM FIXES ---------- */
html, body {
  height: 100%;
}

/* ---------- ГЛАВНЫЙ ФОН ---------- */
.home-bg {
  background: linear-gradient(135deg, #32222e 10%, #610b50 50%, #590202 100%);
  background-size: 300% 300%;
  animation: homeGradientShift 16s ease infinite;
}

@keyframes homeGradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ---------- BODY ---------- */
body {
  margin: 0;
  font-family: "Tahoma", sans-serif;
  color: #ffffff;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  padding: 3rem;
}

/* ---------- LOGIN BUTTON ---------- */
.global-login-btn {
  position: fixed !important;
  top: 20px !important;
  right: 20px !important;

  background: #f9e912cc;
  color: #d43a6b;
  padding: 14px 30px;
  border-radius: 36px;

  font-weight: bold;
  text-decoration: none;
  font-size: 1.15rem;

  backdrop-filter: blur(5px);
  z-index: 9999;

  display: flex;
  align-items: center;
  gap: 10px;

  transition: 0.25s ease;
  animation: colorShift 2.5s infinite;
}

.global-login-btn::after {
  content: "→";
  font-size: 1.2rem;
  transition: 0.3s ease;
}

.global-login-btn:hover::after {
  transform: translateX(5px);
}

.global-login-btn:hover {
  background: #ffffff;
  color: #a30558;
}

/* Glow animation */
@keyframes colorShift {
  0%   { box-shadow: 0 0 20px #ff3b3b; }
  33%  { box-shadow: 0 0 20px #ff00ff; }
  66%  { box-shadow: 0 0 20px #00aaff; }
  100% { box-shadow: 0 0 20px #ff3b3b; }
}

/* ---------- MAIN CONTENT ---------- */
.wrap {
  max-width: 650px;
  text-align: center;
  margin: 0 auto;
  flex: 1;
}

.wrapdp {
  max-width: 650px;
  text-align: center;
  margin: 0 auto;
  flex: 1;
  color: #ffffff;
}

.flex {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

/* ---------- LOGO ---------- */
.logo {
  font-size: 4rem;
  white-space: nowrap;
  color: #ff5dbb;
  margin-bottom: 1rem;
}

/* ---------- TEXT ---------- */
.text {
  font-size: 1.1rem;
  margin-bottom: 1.3rem;
  line-height: 1.5;
}

/* ---------- BUTTON ---------- */
.button {
  background: #d43a6b;
  color: white;
  padding: 0.9rem 2.4rem;
  font-weight: bold;
  border: none;
  border-radius: 34px;
  font-size: 1.05rem;
  cursor: pointer;
  transition: 0.2s;
}

.button:hover {
  opacity: 0.85;
}

/* ---------- FOOTER ---------- */
.footer-links {
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
  opacity: 0.85;
}

.footer-links a {
  color: #ff4d6d;
  margin: 0 0.4rem;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* ---------- SEO SIDE BOX ---------- */
.seo-side-box {
  position: fixed;
  top: 30%;
  width: 240px;
  padding: 18px;
  
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  color: #fff;

  font-size: 0.9rem;
  line-height: 1.35rem;

  transition: 0.3s ease;
  z-index: 900;
}

.seo-side-box a {
  text-decoration: none;
  color: inherit;
}

.left-seo {
  left: 20px;
}

.right-seo {
  right: 20px;
}

.seo-side-box:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-5px);
}

.seo-side-box h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: #ffe5f7;
}

/* ---------- AGE CHECK ---------- */
#age-check-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.age-check-box {
  background: #1a1a1a;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  max-width: 350px;
  width: 90%;
  color: #fff;
  border: 2px solid #a3046b;
}

.age-check-box h2 {
  color: #ff5dbb;
}

.age-buttons button {
  padding: 12px 22px;
  margin: 10px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

#enter-site {
  background: #a3046b;
  color: #fff;
}

#leave-site {
  background: #444;
  color: #fff;
}

/* ---------- PAGE BACKGROUNDS ---------- */
.privacy-bg,
.terms-bg,
.safety-bg,
.datingportal-bg {
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  background-attachment: scroll;
  background-color: #000;
}

.privacy-bg { background-image: url("privacy.png"); }
.terms-bg { background-image: url("terms.png"); }
.safety-bg { background-image: url("safety.png"); }
.datingportal-bg { background-image: url("datingportal.png"); }

/* ---------- MOBILE ---------- */
@media (max-width: 768px) {

  body {
    padding: 1.2rem;
  }

  .wrap {
    max-width: 100%;
  }

  .logo {
    font-size: 2.6rem;
    white-space: normal;
    line-height: 1.1;
  }

  .text {
    font-size: 1rem;
  }

  .button {
    width: 100%;
    padding: 1rem;
    font-size: 1.05rem;
  }

  .flex {
    flex-direction: column;
    gap: 1.4rem;
  }

  .global-login-btn {
    top: 12px !important;
    right: 12px !important;
    padding: 10px 18px;
    font-size: 0.95rem;
    border-radius: 22px;
  }

  .seo-side-box {
    display: none !important;
  }

  .age-check-box {
    padding: 20px;
    max-width: 90%;
  }

  .age-buttons button {
    width: 100%;
    margin: 6px 0;
  }

  .footer-links {
    font-size: 0.8rem;
    margin-top: 1rem;
  }
}
