:root {
  --bg: #0f0f13;
  --text: #eef2f7;
  --muted: hsl(214, 15%, 69%);
  --accent: #6f2806;
  --accent-2: #866104;
  --success: #b76920;
  --glass: rgba(255,255,255,0.04);
  --radius: 12px;
  --gap: 18px;
  --max-width: 1100px;
}

/* Global Styles */
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }

body {
  font-family: 'Libre Baskerville', serif;
  min-height: 100vh;
  background-image: 
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
    url('../images/jungle_background.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-color: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  background-color: transparent;
  padding: 20px 0;
  z-index: 100;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.header a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  padding: 5px 10px;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.header a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #f0f0f0;
}
.header.scrolled {
  background-color: rgba(0,0,0,0.7);
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

/* Title Image */
.prizes-title {
  margin-top: 20px;
  margin-bottom: 10px;
  padding: 50px;
  width: 100%;
  display: flex;
  justify-content: center;
}
.prizes-title img {
  width: 30%;
  max-width: 100%;
  height: auto;
}

/* Prizes Grid using CSS Grid for exact 2x3 layout */
.prizes-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(250px, 1fr));;
  gap: 24px;

  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;              /* centers the grid */
  padding: 40px;

  align-items: stretch;        /* forces equal heights */
  justify-items: stretch;      /* cards fill columns */
}

.prize {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
  /* background-color: rgba(0, 0, 0, 0.4); */
  border-radius: var(--radius);
  text-align: center;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.prize:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}
.prize img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}
.prize h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #ffffff;
}

/* Responsive */
@media (max-width: 980px) { .prizes-container { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .prizes-container { grid-template-columns: 1fr; } }
