:root {
  --bg-color: #F8F6F1;
  --surface: #FFFFFF;
  --prairie-gold: #C89D47;
  --tall-grass: #7A9A52;
  --forest-pine: #355C45;
  --earth-brown: #7A5C46;
  --sandstone: #E7D9BE;
  --river-blue: #76A8C5;
  --stone-grey: #A4AAA7;
  --warm-ivory: #FFFDF8;
  --primary-text: #253126;
  --muted: #707A74;
  --accent-gradient: linear-gradient(135deg, #C89D47, #7A9A52);
  --secondary-gradient: linear-gradient(135deg, #355C45, #76A8C5);
  
  --font-editorial: 'Georgia', 'Playfair Display', serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  --anim-speed: 0.25s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-color);
  color: var(--primary-text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-editorial);
  font-weight: 400;
  color: var(--primary-text);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--anim-speed) ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Typography Elements */
.title-xl { font-size: 3.5rem; line-height: 1.1; margin-bottom: 1rem; }
.title-lg { font-size: 2.5rem; line-height: 1.2; margin-bottom: 1rem; }
.title-md { font-size: 1.75rem; line-height: 1.3; margin-bottom: 0.75rem; }
.text-body { font-size: 1.125rem; color: var(--muted); margin-bottom: 1.5rem; }
.text-sm { font-size: 0.875rem; color: var(--muted); }
.text-link { color: var(--prairie-gold); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; font-size: 0.875rem; }
.text-link:hover { color: var(--earth-brown); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: 30px;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all var(--anim-speed) ease;
  font-family: var(--font-sans);
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--surface);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(200, 157, 71, 0.3);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--prairie-gold);
  color: var(--primary-text);
}
.btn-secondary:hover {
  background: var(--warm-ivory);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--stone-grey);
  color: var(--primary-text);
}
.btn-outline:hover {
  border-color: var(--primary-text);
}

/* Layout Blocks */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Nature Banner */
.nature-banner {
  background-color: var(--forest-pine);
  color: var(--warm-ivory);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.nature-banner .text-link {
  color: var(--sandstone);
}
.nature-banner .text-link:hover {
  color: var(--surface);
}

/* Header */
.header-wrapper {
  position: sticky;
  top: 1rem;
  z-index: 100;
  padding: 0 2rem;
}
.site-header {
  background: var(--warm-ivory);
  height: 72px;
  border-radius: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border-bottom: 2px solid var(--sandstone);
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-editorial);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--earth-brown);
}
.logo-icon {
  width: 24px;
  height: 24px;
  fill: var(--prairie-gold);
}
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--primary-text);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--prairie-gold);
  transition: width var(--anim-speed) ease;
}
.nav-links a:hover::after {
  width: 100%;
}

/* Editorial Split Landing */
.split-landing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 3rem 0;
  min-height: 500px;
}
.split-content {
  padding-right: 2rem;
}
.split-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}
.split-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--anim-speed) ease;
}
.split-image:hover img {
  transform: scale(1.02);
}

/* Wildlife Panorama */
.panorama-section {
  background: var(--surface);
  padding: 3rem 0;
  border-top: 1px solid var(--sandstone);
  border-bottom: 1px solid var(--sandstone);
}
.panorama-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.panorama-item h4 {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem;
}
.panorama-item p {
  font-size: 0.875rem;
  color: var(--muted);
}
.panorama-icon {
  width: 32px;
  height: 32px;
  margin: 0 auto;
  fill: var(--tall-grass);
}

