/* ===== RESET & BASE STYLES ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --text-light: #f0f0f0;
  --text-muted: #999;
  --bg-dark: #000;
  --bg-semi-transparent: rgba(0, 0, 0, 0.5);
  --accent-border: rgba(255, 255, 255, 0.05);
  --hover-bg: #292929;
  --shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, "Helvetica Neue", sans-serif;
  color: var(--text-light);
  display: flex;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-color: var(--bg-dark);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/background.jpg") center/cover no-repeat;
  filter: blur(8px) brightness(0.6);
  z-index: -1;
}

/* ===== LANDING CONTAINER ===== */
.landing-container {
  width: 100%;
  max-width: 500px;
  margin: auto;
  padding: 2.5rem 1.25rem;
  background-color: var(--bg-semi-transparent);
  border-radius: 1rem;
  text-align: center;
}

/* ===== LOGO ===== */
.logo {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.logo img {
  max-width: 180px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.15));
  transition: transform 0.3s ease;
}

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

/* ===== TYPOGRAPHY ===== */
h1 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.tagline {
  font-size: clamp(0.9rem, 3vw, 1rem);
  margin-bottom: 2.5rem;
  color: var(--text-muted);
}

/* ===== LINK BUTTONS ===== */
.links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.links a {
  display: inline-block;
  width: 100%;
  padding: 1rem;
  background-color: #1a1a1a;
  color: inherit;
  text-decoration: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 500;
  border: 1px solid var(--accent-border);
  transition: all 0.25s ease;
  will-change: transform, box-shadow;
}

.links a:hover,
.links a:focus-visible {
  background-color: var(--hover-bg);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* ===== FOOTER SECTION ===== */
.footer-section {
  margin-top: 3.5rem;
}

.made-with {
  font-size: 0.85rem;
  color: var(--text-muted);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.made-with:hover {
  opacity: 1;
}

.footer-contact {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #888;
}

.footer-contact a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-block;
  padding: 0.25rem;
}

.footer-contact a:hover {
  color: var(--text-light);
}

.divider {
  margin: 0 0.5rem;
  color: #555;
}

/* ===== ANIMATIONS ===== */
.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.fade-in-up-delayed {
  animation: fadeInUp 0.6s ease-out forwards;
  animation-delay: 0.35s;
}

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

/* ===== ACCESSIBILITY ===== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 600px) {
  .landing-container {
    padding: 1.5rem 1rem;
    margin: 1rem;
  }

  .logo img {
    max-width: 120px;
  }

  .links a {
    padding: 0.85rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 400px) {
  .landing-container {
    padding: 1.25rem 0.75rem;
  }

  h1 {
    font-size: 1.75rem;
  }
}
