/* Great Lakes Play Game - CSS Styles */
/* Color Scheme: Deep Lake Blue, Seafoam, Brass */

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Great Lakes Color Palette */
  --deep-blue: #1a365d;
  --lake-blue: #2b77ad;
  --seafoam: #4fd1c7;
  --seafoam-light: #81e6db;
  --brass: #b8860b;
  --brass-light: #daa520;
  --brass-dark: #9a7209;
  --white: #ffffff;
  --light-gray: #f7fafc;
  --gray: #718096;
  --dark-gray: #2d3748;
  --black: #1a202c;

  /* Fonts */
  --font-primary: "Inter", sans-serif;
  --font-display: "Playfair Display", serif;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--dark-gray);
  background: linear-gradient(
    135deg,
    var(--deep-blue) 0%,
    var(--lake-blue) 100%
  );
  min-height: 100vh;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  color: var(--white);
}

h2 {
  font-size: 2.5rem;
  color: var(--deep-blue);
}

h3 {
  font-size: 1.8rem;
  color: var(--lake-blue);
}

p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brass) 0%, var(--brass-light) 100%);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--brass-dark) 0%, var(--brass) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(184, 134, 11, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--gray);
  border-color: var(--gray);
}

.btn-secondary:hover {
  background: var(--gray);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--deep-blue);
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.2rem;
}

.btn-xl {
  padding: 20px 40px;
  font-size: 1.5rem;
  border-radius: 12px;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 54, 93, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
  margin-bottom: 1.5rem;
}

.modal-header i {
  font-size: 3rem;
  color: var(--brass);
  margin-bottom: 1rem;
}

.modal-header h2 {
  color: var(--deep-blue);
  margin-bottom: 0;
}

.modal-body p {
  font-size: 1.2rem;
  color: var(--dark-gray);
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  font-size: 1rem !important;
  color: var(--gray) !important;
  margin-bottom: 2rem !important;
}

.modal-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.modal-buttons form {
  width: 100%;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    135deg,
    var(--deep-blue) 0%,
    var(--lake-blue) 100%
  );
  color: var(--white);
  padding: 1rem;
  z-index: 999;
  display: none;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-text {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.cookie-text i {
  font-size: 2rem;
  color: var(--brass);
}

.cookie-text a {
  color: var(--seafoam);
  text-decoration: underline;
}

.cookie-text a:hover {
  color: var(--seafoam-light);
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-buttons form {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Header */
.header {
  background: rgba(26, 54, 93, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand a {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--brass);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--seafoam);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brass);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 30px;
  height: 24px;
  justify-content: space-between;
}

.mobile-menu-btn span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--white);
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--deep-blue);
  flex-direction: column;
  padding: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.mobile-nav-link {
  color: var(--white);
  text-decoration: none;
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease;
}

.mobile-nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--seafoam);
}

/* Mobile menu styles - 900px breakpoint */
@media (max-width: 900px) {
  .nav-menu {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-menu-toggle:checked ~ .mobile-menu {
    display: flex;
  }

  .mobile-menu-toggle:checked ~ .mobile-menu-btn span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .mobile-menu-toggle:checked ~ .mobile-menu-btn span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle:checked ~ .mobile-menu-btn span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(
    135deg,
    var(--deep-blue) 0%,
    var(--lake-blue) 50%,
    var(--seafoam) 100%
  );
  color: var(--white);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(18, 51, 75, 0.3);
  pointer-events: none;
  z-index: 1;
}

.hero .hero-content {
  position: relative;
  z-index: 2;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><path d="M0 20 Q25 0 50 10 T100 0 V20 Z" fill="rgba(255,255,255,0.05)"/></svg>');
  background-size: 200px 40px;
  animation: wave 10s linear infinite;
}

@keyframes wave {
  0% {
    background-position-x: 0;
  }
  100% {
    background-position-x: 200px;
  }
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text h2 {
  color: var(--brass-light);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.victory-notice {
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  color: var(--brass-light) !important;
  background: rgba(184, 134, 11, 0.1);
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid var(--brass);
  margin-bottom: 2rem !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 12px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  filter: brightness(0.45);
  transition: all 0.3s ease;
}

.hero-image:hover img {
  filter: brightness(0.55);
  transform: scale(1.02);
}

/* About and Guide Images */
.about-image,
.guide-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 12px;
}

.about-image img,
.guide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.about-image:hover img,
.guide-image:hover img {
  transform: scale(1.05);
}

/* Image Placeholders */
.image-placeholder {
  background: rgba(255, 255, 255, 0.1);
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  padding: 2rem;
  transition: all 0.3s ease;
}

.image-placeholder:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
}

.image-placeholder i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--brass-light);
}

