body {
  margin: 0;
  font-family: 'Rubik', sans-serif;
  background: linear-gradient(120deg, rgba(13, 13, 13, 1) 0%, rgba(26, 0, 26, 1) 100%);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  direction: rtl;
  overflow: hidden;
  position: relative;
}

.background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://royalrp.co.il/images/ROYALRP_BANNER_REAL.png') no-repeat center center/cover;
  filter: blur(30px);
  z-index: -1;
  opacity: 0.6;
}

.container {
  background: rgba(28, 28, 43, 0.85);
  padding: 40px;
  border-radius: 25px;
  box-shadow: 0 20px 50px rgba(178, 102, 255, 0.4);
  width: 100%;
  max-width: 900px;
  border: 3px solid #b266ff;
  animation: fadeIn 1.5s ease-in-out, zoomInText 1s ease-in-out;
  backdrop-filter: blur(20px);
  z-index: 10;
  position: relative;
  overflow-y: auto;
  margin: 10px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes zoomInText {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

.logo {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  animation: bounce 1.5s infinite alternate;
}

.logo img {
  width: 160px;
  height: auto;
  filter: drop-shadow(0 0 20px #b266ff);
  transition: transform 0.4s ease;
}

.logo img:hover {
  transform: scale(1.1);
}

@keyframes bounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

h1 {
  text-align: center;
  color: #d9aaff;
  margin-bottom: 40px;
  font-size: 2.5em;
  text-shadow: 0 0 20px #b266ff;
  letter-spacing: 1px;
  transition: color 0.3s ease;
  animation: zoomInText 1s ease-in-out;
}

h1:hover {
  color: #ff00ff;
}

input,
textarea {
  width: 100%;
  padding: 16px;
  margin-top: 10px;
  border: 2px solid #333;
  border-radius: 12px;
  background: #2a2a3a;
  color: white;
  font-size: 1.1em;
  line-height: 1.6;
  transition: all 0.3s ease;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

input:focus,
textarea:focus {
  border-color: #d9aaff;
  outline: none;
  box-shadow: 0 0 15px rgba(178, 102, 255, 0.8);
  transform: scale(1.02);
  background-color: #333;
}

button {
  margin-top: 30px;
  width: 100%;
  padding: 16px;
  background: linear-gradient(90deg, #b266ff, #9933ff);
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  font-size: 1.2em;
  transition: all 0.3s ease;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

button:hover {
  background: linear-gradient(90deg, #9933ff, #b266ff);
  transform: scale(1.05);
}

.footer {
  text-align: center;
  margin-top: 40px;
  color: #bbb;
  font-size: 0.9em;
  position: absolute;
  bottom: 10px;
  width: 100%;
  animation: fadeInFooter 1.5s ease-in-out;
}

.footer a {
  color: #d9aaff;
  text-decoration: none;
}

.footer a:hover {
  color: #ff00ff;
}

.privacy-notice {
  background: rgba(28, 28, 43, 0.85);
  padding: 30px;
  border-radius: 15px;
  border: 2px solid #b266ff;
  box-shadow: 0 10px 30px rgba(178, 102, 255, 0.4);
  margin-top: 30px;
  text-align: center;
  animation: fadeIn 1.5s ease-in-out;
  margin-bottom: 20px;
  width: 30%;
  min-width: 250px;
  max-width: 400px;
}

.privacy-notice h2 {
  color: #d9aaff;
  font-size: 2.2em;
  margin-bottom: 25px;
  text-shadow: 0 0 15px #b266ff;
  letter-spacing: 1px;
}

.privacy-notice p {
  color: #bbb;
  font-size: 1.2em;
  line-height: 1.8;
  margin-bottom: 25px;
  text-align: left;
}

.privacy-notice a {
  color: #b266ff;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.privacy-notice a:hover {
  color: #ff00ff;
}

.privacy-notice .highlight {
  color: #ff00ff;
  font-weight: bold;
  text-decoration: underline;
}

.privacy-notice .bold {
  font-weight: bold;
}

.privacy-notice .italic {
  font-style: italic;
}

.privacy-notice p span {
  font-weight: bold;
  color: #b266ff;
}

/* ✨ Mobile Responsive Fix ✨ */
@media screen and (max-width: 768px) {
  .container {
    padding: 20px;
    max-height: none;
    margin: 10px;
    border-radius: 20px;
  }

  h1 {
    font-size: 1.8em;
  }

  input,
  textarea,
  button {
    font-size: 1em;
    padding: 14px;
  }

  .privacy-notice {
    width: 90%;
    padding: 20px;
  }

  .privacy-notice h2 {
    font-size: 1.5em;
  }

  .privacy-notice p {
    font-size: 1em;
    text-align: right;
  }

  .footer {
    font-size: 0.8em;
    padding: 0 10px;
    position: static;
    margin-top: 30px;
  }
}


