: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;
}

* {
  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: var(--near-black);
  color: var(--light-blue);
  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;
}