@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

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

body {
  background-color: #050505; /* Prawdziwa głęboka czerń */
  color: #a0a0a0;
  font-family: 'Inter', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 40px 20px;
  overflow-x: hidden;
}

/* Tło z efektem siatki (Grid) - bardzo modny detal */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -1;
}

.container {
  max-width: 900px;
  width: 100%;
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
  text-align: left;
  margin-bottom: 60px;
  color: #fff;
  letter-spacing: -2px;
}

/* Układ Bento Box */
.category {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  margin-bottom: 60px;
  border-top: 1px solid #222;
  padding-top: 20px;
}

.category h2 {
  font-size: 0.9rem;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
}

ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

li {
  perspective: 1000px;
}

a {
  display: flex;
  align-items: center;
  padding: 24px;
  background: #0d0d0d;
  color: #eee;
  text-decoration: none;
  border-radius: 4px; /* Bardziej surowy, nowoczesny wygląd */
  border: 1px solid #1a1a1a;
  font-weight: 400;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Efekt najechania - karta "wychodzi" do przodu */
a:hover {
  background: #111;
  border-color: #444;
  color: #fff;
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

/* Neonowy pasek z boku */
a::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 2px;
  background: #fff; /* Czysta biel lub dowolny kolor neonowy */
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

a:hover::after {
  transform: scaleY(1);
}

/* Personalizacja kolorów dla konkretnych sekcji (opcjonalnie) */
.category:nth-of-type(1) a:hover::after { background: #00f2ff; } /* Cyjan dla gier */
.category:nth-of-type(2) a:hover::after { background: #7000ff; } /* Fiolet dla portfolio */
.category:nth-of-type(3) a:hover::after { background: #ff0055; } /* Róż dla projektu dla partnerki */

/* Responsywność */
@media (max-width: 768px) {
  .category {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  h1 {
    font-size: 2.5rem;
    text-align: center;
  }
}
