:root {
  --red-ochre: #C1440E;
  --red-ochre-light: #D95B1E;
  --red-ochre-dark: #A33B0A;
  --green-gum: #1B4332;
  --green-gum-light: #2D6A4F;
  --sky-blue: #219BCE;
  --cream: #FFF8F0;
  --cream-dark: #F5EDE0;
  --navy: #1A1A2E;
  --gold: #FFC107;
  --white: #FFFFFF;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--cream);
  color: var(--navy);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 80px 8vw;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
}

.shape-1 {
  width: 600px;
  height: 600px;
  background: var(--red-ochre);
  top: -200px;
  right: -100px;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: var(--green-gum);
  bottom: -100px;
  left: -100px;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: var(--sky-blue);
  top: 30%;
  right: 30%;
}

.hero-text {
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-block;
  font-family: 'Fredoka', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-ochre);
  background: rgba(193, 68, 14, 0.1);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--navy);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-lede {
  font-size: 1.2rem;
  color: var(--navy);
  opacity: 0.7;
  max-width: 440px;
  line-height: 1.7;
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.character-card {
  background: var(--white);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(26, 26, 46, 0.1);
  text-align: center;
  width: 280px;
  border: 2px solid var(--cream-dark);
}

.character-silhouette svg {
  width: 200px;
  height: 240px;
}

.character-label {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.species {
  font-family: 'Fredoka', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red-ochre);
}

.name {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.8rem;
  color: var(--navy);
}

.trait {
  font-size: 0.85rem;
  color: var(--sky-blue);
  font-weight: 600;
}

.landscape-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Fredoka', sans-serif;
  font-size: 0.85rem;
  color: var(--green-gum);
  opacity: 0.8;
}

.location-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-ochre);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* GAMEPLAY */
.gameplay {
  padding: 100px 8vw;
  background: var(--white);
}

.section-header {
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-family: 'Fredoka', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sky-blue);
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
}

.gameplay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.gameplay-card {
  padding: 40px;
  background: var(--cream);
  border-radius: 20px;
  border: 2px solid transparent;
  transition: border-color 0.3s, transform 0.3s;
}

.gameplay-card:hover {
  border-color: var(--red-ochre);
  transform: translateY(-4px);
}

.card-icon {
  margin-bottom: 24px;
}

.gameplay-card h3 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.gameplay-card p {
  font-size: 0.95rem;
  color: var(--navy);
  opacity: 0.7;
  line-height: 1.7;
}

/* CHARACTERS */
.characters {
  position: relative;
  padding: 100px 8vw;
  overflow: hidden;
}

.characters-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.characters-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--cream) 0%, #F0E8D8 50%, var(--cream) 100%);
}

.section-header {
  position: relative;
  z-index: 1;
  margin-bottom: 48px;
}

.section-sub {
  font-size: 1.1rem;
  opacity: 0.7;
  margin-top: 12px;
}

.character-showcase {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.character-item {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 24px;
  border: 2px solid var(--cream-dark);
  transition: transform 0.3s, box-shadow 0.3s;
}

.character-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(26, 26, 46, 0.08);
}

.animal-badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.badge-kangaroo { background: rgba(193, 68, 14, 0.12); color: var(--red-ochre); }
.badge-magpie { background: rgba(26, 26, 46, 0.1); color: var(--navy); }
.badge-koala { background: rgba(33, 155, 206, 0.12); color: #1a7a9e; }
.badge-wombat { background: rgba(27, 67, 50, 0.12); color: var(--green-gum); }

.badge-text {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
}

.animal-desc {
  font-size: 0.9rem;
  color: var(--navy);
  opacity: 0.7;
  line-height: 1.6;
}

/* MODDING */
.modding {
  padding: 100px 8vw;
  background: var(--green-gum);
  color: var(--white);
}

.modding-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.modding-text .section-tag { color: var(--gold); }

.modding-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}

.modding-lede {
  font-size: 1.05rem;
  opacity: 0.8;
  line-height: 1.7;
  margin-bottom: 32px;
}

.modding-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modding-features li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  font-weight: 500;
}

.check-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-gum-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Editor Preview */
.mod-editor-preview {
  background: #1a1a2e;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}

.editor-topbar {
  background: #2d2d5a;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.editor-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.editor-title {
  font-family: 'Nunito', sans-serif;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  flex: 1;
  text-align: center;
  margin-right: 60px;
}

.editor-canvas {
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.map-grid {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.grid-row {
  display: flex;
  gap: 6px;
}

.grid-cell {
  width: 52px;
  height: 52px;
  border-radius: 8px;
}

.cell-ground { background: #C1440E33; border: 1px dashed rgba(193,68,14,0.4); }
.cell-tree { background: #1B4332; border-radius: 4px; }
.cell-water { background: #219BCE; border-radius: 4px; }
.cell-kangaroo { background: var(--red-ochre); border-radius: 4px; display: flex; align-items: center; justify-content: center; }
.cell-magpie { background: #1A1A2E; border-radius: 4px; }

.editor-tools {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tool-btn {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #2d2d5a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.tool-active {
  background: var(--red-ochre);
}

.tool-icon {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.1rem;
  color: white;
  font-weight: 600;
}

/* VISION */
.vision {
  padding: 100px 8vw;
  background: var(--cream);
}

.vision-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.quote-text {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 32px;
}

.quote-text em {
  color: var(--red-ochre);
  font-style: normal;
}

.quote-attribution {
  font-size: 1rem;
  color: var(--navy);
  opacity: 0.6;
  font-style: italic;
}

/* FOOTER */
.footer {
  padding: 48px 8vw;
  background: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-brand {
  font-family: 'Fredoka', sans-serif;
  font-size: 2rem;
  color: var(--white);
  font-weight: 700;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.footer-links span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { margin-top: 40px; }
  .hero-lede { margin: 0 auto; }
  .gameplay-grid { grid-template-columns: 1fr 1fr; }
  .character-showcase { grid-template-columns: 1fr 1fr; }
  .modding-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero { padding: 60px 6vw; }
  .hero h1 { font-size: 2.8rem; }
  .gameplay-grid { grid-template-columns: 1fr; }
  .character-showcase { grid-template-columns: 1fr; }
  .gameplay, .characters, .modding, .vision { padding: 80px 6vw; }
  .character-card { width: 240px; }
  .footer { flex-direction: column; gap: 24px; text-align: center; }
  .footer-links { align-items: center; }
}