.image-placeholder p {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

/* Section Styles */
section {
  padding: 4rem 0;
}

section:nth-child(even) {
  background: var(--light-gray);
}

section:nth-child(odd) {
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

/* Play Section */
.play-section {
  background: linear-gradient(
    135deg,
    var(--seafoam) 0%,
    var(--seafoam-light) 100%
  );
  color: var(--white);
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(18, 51, 75, 0.85);
  z-index: 1;
}

.play-section .container {
  position: relative;
  z-index: 2;
}

.play-section .section-header h2 {
  color: var(--white);
}

.play-content {
  max-width: 1000px;
  margin: 0 auto;
}

.play-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.feature {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.feature i {
  font-size: 3rem;
  color: var(--brass-light);
  margin-bottom: 1rem;
}

.feature h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

.feature p {
  color: rgba(255, 255, 255, 0.9);
}

.play-button-center {
  text-align: center;
}

.play-disclaimer {
  margin-top: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--light-gray);
  border-radius: 8px;
}

.feature-item i {
  color: var(--brass);
  font-size: 1.2rem;
}

/* Leaderboard */
.leaderboard {
  background: var(--deep-blue) !important;
  color: var(--white);
}

.leaderboard .section-header h2,
.leaderboard .section-header p {
  color: var(--white);
}

.leaderboard .player-info h3 {
  color: var(--white);
}

.leaderboard .player-info p {
  color: rgba(255, 255, 255, 0.8);
}

.leaderboard .score {
  color: var(--white);
}

.leaderboard-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.leader-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
}

.leader-item:hover {
  transform: translateY(-2px);
}

.leader-item.rank-1 {
  background: linear-gradient(135deg, var(--brass) 0%, var(--brass-light) 100%);
  color: var(--deep-blue);
}

.leader-item.rank-1 .player-info h3,
.leader-item.rank-1 .player-info p,
.leader-item.rank-1 .score {
  color: var(--deep-blue) !important;
}

.leader-item.rank-2 {
  background: linear-gradient(135deg, #a0a0a0 0%, #c8c8c8 100%);
  color: var(--deep-blue);
}

.leader-item.rank-2 .player-info h3,
.leader-item.rank-2 .player-info p,
.leader-item.rank-2 .score {
  color: var(--deep-blue) !important;
}

.leader-item.rank-3 {
  background: linear-gradient(135deg, #cd7f32 0%, #e8a45c 100%);
  color: var(--deep-blue);
}

.leader-item.rank-3 .player-info h3,
.leader-item.rank-3 .player-info p,
.leader-item.rank-3 .score {
  color: var(--deep-blue) !important;
}

.rank-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
}

.rank-badge i {
  font-size: 1.5rem;
  margin-right: 0.5rem;
  color: var(--brass-light);
}

.leader-item.rank-1 .rank-badge,
.leader-item.rank-2 .rank-badge,
.leader-item.rank-3 .rank-badge {
  background: rgba(18, 51, 75, 0.3);
  color: var(--deep-blue);
}

.leader-item.rank-1 .rank-badge i {
  color: var(--deep-blue);
}

.leader-item.rank-2 .rank-badge i,
.leader-item.rank-3 .rank-badge i {
  color: var(--deep-blue);
}

.player-info {
  flex: 1;
}

.player-info h3 {
  color: inherit;
  margin-bottom: 0.25rem;
}

.player-info p {
  margin: 0;
  opacity: 0.8;
  font-size: 0.9rem;
}

.score {
  text-align: right;
}

.score span {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
}

.score small {
  font-size: 0.8rem;
  opacity: 0.8;
}

.leaderboard-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.leaderboard-image {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  width: 100%;
}

.leaderboard-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.leaderboard-image:hover img {
  transform: scale(1.05);
}

.leaderboard-text {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.leaderboard-text h3 {
  color: var(--brass-light);
  margin-bottom: 1rem;
}

.leaderboard-text p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: var(--white);
}

/* Security Section */
.security-content {
  display: grid;
  gap: 3rem;
}

.security-text h3 {
  margin-bottom: 1.5rem;
}

.security-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.security-certifications h3 {
  margin-bottom: 2rem;
  text-align: center;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.cert-item {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.cert-item:hover {
  transform: translateY(-4px);
}

.cert-item i {
  font-size: 3rem;
  color: var(--brass);
  margin-bottom: 1rem;
}

.cert-item h4 {
  color: var(--deep-blue);
  margin-bottom: 1rem;
}

.cert-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--gray);
}

/* Guide Section */
.guide-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.guide-text h3,
.guide-text h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.guide-text h3:first-child {
  margin-top: 0;
}

.guide-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.guide-tips {
  background: var(--light-gray);
  padding: 1.5rem;
  border-radius: 12px;
  margin-top: 2rem;
}

.guide-tips h4 {
  color: var(--deep-blue);
  margin-top: 0;
}

.guide-tips ul {
  list-style: none;
  padding: 0;
}

.guide-tips li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
  padding-left: 1.5rem;
}

.guide-tips li:last-child {
  border-bottom: none;
}

.guide-tips li::before {
  content: "🎯";
  position: absolute;
  left: 0;
  top: 0.5rem;
}

/* FAQ Section */
.faq-content {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  margin-bottom: 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
  background: var(--deep-blue);
  color: var(--white);
  padding: 1.5rem;
  margin: 0;
  font-size: 1.2rem;
}

.faq-item p {
  padding: 1.5rem;
  margin: 0;
  line-height: 1.7;
  font-size: 1.05rem;
}

/* Reviews Section */
.reviews-content {
  display: grid;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.review-item {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reviewer-avatar {
  width: 60px;
  height: 60px;
  background: var(--seafoam);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
}

.reviewer-details h4 {
  margin: 0;
  color: var(--deep-blue);
}

.reviewer-details p {
  margin: 0;
  color: var(--gray);
  font-size: 0.9rem;
}

.review-rating {
  color: var(--brass);
  font-size: 1.2rem;
}

.review-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--dark-gray);
}

/* Contact Section */
.contact-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-details {
  margin: 2rem 0;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--brass);
}

