/* Minimal, clean aesthetic */
:root {
  --bg: #0b0c10;
  --card: #111216;
  --text: #eaf2ff;
  --muted: #a8b3c7;
  --brand: #ffd059;
  --brand-2: #84a6ff;
  --border: #1b1d25;
  --shadow: rgba(0,0,0,.3);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; background: var(--bg); color: var(--text); }

.container { width: min(1100px, 92vw); margin: 0 auto; }

.site-header {
  position: sticky; top: 0; backdrop-filter: blur(8px);
  background: color-mix(in oklab, var(--bg) 85%, transparent);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}
.site-header .nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .4px; }
.brand .logo { font-size: 1.3rem; }
.brand .name { font-size: 1.1rem; }
.site-header nav a { color: var(--muted); text-decoration: none; margin-left: 18px; }
.site-header nav a:hover { color: var(--text); }

.hero {
  position: relative; overflow: hidden; border-bottom: 1px solid var(--border);
}
/* .hero .container { padding: 82px 0 64px; } */
.hero h1 { font-size: clamp(1.8rem, 2.6vw + 1rem, 3rem); margin: 0 0 8px; }
.hero p { color: var(--muted); margin: 0 0 18px; max-width: 650px; }
.cta { display: inline-block; padding: 10px 16px; border-radius: 14px; background: var(--brand);
  color: #1b1d25; font-weight: 700; text-decoration: none; box-shadow: 0 10px 24px var(--shadow); }
.cta:hover { transform: translateY(-1px); }

.hero .gradient {
  height: 18px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  filter: blur(.5px);
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  margin: 22px 0;
  box-shadow: 0 12px 32px var(--shadow);
}

.section-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.filters { display: flex; gap: 10px; align-items: center; }
.filters select, .filters input {
  background: #0f1117; color: var(--text); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.game-card {
  background: #0f1117;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.game-card img {
  width: 100%; height: 140px; object-fit: cover; background: #0a0b0e;
}
.game-card .content { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.badges { display: flex; gap: 8px; flex-wrap: wrap; }
.badge {
  font-size: .78rem; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted);
}
.actions { margin-top: auto; display: flex; gap: 10px; }
.actions a, .actions button {
  flex: 1; text-align: center; text-decoration: none; background: #161821; color: var(--text);
  border: 1px solid var(--border); border-radius: 12px; padding: 8px 12px; cursor: pointer;
}
.actions a:hover, .actions button:hover { background: #1b1e2a; }

.contact-form { display: flex; flex-direction: column; gap: 12px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form input, .contact-form textarea {
  width: 100%; background: #0f1117; color: var(--text); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px;
}
.contact-form button {
  align-self: start; padding: 10px 16px; border-radius: 12px; background: var(--brand-2);
  color: #0b0c10; border: none; font-weight: 700; cursor: pointer;
}
.contact-form button:hover { filter: brightness(1.05); }
.muted { color: var(--muted); }

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
}
.site-footer .container { display: flex; align-items: center; justify-content: space-between; padding: 24px 0; }

/* Modal */
#trailerModal::backdrop { background: rgba(0,0,0,.7); }
#trailerModal { border: none; width: min(940px, 94vw); background: transparent; }
.modal-content { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 0; overflow: hidden; }
#closeModal { position: absolute; margin: 10px; right: 10px; z-index: 2; border: 1px solid var(--border); border-radius: 99px; background: #0f1117; color: var(--text); cursor: pointer; }
.video-wrap { position: relative; padding-top: 56.25%; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

@media (max-width: 680px) {
  .contact-form .row { grid-template-columns: 1fr; }
}

.logo-img {
  height: 28px; /* adjust as needed */
  width: auto;
}

/* .hero-logo {
  max-height: 200px; 
  display: block;
  margin: 0 auto 1.5rem auto; 
} */

.hero .container {
  display: flex;
  align-items: center; /* vertically center the image & text */
  gap: 2rem; /* space between image and text */
}

.hero-logo {
  max-height: 200px;
  margin: 0; /* remove auto-centering from before */
}

.hero-text {
  flex: 1; /* let the text take up remaining space */
}