﻿:root {
  /* Colors */
  --white: #ffffff;
  --black: #111111;

  /* Greens */
  --green-050: #f3faf3;
  --green-100: #cbf2cd;
  --green-200: #a8efaa;
  --green-300: #86e98a;
  --green-400: #5fe863;
  --green-500: #39c93e;
  --green-600: #04a63d;
  --green-700: #2b732e;
  --green-800: #11622d;
  --green-900: #0c4721;
  --green-950: #132c14;
  --green-999: #0b2112;

  /* Pinks */
  --pink-400: #f63e72;
  --pink-500: #f9304d;
  --pink-900: #4a0b14;

  /* Greys */
  --grey-300: #e5e7eb;
  --grey-400: #999999;
  --grey-500: #666666;
  --grey-600: #333333;

  /* Semantic Mappings */
  --color-white: var(--white);
  --color-text-main: var(--grey-600);
  --color-text-muted: var(--grey-500);
  --color-text-light: var(--grey-400);
  --color-text-dark: #222222;
  --color-accent-red-light: var(--pink-400);
  --color-accent-red-dark: var(--pink-500);
  --color-border: var(--green-100);
  --secondary-color: var(--pink-500);
  --text-dark: var(--grey-600);

  /* Shared values */
  --max-width: 90rem;
  --transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  line-height: 1.4;
}

html {
  font-size: 1rem;
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(to bottom right, var(--green-800), var(--green-700));
  color: var(--color-text-main);
  overflow-x: hidden;
}

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

button {
  background: transparent;
  border: none;
  color: inherit;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

button:active {
  transform: scale(0.95);
  opacity: 0.8;
}

/* Typography Utilities */
h1 {
  font-size: 1.2rem;
  font-weight: 700;
}

@media (min-width: 64rem) {
  h1 {
    font-size: 1.5rem;
  }
}

h2 {
  font-size: 1rem;
  font-weight: 700;
}

h3 {
  font-size: 0.875rem;
  font-weight: 700;
}

@media (min-width: 64rem) {
  h3 {
    font-size: 1rem !important;
  }
}

p,
li {
  font-size: 0.75rem !important;
  font-weight: 500 !important;
}

@media (min-width: 64rem) {

  p,
  li {
    font-size: 0.875rem !important;
  }
}

.text-gradient {
  display: inline-block;
  background: linear-gradient(to right, var(--green-500), var(--green-600));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.font-bold {
  font-weight: 700;
}

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

.opacity-80 {
  opacity: 0.8;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 0;
}

@media (min-width: 64rem) {
  .container {
    padding: 0 1.5rem;
  }
}

.hidden {
  display: none !important;
  pointer-events: none;
  opacity: 0;
}

.w-full {
  width: 100%;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

/* Icons */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  font-size: 1.5rem;
}

.icon-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  font-size: 1.25rem;
}

.icon-xs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  font-size: 1rem;
}

.icon-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 2.5rem;
}

.rotate-270 {
  transform: rotate(270deg);
}

/* Approx rotation for the arrow */


/* ------------------------------------- */
/* HEADER & NAVIGATION */
/* ------------------------------------- */
.main-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 160rem;
  max-width: 100vw;
  padding: 1rem 2rem;
}

@media (min-width: 64rem) {
  .main-header {
    padding: 1rem 6rem;
  }
}

.main-header .btn-icon {
  color: var(--green-500);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-image {
  width: 3rem;
  height: auto;
  min-height: 3rem;
}

@media (min-width: 64rem) {
  .logo-image {
    width: 4rem;
    min-height: 4rem;
  }
}

.logo-text h1 {
  margin: 0;
  color: var(--color-white);
  font-size: 1rem;
  line-height: 1.2;
}

@media (min-width: 64rem) {
  .logo-text h1 {
    font-size: 1.5rem;
  }
}

.logo-text p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  font-weight: 500;
}

