:root {
  --bg: #07070d;
  --card: #10121d;
  --cyan: #00d4ff;
  --blue: #0066ff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: #eee;
  font-family: system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

.bg-particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(0, 102, 255, 0.06) 0%, transparent 40%);
  animation: drift 20s ease-in-out infinite alternate;
}

@keyframes drift {
  to {
    transform: translate(20px, -20px);
  }
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 3rem;
  background: rgba(10, 10, 18, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 42px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 8px var(--cyan));
}

nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

nav a {
  color: #b8c0d4;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--cyan);
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3.25rem 1.25rem 1.75rem;
}

.hero .hero-brand {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: 3px;
  line-height: 1.15;
  margin-bottom: 0.4rem;
  color: #fff;
}

.hero .hero-brand span {
  color: var(--cyan);
}

.hero h1 {
  font-size: 2.2rem;
  line-height: 1.2;
  max-width: 780px;
  background: linear-gradient(90deg, #fff, var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  color: #8f98ad;
  font-size: 0.98rem;
  margin-top: 0.55rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 1.15rem;
  padding: 1.75rem 3rem 3.5rem;
}

.card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 212, 255, 0.2);
  border-color: rgba(0, 212, 255, 0.45);
}

.card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  height: auto;
  object-fit: cover;
  display: block;
}

.card .info {
  padding: 0.65rem 0.75rem;
}

.card .info h3 {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 640px) {
  header {
    padding: 0.75rem 0.9rem;
  }

  .logo-img {
    height: 30px;
  }

  nav {
    gap: 0.85rem;
  }

  nav a {
    font-size: 0.84rem;
  }

  .hero {
    padding: 1.65rem 0.9rem 1rem;
  }

  .hero .hero-brand {
    font-size: 1.55rem;
    letter-spacing: 2px;
    margin-bottom: 0.25rem;
  }

  .hero h1 {
    font-size: 1.25rem;
    line-height: 1.25;
  }

  .hero p {
    font-size: 0.8rem;
    margin-top: 0.35rem;
  }

  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
    padding: 0.85rem 0.75rem 2.25rem;
  }

  .card {
    border-radius: 8px;
  }

  .card:hover {
    transform: none;
  }

  .card .info {
    padding: 0.4rem 0.45rem;
  }

  .card .info h3 {
    font-size: 0.72rem;
    font-weight: 500;
  }
}
