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

:root {
  --green-darkest: #0f2a08;
  --green-dark: #1a4a0e;
  --green-mid: #2d7a18;
  --green-light: #4aab28;
  --green-accent: #5ecf30;
  --green-pale: #a8e878;
  --green-bg: #e8f5d8;
  --green-content: #c8e8a0;
  --brown-dark: #3a2010;
  --brown-mid: #6b4020;
  --brown-light: #a06030;
  --brown-bg: #f0e0c0;
  --gold: #e8c020;
  --gold-dark: #b89000;
  --text-main: #1a2a10;
  --text-muted: #3a5a28;
  --text-light: #e8f5d8;
  --border-radius: 10px;
}

body {
  font-family: 'Nunito', sans-serif;
  background: #1e3d10;
  color: var(--text-main);
  min-height: 100vh;
}

/* ICON RESTORATION */
.nav-logo-icon:empty::before,
.hero-logo:empty::before {
  content: "🌻";
}

.footer-logo::before {
  content: "🌻";
  margin-right: 6px;
}

.page-title::before,
.section-title::before,
.wiki-section-title::before {
  content: "🌿";
  margin-right: 8px;
}

body.page-eggs .page-title::before,
body.page-eggs .wiki-section-title::before {
  content: "🥚";
}

.hero-play-btn::before {
  content: "▶";
  font-size: 0.85em;
}

.mbanner-icon:empty::before {
  content: "🌱";
}

.stub-notice-icon:empty::before {
  content: "🚧";
}

.panel-icon:empty::before,
.panel-header > span[style*="font-size:18px"]:empty::before {
  content: "🌿";
}

.updates-panel .panel-header:has(.panel-title):not(:has(.panel-icon))::before {
  content: "🌿";
  font-size: 18px;
  line-height: 1;
}

.updates-panel .panel-header > span[style*="font-size:18px"]:empty {
  display: none;
}

div[style*="font-size:36px"][style*="margin-bottom:8px"]:empty::before {
  content: "🌱";
}

.wiki-infobox-img-placeholder span:empty::before {
  content: "🖼️";
}

.topic-card::before {
  content: "🌿";
  display: block;
  font-size: 32px;
  line-height: 1;
  margin-bottom: 6px;
  filter: drop-shadow(1px 2px 2px rgba(0,0,0,0.12));
}

.topic-card[href*="crops"]::before,
.topic-card[href*="seed-shop"]::before { content: "🌱"; }
.topic-card[href*="gears"]::before,
.topic-card[href*="gear-shop"]::before { content: "🛠️"; }
.topic-card[href*="pets"]::before { content: "🐾"; }
.topic-card[href*="eggs"]::before { content: "🥚"; }
.topic-card[href*="seed-packs"]::before { content: "🎒"; }
.topic-card[href*="crates"]::before { content: "📦"; }
.topic-card[href*="guilds"]::before { content: "🛡️"; }
.topic-card[href*="stealing"]::before { content: "🔒"; }
.topic-card[href*="currencies"]::before { content: "💰"; }
.topic-card[href*="sprinklers"]::before { content: "💧"; }
.topic-card[href*="npcs"]::before { content: "👤"; }
.topic-card[href*="mutations"]::before { content: "✨"; }
.topic-card[href*="weather"]::before { content: "☀️"; }
.topic-card[href*="mechanics"]::before { content: "⚙️"; }
.topic-card[href*="codes"]::before { content: "🎁"; }
.topic-card[href*="guides"]::before { content: "📘"; }
.topic-card[href*="walls"]::before { content: "🧱"; }
.topic-card[href*="props"]::before { content: "🪑"; }
.topic-card[href*="leaks"]::before { content: "🔍"; }

.game-btn::before {
  content: "🌿";
  font-size: 1.05em;
  line-height: 1;
}

.game-btn[href*="crops"]::before { content: "🌱"; }
.game-btn[href*="gears"]::before { content: "🛠️"; }
.game-btn[href*="pets"]::before { content: "🐾"; }
.game-btn[href*="eggs"]::before { content: "🥚"; }
.game-btn[href*="guides"]::before { content: "📘"; }
.game-btn[href*="codes"]::before { content: "🎁"; }
.game-btn[href*="updates"]::before { content: "📰"; }

.nav-link::before,
.sidebar-link::before,
.quick-link-icon:empty::before,
.tool-card-icon:empty::before {
  content: "🌿";
  line-height: 1;
}

.nav-link::before,
.sidebar-link::before {
  margin-right: 5px;
}

.sidebar-link::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  min-width: 24px;
  height: 24px;
  margin-right: 0;
  font-size: 20px;
  line-height: 1;
}

.nav-link[href*="crops"]::before,
.sidebar-link[href*="crops"]::before { content: "🌱"; }
.nav-link[href*="value-calculator"]::before,
.sidebar-link[href*="value-calculator"]::before,
.quick-link[href*="value-calculator"] .quick-link-icon:empty::before,
.tool-card[href*="value-calculator"] .tool-card-icon:empty::before { content: "🧮"; }
.nav-link[href*="tools"]::before,
.sidebar-link[href*="tools"]::before,
.tool-card-icon:empty::before { content: "🧰"; }
.nav-link[href*="value-calculator"]::before,
.sidebar-link[href*="value-calculator"]::before { content: "🧮"; }
.nav-link[href*="guides"]::before,
.sidebar-link[href*="guides"]::before { content: "📘"; }
.nav-link[href*="codes"]::before,
.sidebar-link[href*="codes"]::before { content: "🎁"; }
.nav-link[href*="leaks"]::before,
.sidebar-link[href*="leaks"]::before { content: "🔍"; }
.nav-link[href*="updates"]::before,
.sidebar-link[href*="updates"]::before { content: "📰"; }
aside .sidebar-section:first-child .sidebar-link:first-of-type::before,
.sidebar-link[href="/"]::before { content: "🌻"; }
.sidebar-link[href*="mutations"]::before { content: "✨"; }
.sidebar-link[href*="pets"]::before { content: "🐾"; }
.sidebar-link[href*="gears"]::before { content: "🛠️"; }
.sidebar-link[href*="macros"]::before,
.quick-link[href*="macros"] .quick-link-icon:empty::before,
.tool-card[href*="macros"] .tool-card-icon:empty::before { content: "⚙️"; }
.sidebar-link[href*="shop"]::before { content: "🛒"; }
.sidebar-link[href*="eggs"]::before { content: "🥚"; }
.sidebar-link[href*="seed-packs"]::before { content: "🎒"; }
.sidebar-link[href*="guilds"]::before { content: "🛡️"; }
.sidebar-link[href*="stealing"]::before { content: "🔒"; }
.sidebar-link[href*="crates"]::before { content: "📦"; }
.sidebar-link[href*="all-pages"]::before { content: "📚"; }
.sidebar-link[href*="weather"]::before { content: "☀️"; }
.sidebar-link[href*="mechanics"]::before { content: "⚙️"; }
.sidebar-link[href*="events"]::before { content: "🎉"; }
.sidebar-link[href*="achievements"]::before { content: "🏆"; }

aside .sidebar-section:nth-of-type(1) .sidebar-link.active:nth-of-type(1)::before { content: "🌻"; }
aside .sidebar-section:nth-of-type(1) .sidebar-link.active:nth-of-type(2)::before { content: "📘"; }
aside .sidebar-section:nth-of-type(1) .sidebar-link.active:nth-of-type(3)::before { content: "🎁"; }
aside .sidebar-section:nth-of-type(2) .sidebar-link.active:nth-of-type(1)::before { content: "🧮"; }
aside .sidebar-section:nth-of-type(2) .sidebar-link.active:nth-of-type(2)::before { content: "🌱"; }
aside .sidebar-section:nth-of-type(2) .sidebar-link.active:nth-of-type(3)::before { content: "⚙️"; }
aside .sidebar-section:nth-of-type(3) .sidebar-link.active:nth-of-type(1)::before { content: "🌱"; }
aside .sidebar-section:nth-of-type(3) .sidebar-link.active:nth-of-type(2)::before { content: "🐾"; }
aside .sidebar-section:nth-of-type(3) .sidebar-link.active:nth-of-type(3)::before { content: "🛠️"; }
aside .sidebar-section:nth-of-type(3) .sidebar-link.active:nth-of-type(4)::before { content: "✨"; }
aside .sidebar-section:nth-of-type(3) .sidebar-link.active:nth-of-type(5)::before { content: "🥚"; }
aside .sidebar-section:nth-of-type(3) .sidebar-link.active:nth-of-type(6)::before { content: "🎒"; }
aside .sidebar-section:nth-of-type(4) .sidebar-link.active:nth-of-type(1)::before { content: "☀️"; }
aside .sidebar-section:nth-of-type(4) .sidebar-link.active:nth-of-type(2)::before { content: "🎉"; }
aside .sidebar-section:nth-of-type(4) .sidebar-link.active:nth-of-type(3)::before { content: "🔒"; }
aside .sidebar-section:nth-of-type(4) .sidebar-link.active:nth-of-type(4)::before { content: "🛡️"; }
aside .sidebar-section:nth-of-type(4) .sidebar-link.active:nth-of-type(5)::before { content: "📦"; }
aside .sidebar-section:nth-of-type(5) .sidebar-link.active:nth-of-type(1)::before { content: "📘"; }
aside .sidebar-section:nth-of-type(5) .sidebar-link.active:nth-of-type(2)::before { content: "🛠️"; }
aside .sidebar-section:nth-of-type(5) .sidebar-link.active:nth-of-type(3)::before { content: "✨"; }
aside .sidebar-section:nth-of-type(6) .sidebar-link.active:nth-of-type(1)::before { content: "📰"; }
aside .sidebar-section:nth-of-type(6) .sidebar-link.active:nth-of-type(2)::before { content: "🔍"; }
aside .sidebar-section:nth-of-type(6) .sidebar-link.active:nth-of-type(3)::before { content: "📚"; }

