:root {
  --light-blue: #98BAE3;
  --mid-blue: #5981B1;
  --deep-blue: #365475;
  --navy-blue: #15273C;
  --near-black: #020408;
  --accent: #F39C12;
  --deepest-blue: #1c2b3a;
  --deep-void-blue: #0b121a;
  --midnight-core: #05080f;
  --industrial-navy: #101c2a;
  --astrozaar-purple-link: #9f9fff;
  --zms-100: #d6e6fa;
  --zms-300: #bcd1ee;
  --zms-500: #8ab4ff;
  --zms-700: #365475;
  --zms-900: #182033;
  --bg: radial-gradient(1200px 600px at 10% -10%, rgba(152,186,227,.32), transparent 60%),
        radial-gradient(1000px 600px at 90% 0%, rgba(54,84,117,.14), transparent 55%),
        linear-gradient(180deg, #22334c 0%, #22334c 100%);
  --text: #E8EEF9;
  --muted: #bcd1ee;
  --chip: #22334c;
  --round: 16px;
  --shadow: 0 10px 30px rgba(0,0,0,.22);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
}

.page-wrap {
  min-height: 100vh;
  position: relative;
  padding-bottom: 120px; /* height of footer */
}

body {
  font-family: 'Rubik', sans-serif;
  background: #22334c !important;
  color: var(--text);
  line-height: 1.6;
}

header {
  background: var(--navy-blue);
  display: flex;
  align-items: center;
  padding: 1rem 2rem;
  justify-content: space-between;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

header img {
  height: 60px;
}

nav a {
  color: var(--light-blue);
  text-decoration: none;
  margin-left: 1.5rem;
  font-weight: 600;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--accent);
}

.hero {
  text-align: center;
  padding: 5rem 2rem;
  background: linear-gradient(135deg, var(--deep-blue), var(--navy-blue));
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: white;
}

.hero p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--light-blue);
}

.section {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.section h2 {
  color: white;
  margin-bottom: 1rem;
}

.games {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.game-card {
  background: var(--deep-blue);
  border-radius: 12px;
  padding: 1.5rem;
  flex: 1 1 250px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.game-card-az {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to right, var(--deep-blue), var(--midnight-core));
  border-radius: 12px;
  padding: 1.5rem;
  flex: 1 1 250px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  z-index: 2;
}

.game-card-az:hover {
  box-shadow: 0 0 12px rgba(100,150,255,0.4);
  transform: translateY(-5px) scale(1.01);
}

.star-canvas,
.meteor-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0 !important;
}

.game-card-content {
  position: relative;
  z-index: 10 !important;
}

.game-card-content img,
.game-card-description {
  position: relative;
  z-index: 11 !important;
}

.game-card-az p {
  position: relative;
  z-index: 11;
}

a,
a:visited,
a:hover,
a:active {
  color: var(--light-blue) !important;
  text-decoration: none !important;
}

footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--navy-blue);
  text-align: center;
  padding: 2rem;
  color: var(--light-blue);
  font-size: 0.9rem;
}

.email-link {
  color: #FFB400;
  font-weight: bold;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.email-link:hover {
  color: #e0a800;
}

.discord-link {
  color: #FFB400;
  font-weight: bold;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.discord-link:hover {
  color: #e0a800;
}

.btn.primary {
  background: linear-gradient(135deg, #5981B1, #365475);
  color: #fff !important;
  border-color: rgba(152,186,227,.35);
}
.btn.primary[href*='discord'],
.btn.primary[href*='discord']:visited {
  color: #fff !important;
}