:root {
  --bg: #06111d;
  --bg2: #0a1728;
  --bg3: #0e2238;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.09);
  --panel-border: rgba(255, 255, 255, 0.12);
  --text: #f4f8fc;
  --muted: #b8c6d8;
  --accent: #4fd0ff;
  --accent-2: #7ee7ff;
  --gold: #ffcc6b;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 26px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(79, 208, 255, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(126, 231, 255, 0.08), transparent 24%),
    linear-gradient(180deg, var(--bg), var(--bg2) 40%, var(--bg3));
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(6, 17, 29, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  min-height: 88px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  height: 84px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.96rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 48px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 17, 29, 0.94), rgba(6, 17, 29, 0.6)),
    url("images/hero-bg.png") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(79, 208, 255, 0.16), transparent 22%),
    radial-gradient(circle at 80% 30%, rgba(255, 204, 107, 0.08), transparent 18%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.85fr;
  gap: 32px;
  align-items: center;
  min-height: 540px;
}

.eyebrow,
.section-tag {
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 1.8px;
  margin: 0 0 14px;
}

.hero h1 {
  font-size: clamp(2.7rem, 5vw, 5.4rem);
  line-height: 1.02;
  margin: 0 0 20px;
  max-width: 860px;
}

.hero-text {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.8;
  margin: 0 0 28px;
}

.hero-buttons,
.game-actions,
.contact-links,
.featured-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-panel {
  display: flex;
  justify-content: flex-end;
}

.hero-panel-inner {
  width: 100%;
  max-width: 420px;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(79, 208, 255, 0.14);
  color: var(--accent-2);
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-panel h2 {
  margin: 0 0 12px;
  font-size: 2rem;
}

.hero-panel p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 800;
  transition: transform 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #052033;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--panel-border);
}

.btn-small {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #052033;
  padding: 10px 15px;
  font-size: 0.95rem;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--panel-border);
}

.section {
  padding: 42px 0 78px;
}

.section-header {
  margin-bottom: 28px;
}

.section-header h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-header p {
  margin: 0;
  color: var(--muted);
}

.featured-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 26px;
  padding: 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  border: 1px solid var(--panel-border);
}

.featured-image {
  min-height: 320px;
  border-radius: 20px;
  background-image: url("images/skeleton-island.png");
  background-size: cover;
  background-position: center;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.game-card {
  border-radius: 24px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--panel-border);
}

.game-thumb {
  height: 220px;
  background-size: cover;
  background-position: center;
}

/* GAME IMAGES (PNG) */
.game-card:nth-child(1) .game-thumb {
  background-image: url("images/skeleton-island.png");
}

.game-card:nth-child(2) .game-thumb {
  background-image: url("images/pirate-clicker.png");
}

.game-card:nth-child(3) .game-thumb {
  background-image: url("images/relic-scavengers.png");
}

.game-card:nth-child(4) .game-thumb {
  background-image: url("images/brobattle.png");
}

.game-card:nth-child(5) .game-thumb {
  background-image: url("images/gamebook-creator.png");
}

.game-card:nth-child(6) .game-thumb {
  background-image: url("images/wanderingblade.png");
}

.game-card-body {
  padding: 20px;
}

.footer {
  text-align: center;
  padding: 40px 0;
  color: var(--muted);
}