.tool-card-arrow:empty::before {
  content: "›";
}

.tip-card:nth-child(1) .tip-card-icon:empty::before { content: "📐"; }
.tip-card:nth-child(2) .tip-card-icon:empty::before { content: "⏱️"; }
.tip-card:nth-child(3) .tip-card-icon:empty::before { content: "🌱"; }
.tip-card:nth-child(4) .tip-card-icon:empty::before { content: "🖱️"; }
.tip-card:nth-child(5) .tip-card-icon:empty::before { content: "✅"; }
.tip-card:nth-child(6) .tip-card-icon:empty::before { content: "⌨️"; }

img[src*="RobuxLogo.png"] {
  filter: brightness(0) invert(1) drop-shadow(0 1px 1px rgba(0,0,0,0.45));
}

/* NAVBAR */
body > nav {
  background: linear-gradient(180deg, #1a4a0e 0%, #0f2a08 100%);
  border-bottom: 3px solid #0a1a05;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 60px;
  gap: 8px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 3px 16px rgba(0,0,0,0.5);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 38px;
  height: 38px;
  background: #fff;
  border-radius: 50%;
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.nav-logo-text {
  font-family: 'Oxanium', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.4);
  letter-spacing: 1px;
  line-height: 1;
}

.nav-logo-text span {
  color: var(--green-pale);
}

.nav-divider {
  width: 2px;
  height: 28px;
  background: rgba(255,255,255,0.2);
  margin: 0 8px;
}

.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
  flex: 1;
}

.nav-link {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.15s;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.2);
}

.nav-link:hover { background: rgba(255,255,255,0.15); }
.nav-link.active { background: rgba(255,255,255,0.25); }

.nav-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  padding: 0 10px;
  height: 34px;
  gap: 6px;
}

.nav-search input {
  background: none;
  border: none;
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  outline: none;
  width: 160px;
}

.nav-search input::placeholder { color: rgba(255,255,255,0.6); }

.search-kbd {
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  font-family: monospace;
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 320px;
  background: #0f2a08;
  border: 2px solid rgba(94, 207, 48, 0.3);
  border-radius: var(--border-radius);
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  z-index: 1000;
  overflow: hidden;
}

.search-result-item {
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
  text-decoration: none;
  color: #e8f5d8;
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid rgba(94, 207, 48, 0.1);
  transition: background 0.1s;
  outline: none;
}

.search-result-item:last-child { border-bottom: none; }

.search-result-item:hover,
.search-result-item:focus {
  background: rgba(94, 207, 48, 0.12);
  color: #fff;
}

.search-result-item mark {
  background: none;
  color: #a8e878;
  font-weight: 800;
}

.search-result-desc {
  font-size: 12px;
  font-weight: 400;
  color: rgba(232, 245, 216, 0.55);
  margin-top: 2px;
  line-height: 1.4;
}

.search-no-results {
  padding: 14px 16px;
  font-size: 13px;
  color: rgba(232, 245, 216, 0.5);
  text-align: center;
}

#search-wrapper {
  position: relative;
}

/* LAYOUT */
.page-wrapper {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: calc(100vh - 60px);
}

/* SIDEBAR */
aside {
  background: #163808;
  border-right: 3px solid #0a1a05;
  padding: 16px 0;
  position: sticky;
  top: 60px;
  height: calc(100vh - 60px);
  overflow-y: auto;
}

.sidebar-section {
  margin-bottom: 8px;
}

.sidebar-heading {
  font-family: 'Oxanium', sans-serif;
  font-weight: 700;
  font-size: 11px;
  color: rgba(168, 232, 120, 0.7);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 16px 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sidebar-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(168, 232, 120, 0.2);
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(232, 245, 216, 0.85);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all 0.12s;
  cursor: pointer;
}

.sidebar-link:hover {
  background: rgba(255,255,255,0.08);
  border-left-color: var(--green-accent);
  color: #fff;
}

.sidebar-link.active {
  background: rgba(255,255,255,0.12);
  border-left-color: var(--green-accent);
  color: #fff;
}

.sidebar-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

/* MAIN CONTENT */
main {
  padding: 24px 28px;
  background: #2d5c18;
  min-height: calc(100vh - 60px);
}

/* HOME PAGE CENTERING */
.home-container {
  max-width: 960px;
  margin: 0 auto;
  color: var(--text-light);
}

.breadcrumb {
  max-width: 1100px;
  margin: 0 auto 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: rgba(232, 245, 216, 0.7);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.breadcrumb a {
  color: #a8e878;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb-sep {
  color: rgba(232, 245, 216, 0.35);
}

.site-index-section {
  margin-top: 28px;
}

.site-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  align-items: start;
}

.site-index-group {
  background: rgba(15, 42, 8, 0.46);
  border: 1.5px solid rgba(168, 232, 120, 0.22);
  border-radius: 8px;
  padding: 12px;
}

.site-index-group h3 {
  font-family: 'Oxanium', sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 8px;
}

.site-index-group h3 a,
.site-index-group li a {
  color: #e8f5d8;
  text-decoration: none;
}

.site-index-group h3 a:hover,
.site-index-group li a:hover {
  color: #a8e878;
}

.site-index-group ul {
  list-style: none;
  display: grid;
  gap: 6px;
}

.site-index-group li {
  font-size: 13px;
  line-height: 1.35;
}

/* HERO BANNER */
.hero {
  background: linear-gradient(135deg, #1a4a0e 0%, #0f2a08 100%);
  border-radius: var(--border-radius);
  padding: 28px 32px;
  margin-bottom: 24px;
  border: 3px solid #0a1a05;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.hero::before {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-top {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.hero-logo-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.hero-logo {
  width: 72px;
  height: 72px;
  background: rgba(255,255,255,0.12);
  border: 3px solid rgba(255,255,255,0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.hero-title {
  font-family: 'Oxanium', sans-serif;
  font-weight: 800;
  font-size: 32px;
  color: #fff;
  text-shadow: 2px 3px 0 rgba(0,0,0,0.5);
  line-height: 1.1;
  letter-spacing: 1px;
}

.hero-subtitle {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  margin-top: 6px;
  font-weight: 600;
  max-width: 480px;
}

.hero-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, #f0b429 0%, #d49010 100%);
  color: #5c3b1e;
  font-family: 'Fredoka One', cursive;
  font-size: 15px;
  padding: 8px 20px;
  border-radius: 10px;
  text-decoration: none;
  margin-top: 14px;
  border: 2.5px solid var(--brown-dark);
  box-shadow: 0 3px 0 #8b5e2e, 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.1s, box-shadow 0.1s;
  cursor: pointer;
}

.hero-play-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 0 #8b5e2e, 0 6px 12px rgba(0,0,0,0.2);
}

.hero-play-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 0 #8b5e2e;
}

.hero-stats {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.15);
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-stat-num {
  font-family: 'Oxanium', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--green-pale);
  display: block;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.3);
}

.hero-stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* RELEASE COUNTDOWN */
.release-countdown {
  text-align: center;
}

.countdown-label {
  font-family: 'Oxanium', sans-serif;
  font-weight: 800;
  font-size: 10px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

.countdown-blocks {
  display: flex;
  align-items: center;
  gap: 4px;
}

.countdown-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 4px 8px;
  min-width: 40px;
}

.countdown-block span:first-child {
  font-family: 'Oxanium', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  line-height: 1;
}

.cd-unit {
  font-size: 9px;
  color: rgba(255,255,255,0.55);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.countdown-sep {
  font-family: 'Oxanium', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}

/* HOME TRAILER */
.home-trailer-section {
  margin-bottom: 32px;
  margin-top: 28px;
}

.home-trailer-label {
  font-family: 'Oxanium', sans-serif;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #a8e878;
  margin-bottom: 12px;
}

.home-trailer-wrap {
  display: flex;
  gap: 0;
  align-items: stretch;
  background: rgba(8,22,4,0.7);
  border: 1.5px solid rgba(94,207,48,0.2);
  border-radius: 10px;
  overflow: hidden;
  max-width: 680px;
}

.home-trailer-embed {
  position: relative;
  padding-bottom: 42%;
  flex: 0 0 58%;
  height: 0;
  overflow: hidden;
}

.home-trailer-info {
  flex: 1;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  border-left: 1px solid rgba(94,207,48,0.15);
}

.home-trailer-title {
  font-family: 'Oxanium', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #e8f5d8;
  line-height: 1.3;
}

.home-trailer-desc {
  font-size: 13px;
  color: rgba(232,245,216,0.55);
  line-height: 1.5;
}

/* GUIDE CTA BUTTON */
.guide-cta-wrap {
  margin: 16px 0 28px;
}

.guide-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Oxanium', sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 10px;
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
}

.guide-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
  filter: brightness(1.1);
}

