/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Maori Cultural Color Palette */
  --dark-wood: #2d1b17;
  --wood-medium: #4a2e26;
  --wood-light: #6b4136;
  --jade-green: #3d7c47;
  --jade-light: #4d9c56;
  --jade-dark: #2d5c37;
  --ochre: #cc8a3d;
  --ochre-light: #e5a854;
  --ochre-dark: #b57530;
  --cream: #f5f0e8;
  --bone-white: #faf7f2;
  --charcoal: #1a1715;
  --stone-gray: #8b7d73;
  --earth-brown: #8b4513;

  /* Fonts */
  --font-primary: "Inter", sans-serif;
  --font-display: "Cinzel", serif;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--charcoal);
  background: linear-gradient(
    135deg,
    var(--dark-wood) 0%,
    var(--wood-medium) 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(--bone-white);
}

h2 {
  font-size: 2.5rem;
  color: var(--dark-wood);
}

h3 {
  font-size: 1.8rem;
  color: var(--jade-green);
}

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;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(245, 240, 232, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--ochre) 0%, var(--ochre-light) 100%);
  color: var(--bone-white);
  box-shadow: 0 4px 15px rgba(204, 138, 61, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--ochre-dark) 0%, var(--ochre) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(204, 138, 61, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--stone-gray);
  border-color: var(--stone-gray);
}

.btn-secondary:hover {
  background: var(--stone-gray);
  color: var(--bone-white);
}

.btn-outline {
  background: transparent;
  color: var(--bone-white);
  border-color: var(--bone-white);
}

.btn-outline:hover {
  background: var(--bone-white);
  color: var(--dark-wood);
}

.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, 23, 21, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.modal-content {
  background: linear-gradient(135deg, var(--bone-white) 0%, var(--cream) 100%);
  border-radius: 16px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 3px solid var(--ochre);
}

.modal-header {
  margin-bottom: 1.5rem;
}

.modal-header i {
  font-size: 3rem;
  color: var(--jade-green);
  margin-bottom: 1rem;
}

.modal-header h2 {
  color: var(--dark-wood);
  margin-bottom: 0;
}

.modal-body p {
  font-size: 1.2rem;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  font-size: 1rem !important;
  color: var(--stone-gray) !important;
  margin-bottom: 2rem !important;
}

.modal-buttons {
  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(--dark-wood) 0%,
    var(--wood-medium) 100%
  );
  color: var(--bone-white);
  padding: 1rem;
  z-index: 999;
  display: none;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  border-top: 3px solid var(--ochre);
}

.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(--ochre);
}

.cookie-text a {
  color: var(--jade-light);
  text-decoration: underline;
}

.cookie-text a:hover {
  color: var(--cream);
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Header */
.header {
  background: rgba(45, 27, 23, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  border-bottom: 2px solid var(--ochre);
}

.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(--ochre);
  text-decoration: none;
  letter-spacing: -0.02em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--bone-white);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: var(--jade-light);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--ochre);
  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: center;
  position: relative;
}

.hamburger-line {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--bone-white);
  transition: all 0.3s ease;
  position: absolute;
}

.hamburger-line:first-child {
  top: 0;
}

.hamburger-line:last-child {
  bottom: 0;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--dark-wood);
  flex-direction: column;
  padding: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border-top: 2px solid var(--ochre);
}

.mobile-nav-link {
  color: var(--bone-white);
  text-decoration: none;
  padding: 1rem;
  border-bottom: 1px solid rgba(245, 240, 232, 0.1);
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.mobile-nav-link:hover {
  background: rgba(245, 240, 232, 0.1);
  color: var(--jade-light);
  border-left-color: var(--ochre);
}

/* 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 .hamburger-line:first-child {
    transform: rotate(45deg) translateY(15px);
  }

  .mobile-menu-toggle:checked ~ .mobile-menu-btn .hamburger-line:last-child {
    transform: rotate(-45deg) translateY(-15px);
  }
}

/* Hero Section */
.hero {
  color: var(--bone-white);
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 26, 23, 0.85) 0%,
    rgba(61, 54, 47, 0.75) 50%,
    rgba(38, 70, 64, 0.85) 100%
  );
  z-index: 0;
}

