/* Always show vertical scrollbar to prevent layout shift */
html {
  overflow-y: scroll;
}

/* General Reset */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: url('images/download.jpg') no-repeat center center;
  background-size: cover;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  background: #111;
  padding: 15px;
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-right-links {
  display: flex;
  gap: 10px;
  margin-left: 15px;
}

.top-right-links a {
  text-decoration: none;
  color: #FFFFFF;
  opacity: 0.9;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 4px;
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.navbar li {
  margin: 0 15px;
}

.navbar a {
  text-decoration: none;
  color: #800080;
  font-weight: bold;
  transition: color 0.2s ease;
}

.navbar a:hover {
  color: #FFFFFF;
}

.navbar a[href*="support"],
.navbar a[href*="questions"],
.navbar a[href*="troubleshooting"],
.navbar a[href*="documentation"],
.navbar a[href*="termsofservice"],
.navbar a[href*="status"] {
  color: #FFFFFF;
  opacity: 0.9;
}

.navbar a.active {
  color: #1E90FF;
  border-bottom: 2px solid #1E90FF;
  padding-bottom: 3px;
}

/* Banner */
.banner {
  background: #0f172a;
  padding: 10px;
  color: #a1a1aa;
  font-size: 14px;
}

/* Hero Section */
.hero {
  padding: 80px 20px;
  flex: 1;
}

.hero h1 {
  font-size: 3em;
  margin-bottom: 10px;
}

.hero .subtitle {
  font-size: 1.2em;
  color: #a1a1aa;
}

/* Features */
.features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 50px 20px;
  gap: 20px;
  flex: 1;
}

.card {
  background: rgba(100, 100, 100, 0.5);
  padding: 20px;
  border-radius: 8px;
  width: 220px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.card h3 {
  margin-bottom: 10px;
}

/* Download Button */
.download-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 15px 30px;
  background-color: #4CAF50;
  color: white;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s, transform 0.2s;
}

.download-btn:hover {
  background-color: #45a049;
  transform: scale(1.05);
}

/* Highlighted text */
.highlight {
  background-color: rgba(255, 255, 255, 0.15);
  color: white;
  padding: 0 4px;
  font-weight: bold;
  letter-spacing: 0.5px;
  display: inline;
  line-height: 1;
  outline: none;
  border: none;
  box-shadow: none;
}

/* Footer */
footer, .footer {
  background: #111;
  color: #999;
  text-align: center;
  padding: 20px;
  margin-top: auto;
}

footer a {
  color: #bbb;
  text-decoration: none;
}

footer a:hover {
  color: #fff;
}

/* RGB animated text */
.rgb-text {
  font-weight: bold;
  background: linear-gradient(90deg, red, orange, yellow, green, blue, indigo, violet);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbow 20s linear infinite;
}

@keyframes rainbow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Troubleshooting and Content Containers */
.troubleshooting, .content {
  flex: 1;
  max-width: 800px;
  margin: 50px auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  text-align: left;
}

.troubleshooting h2, .content h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2em;
  color: #4CAF50;
}

.troubleshooting ul, .content ul {
  list-style: none;
  padding: 0;
}

.troubleshooting li, .content li {
  margin-bottom: 20px;
  line-height: 1.6;
}

.troubleshooting strong, .content strong {
  color: #1E90FF;
}

.troubleshooting li:hover, .content li:hover {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  padding: 10px;
  transition: background 0.3s ease;
}

/* Auth Form Container - POLISHED & SMALLER */
.auth-form-container {
  max-width: 340px;
  margin: 80px auto;
  padding: 24px 16px;
  background: rgba(0,0,0,0.7);
  border-radius: 12px;
  box-sizing: border-box;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}

/* Auth Form Inputs & Button - POLISHED */
.auth-form-container input[type="text"],
.auth-form-container input[type="email"],
.auth-form-container input[type="password"] {
  width: 95%;
  padding: 10px;
  border-radius: 6px;
  border: none;
  margin-bottom: 14px;
  font-size: 1em;
  background: #222;
  color: #fff;
  transition: outline 0.2s;
}

.auth-form-container input:focus {
  outline: 2px solid #4CAF50;
}

.auth-form-container button[type="submit"] {
  width: 100%;
  padding: 10px;
  background: #4CAF50;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}

.auth-form-container button[type="submit"]:hover {
  background: #45a049;
}

/* Auth Form Links */
.auth-form-container a {
  color: #1E90FF;
  text-decoration: none;
  transition: color 0.2s;
}

.auth-form-container a:hover {
  color: #4CAF50;
}