@media (min-width: 64rem) {
  .logo-text p {
    font-size: 1rem;
  }
}

.btn-icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-white);
}

.menu-label {
  display: none;
  color: var(--green-500);
  font-size: 0.75rem;
  font-weight: bold;
}

@media (min-width: 64rem) {
  .menu-label {
    display: flex;
  }
}

/* ------------------------------------- */
/* MENU OVERLAY */
/* ------------------------------------- */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex !important;
  background: linear-gradient(180deg, #132c15, #0b2112);
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.3s ease;
}

.menu-overlay.hidden {
  display: none !important;
  pointer-events: none;
  opacity: 0;
}

/* ------------------------------------- */
/* SLAUGHTER COUNTER CTA */
/* ------------------------------------- */
.slaughter-container {
  padding: 2rem 2rem;
  background-color: unset !important;
}

@media (min-width: 64rem) {
  .slaughter-container {
    padding: 0 0 !important;
  }
}

.slaughter-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(90deg, var(--pink-500) 0%, var(--pink-400) 100%);
  color: var(--white);
  border-radius: 1.5rem;
  text-align: center;
}

@media (min-width: 64rem) {
  .slaughter-cta {
    margin-top: 0rem;
    padding: 3rem 4rem;
  }
}

.slaughter-cta-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.slaughter-cta-title {
  color: var(--white);
}

.slaughter-cta-desc {
  color: var(--white);
}

.btn-white-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background-color: var(--white);
  color: var(--pink-500);
  border-radius: 1rem;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-white-cta:hover {
  opacity: 0.95;
  color: var(--pink-400);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}



.menu-left-panel {
  display: none;
  flex: 1;
}

@media (min-width: 64rem) {
  .menu-left-desktop {
    position: relative;
    display: flex;
    width: 50%;
  }
}

.menu-brand {
  position: absolute;
  top: 2.5rem;
  left: 5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.logo-image.menu-logo {
  width: 15rem;
  max-width: 15rem;
}

.footer-made-with.menu-made-with {
  display: flex;
  align-items: center;
  margin-top: 0.5rem;
}

/* Phase 10: Structural Mappings & Input Fixes */
.menu-made-with p,
.menu-made-with a,
.menu-made-with .material-symbols-rounded {
  color: var(--color-white);
}

#menu-close .material-symbols-rounded {
  color: var(--color-white);
}

.menu-right-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
  padding-top: 1rem;
  padding-right: 2rem;
  padding-bottom: 1rem;
  background-color: transparent;
}

@media (min-width: 64rem) {
  .menu-right-panel {
    width: 50%;
    padding-top: 2.5rem;
    padding-right: 5rem;
    padding-bottom: 2.5rem;
  }
}

.unit-toggle {
  display: flex;
  width: 17.5rem;
  margin-top: 2rem;
  padding: 0.25rem;
  background-color: var(--green-600);
  border-radius: 2.5rem;
}

@media (min-width: 64rem) {
  .unit-toggle {
    margin-top: 6rem;
  }
}

.unit-toggle-btn {
  flex: 1;
  padding: 0.5rem 0;
  color: var(--color-white);
  border-radius: 2.5rem;
  font-size: 1rem;
  font-weight: 700;
  transition: all 0.2s ease;
  touch-action: manipulation;
}

.unit-toggle-btn.active {
  background-color: var(--color-white);
  color: var(--color-text-dark);
}

.menu-links-list {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  width: 100%;
  margin-top: 2rem;
}

.menu-link-item {
  display: block;
  width: 100%;
  padding: 0.5rem 0.5rem;
  color: var(--color-white);
  text-align: right;
  transition: color 0.2s ease, opacity 0.2s ease;
}

@media (min-width: 64rem) {
  .menu-link-item {
    padding: 1rem 0.5rem;
  }
}

.menu-link-item:hover {
  color: var(--green-500);
  opacity: 0.8;
}

.menu-link-item-slaughter {
  color: var(--color-accent-red-dark) !important;
}

