/* =========================
   Custom properties
========================= */
:root {
  --text: #ffffff;
  --brand: #ffffff;
  --bg: #0b0c10;
  --accent: #22d3ee;
  --muted: #cccccc;
  --card: rgba(255,255,255,0.02);
  --ring: rgba(34,211,238,0.2);

  --font-size-base: 16px;
  --font-size-heading: 20px;
  --font-size-button: 14px;
}

/* =========================
   Base
========================= */
html, body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  font-size: var(--font-size-base);
  color: var(--text);
  background: radial-gradient(2000px 1000px at 10% -20%, rgba(34,211,238,0.06), transparent),
              radial-gradient(2000px 1000px at 120% 20%, rgba(110,231,255,0.05), transparent),
              radial-gradient(1500px 750px at 50% 50%, rgba(34,211,238,0.04), transparent),
              var(--bg);
  line-height: 1.65;
  text-align: center;
  overflow-x: hidden;
}

/* =========================
   Links
========================= */
a {
  color: var(--brand);
  text-decoration: none;
  font-size: var(--font-size-base);
  transition: text-shadow 0.3s ease, color 0.3s ease, text-decoration 0.3s ease;
  cursor: pointer;
}
a:hover {
  color: var(--muted);
  text-decoration: none;
  text-shadow: 0 0 6px var(--accent), 0 0 8px var(--ring);
}

/* =========================
   Auth Links
========================= */
.auth-links {
  position: absolute;
  top: 20px;
  right: 24px;
  display: flex;
  gap: 15px;
  align-items: center;
  z-index: 1000;
  flex-wrap: wrap;
  justify-content: center;
}

.auth-links a {
  display: inline-block;
  min-width: 100px;
  text-align: center;
  padding: 10px 20px;
  border-radius: 8px;
}

.auth-links a:first-child {
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.2);
  background: var(--card);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, background 0.3s ease;
}
.auth-links a:first-child:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 6px var(--ring);
  color: var(--accent);
}
.auth-links a:last-child {
  background: var(--accent);
  color: #0b0c10;
  font-weight: bold;
  border: 1px solid var(--accent);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, background 0.3s ease;
}
.auth-links a:last-child:hover {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 6px var(--ring);
}

/* =========================
   Search
========================= */
.search {
  margin: 20px auto;
  width: 100%;
  max-width: 900px;
}
.search input {
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.2);
  background: var(--card);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: var(--font-size-button);
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
  transition: text-shadow 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.search input:hover,
.search input:focus {
  color: var(--accent);
  text-shadow: 0 0 6px var(--accent), 0 0 8px var(--ring);
  border-color: var(--accent);
  box-shadow: 0 0 0 6px var(--ring);
  outline: none;
}
.search input::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

/* =========================
   Logo & Header
========================= */
header {
  padding: 0;
  position: relative;
  display: block; /* Desktop: logo left */
}
.logo {
  position: absolute;
  top: 20px;
  left: 24px;
  margin: 0;
  width: 200px;
  height: auto;
  object-fit: contain;
}
header .wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px;
}
.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  margin-top: 127px;
}
.header-content .subtitle {
  font-size: 20px;
  color: #ffffff !important;
  margin: 10px 0;
  max-width: 90%;
}
.header-content .description {
  font-size: var(--font-size-base);
  color: #ffffff !important;
  margin: 10px 0;
  max-width: 90%;
}

/* =========================
   Marquee
========================= */
.marquee-container {
  width: 100%;
  max-width: 900px;
  margin: 10px auto;
  overflow: hidden;
  white-space: nowrap;
}
.marquee {
  display: inline-block;
  font-size: var(--font-size-button);
  color: #ffffff !important;
  animation: marquee 100s linear infinite;
  text-shadow: 0 0 5px #ffffff, 0 0 10px #cccccc, 0 0 15px #999999;
}
.marquee span {
  display: inline-flex;
  align-items: center;
  margin-right: 30px;
}
.marquee span img {
  width: 24px;
  height: 24px;
  margin-right: 8px;
}
.marquee a {
  color: #ffffff !important;
  text-decoration: none;
  text-shadow: 0 0 5px #ffffff, 0 0 10px #cccccc, 0 0 15px #999999;
}
.marquee a:hover {
  color: var(--muted) !important;
  text-shadow: 0 0 6px var(--accent), 0 0 8px var(--ring);
  text-decoration: none;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========================
   Sections
========================= */
.wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px;
}
.section {
  margin: 28px 0;
}
.section h2 {
  font-size: var(--font-size-heading);
  margin: 0 0 10px;
  color: var(--text);
}
.section p, 
.section ul {
  margin-bottom: 1em;
  font-size: var(--font-size-base);
  color: var(--text);
}
.section a {
  text-shadow: 0 0 5px #ffffff, 0 0 10px #cccccc, 0 0 15px #999999;
}
ul {
  text-align: left;
  padding-left: 20px;
  margin: 0 auto;
  max-width: 800px;
}
ul li {
  margin-bottom: 0.5em;
  font-size: var(--font-size-base);
  color: var(--text);
}

/* Who is Drop4You for? */
.who-for-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.who-for-card {
  background: var(--card);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  color: var(--text);
  flex: 1 1 300px;
  max-width: 100%;
}
.who-for-card img {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
  fill: currentColor;
  stroke: currentColor;
}
.who-for-card h3 {
  font-size: var(--font-size-heading);
  font-weight: bold;
  margin: 0 0 10px;
  color: var(--text);
}
.who-for-card p {
  font-size: var(--font-size-base);
  color: var(--text);
  line-height: 1.5;
}

/* Contact Section */
.contact {
  text-align: center;
}
.glow-email {
  cursor: pointer;
  transition: text-shadow 0.3s ease, color 0.3s ease;
}
.glow-email:hover {
  color: var(--accent);
  text-shadow: 0 0 6px var(--accent), 0 0 8px var(--ring);
}
.glow-email.copied {
  color: var(--accent);
}
.copy-feedback {
  opacity: 0;
  font-size: var(--font-size-button);
  color: var(--accent);
  margin-top: 8px;
  transition: opacity 0.3s ease;
}
.copy-feedback.show {
  opacity: 1;
}

/* =========================
   Footer
========================= */
footer {
  color: var(--muted);
  font-size: var(--font-size-button);
  padding: 40px 0;
  text-align: center;
}
.bottom-links {
  margin: 20px 0;
  font-size: var(--font-size-button);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.bottom-links a {
  color: #ffffff;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.bottom-links a:hover {
  color: var(--accent);
  box-shadow: 0 0 0 6px var(--ring);
}
.bottom-links a.active {
  color: var(--accent);
  font-weight: bold;
}

/* =========================
   Responsive Tweaks
========================= */
@media (max-width: 768px) {
  header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
  }

  .logo {
    position: relative;
    top: 0;
    left: 0;
    margin-bottom: 16px;
    width: 140px;
    height: auto;
  }

  .auth-links {
    position: relative;
    top: 0;
    right: 0;
    justify-content: center;
    margin: 16px auto;
  }

  .auth-links a {
    flex: 1;
    min-width: 120px;
  }

  .header-content {
    margin-top: 20px;
    padding: 0 10px;
  }

  .who-for-container {
    flex-direction: column;
    align-items: center;
  }

  ul {
    padding-left: 16px;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .logo {
    width: 100px;
    margin-bottom: 12px;
  }

  .auth-links {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .auth-links a {
    width: 90%;
    max-width: 250px;
  }

  .header-content .subtitle {
    font-size: 16px;
  }

  .who-for-card {
    width: 100%;
  }
}
