/* Scrollbar Styles */
body::-webkit-scrollbar {
  width: 12px;
}

body::-webkit-scrollbar-track {
  background: var(--background-color);
}

body::-webkit-scrollbar-thumb {
  background-color: var(--main-color);
  border-radius: 6px;
  border: 3px solid var(--background-color);
}

body::-webkit-scrollbar-thumb:hover {
  background-color: #03788c;
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--main-color) var(--background-color);
}

*::-webkit-scrollbar {
  width: 12px;
}

*::-webkit-scrollbar-track {
  background: var(--background-color);
}

*::-webkit-scrollbar-thumb {
  background-color: var(--main-color);
  border-radius: 6px;
  border: 3px solid var(--background-color);
}

*::-webkit-scrollbar-thumb:hover {
  background-color: #03788c;
}

/* Added flexbox layout to keep footer at bottom */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* Added frosted glass design to header container */
header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 1rem 2rem;
  margin-top: 3rem;
  position: relative;
}

.console-container {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 3rem 4rem;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1),
    inset 1px 0 0 rgba(255, 255, 255, 0.15),
    inset -1px 0 0 rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
  max-width: 800px;
  width: 100%;
}

.console-container:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15),
    inset 1px 0 0 rgba(255, 255, 255, 0.2),
    inset -1px 0 0 rgba(255, 255, 255, 0.2);
}

/* Enhanced title with cyan gradient for better visibility */
.RefundTitle,
.PrivacyTitle,
.CookieTitle,
.AgreementTitle {
  text-align: center;
  margin: 0;
  font-size: 2.7em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #00bcd4 0%, #ffffff 50%, #00bcd4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
  font-weight: 700;
  text-shadow: 0 0 20px rgba(0, 188, 212, 0.4);
}

/* Enhanced content box with accent colors and better contrast */
.policy-content {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 3rem;
  margin: 2rem auto;
  max-width: 900px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1),
    inset 1px 0 0 rgba(255, 255, 255, 0.15),
    inset -1px 0 0 rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.policy-content:hover {
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15),
    inset 1px 0 0 rgba(255, 255, 255, 0.2),
    inset -1px 0 0 rgba(255, 255, 255, 0.2);
}

/* Enhanced headings with cyan accent color */
.policy-content h2 {
  font-size: 2em;
  margin-bottom: 1.5rem;
  margin-top: 0;
  text-transform: uppercase;
  color: #00bcd4;
  letter-spacing: 1.5px;
  font-weight: 700;
  text-shadow: 0 0 15px rgba(0, 188, 212, 0.4);
}

.policy-content h3 {
  font-size: 1.5em;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  color: rgba(0, 188, 212, 0.9);
  letter-spacing: 1px;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(0, 188, 212, 0.3);
}

/* Improved text contrast for better readability */
.policy-content p {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.95);
  text-align: justify;
}

/* Responsive Design */
@media (max-width: 768px) {
  .console-container {
    padding: 2rem 2rem;
    border-radius: 20px;
  }

  .RefundTitle,
  .PrivacyTitle,
  .CookieTitle {
    font-size: 2em;
  }

  .policy-content {
    padding: 2rem;
    margin: 1.5rem 1rem;
    border-radius: 20px;
  }

  .policy-content h2 {
    font-size: 1.6em;
  }

  .policy-content h3 {
    font-size: 1.3em;
  }

  .policy-content p {
    font-size: 1em;
  }

  header {
    padding: 3rem 1rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .console-container {
    padding: 1.5rem 1.5rem;
  }

  .RefundTitle,
  .PrivacyTitle,
  .CookieTitle {
    font-size: 1.6em;
    letter-spacing: 1px;
  }

  .policy-content {
    padding: 1.5rem;
  }
}