.menu-link-item[href="old/"] {
  color: var(--color-accent-red-dark);
}

.menu-link-flex {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.menu-thank-you {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  width: 20rem;
  margin-top: auto;
  text-align: right;
}

.menu-thank-you h1,
.menu-thank-you h2,
.menu-thank-you p,
.menu-thank-you .material-symbols-rounded {
  color: var(--color-white);
}

.menu-thank-you h1 {
  width: 100%;
  text-align: right;
}

.kofi-link {
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kofi-link:hover {
  opacity: 0.9;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kofi-link .material-symbols-rounded {
  color: var(--green-500) !important;
}

/* ------------------------------------- */
/* MAIN CONTENT / CALCULATOR */
/* ------------------------------------- */
.page-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.full-green-theme {
  display: contents;
}

.header-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding-bottom: 2rem;
  overflow: hidden;
}

.main-content {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
}

@media (min-width: 64rem) {
  .main-content {
    width: 100%;
    max-width: 90rem;
    margin: 0 auto 4rem auto;
    padding-top: 3rem;
    padding-bottom: 5rem;
    background-color: white;
    border-radius: 1.5rem;
  }
}

.calculator-hero {}

.calculator-hero h1 {
  color: var(--color-white);
}

.uncalculated .stats-placeholder p {
  color: var(--color-white);
  font-size: 1.25rem;
  font-weight: 600;
}

.main-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 90rem;
  margin: 0 auto;
  padding: 1.5rem;
  background-color: white;
  border-radius: 1.5rem;
}

@media (min-width: 64rem) {
  .main-card {
    padding: 3rem;
    background: transparent;
    box-shadow: none;
  }
}

.shadow {
  box-shadow: 0 1.25rem 1.5625rem -0.3125rem rgba(0, 0, 0, 0.1), 0 0.625rem 0.625rem -0.3125rem rgba(0, 0, 0, 0.04);
}

.headline {
  max-width: 50rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

@media (min-width: 64rem) {
  .headline {
    margin-bottom: 1rem;
  }
}

.calc-headline {
  -webkit-text-fill-color: initial;
  background: none !important;
  color: white !important;
}

.calculator-inputs-container {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 1rem;
  margin-bottom: 3rem;
  padding: 0 1rem;
}

@media (min-width: 64rem) {
  .calculator-inputs-container {
    width: 30rem;
    margin: 1rem auto 6rem auto;
    padding: 0 0;
  }
}

.calculator-inputs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  max-width: 30rem;
}

.input-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem;
  background-color: var(--green-900);
  border-radius: 2.5rem;
}

.btn-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 2.5rem;
  color: white;
  border-radius: 2.5rem;
  font-size: 1.5rem;
  font-weight: bold;
}

.btn-gradient {
  background: linear-gradient(to right, var(--green-500), var(--green-600));
  touch-action: manipulation;
}

.btn-gradient:active {
  filter: brightness(1.2);
}

.btn-gradient:hover {
  opacity: 0.9;
}

.input-value {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.typable-input {
  display: block;
  width: 2rem;
  padding: 0;
  background: transparent;
  border: none;
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: bold;
  text-align: right;
  outline: none;
  appearance: textfield;
  -moz-appearance: textfield;
  pointer-events: auto !important;
}

.typable-input::-webkit-outer-spin-button,
.typable-input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
}

.input-label {
  color: white;
  font-size: 1rem;
  font-weight: bold;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: bold;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 64rem) {
  .btn {
    font-size: 1rem;
  }
}

.btn .material-symbols-rounded {
  display: flex;
  align-items: center;
}

#btn-calculate .material-symbols-rounded {
  font-size: 1.2em;
}

.text-brand-light {
  color: var(--green-500) !important;
}

.btn-source {
  width: 100%;
  margin-top: 0.5rem;
  padding: 1rem;
  background: transparent;
  border: none;
  color: var(--green-600);
  font-size: 0.875rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 2.5rem;
}

