/* ======================
 *   GENERAL STYLING
 *   ====================== */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: Georgia, serif;
  color: #ffec1a;
  background-image: url('background.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  text-align: center;
}

/* NAVIGATION */
nav {
  padding: 20px;
  display: flex;
  gap: 20px;
  justify-content: center;
}

nav a {
  color: #f5e3b1;
  text-decoration: none;
}

.credit {
  margin-left: auto;
  opacity: 0.7;
}

/* HERO SECTION */
.hero {
  display: flex;
  flex-direction: column;
  padding: 60px 20px 20px 20px;
  align-items: center;
}

.hero h1 {
  font-size: 64px;
  margin: 0 0 20px 0;
}

.hero p {
  margin: 10px 0;
}

.disclaimer {
  font-size: 0.7em;
  color: #f5e3b1;
  margin-top: 20px;
  font-style: italic;
}

/* DESKTOP GRID */
.grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 160px);
  gap: 20px;
  justify-content: center;
}

.card {
  background: rgba(0,0,0,0.6);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.card img {
  width: 60px;
  height: 60px;
}

.card span {
  display: block;
  margin-top: 10px;
  font-size: 20px;
}

/* FOOTER SPACER */
.footer-spacer {
  min-height: 60px;
}

/* FOOTER MESSAGES */
.footer-msg {
  color: #d4b018;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  text-align: center;
  margin: 8px 0;
}

/* ======================
 *   MOBILE STYLING
 *   ====================== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 40px;
  }

  .hero p, .disclaimer {
    font-size: 0.9em;
    margin: 8px 10px;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .card img {
    width: 50px;
    height: 50px;
  }

  .card span {
    font-size: 16px;
  }

  .footer-spacer {
    min-height: 80px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 32px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .card img {
    width: 40px;
    height: 40px;
  }

  .card span {
    font-size: 14px;
  }

  .footer-spacer {
    min-height: 100px;
  }
}