@keyframes cultural-wave {
  0%,
  100% {
    transform: translateX(0) scaleY(1);
  }
  50% {
    transform: translateX(-25px) scaleY(1.1);
  }
}

.hero-content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 4rem 2rem;
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-text h1 {
  margin-bottom: 0.5rem;
  color: white;
}

.hero-text h2 {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: white;
}

.victory-notice {
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  color: var(--ochre-light) !important;
  background: linear-gradient(
    135deg,
    rgba(204, 138, 61, 0.2),
    rgba(229, 168, 84, 0.2)
  );
  padding: 1.5rem;
  border-radius: 12px;
  border: 2px solid var(--ochre);
  margin-bottom: 2rem !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  box-shadow: inset 0 0 20px rgba(204, 138, 61, 0.1);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-text {
  max-width: 900px;
  margin: 0 auto;
  color: var(--bone-white);
}

.hero-text p {
  color: var(--bone-white);
}

/* Gallery and Section Images */
.gallery-item img,
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.about-image img {
  display: block;
  min-height: 400px;
}

.about-image {
  min-height: 400px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 16/9;
  min-height: 200px;
  width: 100%;
}

/* Image Placeholders */
.image-placeholder {
  background: rgba(245, 240, 232, 0.1);
  border: 2px dashed rgba(245, 240, 232, 0.3);
  border-radius: 12px;
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(245, 240, 232, 0.8);
  padding: 2rem;
  transition: all 0.3s ease;
  background-image: radial-gradient(
      circle at 25% 25%,
      rgba(204, 138, 61, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 75% 75%,
      rgba(61, 124, 71, 0.1) 0%,
      transparent 50%
    );
}

.image-placeholder:hover {
  background: rgba(245, 240, 232, 0.15);
  border-color: rgba(204, 138, 61, 0.6);
  transform: scale(1.02);
}

.image-placeholder i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--ochre-light);
}

.image-placeholder p {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: var(--cream);
}

/* Section Styles */
section {
  padding: 4rem 0;
}

section:nth-child(even) {
  background: var(--cream);
}

section:nth-child(odd) {
  background: var(--bone-white);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
  position: relative;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--jade-green), var(--ochre));
  border-radius: 2px;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--stone-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* Play Section */