@media screen and (min-width: 64rem) {
  .btn-source {
    font-size: 1rem;
  }
}

.btn-source:hover {
  background: rgba(4, 166, 61, 0.05);
}

.btn-red {
  margin-top: 0.25rem;
  background: linear-gradient(to right, var(--color-accent-red-dark), var(--color-accent-red-light));
  color: white;
  border-radius: 2.5rem;
  text-transform: uppercase;
}

.btn-red:active {
  filter: brightness(1.1);
  transform: scale(0.98);
}

.btn-red:hover {
  opacity: 0.9;
}

.btn-blue {
  background-color: #1DA1F2;
  color: white;
}

.btn-blue:hover {
  opacity: 0.9;
}

.btn-outline {
  padding: 1rem 1.5rem;
  background-color: transparent;
  color: var(--green-600);
  border: 0.125rem solid var(--color-border);
  border-radius: 2.5rem;
}

.btn-outline:hover {
  background-color: rgba(203, 242, 205, 0.2);
}

.rounded-full {
  border-radius: 624.9375rem;
}


/* ------------------------------------- */
/* RESULTS STATS GRID */
/* ------------------------------------- */
.stats-container {
  width: 100%;
  max-width: 40rem;
  transition: opacity 0.5s ease;
}

@media (min-width: 64rem) {
  .stats-container {
    display: flex;
    justify-content: center;
    width: 100%;
  }
}

.stats-container.uncalculated {
  opacity: 1;
}

/* Flash Loading State */
.stats-container.loading .stat-card {
  position: relative;
  overflow: hidden;
}

.stats-container.loading .stat-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shine 0.35s ease-in-out;
  pointer-events: none;
}

@keyframes shine {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

.stats-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  color: white;
  font-weight: bold;
  font-size: 1.25rem;
}

/* Uncalculated State Overrides */
.stats-container.uncalculated .rounded-gradient {
  background: var(--green-050);
  box-shadow: none;
}

.stats-container.uncalculated .stat-card .icon,
.stats-container.uncalculated .stat-card .icon-lg {
  color: var(--green-600);
}

.stats-container.uncalculated .stat-number {
  color: var(--green-600);
}

.stats-container.uncalculated .stat-label {
  color: var(--green-500);
}

.stats-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

@media (min-width: 64rem) {
  .stats-grid {
    flex-direction: row;
    flex-wrap: wrap;
    width: 40rem;
    gap: 0.5rem;
  }
}

@media (max-width: 63.9375rem) {
  .stats-grid {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}

.rounded-gradient {
  background: linear-gradient(to right, var(--green-800), var(--green-700));
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 0.25rem 0.375rem -1px rgba(0, 0, 0, 0.1);
}

.stat-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.stat-card .icon,
.stat-card .icon-lg {
  color: var(--color-white);
}

.stat-full {
  width: 100%;
}

@media (min-width: 64rem) {
  .stat-full {
    width: 100%;
  }
}

@media (max-width: 63.9375rem) {
  .stat-full {
    width: 100%;
  }
}

.stat-half {
  flex: none;
  flex-direction: column;
  width: calc(50% - 0.25rem);
  gap: 0.5rem;
}

@media (min-width: 64rem) {
  .stat-half {
    width: calc(50% - 0.25rem);
    flex: none;
  }
}

@media (max-width: 63.9375rem) {
  .stat-half {
    width: calc(50% - 0.25rem);
  }
}

.stat-data {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.stat-center {
  align-items: center;
  text-align: center;
}

.stat-number {
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
}

@media (min-width: 64rem) {
  .stat-number {
    font-size: 1.875rem;
  }
}

.stat-label {
  color: var(--green-400);
  font-weight: bold;
}

/* ------------------------------------- */
/* RECOMMENDED SECTION */
/* ------------------------------------- */
.recommended-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  max-width: 80rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--green-100);
}