/* Wild Buffalo Experience */
.experience-section {
  padding: 4rem 0;
  background: var(--bg-color);
  text-align: center;
}
.game-container {
  max-width: 1020px;
  margin: 0 auto;
  background: var(--warm-ivory);
  border: 12px solid var(--earth-brown);
  border-radius: 28px;
  padding: 4px;
  box-shadow: 0 20px 40px rgba(37, 49, 38, 0.15);
  position: relative;
}
.game-frame {
  width: 100%;
  height: 573px; /* 16:9 aspect roughly */
  border-radius: 12px;
  border: 2px solid var(--prairie-gold);
  background: #000;
  overflow: hidden;
}
.game-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.game-controls {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Prairie Discovery Grid */
.discovery-section {
  padding: 4rem 0;
  background: var(--surface);
}
.discovery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.discovery-card {
  background: var(--bg-color);
  border-radius: 16px;
  overflow: hidden;
  transition: transform var(--anim-speed) ease;
}
.discovery-card:hover {
  transform: translateY(-5px);
}
.discovery-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.discovery-content {
  padding: 2rem;
}
.discovery-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.discovery-content p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* Nature Journal */
.journal-section {
  padding: 4rem 0;
}
.journal-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  background: var(--surface);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.journal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.journal-content {
  padding: 3rem 3rem 3rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.journal-topics {
  margin-top: 2rem;
}
.journal-topics li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--sandstone);
  font-size: 1.125rem;
  color: var(--earth-brown);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.journal-topics li::before {
  content: '→';
  color: var(--prairie-gold);
}

/* Platform Info */
.platform-section {
  background: var(--forest-pine);
  color: var(--warm-ivory);
  padding: 4rem 0;
}
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.platform-item h3 {
  color: var(--prairie-gold);
  font-family: var(--font-sans);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}
.platform-item p {
  font-size: 1rem;
  opacity: 0.9;
}

/* Contact Lounge */
.contact-section {
  padding: 5rem 0;
  background: var(--bg-color);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  background: var(--surface);
  padding: 4rem;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.contact-info p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}
.mini-faq {
  margin-top: 2rem;
}
.mini-faq h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}
.mini-faq p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-text);
}
.form-group input, .form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--stone-grey);
  border-radius: 8px;
  background: var(--warm-ivory);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color var(--anim-speed) ease;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--prairie-gold);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.site-footer {
  background: var(--warm-ivory);
  padding: 4rem 0 2rem;
  border-top: 2px solid var(--sandstone);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}
.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--earth-brown);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-col a {
  color: var(--muted);
  font-size: 0.95rem;
}
.footer-col a:hover {
  color: var(--prairie-gold);
}
.footer-bottom {
  border-top: 1px solid var(--sandstone);
  padding-top: 2rem;
  text-align: center;
}
.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--earth-brown);
  font-weight: 600;
  font-family: var(--font-editorial);
}
.footer-bottom p {
  color: var(--stone-grey);
  font-size: 0.875rem;
  max-width: 800px;
  margin: 0.5rem auto 0;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  background: var(--warm-ivory);
  border: 2px solid var(--prairie-gold);
  border-radius: 22px;
  padding: 1.5rem;
  width: 340px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  z-index: 1000;
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--anim-speed) ease, transform var(--anim-speed) ease;
}
.cookie-popup.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.cookie-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.cookie-icon {
  width: 24px;
  height: 24px;
  fill: var(--earth-brown);
}
.cookie-popup h4 {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 600;
}
.cookie-popup p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.cookie-actions {
  display: flex;
  gap: 0.75rem;
}
.cookie-actions button {
  flex: 1;
  padding: 0.5rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all var(--anim-speed) ease;
}
.btn-accept {
  background: var(--prairie-gold);
  color: var(--surface);
}
.btn-accept:hover {
  background: var(--earth-brown);
}
.btn-reject {
  background: transparent;
  border: 1px solid var(--stone-grey);
  color: var(--primary-text);
}
.btn-reject:hover {
  border-color: var(--primary-text);
}

/* Page Layout Template */
.page-header {
  padding: 4rem 0 2rem;
  text-align: center;
}
.page-content {
  background: var(--surface);
  border-radius: 24px;
  padding: 4rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  margin-bottom: 4rem;
}
.page-content h2 { margin-top: 2rem; margin-bottom: 1rem; }
.page-content p { margin-bottom: 1rem; color: var(--muted); }
.return-home {
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
}

@media (max-width: 1024px) {
  .split-landing, .journal-layout, .contact-layout {
    grid-template-columns: 1fr;
  }
  .panorama-grid, .platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .discovery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .nav-links, .header-play { display: none; }
  .discovery-grid { grid-template-columns: 1fr; }
  .panorama-grid, .platform-grid, .footer-grid { grid-template-columns: 1fr; }
  .cookie-popup { bottom: 1rem; left: 1rem; right: 1rem; width: auto; }
}