.play-section {
  background: linear-gradient(135deg, #1a1715 0%, #2d1b17 100%);
  color: var(--bone-white);
  position: relative;
  overflow: hidden;
}

.play-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(61, 124, 71, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 50%,
      rgba(204, 138, 61, 0.15) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.play-section .container {
  position: relative;
  z-index: 1;
}

.play-section .section-header h2 {
  color: var(--dark-wood);
}

.play-section .section-header p {
  color: var(--dark-wood);
}

.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: 2.5rem 2rem;
  background: linear-gradient(135deg, var(--bone-white) 0%, var(--cream) 100%);
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  border: 3px solid var(--ochre);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(204, 138, 61, 0.4);
}

.feature i {
  font-size: 4rem;
  color: var(--jade-green);
  margin-bottom: 1.5rem;
  display: block;
}

.feature h3 {
  color: var(--dark-wood);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.feature p {
  color: var(--charcoal);
  font-size: 1.1rem;
  line-height: 1.6;
}

.play-button-center {
  text-align: center;
  margin-bottom: 3rem;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, var(--ochre) 0%, var(--ochre-light) 100%);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(204, 138, 61, 0.4);
}

.play-disclaimer {
  margin-top: 1.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--bone-white);
  letter-spacing: 0.5px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Game Gallery in Play Section */
.game-gallery {
  margin-top: 3rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.gallery-item .image-placeholder {
  background: rgba(45, 27, 23, 0.2);
  border-color: rgba(204, 138, 61, 0.4);
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 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.75rem;
  padding: 1rem;
  background: var(--cream);
  border-radius: 8px;
  border-left: 4px solid var(--jade-green);
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: var(--bone-white);
  border-left-color: var(--ochre);
  transform: translateX(5px);
}

.feature-item i {
  color: var(--jade-green);
  font-size: 1.2rem;
}

.feature-item span {
  font-weight: 600;
  color: var(--dark-wood);
}

/* Leaderboard */
.leaderboard {
  background: linear-gradient(135deg, #1a1715 0%, #2d1b17 100%);
  color: var(--bone-white);
  position: relative;
  overflow: hidden;
}

.leaderboard::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 30% 40%,
    rgba(204, 138, 61, 0.1) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.leaderboard .container {
  position: relative;
  z-index: 1;
}

.leaderboard .section-header h2 {
  color: var(--dark-wood);
}

.leaderboard .section-header p {
  color: var(--cream);
}

.leaderboard-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.leader-item {
  background: linear-gradient(135deg, var(--bone-white) 0%, var(--cream) 100%);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  border: 3px solid transparent;
}

.leader-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(204, 138, 61, 0.4);
  border-color: var(--ochre);
}

.leader-item.rank-1 {
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
  border-color: #ffd700;
  box-shadow: 0 8px 35px rgba(255, 215, 0, 0.5);
}

.leader-item.rank-1:hover {
  box-shadow: 0 12px 50px rgba(255, 215, 0, 0.6);
}

.leader-item.rank-2 {
  background: linear-gradient(135deg, #e8e8e8 0%, #c0c0c0 100%);
  border-color: #c0c0c0;
  box-shadow: 0 8px 35px rgba(192, 192, 192, 0.5);
}

.leader-item.rank-2:hover {
  box-shadow: 0 12px 50px rgba(192, 192, 192, 0.6);
}

.leader-item.rank-3 {
  background: linear-gradient(135deg, #cd7f32 0%, #8b4513 100%);
  border-color: #cd7f32;
  box-shadow: 0 8px 35px rgba(205, 127, 50, 0.5);
}

.leader-item.rank-3:hover {
  box-shadow: 0 12px 50px rgba(205, 127, 50, 0.6);
}

.rank-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: rgba(26, 23, 21, 0.1);
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.8rem;
  border: 3px solid rgba(26, 23, 21, 0.2);
  font-family: var(--font-display);
}

.rank-badge i {
  font-size: 1.8rem;
  margin-right: 0.3rem;
}

.player-info {
  flex: 1;
}

.player-info h3 {
  color: var(--dark-wood);
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.player-info p {
  margin: 0;
  color: var(--charcoal);
  font-size: 1rem;
  font-style: italic;
  font-weight: 500;
}

.score {
  text-align: right;
}

.score span {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--dark-wood);
  line-height: 1.2;
}

.score small {
  font-size: 0.85rem;
  color: var(--charcoal);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.leaderboard-info {
  background: linear-gradient(135deg, var(--bone-white) 0%, var(--cream) 100%);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  border: 3px solid var(--jade-green);
}

.leaderboard-info h3 {
  color: var(--jade-green);
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
}

.leaderboard-info p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: var(--charcoal);
  font-size: 1.05rem;
}

/* Security Section */
.security-content {
  display: grid;
  gap: 3rem;
}

.security-text h3 {
  margin-bottom: 1.5rem;
  color: var(--dark-wood);
}

.security-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.security-certifications h3 {
  margin-bottom: 2rem;
  text-align: center;
  color: var(--dark-wood);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.cert-item {
  background: var(--bone-white);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(45, 27, 23, 0.1);
  transition: all 0.3s ease;
  border: 3px solid transparent;
}

.cert-item:hover {
  transform: translateY(-4px);
  border-color: var(--jade-green);
  box-shadow: 0 8px 30px rgba(45, 27, 23, 0.15);
}

.cert-item i {
  font-size: 3rem;
  color: var(--jade-green);
  margin-bottom: 1rem;
}

.cert-item h4 {
  color: var(--dark-wood);
  margin-bottom: 1rem;
  font-family: var(--font-display);
}

.cert-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--stone-gray);
}

/* Guide Section */
.guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.guide-step {
  background: linear-gradient(135deg, var(--bone-white) 0%, var(--cream) 100%);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
}

.guide-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  border-color: var(--jade-green);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--jade-green), var(--jade-light));
  color: var(--bone-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(61, 124, 71, 0.3);
}