@media (min-width: 64rem) {
  .recommended-grid {
    flex-direction: row;
  }
}

.recommended-col {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

@media (min-width: 64rem) {
  .recommended-col {
    align-items: normal;
    justify-content: flex-start;
  }
}

.col-header {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 64rem) {
  .col-header {
    justify-content: space-between;
  }
}

.col-header h2,
.col-header h3 {
  flex: 1;
  margin-left: 0.5rem;
  color: var(--color-text-muted);
  font-weight: 700;
}

.big-time {
  margin-bottom: 1rem;
  color: var(--secondary-color);
  font-family: 'Cousine', monospace;
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
}

.view-all {
  padding: 0.5rem 1rem;
  background-color: rgba(203, 242, 205, 0.2);
  color: var(--green-500);
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: bold;
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.suggested-card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.suggested-card-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  min-width: 0;
  padding: 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  text-align: center;
}

.thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 5.5rem;
  height: 5.5rem;
  background-color: #e5e7eb;
  border-radius: 0.5rem;
}

@media (min-width: 64rem) {
  .thumb {
    width: 5.5rem;
    height: 5.5rem;
  }
}

.thumb-book {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 4rem;
  height: 6rem;
  background-color: #e5e7eb;
  border-radius: 0.5rem;
}

.thumb-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6rem;
  height: 6rem;
  margin-bottom: 0.5rem;
  background-color: #e5e7eb;
  border-radius: 0.5rem;
}

.bg-muted {
  background-color: #e5e7eb;
}

.card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.card-content-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  max-width: 100%;
  margin: 0;
  color: var(--green-500);
  font-size: 0.875rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 64rem) {
  .card-title {
    font-size: 1rem;
  }
}

.card-author {
  margin: 0;
  color: var(--color-text-light);
}

