/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Variables */
:root {
  --bg: #0f0f0f;
  --surface: #1a1a1a;
  --accent: #e8a83a;
  --text: #e8e8e8;
  --muted: #888;
  --max-width: 900px;
}

/* Base */
body {
  background: var(--bg);
  color: var(--text);
  font-family: Georgia, serif;
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Nav */
header {
  position: sticky;
  top: 0;
  background: var(--bg);
  border-bottom: 1px solid #222;
  z-index: 100;
}

nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-social {
  display: flex;
  gap: 1rem;
}

.nav-social-link {
  display: flex;
  align-items: center;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-social-link:hover {
  color: var(--accent);
  text-decoration: none;
}

.nav-social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.logo {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--accent);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav ul a {
  color: var(--text);
  font-size: 0.95rem;
}

nav ul a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* Sections */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 5rem 0;
  border-bottom: 1px solid #222;
}

section:last-child {
  border-bottom: none;
}

h1 {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

/* Hero */
#hero {
  padding: 3rem 0;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-text h1 {
  margin-bottom: 0.5rem;
}

#hero p {
  font-size: 1.2rem;
  color: var(--muted);
}

.hero-photo {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

/* Games Grid */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.game-card {
  background: var(--surface);
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  overflow: hidden;
  display: block;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s;
}

.game-card:hover {
  border-color: var(--accent);
  text-decoration: none;
}

.game-card .game-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #2a2a2a;
  overflow: hidden;
}

.game-card .game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.game-card h3,
.game-card p {
  padding: 0.75rem 1rem;
}

.game-card p {
  color: var(--muted);
  font-size: 0.9rem;
  padding-top: 0;
}

/* Current Game */
.current-game-title {
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-weight: normal;
}

.current-game-video {
  width: 100%;
  border-radius: 4px;
  display: block;
}

/* About */
#about p {
  max-width: 600px;
  color: var(--muted);
}

/* Contact */
#contact p {
  color: var(--muted);
}

.nav-short { display: none; }

/* Mobile */
@media (max-width: 600px) {
  .nav-full { display: none; }
  .nav-short { display: inline; }
  h1 {
    font-size: 2rem;
  }

  nav ul {
    gap: 1.25rem;
  }

  .hero-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-photo {
    width: 100px;
    height: 100px;
    order: 1;
    align-self: center;
  }

  .hero-text {
    order: 0;
  }
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.social-link:hover {
  color: var(--accent);
  text-decoration: none;
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  color: var(--muted);
  font-size: 0.85rem;
}