.contact-item h4 {
  margin: 0;
  color: var(--deep-blue);
}

.contact-item p {
  margin: 0;
  font-weight: 600;
}

.contact-note {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.6;
}

/* Gallery Placeholders */
.gallery-placeholders {
  background: var(--light-gray);
  padding: 2rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.gallery-item .image-placeholder {
  background: rgba(43, 119, 173, 0.1);
  border-color: rgba(43, 119, 173, 0.3);
  color: var(--lake-blue);
}

/* Footer */
.footer {
  background: var(--deep-blue);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  color: var(--brass-light);
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--seafoam);
}

.footer-banners {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.footer-banners img {
  display: block;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.footer-banners a {
  display: inline-block;
  line-height: 0;
}

.footer-banners a:hover img {
  opacity: 0.8;
}

.h-4 {
  height: 1rem;
}

.h-8 {
  height: 2rem;
}

/* Legal Pages */
.legal-content {
  padding: 4rem 0;
  background: var(--white);
}

.legal-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--lake-blue);
}

.legal-header h1 {
  color: var(--deep-blue);
  margin-bottom: 0.5rem;
}

.legal-updated {
  color: var(--lake-blue);
  font-style: italic;
  font-size: 0.95rem;
}

.legal-text {
  max-width: 900px;
  margin: 0 auto;
  color: var(--deep-blue);
  line-height: 1.8;
}

.legal-text h2 {
  color: var(--deep-blue);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(43, 119, 173, 0.3);
}

.legal-text h3 {
  color: var(--lake-blue);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-text h4 {
  color: var(--deep-blue);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-text p {
  margin-bottom: 1rem;
}

.legal-text ul,
.legal-text ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.legal-text li {
  margin-bottom: 0.5rem;
}

.legal-text a {
  color: var(--lake-blue);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.legal-text a:hover {
  color: var(--brass-light);
}

.contact-box {
  background: rgba(43, 119, 173, 0.1);
  padding: 1.5rem;
  border-left: 4px solid var(--lake-blue);
  margin: 2rem 0;
  border-radius: 4px;
}

.contact-box p {
  margin: 0.5rem 0;
}

.legal-footer-note {
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(227, 190, 115, 0.1);
  border-radius: 8px;
  border: 2px solid var(--brass-light);
}

.legal-footer-note p {
  margin: 0;
  font-style: italic;
  color: var(--deep-blue);
}

.legal-navigation {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(43, 119, 173, 0.2);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-disclaimer p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-copyright p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-content,
  .guide-content {
    grid-template-columns: 1fr;
  }

  .leaderboard-content {
    grid-template-columns: 1fr;
  }

  .leaderboard-info {
    gap: 1.5rem;
  }

  .hero-image img {
    max-height: 300px;
    object-fit: cover;
  }

  .about-image img,
  .guide-image img {
    max-height: 250px;
    object-fit: cover;
  }

  .cert-grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 1rem;
  }

  .navbar {
    padding: 1rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero {
    padding: 3rem 0;
  }

  section {
    padding: 3rem 0;
  }

  .btn-large {
    width: 100%;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  .victory-notice {
    font-size: 1.1rem !important;
  }

  .play-features {
    grid-template-columns: 1fr;
  }

  .modal-content {
    padding: 1.5rem;
  }

  .modal-buttons {
    flex-direction: column;
  }

  .leader-item {
    flex-direction: column;
    text-align: center;
  }

  .review-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