.step-icon {
  font-size: 3rem;
  color: var(--ochre);
  margin: 1.5rem 0 1rem;
}

.guide-step h3 {
  color: var(--dark-wood);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.guide-step p {
  color: var(--charcoal);
  font-size: 1rem;
  line-height: 1.6;
}

/* Guide Cards */
.guide-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.guide-card {
  background: var(--bone-white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 4px solid var(--jade-green);
}

.guide-card:hover {
  transform: translateX(5px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--ochre), var(--ochre-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--bone-white);
  font-size: 1.8rem;
}

.guide-card h4 {
  color: var(--dark-wood);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.guide-card p {
  color: var(--charcoal);
  line-height: 1.6;
}

/* Modern Tips Section */
.guide-tips-modern {
  background: linear-gradient(
    135deg,
    var(--jade-dark) 0%,
    var(--jade-green) 100%
  );
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.guide-tips-modern h3 {
  color: var(--bone-white);
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
}

.guide-tips-modern h3 i {
  color: var(--ochre-light);
  margin-right: 0.5rem;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.tip-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.25rem;
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  backdrop-filter: blur(10px);
  transition: background 0.3s ease;
}

.tip-item:hover {
  background: rgba(255, 255, 255, 0.15);
}

.tip-item i {
  color: var(--ochre-light);
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.tip-item span {
  color: var(--bone-white);
  line-height: 1.6;
  font-size: 1rem;
}

/* FAQ Section */
.faq-content {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bone-white);
  margin-bottom: 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(45, 27, 23, 0.1);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--jade-green);
}

.faq-item h3 {
  background: linear-gradient(135deg, var(--dark-wood), var(--wood-medium));
  color: var(--bone-white);
  padding: 1.5rem;
  margin: 0;
  font-size: 1.2rem;
  font-family: var(--font-display);
  border-left: 4px solid var(--ochre);
}

.faq-item p {
  padding: 1.5rem;
  margin: 0;
  line-height: 1.7;
  font-size: 1.05rem;
  color: var(--charcoal);
}

/* Reviews Section */
.reviews-content {
  display: grid;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.review-item {
  background: var(--bone-white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(45, 27, 23, 0.1);
  border-left: 4px solid var(--jade-green);
  transition: all 0.3s ease;
}

.review-item:hover {
  transform: translateX(5px);
  border-left-color: var(--ochre);
  box-shadow: 0 6px 25px rgba(45, 27, 23, 0.15);
}

.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: linear-gradient(135deg, var(--jade-green), var(--jade-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bone-white);
  font-size: 1.5rem;
  border: 3px solid var(--ochre);
  overflow: hidden;
}

.reviewer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.reviewer-details h4 {
  margin: 0;
  color: var(--dark-wood);
  font-family: var(--font-display);
}

.reviewer-details p {
  margin: 0;
  color: var(--stone-gray);
  font-size: 0.9rem;
  font-style: italic;
}

.review-rating {
  color: var(--ochre);
  font-size: 1.2rem;
}

.review-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--charcoal);
}

/* 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;
  padding: 1rem;
  background: var(--cream);
  border-radius: 8px;
  border-left: 4px solid var(--jade-green);
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--jade-green);
}

.contact-item h4 {
  margin: 0;
  color: var(--dark-wood);
}

.contact-item p {
  margin: 0;
  font-weight: 600;
  color: var(--charcoal);
}

.contact-note {
  font-size: 0.95rem;
  color: var(--stone-gray);
  line-height: 1.6;
  background: var(--cream);
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid var(--ochre);
}

/* Additional Gallery */
.additional-gallery {
  background: var(--cream);
  padding: 3rem 0;
}

.gallery-grid-extended {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.gallery-grid-extended .gallery-item {
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 16/9;
  min-height: 350px;
}

.gallery-grid-extended img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid-extended img:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.gallery-grid-extended .image-placeholder {
  background: rgba(45, 27, 23, 0.1);
  border-color: rgba(61, 124, 71, 0.3);
  color: var(--dark-wood);
}

.gallery-grid-extended .image-placeholder i {
  color: var(--jade-green);
}

.gallery-grid-extended .image-placeholder p {
  color: var(--stone-gray);
}

/* Footer */
.footer {
  background: var(--dark-wood);
  color: var(--bone-white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section {
  min-width: 0;
}

.footer-section h3,
.footer-section h4 {
  color: var(--ochre-light);
  margin-bottom: 1rem;
  font-family: var(--font-display);
  word-wrap: break-word;
}

.footer-section p {
  color: rgba(245, 240, 232, 0.8);
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: rgba(245, 240, 232, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 0.25rem 0;
  border-left: 3px solid transparent;
  padding-left: 0.5rem;
  display: block;
}

.footer-section ul li a:hover {
  color: var(--jade-light);
  border-left-color: var(--ochre);
}

.footer-banners {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 0;
  flex-wrap: wrap;
}

.footer-banners img {
  display: block;
  width: auto;
  transition: opacity 0.3s ease;
}

.footer-banners a {
  display: inline-flex;
  align-items: center;
}

.footer-banners a:hover img {
  opacity: 0.8;
}

.h-4 {
  height: 1rem;
}

.h-8 {
  height: 2rem;
}

.footer-bottom {
  border-top: 2px solid var(--ochre);
  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(245, 240, 232, 0.7);
  margin-bottom: 0.25rem;
}

.footer-copyright p {
  margin: 0;
  color: rgba(245, 240, 232, 0.7);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    background-attachment: scroll;
    min-height: 500px;
  }

  .hero-content {
    text-align: center;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .guide-steps {
    grid-template-columns: 1fr;
  }

  .guide-cards {
    grid-template-columns: 1fr;
  }

  .tips-grid {
    grid-template-columns: 1fr;
  }

  .leaderboard-content {
    grid-template-columns: 1fr;
  }

  .cert-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .gallery-grid-extended {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .gallery-item {
    min-height: 180px;
  }

  .gallery-grid-extended .gallery-item {
    min-height: 200px;
  }

  .container {
    padding: 0 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .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;
  }

  .play-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  .victory-notice {
    font-size: 1.1rem !important;
    padding: 1rem;
  }

  .modal-content {
    padding: 1.5rem;
    margin: 1rem;
  }

  .guide-step {
    padding: 1.5rem;
  }

  .step-icon {
    font-size: 2.5rem;
  }

  .guide-tips-modern {
    padding: 2rem 1rem;
  }

  .guide-tips-modern h3 {
    font-size: 1.5rem;
  }

  .modal-buttons {
    flex-direction: column;
  }

  .leader-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .rank-badge {
    width: 50px;
    height: 50px;
  }

  .review-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .feature-item {
    justify-content: center;
  }

  .gallery-grid {
    gap: 1rem;
  }

  .gallery-grid-extended {
    gap: 1rem;
  }

  .gallery-item {
    min-height: 150px;
  }

  .gallery-grid-extended .gallery-item {
    min-height: 180px;
  }
}
