/* Changed 'Body' to lowercase 'body' for proper CSS syntax */
body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: #0a0f1c;
  color: #e5e7eb;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* Reduced padding for mobile to prevent elements from dropping to new lines */
  padding: 15px 20px;
  background: rgba(10, 15, 28, 0.9);
  /* Added prefix for better Safari/iPhone support */
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0; /* Prevents logo from squishing */
}

.logo img {
  height: 40px; /* Adjusted for the Yahhold logo shape */
  width: auto;
}

.logo span {
  font-weight: 600;
  letter-spacing: 2px;
  color: #facc15;
}

/* Updated container to keep links in a single row */
.links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px; /* Consistent spacing between links */
}

.links a {
  text-decoration: none;
  color: #cbd5f5;
  font-size: 14px;
  letter-spacing: 1px;
  white-space: nowrap; /* Forces links to stay on one line */
}

.links a:hover {
  color: #facc15;
}

header {
  padding: 120px 20px 100px;
  text-align: center;
  background: radial-gradient(circle at top, #1e3a8a20, transparent 60%);
}

header h1 {
  font-size: 40px; /* Slightly smaller for mobile screens */
  font-weight: 600;
  margin-bottom: 20px;
  color: white;
}

header p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 18px;
  color: #9ca3af;
}

section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 80px 20px;
}

h1 {
  font-size: 34px;
  margin-bottom: 20px;
}

h2 {
  margin-top: 60px;
  color: #3b82f6;
}

.card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 30px;
  border-radius: 16px;
  margin-top: 20px;
  line-height: 1.7;
}

footer {
  text-align: center;
  padding: 40px;
  font-size: 14px;
  color: #6b7280;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* Mobile Tweak: Ensure links don't overlap logo on very small phones */
@media (max-width: 380px) {
  .links a {
    font-size: 12px;
    gap: 8px;
  }
  .logo span {
    display: none; /* Hides text 'YAHHOLD' to save space if logo image already has it */
  }
}