.guide-cta-btn.cta-green {
  background: linear-gradient(135deg, #1a5c0a, #2d8a12);
  color: #d8f8a8;
  border: 1.5px solid rgba(168,232,120,0.4);
}

.guide-cta-btn.cta-gold {
  background: linear-gradient(135deg, #5c4200, #8a6600);
  color: #ffe080;
  border: 1.5px solid rgba(245,204,85,0.4);
}

.guide-cta-btn.cta-red {
  background: linear-gradient(135deg, #5c0a0a, #a01010);
  color: #ffcccc;
  border: 1.5px solid rgba(245,122,122,0.4);
}

.guide-cta-btn.cta-blue {
  background: linear-gradient(135deg, #0a2a5c, #1040a0);
  color: #b0d8ff;
  border: 1.5px solid rgba(122,184,245,0.4);
}

.guide-cta-btn.cta-purple {
  background: linear-gradient(135deg, #2a0a5c, #5010a0);
  color: #ddb8ff;
  border: 1.5px solid rgba(192,122,245,0.4);
}

.home-trailer-link {
  display: inline-block;
  font-family: 'Oxanium', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: #d8f8a8;
  text-decoration: none;
  background: rgba(0,0,0,0.45);
  border: 1.5px solid rgba(168,232,120,0.5);
  border-radius: 6px;
  padding: 7px 14px;
  width: fit-content;
  transition: background 0.15s, border-color 0.15s;
}

.home-trailer-link:hover {
  background: rgba(0,0,0,0.65);
  border-color: #a8e878;
}

@media (max-width: 600px) {
  .home-trailer-wrap {
    flex-direction: column;
  }
  .home-trailer-embed {
    flex: none;
    width: 100%;
    padding-bottom: 56.25%;
  }
  .home-trailer-info {
    padding: 16px;
  }
}

/* STYLED BUTTONS - matching the game style from image */
.game-btn-row {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.game-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Oxanium', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  border: 2.5px solid;
  transition: transform 0.1s, box-shadow 0.1s;
  box-shadow: 0 4px 0;
  letter-spacing: 0.5px;
}

.game-btn:hover { transform: translateY(-2px); }
.game-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 !important; }

.btn-green {
  background: linear-gradient(180deg, #3aaa18 0%, #1a6a08 100%);
  color: #fff;
  border-color: #0f3a05;
  box-shadow: 0 4px 0 #0f3a05;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.btn-brown {
  background: linear-gradient(180deg, #c4883a 0%, #8b5e2e 100%);
  color: #fff8ef;
  border-color: #5c3b1e;
  box-shadow: 0 4px 0 #5c3b1e;
  text-shadow: 0 1px 0 rgba(0,0,0,0.3);
}

.btn-gold {
  background: linear-gradient(180deg, #f5cc55 0%, #d49010 100%);
  color: #5c3b1e;
  border-color: #8b6000;
  box-shadow: 0 4px 0 #8b6000;
  text-shadow: 0 1px 0 rgba(255,255,255,0.25);
}

/* SECTION HEADER */
.section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  margin-top: 28px;
}

.section-header:first-of-type { margin-top: 0; }

.section-title {
  font-family: 'Oxanium', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: #e8f5d8;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.3);
  letter-spacing: 0.5px;
}

.section-title-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, #b5d98a, transparent);
  border-radius: 2px;
}

/* TOPIC GRID */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 8px;
}

.topic-card {
  background: rgba(15, 42, 8, 0.6);
  border: 2px solid rgba(94, 207, 48, 0.3);
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
  box-shadow: 0 3px 0 rgba(0,0,0,0.3);
}

.topic-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 0 rgba(0,0,0,0.3);
  border-color: var(--green-accent);
  background: rgba(26, 74, 14, 0.8);
}

.topic-card:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 #c0d898;
}

.topic-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 6px;
  filter: drop-shadow(1px 2px 2px rgba(0,0,0,0.12));
}

.topic-name {
  font-family: 'Oxanium', sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  color: #e8f5d8;
  line-height: 1.2;
  letter-spacing: 0.3px;
}

/* UPDATES + ASIDE 2-col */
.two-col {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
  margin-top: 28px;
}

.updates-panel {
  background: rgba(232, 245, 216, 0.95);
  border: 2px solid rgba(94, 207, 48, 0.35);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.panel-header {
  background: linear-gradient(180deg, #1e5c0a 0%, #0f2a08 100%);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid #0a1a05;
}

.panel-icon {
  font-size: 18px;
  line-height: 1;
}

.panel-title {
  font-family: 'Oxanium', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.4);
  letter-spacing: 0.5px;
}

.panel-badge {
  background: var(--gold);
  color: var(--brown-dark);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 20px;
  border: 1.5px solid var(--gold-dark);
  margin-left: auto;
}

.update-item {
  padding: 14px 16px;
  border-bottom: 1.5px solid #eaf5d3;
  cursor: pointer;
  transition: background 0.1s;
}

.update-item:last-child { border-bottom: none; }
.update-item:hover { background: var(--green-bg); }

.update-version {
  font-size: 11px;
  font-weight: 800;
  color: var(--green-dark);
  background: var(--green-bg);
  border: 1.5px solid #b5d98a;
  border-radius: 6px;
  padding: 1px 7px;
  display: inline-block;
  margin-bottom: 5px;
}

.update-date {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  float: right;
}

.update-title {
  font-weight: 800;
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 4px;
}

.update-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* RIGHT PANEL */
.right-col { display: flex; flex-direction: column; gap: 14px; }

.info-panel {
  background: rgba(232, 245, 216, 0.95);
  border: 2px solid rgba(94, 207, 48, 0.35);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.info-panel .panel-header {
  background: linear-gradient(180deg, #c4883a 0%, #8b5e2e 100%);
}

.info-row {
  padding: 8px 14px;
  border-bottom: 1px solid #f0f7e4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.info-row:last-child { border-bottom: none; }

.info-label { color: var(--text-muted); font-weight: 700; }
.info-value { font-weight: 800; color: var(--text-main); }

.status-badge {
  background: #d0f0c0;
  color: #2a6010;
  border: 1.5px solid #90c870;
  border-radius: 6px;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 800;
}

/* QUICK LINKS */
.quick-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.quick-link {
  padding: 10px 14px;
  border-bottom: 1px solid #f0f7e4;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  transition: background 0.1s;
  text-decoration: none;
}

.quick-link:last-child { border-bottom: none; }
.quick-link:hover { background: var(--green-bg); color: var(--green-dark); }

.quick-link-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.ql-green { background: var(--green-bg); border: 1.5px solid #b5d98a; }
.ql-gold { background: #fdf3d8; border: 1.5px solid #f5cc55; }
.ql-brown { background: var(--brown-bg); border: 1.5px solid #d4a870; }

/* LEAK MEDIA */
.leak-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 12px;
  margin-bottom: 8px;
}

.leak-media-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 24px;
  background: rgba(15, 42, 8, 0.5);
  border: 2px dashed rgba(94, 207, 48, 0.2);
  border-radius: var(--border-radius);
}

.leak-media-item {
  background: rgba(15, 42, 8, 0.55);
  border: 2px solid rgba(94, 207, 48, 0.25);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
}

.leak-video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
}

.leak-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.leak-media-img {
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 240px;
  cursor: zoom-in;
  transition: opacity 0.15s;
}

.leak-media-img:hover {
  opacity: 0.9;
}

.leak-media-caption {
  padding: 10px 14px;
  font-size: 13px;
  color: rgba(232, 245, 216, 0.8);
  line-height: 1.5;
  border-top: 1px solid rgba(94, 207, 48, 0.15);
}

.leak-media-label {
  display: inline-block;
  font-family: 'Oxanium', sans-serif;
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--gold);
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(232,192,32,0.3);
  border-radius: 4px;
  padding: 2px 7px;
  margin-right: 6px;
  vertical-align: middle;
}

/* LEAK TWEET GRID */
.leak-tweet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.leak-tweet-item {
  display: flex;
  justify-content: center;
}

.leak-tweet-item .twitter-tweet {
  margin: 0 !important;
  width: 100% !important;
}

/* UPDATE LOG */
.update-log {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.update-log-empty {
  text-align: center;
  padding: 48px 24px;
  background: rgba(15, 42, 8, 0.5);
  border: 2px solid rgba(94, 207, 48, 0.2);
  border-radius: var(--border-radius);
}

.update-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(15, 42, 8, 0.55);
  border: 2px solid rgba(94, 207, 48, 0.25);
  border-radius: var(--border-radius);
  padding: 16px 20px;
  text-decoration: none;
  color: #e8f5d8;
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
  transition: all 0.15s;
}

.update-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
  border-color: var(--green-accent);
  background: rgba(26, 74, 14, 0.75);
}

.update-card-version {
  font-family: 'Oxanium', sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: var(--gold);
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(232,192,32,0.3);
  border-radius: 6px;
  padding: 4px 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.update-card-body {
  flex: 1;
}

.update-card-title {
  font-family: 'Oxanium', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #a8e878;
  margin-bottom: 3px;
}

.update-card-date {
  font-size: 12px;
  color: rgba(232, 245, 216, 0.55);
  font-weight: 600;
}

.update-card-summary {
  font-size: 13px;
  color: rgba(232, 245, 216, 0.75);
  margin-top: 4px;
  line-height: 1.5;
}

.update-card-arrow {
  font-size: 20px;
  color: #a8e878;
  flex-shrink: 0;
}

.update-card-badge {
  background: var(--gold);
  color: var(--brown-dark);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 20px;
  font-family: 'Oxanium', sans-serif;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

/* FOOTER */
footer {
  background: #0f2a08;
  border-top: 3px solid #0a1a05;
  padding: 20px 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 0;
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo {
  font-family: 'Oxanium', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--green-pale);
  text-shadow: 1px 1px 0 rgba(0,0,0,0.3);
  letter-spacing: 1px;
}

.footer-note {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-link {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-weight: 700;
}

.footer-link:hover { color: var(--green-pale); }

/* PAGE CONTENT STYLES */
.page-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-header {
  margin-bottom: 24px;
}

.page-title {
  font-family: 'Oxanium', sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: #e8f5d8;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.page-description {
  font-size: 15px;
  color: rgba(232, 245, 216, 0.75);
}

/* CONTENT CARD */
.content-card {
  background: #fff;
  border: 2.5px solid #d0e8a8;
  border-radius: var(--border-radius);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 3px 0 #c0d898;
}

.content-card h2 {
  font-family: 'Fredoka One', cursive;
  font-size: 18px;
  color: var(--brown-dark);
  margin-bottom: 12px;
}

.content-card p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}

/* PANEL CONTENT - replaces inline styles */
.panel-body {
  padding: 16px;
}

.panel-body p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.panel-body ul,
.panel-body ol {
  margin-left: 20px;
  line-height: 1.8;
}

.panel-body ul li,
.panel-body ol li {
  font-size: 14px;
}

.panel-body a {
  color: #2d7a18;
  text-decoration: none;
  font-weight: 700;
}

.panel-body a:hover {
  color: #1a4a0e;
  text-decoration: underline;
}

.updates-panel + .updates-panel {
  margin-top: 20px;
}

/* MOBILE NAV TOGGLE */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 4px 8px;
}

/* GUIDES HUB */
.guides-all-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.guides-divider {
  border: none;
  border-top: 1px solid rgba(94,207,48,0.15);
  margin: 24px 0 20px;
}

/* Featured row */
.guide-featured-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 4px;
}

.guide-featured-card {
  display: flex;
  align-items: center;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  background: rgba(10,25,5,0.7);
  border: 1.5px solid rgba(94,207,48,0.2);
  transition: border-color 0.15s, transform 0.15s;
  min-height: 68px;
}

.guide-featured-card:hover {
  border-color: rgba(94,207,48,0.5);
  transform: translateX(3px);
}

.guide-fc-left {
  flex-shrink: 0;
  width: 90px;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 6px;
}

.guide-fc-left-green  { background: #1a5c0a; }
.guide-fc-left-gold   { background: #5c4200; }
.guide-fc-left-blue   { background: #0a2a5c; }
.guide-fc-left-red    { background: #5c0a0a; }
.guide-fc-left-purple { background: #2a0a5c; }
.guide-fc-left-teal   { background: #0a3c3c; }

.guide-fc-tag {
  font-family: 'Oxanium', sans-serif;
  font-weight: 800;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-align: center;
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  text-transform: uppercase;
}

.guide-fc-left-green  .guide-fc-tag { color: #a8e878; }
.guide-fc-left-gold   .guide-fc-tag { color: #f5cc55; }
.guide-fc-left-blue   .guide-fc-tag { color: #7ab8f5; }
.guide-fc-left-red    .guide-fc-tag { color: #f57a7a; }
.guide-fc-left-purple .guide-fc-tag { color: #c07af5; }
.guide-fc-left-teal   .guide-fc-tag { color: #5cfff0; }

.guide-fc-body {
  flex: 1;
  padding: 12px 14px;
}

.guide-fc-title {
  font-family: 'Oxanium', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: #e8f5d8;
  line-height: 1.3;
  margin-bottom: 4px;
}

.guide-fc-desc {
  font-size: 12px;
  color: rgba(232,245,216,0.5);
  line-height: 1.4;
}

.guide-fc-arrow {
  flex-shrink: 0;
  padding: 0 16px;
  font-size: 18px;
  color: rgba(232,245,216,0.3);
}

/* Article list */
.guide-article-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.guide-article-card {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  background: rgba(10,25,5,0.6);
  border: 1.5px solid rgba(94,207,48,0.15);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.15s, background 0.15s;
  min-height: 60px;
}

.guide-article-card:hover {
  background: rgba(10,25,5,0.85);
  border-color: rgba(94,207,48,0.4);
}

.guide-article-stripe {
  flex-shrink: 0;
  width: 4px;
  align-self: stretch;
}

.guide-stripe-green  { background: #5aaa30; }
.guide-stripe-gold   { background: #f5cc55; }
.guide-stripe-blue   { background: #5a90e0; }
.guide-stripe-red    { background: #e05a5a; }
.guide-stripe-purple { background: #a05ae0; }
.guide-stripe-teal   { background: #30c8b8; }

.guide-article-inner {
  flex: 1;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.guide-article-tag {
  font-family: 'Oxanium', sans-serif;
  font-weight: 800;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.guide-atag-green  { background: rgba(94,207,48,0.15);  color: #a8e878; border: 1px solid rgba(94,207,48,0.3); }
.guide-atag-gold   { background: rgba(245,204,85,0.12); color: #f5cc55; border: 1px solid rgba(245,204,85,0.3); }
.guide-atag-blue   { background: rgba(90,144,224,0.12); color: #7ab8f5; border: 1px solid rgba(90,144,224,0.3); }
.guide-atag-red    { background: rgba(224,90,90,0.12);  color: #f57a7a; border: 1px solid rgba(224,90,90,0.3); }
.guide-atag-purple { background: rgba(160,90,224,0.12); color: #c07af5; border: 1px solid rgba(160,90,224,0.3); }
.guide-atag-teal   { background: rgba(48,200,184,0.1);  color: #5cfff0; border: 1px solid rgba(48,200,184,0.3); }

.guide-article-title {
  font-family: 'Oxanium', sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  color: #e8f5d8;
  line-height: 1.3;
  flex: 1;
  min-width: 140px;
}

.guide-article-desc {
  display: none;
}

.guide-article-cta {
  flex-shrink: 0;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(232,245,216,0.35);
  font-family: 'Oxanium', sans-serif;
}

.guide-article-card:hover .guide-article-cta {
  color: #a8e878;
}

.guides-section-label {
  font-family: 'Oxanium', sans-serif;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #a8e878;
  margin-bottom: 12px;
}

.guides-filter-label {
  font-size: 14px;
  color: rgba(232,245,216,0.7);
  margin-bottom: 12px;
}

.guide-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.guide-filter-btn {
  font-family: 'Oxanium', sans-serif;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 6px 14px;
  border-radius: 6px;
  border: 2px solid rgba(94,207,48,0.3);
  background: rgba(15,42,8,0.5);
  color: rgba(232,245,216,0.7);
  cursor: pointer;
  transition: all 0.15s;
}

.guide-filter-btn:hover {
  border-color: #a8e878;
  color: #e8f5d8;
}

.guide-filter-btn.active {
  background: rgba(94,207,48,0.2);
  border-color: #a8e878;
  color: #fff;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}

.guide-grid-featured {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  margin-bottom: 0;
}

.guide-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--border-radius);
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.15s, box-shadow 0.15s;
}

.guide-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.guide-card-tag {
  font-family: 'Oxanium', sans-serif;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 18px 16px 14px;
  text-align: center;
}

.guide-card-body {
  background: rgba(10,25,5,0.85);
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.guide-card-title {
  font-family: 'Oxanium', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: #e8f5d8;
  line-height: 1.3;
}

.guide-card-desc {
  font-size: 12.5px;
  color: rgba(232,245,216,0.6);
  line-height: 1.5;
  flex: 1;
}

.guide-badge {
  display: inline-block;
  font-family: 'Oxanium', sans-serif;
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 4px;
  margin-top: 4px;
  width: fit-content;
}

/* Guide card color variants */
.guide-card-green .guide-card-tag { background: #1a5c0a; color: #a8e878; }
.guide-card-green .guide-badge { background: rgba(94,207,48,0.2); color: #a8e878; border: 1px solid rgba(94,207,48,0.4); }

.guide-card-gold .guide-card-tag { background: #5c4200; color: #f5cc55; }
.guide-card-gold .guide-badge { background: rgba(245,204,85,0.15); color: #f5cc55; border: 1px solid rgba(245,204,85,0.4); }

.guide-card-blue .guide-card-tag { background: #0a2a5c; color: #7ab8f5; }
.guide-card-blue .guide-badge { background: rgba(122,184,245,0.15); color: #7ab8f5; border: 1px solid rgba(122,184,245,0.4); }

.guide-card-red .guide-card-tag { background: #5c0a0a; color: #f57a7a; }
.guide-card-red .guide-badge { background: rgba(245,122,122,0.15); color: #f57a7a; border: 1px solid rgba(245,122,122,0.4); }

.guide-card-purple .guide-card-tag { background: #2a0a5c; color: #c07af5; }
.guide-card-purple .guide-badge { background: rgba(192,122,245,0.15); color: #c07af5; border: 1px solid rgba(192,122,245,0.4); }

.guide-card-teal .guide-card-tag { background: #0a3c3c; color: #5cfff0; }
.guide-card-teal .guide-badge { background: rgba(92,255,240,0.1); color: #5cfff0; border: 1px solid rgba(92,255,240,0.3); }

/* MAGAZINE GUIDE CARDS */
.gm-featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 4px;
}

.gm-card {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
  transition: transform 0.18s, box-shadow 0.18s;
}

.gm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.5);
}

.gm-card-top {
  padding: 22px 18px 16px;
  position: relative;
}

.gm-top-green  { background: linear-gradient(135deg, #1a5c0a, #2d8a12); }
.gm-top-gold   { background: linear-gradient(135deg, #5c4200, #8a6600); }
.gm-top-blue   { background: linear-gradient(135deg, #0a2a5c, #1040a0); }
.gm-top-red    { background: linear-gradient(135deg, #5c0a0a, #a01010); }
.gm-top-purple { background: linear-gradient(135deg, #2a0a5c, #5010a0); }
.gm-top-teal   { background: linear-gradient(135deg, #0a3c3c, #0a7070); }

.gm-card-cat {
  font-family: 'Oxanium', sans-serif;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(0,0,0,0.25);
}

.gm-top-green  .gm-card-cat { color: #b8f888; }
.gm-top-gold   .gm-card-cat { color: #ffe080; }
.gm-top-blue   .gm-card-cat { color: #90c8ff; }
.gm-top-red    .gm-card-cat { color: #ffaaaa; }
.gm-top-purple .gm-card-cat { color: #d0a0ff; }
.gm-top-teal   .gm-card-cat { color: #80fff0; }

.gm-card-body {
  background: rgba(8,22,4,0.92);
  padding: 16px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.06);
  border-top: none;
  border-radius: 0 0 10px 10px;
}

.gm-card-title {
  font-family: 'Oxanium', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: #e8f5d8;
  line-height: 1.35;
}

.gm-card-desc {
  font-size: 12.5px;
  color: rgba(232,245,216,0.55);
  line-height: 1.5;
  flex: 1;
}

.gm-card-read {
  font-family: 'Oxanium', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.gm-card-green  .gm-card-read { color: #a8e878; }
.gm-card-gold   .gm-card-read { color: #f5cc55; }
.gm-card-blue   .gm-card-read { color: #7ab8f5; }
.gm-card-red    .gm-card-read { color: #f57a7a; }
.gm-card-purple .gm-card-read { color: #c07af5; }
.gm-card-teal   .gm-card-read { color: #5cfff0; }

/* Small cards grid (All Guides) */
.gm-all-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.gm-small-card {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.07);
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.gm-small-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  border-color: rgba(255,255,255,0.15);
}

.gm-small-top {
  padding: 12px 14px 10px;
}

.gm-stop-green  { background: #1a5c0a; }
.gm-stop-gold   { background: #5c4200; }
.gm-stop-blue   { background: #0a2a5c; }
.gm-stop-red    { background: #5c0a0a; }
.gm-stop-purple { background: #2a0a5c; }
.gm-stop-teal   { background: #0a3c3c; }

.gm-small-cat {
  font-family: 'Oxanium', sans-serif;
  font-weight: 800;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.gm-stop-green  .gm-small-cat { color: #a8e878; }
.gm-stop-gold   .gm-small-cat { color: #f5cc55; }
.gm-stop-blue   .gm-small-cat { color: #7ab8f5; }
.gm-stop-red    .gm-small-cat { color: #f57a7a; }
.gm-stop-purple .gm-small-cat { color: #c07af5; }
.gm-stop-teal   .gm-small-cat { color: #5cfff0; }

.gm-small-body {
  background: rgba(8,22,4,0.88);
  padding: 12px 14px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gm-small-title {
  font-family: 'Oxanium', sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: #e8f5d8;
  line-height: 1.3;
}

.gm-small-desc {
  font-size: 11.5px;
  color: rgba(232,245,216,0.5);
  line-height: 1.45;
  flex: 1;
}

.gm-small-read {
  font-family: 'Oxanium', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.3px;
  margin-top: 4px;
}

.gm-small-green  .gm-small-read { color: #a8e878; }
.gm-small-gold   .gm-small-read { color: #f5cc55; }
.gm-small-blue   .gm-small-read { color: #7ab8f5; }
.gm-small-red    .gm-small-read { color: #f57a7a; }
.gm-small-purple .gm-small-read { color: #c07af5; }
.gm-small-teal   .gm-small-read { color: #5cfff0; }

/* TOOL GRID */
.tool-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tool-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(15, 42, 8, 0.55);
  border: 2px solid rgba(94, 207, 48, 0.25);
  border-radius: var(--border-radius);
  padding: 18px 20px;
  text-decoration: none;
  color: #e8f5d8;
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
  transition: all 0.15s;
}

.tool-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
  border-color: var(--green-accent);
  background: rgba(26, 74, 14, 0.75);
}

.tool-card-icon {
  font-size: 36px;
  width: 56px;
  height: 56px;
  background: rgba(94, 207, 48, 0.15);
  border: 2px solid rgba(94, 207, 48, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tool-card-body {
  flex: 1;
}

.tool-card-title {
  font-family: 'Oxanium', sans-serif;
  font-weight: 800;
  font-size: 17px;
  color: #a8e878;
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}

.tool-card-desc {
  font-size: 13.5px;
  color: rgba(232, 245, 216, 0.7);
  line-height: 1.5;
}

.tool-card-arrow {
  font-size: 20px;
  color: #a8e878;
  flex-shrink: 0;
}

/* CALCULATOR */
.calculator-grid {
  border: 1.5px solid #d0e8a8;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
}

.calc-header {
  background: linear-gradient(180deg, #1e5c0a 0%, #0f2a08 100%);
  color: #fff !important;
  font-family: 'Oxanium', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.calc-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid #eaf5d3;
}

.calc-row:last-child { border-bottom: none; }

.calc-row span,
.calc-row input {
  padding: 10px 14px;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.calc-qty {
  width: 100%;
  border: none;
  border-left: 1px solid #d0e8a8;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  background: #fafff5;
  outline: none;
}

.calc-qty:focus { background: #eaf5d3; }

.calc-total-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  padding: 12px 4px 4px;
  font-size: 16px;
}

.calc-total-value {
  font-family: 'Oxanium', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #a8e878;
}

/* TIMER */
.timer-wrapper {
  text-align: center;
  padding: 8px 0;
}

.timer-display {
  font-family: 'Oxanium', sans-serif;
  font-weight: 800;
  font-size: 56px;
  color: #a8e878;
  letter-spacing: 6px;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.3);
  margin-bottom: 16px;
}

.timer-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.timer-input {
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  padding: 8px 12px;
  border: 2px solid #d0e8a8;
  border-radius: 8px;
  background: #fafff5;
  outline: none;
}

.timer-input:focus { border-color: var(--green-mid); }

/* WIKI PAGE STYLES */
.wiki-toc {
  background: rgba(15, 42, 8, 0.6);
  border: 2px solid rgba(94, 207, 48, 0.25);
  border-radius: var(--border-radius);
  padding: 16px 20px;
  margin-bottom: 24px;
  display: inline-block;
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

.wiki-toc-title {
  font-family: 'Oxanium', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #e8f5d8;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wiki-toc ol {
  margin-left: 20px;
  line-height: 2;
  color: rgba(232, 245, 216, 0.5);
}

.wiki-toc ol ol {
  margin-left: 16px;
  line-height: 1.8;
}

.wiki-toc li {
  color: rgba(232, 245, 216, 0.5);
  font-size: 14px;
}

.wiki-toc a {
  color: rgba(232, 245, 216, 0.85);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.wiki-toc a:hover {
  color: #fff;
  text-decoration: underline;
}

.wiki-section {
  margin-bottom: 28px;
}

.wiki-section-title {
  font-family: 'Oxanium', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: #a8e878;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(94, 207, 48, 0.4);
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}

.wiki-subsection-title {
  font-family: 'Oxanium', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #c8f090;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(168, 232, 120, 0.3);
  margin-bottom: 12px;
  margin-top: 20px;
}

.wiki-section h3,
.wiki-section h4 {
  color: rgba(232, 245, 216, 0.95);
}

.wiki-section p,
.wiki-section li {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 12px;
  color: rgba(232, 245, 216, 0.9);
}

.wiki-section ul,
.wiki-section ol {
  margin-left: 20px;
  line-height: 1.8;
}

/* CROP PAGE INFOBOX */
.crop-page-top {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.crop-page-top .wiki-toc {
  margin-bottom: 0;
  flex-shrink: 0;
}

.crop-infobox {
  flex: 1;
  background: rgba(15, 42, 8, 0.5);
  border: 2px solid rgba(94, 207, 48, 0.25);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 3px 0 #c0d898;
  min-height: 180px;
}

.crop-infobox-image {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 245, 216, 0.12);
  padding: 16px;
}

/* Index table crop/gear/pet image thumbnails */
.crop-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}

.crop-infobox-image img {
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
  border-radius: 8px;
}

/* CROP DATA TABLE */
.crop-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 2.5px solid #d0e8a8;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 3px 0 #c0d898;
  margin-bottom: 20px;
}

.crop-table thead th {
  background: linear-gradient(180deg, #1e5c0a 0%, #0f2a08 100%);
  color: #fff;
  font-family: 'Oxanium', sans-serif;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 14px;
  text-align: left;
  border-right: 1px solid #0a1a05;
  white-space: nowrap;
}

.crop-table thead th:last-child {
  border-right: none;
}

.crop-table tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid #eaf5d3;
  font-size: 14px;
  vertical-align: middle;
  color: #1a2a10;
  background: #fff;
}

.crop-table tbody tr:hover td {
  background: var(--green-bg);
  color: #1a2a10;
}

.crop-table tbody tr:last-child td {
  border-bottom: none;
}

.crop-name-link {
  color: #5ecf30;
  text-decoration: none;
  font-weight: 800;
}

.crop-name-link:hover {
  text-decoration: underline;
  color: #a8e878;
}

.crop-img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 2px solid #d0e8a8;
  object-fit: contain;
  background: var(--green-bg);
  padding: 4px;
  display: block;
}

.tier-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tier-unknown { background: #2a2a2a; color: #999; border: 1.5px solid #555; }
.tier-common { background: #e0e0e0; color: #555; border: 1.5px solid #bbb; }
.tier-uncommon { background: #d0f0c0; color: #2a6010; border: 1.5px solid #90c870; }
.tier-rare { background: #d6e8fa; color: #2a5090; border: 1.5px solid #80b0e0; }
.tier-epic { background: #e8d0f0; color: #6a2a90; border: 1.5px solid #b080d0; }
.tier-legendary { background: #fdf3d8; color: #8b6000; border: 1.5px solid #f5cc55; }

/* STUB NOTICE */
.stub-notice {
  background: linear-gradient(135deg, #d4883a 0%, #c07020 100%);
  border: 2.5px solid var(--brown-dark);
  border-radius: var(--border-radius);
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  box-shadow: 0 3px 0 #8b5e2e;
}

.stub-notice-icon {
  font-size: 32px;
}

.stub-notice-title {
  font-family: 'Oxanium', sans-serif;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 2px;
  letter-spacing: 0.3px;
}

.stub-notice-text {
  font-size: 13px;
  opacity: 0.9;
}

/* PANEL TABLES */
.panel-body table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

.panel-body th {
  padding: 10px;
  text-align: left;
  border: 2px solid #d0e8a8;
  background: var(--green-bg);
  font-weight: 800;
}

.panel-body td {
  padding: 10px;
  border: 1px solid #d0e8a8;
}

.panel-body code {
  background: #f5f5f5;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
}

/* ============================================
   FANDOM-STYLE WIKI ITEM PAGE
   ============================================ */

/* Two-column layout: content left, infobox right */
.wiki-item-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  max-width: 960px;
  margin: 0 auto;
}

.wiki-item-content {
  flex: 1;
  min-width: 0;
  color: rgba(232,245,216,0.9);
}

/* INFOBOX - right side panel */
.wiki-infobox {
  width: 300px;
  flex-shrink: 0;
  background: rgba(15,42,8,0.85);
  border: 2px solid rgba(94,207,48,0.35);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  position: sticky;
  top: 76px;
}

/* Infobox title bar */
.wiki-infobox-title {
  background: linear-gradient(180deg, #2d7a18 0%, #1a5c0a 100%);
  padding: 12px 16px;
  text-align: center;
  font-family: 'Oxanium', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  letter-spacing: 0.5px;
  text-shadow: 1px 2px 0 rgba(0,0,0,0.3);
  border-bottom: 2px solid #0f2a08;
}

/* Infobox image tabs */
.wiki-infobox-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  background: rgba(10,28,6,0.6);
  border-bottom: 1px solid rgba(94,207,48,0.2);
  user-select: none;
}

.wiki-infobox-tab {
  padding: 8px 16px;
  font-family: 'Oxanium', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: rgba(232,245,216,0.5);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.15s;
  text-decoration: none;
  flex: 1;
  text-align: center;
}

.wiki-infobox-tab:hover {
  color: rgba(232,245,216,0.8);
  background: rgba(255,255,255,0.04);
}

.wiki-infobox-tab.active {
  color: #f5cc55;
  border-bottom-color: #f5cc55;
  background: rgba(255,255,255,0.06);
}

/* Tab image panels */
.wiki-infobox-img-panel {
  display: none;
}

.wiki-infobox-img-panel.active {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  background: rgba(232,245,216,0.06);
  min-height: 160px;
}

.wiki-infobox-img-panel img {
  max-width: 180px;
  max-height: 180px;
  object-fit: contain;
  border-radius: 8px;
}

.wiki-infobox-img-placeholder {
  color: rgba(232,245,216,0.3);
  font-size: 13px;
  text-align: center;
  padding: 16px;
}

.wiki-infobox-img-placeholder span {
  display: block;
  font-size: 36px;
  margin-bottom: 8px;
  opacity: 0.4;
}

/* Infobox image area */
.wiki-infobox-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  background: rgba(232,245,216,0.06);
  min-height: 160px;
}

.wiki-infobox-image img {
  max-width: 180px;
  max-height: 180px;
  object-fit: contain;
  border-radius: 8px;
}

/* Infobox section header (green bar) */
.wiki-infobox-section {
  background: linear-gradient(180deg, #2d7a18 0%, #1a5c0a 100%);
  padding: 8px 16px;
  font-family: 'Oxanium', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  text-align: center;
  letter-spacing: 0.5px;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.3);
  border-top: 1px solid rgba(94,207,48,0.3);
}

/* Infobox property rows */
.wiki-infobox-row {
  display: flex;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(94,207,48,0.1);
  font-size: 13px;
  align-items: flex-start;
  gap: 8px;
}

.wiki-infobox-row:last-child {
  border-bottom: none;
}

.wiki-infobox-label {
  font-weight: 800;
  color: rgba(232,245,216,0.7);
  min-width: 100px;
  flex-shrink: 0;
  font-size: 12px;
}

.wiki-infobox-value {
  color: rgba(232,245,216,0.95);
  font-weight: 600;
  flex: 1;
}

.wiki-infobox-value ul {
  list-style: disc;
  margin-left: 16px;
  line-height: 1.6;
}

.wiki-infobox-value ul li {
  font-size: 12px;
  margin-bottom: 2px;
}

/* Robux icon inline */
.robux-icon {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.robux-icon::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background: #999;
  border-radius: 50%;
  font-size: 9px;
  text-align: center;
  line-height: 14px;
}

/* Content sections styling */
.wiki-item-content .wiki-section-title {
  font-size: 20px;
}

.wiki-item-content .wiki-section {
  margin-bottom: 24px;
}

.wiki-item-content .wiki-section p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(232,245,216,0.9);
  margin-bottom: 10px;
}

/* Full grown plant section within new layout */
.wiki-item-content .full-grown-placeholder {
  display: flex;
  justify-content: center;
  padding: 24px 0;
}

.wiki-item-content .full-grown-box {
  text-align: center;
  background: rgba(15,42,8,0.5);
  border: 2px dashed rgba(94,207,48,0.3);
  border-radius: 12px;
  padding: 32px 48px;
  min-width: 200px;
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
  .wiki-item-layout {
    flex-direction: column;
  }

  .wiki-infobox {
    width: 100%;
    position: static;
    order: -1;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
  }

  .nav-search {
    display: none;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .page-wrapper {
    grid-template-columns: 1fr;
  }

  aside {
    display: none;
  }

  aside.open {
    display: block;
    position: fixed;
    top: 60px;
    left: 0;
    width: 260px;
    z-index: 99;
    background: #163808;
    box-shadow: 4px 0 12px rgba(0,0,0,0.35);
  }

  .topic-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }
}

/* ── Crate Tabs ─────────────────────────────────────────── */
.crate-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.crate-tab-btn {
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(168,232,120,0.25);
  color: rgba(232,245,216,0.75);
  padding: 6px 14px;
  border-radius: 20px;
  font-family: 'Oxanium', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s;
}
.crate-tab-btn:hover {
  background: rgba(168,232,120,0.15);
  color: #a8e878;
  border-color: #a8e878;
}
.crate-tab-btn.active {
  background: linear-gradient(135deg, #4a9e1a, #2d6e0a);
  color: #fff;
  border-color: #a8e878;
}
.crate-tab-panel { display: none; }
.crate-tab-panel.active { display: block; }

/* ── Seed Pack Cards ─────────────────────────────────────── */
.seed-pack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 10px;
}
.seed-pack-card {
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(168,232,120,0.2);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.seed-pack-card:hover {
  border-color: #a8e878;
  transform: translateY(-2px);
}
.seed-pack-img {
  background: rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  min-height: 120px;
}
.seed-pack-img img {
  max-width: 100px;
  max-height: 100px;
  object-fit: contain;
}
.seed-pack-img-placeholder {
  font-size: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.seed-pack-info {
  padding: 12px 14px;
}
.seed-pack-name {
  font-family: 'Oxanium', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: #a8e878;
  margin-bottom: 8px;
}
.seed-pack-meta {
  font-size: 13px;
  color: rgba(232,245,216,0.8);
  margin-bottom: 4px;
  display: flex;
  gap: 6px;
}

/* ==========================================================
   COZY FARMING WIKI + LIVE TOOLS THEME
   Bright static-friendly theme layer for the full wiki.
   ========================================================== */
:root {
  --color-bg: #f6edd7;
  --color-bg-field: #edf6dd;
  --color-surface: #fffdf7;
  --color-surface-soft: #eff8e7;
  --color-surface-mint: #e2f1d8;
  --color-primary: #2f7d32;
  --color-primary-dark: #1f5e2f;
  --color-primary-soft: #b9df8f;
  --color-accent: #f4c542;
  --color-accent-soft: #fff0b8;
  --color-soil: #8a5a32;
  --color-soil-soft: #ead4b7;
  --color-sky: #6fb7df;
  --color-night: #24305f;
  --color-night-soft: #eceafe;
  --color-violet: #8267c7;
  --color-text: #24351f;
  --color-muted: #66745e;
  --color-border: #d9c9a7;
  --color-border-green: #b9d8a0;
  --shadow-soft: 0 12px 28px rgba(96, 71, 35, 0.12);
  --shadow-card: 0 5px 0 rgba(110, 83, 41, 0.16), 0 12px 24px rgba(96, 71, 35, 0.10);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --border-radius: 14px;
  --green-darkest: #173f24;
  --green-dark: #1f5e2f;
  --green-mid: #2f7d32;
  --green-light: #5aa650;
  --green-accent: #73bd52;
  --green-pale: #dff3bc;
  --green-bg: #eef8e2;
  --green-content: #d7efbf;
  --brown-dark: #4d321f;
  --brown-mid: #8a5a32;
  --brown-light: #b78348;
  --brown-bg: #ead4b7;
  --gold: #f4c542;
  --gold-dark: #b87912;
  --text-main: var(--color-text);
  --text-muted: var(--color-muted);
  --text-light: #fdf8ea;
}

html {
  scroll-padding-top: 78px;
}

body {
  background:
    linear-gradient(90deg, rgba(143, 178, 92, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(143, 178, 92, 0.08) 1px, transparent 1px),
    radial-gradient(circle at top left, rgba(244,197,66,0.28), transparent 36rem),
    linear-gradient(180deg, #fff8e7 0%, var(--color-bg) 36%, #e9f3d6 100%);
  background-size: 28px 28px, 28px 28px, auto, auto;
  color: var(--color-text);
}

a {
  color: var(--color-primary-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(244, 197, 66, 0.9);
  outline-offset: 3px;
}

body > nav {
  height: 68px;
  padding: 0 22px;
  background: rgba(255, 253, 247, 0.94);
  border-bottom: 1px solid rgba(138, 90, 50, 0.18);
  box-shadow: 0 6px 22px rgba(74, 53, 28, 0.12);
  backdrop-filter: blur(14px);
}

.nav-links {
  min-width: 0;
}

.nav-logo {
  min-width: fit-content;
}

.nav-logo-icon {
  width: 42px;
  height: 42px;
  background: radial-gradient(circle at 34% 28%, #fff7c4, #f7cf4e 44%, #8bc75a 45%, #fffdf7 64%);
  border: 2px solid rgba(138,90,50,0.22);
  box-shadow: inset 0 0 0 3px #fffdf7, 0 3px 0 rgba(138,90,50,0.18);
}

.nav-logo-text {
  color: var(--color-primary-dark);
  text-shadow: none;
  letter-spacing: 0;
}

.nav-logo-text span {
  color: var(--color-soil);
}

.nav-divider {
  background: rgba(138,90,50,0.18);
}

.nav-link {
  color: #365134;
  text-shadow: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 9px;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  background: var(--color-surface-soft);
  border-color: rgba(47,125,50,0.14);
  color: var(--color-primary-dark);
}

.nav-link.nav-link-intent.active {
  background: linear-gradient(180deg, #fff3bd, #ffe18a);
  border-color: rgba(184,121,18,0.18);
  color: #5f3e16;
  box-shadow: inset 0 -2px 0 rgba(184,121,18,0.12);
}

.nav-search {
  background: #fffdf7;
  border: 1.5px solid rgba(47,125,50,0.18);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 #fff, 0 4px 12px rgba(96,71,35,0.08);
}

.nav-search input {
  color: var(--color-text);
}

.nav-search input::placeholder {
  color: #7d8b72;
}

.search-kbd {
  background: var(--color-surface-soft);
  color: var(--color-muted);
}

.search-dropdown {
  background: var(--color-surface);
  border-color: rgba(47,125,50,0.16);
  box-shadow: var(--shadow-soft);
}

.search-result-item {
  color: var(--color-text);
  border-bottom-color: rgba(47,125,50,0.10);
}

.search-result-item:hover,
.search-result-item:focus {
  background: var(--color-surface-soft);
  color: var(--color-primary-dark);
}

.search-result-desc,
.search-no-results {
  color: var(--color-muted);
}

.nav-toggle {
  color: var(--color-primary-dark);
  font-size: 14px;
  font-weight: 800;
  border: 1px solid rgba(47,125,50,0.18);
  border-radius: 999px;
  background: var(--color-surface-soft);
}

.page-wrapper {
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: calc(100vh - 68px);
}

aside {
  top: 68px;
  height: calc(100vh - 68px);
  background:
    linear-gradient(180deg, rgba(255,253,247,0.96), rgba(238,248,226,0.96)),
    linear-gradient(90deg, rgba(47,125,50,0.06) 1px, transparent 1px);
  background-size: auto, 22px 22px;
  border-right: 1px solid rgba(138,90,50,0.16);
  padding: 18px 0;
}

.sidebar-heading {
  color: #7a683f;
  letter-spacing: 1.1px;
}

.sidebar-heading::after {
  background: rgba(138,90,50,0.18);
}

.sidebar-link {
  color: #40563a;
  border-left-width: 4px;
  border-radius: 0 999px 999px 0;
  margin-right: 10px;
}

.sidebar-link:hover,
.sidebar-link.active {
  background: rgba(47,125,50,0.10);
  color: var(--color-primary-dark);
  border-left-color: var(--color-accent);
}

main {
  background: transparent;
  min-height: calc(100vh - 68px);
  padding: 28px clamp(16px, 3vw, 40px) 42px;
}

.home-container,
.page-content,
.calculator-container {
  max-width: 1120px;
  color: var(--color-text);
}

.page-content {
  margin: 0 auto;
}

.breadcrumb {
  max-width: 1120px;
  background: rgba(255, 253, 247, 0.72);
  border: 1px solid rgba(138,90,50,0.13);
  border-radius: 999px;
  padding: 8px 13px;
  margin-bottom: 18px;
  color: var(--color-muted);
  box-shadow: 0 5px 14px rgba(96,71,35,0.06);
}

.breadcrumb a {
  color: var(--color-primary-dark);
}

.breadcrumb-sep {
  color: #a89873;
}

.page-header {
  background:
    radial-gradient(circle at 100% 0%, rgba(244,197,66,0.24), transparent 16rem),
    linear-gradient(135deg, #fffdf7 0%, #eef8e2 100%);
  border: 1px solid rgba(138,90,50,0.15);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 34px);
  box-shadow: var(--shadow-soft);
}

.page-title,
.hero-title {
  color: var(--color-primary-dark);
  text-shadow: none;
  letter-spacing: 0;
}

.page-title {
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.04;
}

.page-description,
.hero-subtitle {
  color: #546447;
  font-size: 16px;
  line-height: 1.65;
}

.hero {
  background:
    linear-gradient(90deg, rgba(76,118,48,0.10) 1px, transparent 1px),
    linear-gradient(rgba(76,118,48,0.10) 1px, transparent 1px),
    radial-gradient(circle at 14% 12%, rgba(255,232,143,0.92), rgba(255,232,143,0.26) 18rem, transparent 28rem),
    linear-gradient(135deg, #fff7d7 0%, #f2f8df 48%, #dcefc8 100%);
  background-size: 34px 34px, 34px 34px, auto, auto;
  border: 1px solid rgba(138,90,50,0.18);
  border-radius: 28px;
  box-shadow: var(--shadow-card);
  padding: clamp(26px, 6vw, 56px);
}

.hero::before {
  content: "";
  inset: auto -36px -42px auto;
  width: 210px;
  height: 210px;
  background:
    linear-gradient(90deg, rgba(138,90,50,0.18) 1px, transparent 1px),
    linear-gradient(rgba(138,90,50,0.18) 1px, transparent 1px),
    rgba(151,108,63,0.08);
  background-size: 26px 26px;
  border-radius: 34px;
  transform: rotate(-8deg);
}

.hero-top {
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-logo {
  background: rgba(255,255,255,0.64);
  border-color: rgba(138,90,50,0.20);
  border-radius: 24px;
  box-shadow: inset 0 0 0 4px rgba(255,255,255,0.52), 0 6px 0 rgba(138,90,50,0.14);
}

.hero-stats {
  position: relative;
  z-index: 1;
  gap: 12px;
}

.hero-stat,
.stat-card,
.info-panel,
.updates-panel,
.site-index-group,
.wiki-toc,
.wiki-section,
.tool-card,
.gm-card,
.gm-small-card,
.seed-pack-card {
  background: rgba(255, 253, 247, 0.88);
  border: 1px solid rgba(138,90,50,0.14);
  box-shadow: var(--shadow-soft);
}

.hero-stat {
  border-radius: 18px;
  padding: 14px;
}

.hero-stat-num {
  color: var(--color-primary-dark);
}

.hero-stat-label,
.cd-unit {
  color: var(--color-muted);
}

.countdown-label {
  color: var(--color-soil);
}

.countdown-block {
  background: #fffdf7;
  border: 1px solid rgba(138,90,50,0.13);
}

.countdown-block span:first-child {
  color: var(--color-primary-dark);
}

.countdown-sep {
  color: var(--color-soil);
}

.game-btn,
.hero-play-btn,
.guide-cta-btn,
.mbanner-ok,
.guide-filter-btn,
.mutation-btn,
.clear-btn,
.copy-code-btn {
  border-radius: 999px;
}

.hero-play-btn,
.btn-green,
.guide-cta-btn.cta-green,
.mbanner-ok {
  background: linear-gradient(180deg, #4fa447, #2f7d32);
  color: #fffdf7;
  border-color: #1f5e2f;
  box-shadow: 0 4px 0 #1f5e2f, 0 10px 18px rgba(47,125,50,0.18);
  text-shadow: none;
}

.btn-gold {
  background: linear-gradient(180deg, #ffe180, #f4c542);
  color: #5f3e16;
  border-color: #b87912;
  box-shadow: 0 4px 0 #b87912;
}

.btn-brown {
  background: linear-gradient(180deg, #b78348, #8a5a32);
  color: #fffdf7;
  border-color: #5c3a22;
  box-shadow: 0 4px 0 #5c3a22;
}

.section-title {
  color: var(--color-primary-dark);
  text-shadow: none;
}

.section-title-line {
  background: linear-gradient(90deg, rgba(47,125,50,0.35), transparent);
}

.topic-grid {
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 14px;
}

.topic-card {
  background: linear-gradient(180deg, #fffdf7, #eff8e7);
  border: 1px solid rgba(47,125,50,0.16);
  border-radius: 20px;
  padding: 18px 12px;
  box-shadow: var(--shadow-soft);
}

.topic-card:hover {
  background: #fffdf7;
  border-color: rgba(47,125,50,0.34);
  box-shadow: var(--shadow-card);
}

.topic-card:active {
  box-shadow: 0 2px 0 rgba(110, 83, 41, 0.16);
}

.topic-name {
  color: var(--color-primary-dark);
  letter-spacing: 0;
}

.two-col {
  align-items: start;
}

.panel-header {
  background: linear-gradient(180deg, #2f7d32, #1f5e2f);
  border-bottom-color: rgba(31,94,47,0.28);
}

.panel-title {
  color: #fffdf7;
  text-shadow: none;
}

.panel-badge,
.status-badge {
  background: var(--color-accent-soft);
  color: #6f4814;
  border-color: rgba(184,121,18,0.24);
}

.info-row,
.quick-link {
  border-bottom-color: rgba(47,125,50,0.10);
}

.quick-link {
  color: var(--color-text);
}

.quick-link:hover {
  background: var(--color-surface-soft);
}

.quick-link-icon,
.tool-card-icon {
  background: var(--color-surface-soft);
  border-color: rgba(47,125,50,0.18);
}

.site-index-section {
  background: rgba(255,253,247,0.72);
  border: 1px solid rgba(138,90,50,0.12);
  border-radius: 24px;
  padding: clamp(18px, 3vw, 28px);
  box-shadow: var(--shadow-soft);
}

.site-index-group {
  border-radius: 16px;
}

.site-index-group h3 a,
.site-index-group li a {
  color: var(--color-primary-dark);
}

.site-index-group li a:hover {
  color: var(--color-soil);
}

.wiki-toc {
  background: #fffdf7;
  border-color: rgba(138,90,50,0.14);
  border-radius: 18px;
}

.wiki-toc-title {
  color: var(--color-soil);
}

.wiki-toc li,
.wiki-toc ol {
  color: #8b7c60;
}

.wiki-toc a {
  color: var(--color-primary-dark);
}

.wiki-section {
  border-radius: 18px;
  padding: clamp(16px, 3vw, 24px);
}

.wiki-section-title {
  color: var(--color-primary-dark);
  border-bottom-color: rgba(47,125,50,0.18);
}

.wiki-subsection-title {
  color: var(--color-soil);
  border-bottom-color: rgba(138,90,50,0.18);
}

.wiki-section h3,
.wiki-section h4,
.wiki-section p,
.wiki-section li,
.wiki-item-content,
.wiki-item-content .wiki-section p {
  color: var(--color-text);
}

.crop-name-link {
  color: var(--color-primary-dark);
}

.crop-name-link:hover {
  color: #1f5e2f;
}

.crop-table {
  border: 1px solid rgba(138,90,50,0.14);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.crop-table thead th {
  background: linear-gradient(180deg, #2f7d32, #1f5e2f);
  border-right-color: rgba(255,255,255,0.18);
  padding: 12px 14px;
}

.crop-table tbody td {
  border-bottom-color: rgba(47,125,50,0.10);
  color: var(--color-text);
  background: #fffdf7;
}

.crop-table tbody tr:nth-child(even) td {
  background: #f8fbef;
}

.crop-table tbody tr:hover td {
  background: #edf8df;
}

.crop-img {
  background: #f8fbef;
  border-color: rgba(47,125,50,0.16);
  border-radius: 12px;
}

.tier-badge {
  border-radius: 999px;
  padding: 4px 10px;
}

.tier-unknown { background: #eef0ee; color: #5f665f; border-color: #c8ccc8; }
.tier-common { background: #f0f1ee; color: #5c625a; border-color: #d0d4cc; }
.tier-uncommon { background: #def3d0; color: #1f6a32; border-color: #98d178; }
.tier-rare { background: #ddf0fb; color: #1b5f8f; border-color: #8ec9e8; }
.tier-epic { background: #eee5fb; color: #6646a2; border-color: #b69ce0; }
.tier-legendary { background: #fff0c6; color: #8a5713; border-color: #f0c15a; }
.tier-mythic { background: #ffe0e8; color: #a92f57; border-color: #ef9ab2; }
.tier-super { background: linear-gradient(90deg, #fff0a8, #c9f29c, #bae6ff, #ead7ff); color: #51430d; border-color: #e0b53a; }

.tool-card {
  color: var(--color-text);
  border-radius: 20px;
}

.tool-card:hover {
  background: #fffdf7;
  border-color: rgba(47,125,50,0.30);
}

.tool-card-title,
.tool-card-arrow {
  color: var(--color-primary-dark);
}

.tool-card-desc {
  color: var(--color-muted);
}

.gm-card,
.gm-small-card,
.guide-card,
.guide-article-card,
.guide-featured-card {
  background: #fffdf7;
  border: 1px solid rgba(138,90,50,0.14);
  box-shadow: var(--shadow-soft);
}

.gm-card-body,
.gm-small-body,
.guide-card-body {
  background: #fffdf7;
}

.gm-card-title,
.gm-small-title,
.guide-card-title,
.guide-article-title,
.guide-fc-title {
  color: var(--color-text);
}

.gm-card-desc,
.gm-small-desc,
.guide-card-desc,
.guide-fc-desc {
  color: var(--color-muted);
}

.guide-filter-btn {
  background: #fffdf7;
  border-color: rgba(47,125,50,0.18);
  color: var(--color-primary-dark);
}

.guide-filter-btn:hover,
.guide-filter-btn.active {
  background: var(--color-surface-soft);
  border-color: rgba(47,125,50,0.42);
  color: var(--color-primary-dark);
}

.guides-section-label {
  color: var(--color-soil);
}

.calculator-container {
  margin: 0 auto;
}

.calculator-container .page-header {
  margin-bottom: 22px;
}

.search-box,
.controls-row,
.mutations-panel,
.selected-panel,
.price-panel,
.plant-grid {
  max-width: none !important;
}

.search-input,
.controls-row input,
#weight-input,
#bargain-input {
  background: #fffdf7 !important;
  border: 1.5px solid rgba(47,125,50,0.22) !important;
  color: var(--color-text) !important;
  border-radius: 999px !important;
}

.control-box,
.selected-panel,
.mutations-panel,
.price-panel {
  background: #fffdf7 !important;
  border: 1px solid rgba(138,90,50,0.14) !important;
  border-radius: 20px !important;
  box-shadow: var(--shadow-soft);
}

.control-label,
.mutations-title,
.mutation-section-title,
.selected-info h3,
.selected-header,
.price-label {
  color: var(--color-soil) !important;
}

.price-amount {
  color: var(--color-primary-dark) !important;
}

.plant-card {
  background: #fffdf7 !important;
  border-color: rgba(47,125,50,0.14) !important;
  border-radius: 18px !important;
}

.plant-card:hover,
.plant-card.selected {
  border-color: rgba(47,125,50,0.42) !important;
  box-shadow: var(--shadow-card);
}

.mutation-btn {
  border-width: 1.5px !important;
}

.wiki-infobox {
  background: #fffdf7;
  border-color: rgba(138,90,50,0.16);
  color: var(--color-text);
}

.wiki-infobox-title,
.wiki-infobox-section {
  background: linear-gradient(180deg, #2f7d32, #1f5e2f);
  border-bottom-color: rgba(31,94,47,0.28);
  text-shadow: none;
}

.wiki-infobox-tabs {
  background: #f3f8e8;
}

.wiki-infobox-tab {
  color: var(--color-muted);
}

.wiki-infobox-tab:hover,
.wiki-infobox-tab.active {
  color: var(--color-primary-dark);
  background: #fffdf7;
}

.wiki-infobox-img-panel.active,
.wiki-infobox-image {
  background: #f7fbef;
}

.wiki-infobox-row {
  border-bottom-color: rgba(47,125,50,0.10);
}

.wiki-infobox-label {
  color: var(--color-soil);
}

.wiki-infobox-value {
  color: var(--color-text);
}

.stub-notice {
  background: linear-gradient(135deg, #fff0b8, #f0c66f);
  color: #5f3e16;
  border-color: rgba(138,90,50,0.22);
  box-shadow: var(--shadow-soft);
}

.ad-slot {
  min-height: 96px;
  display: grid;
  place-items: center;
  border: 1.5px dashed rgba(138,90,50,0.22);
  border-radius: 18px;
  background: rgba(255,253,247,0.66);
  color: #8b7c60;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-section {
  margin-top: clamp(24px, 5vw, 44px);
}

.home-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.home-section-eyebrow {
  color: var(--color-soil);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-section-title {
  color: var(--color-primary-dark);
  font-family: 'Oxanium', sans-serif;
  font-size: clamp(22px, 4vw, 34px);
  line-height: 1.1;
}

.home-section-text {
  color: var(--color-muted);
  line-height: 1.65;
  max-width: 720px;
}

.home-hero-actions,
.home-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.home-link-row {
  margin-top: 10px;
}

.home-quick-grid,
.home-live-grid,
.home-path-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.home-tool-card,
.home-live-card,
.home-path-card,
.home-seo-block {
  background: rgba(255,253,247,0.9);
  border: 1px solid rgba(138,90,50,0.14);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.home-tool-card,
.home-live-card,
.home-path-card {
  display: flex;
  gap: 14px;
  padding: 18px;
  color: var(--color-text);
  text-decoration: none;
}

.home-tool-card:hover,
.home-path-card:hover {
  transform: translateY(-2px);
  border-color: rgba(47,125,50,0.34);
  box-shadow: var(--shadow-card);
}

.home-tool-icon,
.home-path-step {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: var(--color-surface-soft);
  color: var(--color-primary-dark);
  font-weight: 900;
  box-shadow: inset 0 -2px 0 rgba(47,125,50,0.10);
}

.home-tool-card strong,
.home-path-card strong,
.home-live-card strong {
  color: var(--color-primary-dark);
  display: block;
  margin-bottom: 4px;
}

.home-tool-card span,
.home-path-card span,
.home-live-card span {
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.45;
}

.home-live-card {
  flex-direction: column;
  min-height: 132px;
}

.home-live-card[data-tone="night"] {
  background: linear-gradient(135deg, #283567, #5f4c9c);
  color: #fffdf7;
}

.home-live-card[data-tone="night"] strong,
.home-live-card[data-tone="night"] span {
  color: #fffdf7;
}

.home-seo-block {
  padding: clamp(20px, 4vw, 34px);
}

.home-seo-block h2,
.home-seo-block h3 {
  color: var(--color-primary-dark);
  font-family: 'Oxanium', sans-serif;
  margin-bottom: 10px;
}

.home-seo-block p {
  color: var(--color-text);
  line-height: 1.75;
  margin-bottom: 14px;
}

footer {
  background: linear-gradient(180deg, #1f5e2f, #173f24);
  border-top: 1px solid rgba(255,255,255,0.16);
}

.footer-logo {
  color: #fff7d7;
}

.footer-note,
.footer-link {
  color: rgba(255,253,247,0.78);
}

.footer-link:hover {
  color: var(--color-accent-soft);
}

@media (max-width: 1100px) {
  .page-wrapper {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .topic-grid {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  }
}

@media (max-width: 1200px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 900px) {
  body > nav {
    height: 62px;
    padding: 0 14px;
  }

  .nav-toggle {
    color: var(--color-primary-dark);
    font-size: 0;
    border: 1px solid rgba(47,125,50,0.18);
    border-radius: 999px;
    background: var(--color-surface-soft);
  }

  .nav-toggle::before {
    content: "Menu";
    font-size: 14px;
    font-weight: 800;
  }

  .page-wrapper {
    display: block;
    grid-template-columns: 1fr;
    min-height: calc(100vh - 62px);
  }

  main {
    width: 100%;
    max-width: 100%;
    padding: 18px 14px 32px;
  }

  aside.open {
    top: 62px;
    background: #fffdf7;
    z-index: 120;
  }

  .hero-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crop-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

}

@media (max-width: 600px) {
  .nav-logo-text {
    font-size: 15px;
  }

  .nav-logo-icon {
    width: 36px;
    height: 36px;
  }

  .hero,
  .page-header,
  .home-seo-block {
    border-radius: 20px;
  }

  .hero {
    padding: 22px;
  }

  .hero-stats,
  .home-quick-grid,
  .home-live-grid,
  .home-path-grid {
    grid-template-columns: 1fr;
  }

  .home-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topic-card {
    min-height: 116px;
  }
}