.card-desc {
  display: -webkit-box;
  margin: 0;
  margin-top: 0.25rem;
  color: var(--color-text-muted);
  overflow: hidden;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

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

/* Limit book descriptions to 2 lines so they fit better */
.suggested-card .card-content .card-desc {
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

/* Recommendations Page Layout */
.recommendations-page .recommended-grid {
  display: flex !important;
  flex-direction: column !important;
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.recommendations-page .recommended-col {
  scroll-margin-top: 2rem;
  width: 100%;
}

.recommendations-page .col-header {
  justify-content: center;
  padding-top: 2rem;
  margin-bottom: 0.5rem;
}

.recommendations-page .col-header h2 {
  flex: none;
}

.recommendations-page .card-grid,
.recommendations-page .card-list {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
  gap: 1.5rem !important;
}

/* Adjust book cards on the full page to be wider */
.recommendations-page .card-list {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
}

/* ------------------------------------- */
/* FOOTER */
/* ------------------------------------- */
.main-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 2rem;
  padding: 4rem 1rem 2rem;
  color: var(--color-white);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.logo-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background-color: var(--green-500);
  color: var(--green-700) !important;
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: bold;
}

@media (min-width: 64rem) {
  .logo-circle {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.5rem;
  }
}

.main-footer .logo-text h3 {
  margin-top: 1rem;
  color: var(--color-white);
  font-size: 1.25rem;
}

.main-footer .footer-links {
  margin-top: 2rem;
}

.footer-links a:hover {
  color: var(--green-500);
}

.main-footer .footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  text-decoration: none;
}

.main-footer .footer-links a:hover {
  color: var(--color-white);
  text-decoration: underline;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 4rem 1.5rem 2rem;
  color: var(--color-white);
}

@media (min-width: 64rem) {
  .footer {
    margin-top: 0;
  }
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
}

.footer-thank-you {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 25rem;
  margin-bottom: 3rem;
  text-align: center;
}

.footer-thank-you h1,
.footer-thank-you p,
.footer-thank-you .material-symbols-rounded {
  color: var(--color-white);
}

.footer-made-with {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-made-with .material-symbols-rounded {
  color: var(--green-500);
}

.footer-made-with p,
.footer-made-with a {
  color: var(--color-white);
}

.footer-made-with a:hover {
  color: var(--green-500);
  text-decoration: underline;
}

.footer-headline {
  color: var(--green-900);
  font-size: 2rem;
}

@media (min-width: 64rem) {
  .footer-headline {
    font-size: 3rem;
  }
}

.footer-sub {
  max-width: 37.5rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.5;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn-green {
  background-color: var(--green-500);
  color: var(--green-900);
}

.footer-divider {
  width: 100%;
  height: 1px;
  margin: 1rem 0;
  background-color: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

@media (min-width: 64rem) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom p,
.footer-links a {
  color: var(--color-white);
  text-align: center;
}

@media (min-width: 64rem) {

  .footer-bottom p,
  .footer-links a {
    text-align: right;
  }
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a:hover {
  color: var(--green-500);
  text-decoration: underline;
}

/* Visibility Utilities */
.hidden-mobile {
  display: none !important;
}

@media (min-width: 64rem) {
  .hidden-mobile {
    display: block !important;
    opacity: 1;
  }
}

.hidden-desktop {
  display: block !important;
}

@media (min-width: 64rem) {
  .hidden-desktop {
    display: none !important;
  }
}



/* ------------------------------------- */
/* ANIMAL SLAUGHTER PAGE */
/* ------------------------------------- */
.slaughter-header-text {
  max-width: 56.25rem;
  margin: 0 auto;
  padding: 0rem 1rem 2rem;
  text-align: center;
}

@media screen and (min-width: 64rem) {
  .slaughter-header-text {
    padding: 0 4rem 2rem;
  }
}

.slaughter-title {
  color: var(--color-white);
  font-weight: 700;
}

.slaughter-desc {
  max-width: 50rem;
  margin: 0 auto;
  color: var(--color-white);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.6;
  opacity: 0.9;
}

.slaughter-counter-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 80rem;
  margin: 1rem auto 1rem;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
}

@media screen and (min-width: 64rem) {
  .slaughter-counter-grid {
    gap: 1rem;
  }
}

.animal-kill-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 45%;
  gap: 0.75rem;
  background: transparent;
  border: none;
  border-radius: 1rem;
  padding: 0rem;
  transition: var(--transition);
}

@media screen and (min-width: 64rem) {
  .animal-kill-card {
    width: 11.25rem;
    padding: 1rem;
  }
}

.animal-thumb {
  width: 100%;
  height: 5rem;
  background-color: var(--grey-400);
  background-position: center;
  background-size: cover;
  border-radius: 0.5rem;
}

@media screen and (min-width: 64rem) {
  .animal-thumb {
    width: 8rem;
    height: 6rem;
  }
}

.animal-info {
  text-align: center;
}

.animal-number {
  display: block;
  color: var(--pink-500);
  font-family: 'Cousine', monospace;
  font-size: 1.25rem;
  font-weight: 700;
}

.animal-name {
  color: var(--grey-500);
  font-size: 0.875rem;
  font-weight: 500;
}

.time-headline {
  text-align: center;
}

.time-headline h2 {
  margin-bottom: 0.5rem;
  color: var(--pink-500);
  font-size: 1.5rem;
  font-weight: 700;
}

.time-headline .big-time {
  color: var(--pink-500);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

@media (min-width: 64rem) {
  .time-headline .big-time {
    font-size: 4rem;
  }
}

/* ------------------------------------- */
/* LEGAL PAGE */
/* ------------------------------------- */
.legal-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--green-600);
  scroll-margin-top: 100px;
}

.legal-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.legal-content p {
  margin-bottom: 1rem;
  color: var(--text-dark);
  line-height: 1.6;
}

.legal-content ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.legal-divider {
  height: 1px;
  margin: 3rem 0;
  background: rgba(0, 0, 0, 0.1);
}