/* Kyoto — Sleek Dark Theme for Valorant Portfolio */

/* ---------- Color Tokens ---------- */
:root {
  --bg: #0a0a0c;
  --surface: #111113;
  --surface-alt: #161618;
  --text: #d1d1d1;
  --muted: #9b9b9b;
  --brand: #ff4655; /* Valorant red */
  --link: #77cfff;
  --border: #1e1e20;
  --radius: 12px;
  --shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--link);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

h1, h2, h3 {
  font-weight: 700;
  margin: 0 0 0.5rem;
}
h2 {
  color: var(--brand);
}
h3 {
  color: var(--text);
}

/* ---------- Layout ---------- */
.container {
  width: min(1100px, 92%);
  margin: auto;
}

section {
  padding: 40px 0;
}

/* ---------- Header ---------- */
header {
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}
header h1 {
  font-size: 1.4rem;
}
nav a {
  margin-left: 20px;
  padding: 6px 10px;
  border-radius: 6px;
}
nav a:hover {
  background: var(--surface-alt);
}

/* ---------- Panels ---------- */
#about, #portfolio, #contact {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

/* ---------- Portfolio Lists ---------- */
#portfolio ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
@media (min-width: 768px) {
  #portfolio ul {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}
#portfolio li {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
#portfolio li:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
}
#portfolio li a {
  font-weight: 600;
}

/* ---------- Contact ---------- */
#contact p, #contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px;
  color: var(--text);
}
#contact a:hover {
  border-color: var(--brand);
  text-decoration: none;
}

/* ---------- Footer ---------- */
footer {
  text-align: center;
  padding: 20px 0;
  color: var(--muted);
  font-size: 0.9rem;
}
