*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}/*
! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com
*//*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/
dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/
:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */
[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}
.pointer-events-none {
  pointer-events: none;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.inset-0 {
  inset: 0px;
}
.z-10 {
  z-index: 10;
}
.z-50 {
  z-index: 50;
}
.z-\[15\] {
  z-index: 15;
}
.z-\[1\] {
  z-index: 1;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.ml-1 {
  margin-left: 0.25rem;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.flex {
  display: flex;
}
.grid {
  display: grid;
}
.h-2 {
  height: 0.5rem;
}
.h-full {
  height: 100%;
}
.min-h-0 {
  min-height: 0px;
}
.w-2 {
  width: 0.5rem;
}
.w-full {
  width: 100%;
}
.max-w-\[320px\] {
  max-width: 320px;
}
.max-w-\[360px\] {
  max-width: 360px;
}
.flex-1 {
  flex: 1 1 0%;
}
.shrink-0 {
  flex-shrink: 0;
}
.grow {
  flex-grow: 1;
}
.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
@keyframes pulse {

  50% {
    opacity: .5;
  }
}
.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.select-none {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-start {
  justify-content: flex-start;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-1 {
  gap: 0.25rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.overflow-hidden {
  overflow: hidden;
}
.rounded {
  border-radius: 0.25rem;
}
.rounded-full {
  border-radius: 9999px;
}
.rounded-lg {
  border-radius: 0.5rem;
}
.rounded-xl {
  border-radius: 0.75rem;
}
.border {
  border-width: 1px;
}
.border-2 {
  border-width: 2px;
}
.border-\[\#2d4a2d\] {
  --tw-border-opacity: 1;
  border-color: rgb(45 74 45 / var(--tw-border-opacity, 1));
}
.border-\[\#5d3a1a\] {
  --tw-border-opacity: 1;
  border-color: rgb(93 58 26 / var(--tw-border-opacity, 1));
}
.border-\[\#fcd34d\] {
  --tw-border-opacity: 1;
  border-color: rgb(252 211 77 / var(--tw-border-opacity, 1));
}
.border-blue-500\/30 {
  border-color: rgb(59 130 246 / 0.3);
}
.bg-\[\#0f1f0f\] {
  --tw-bg-opacity: 1;
  background-color: rgb(15 31 15 / var(--tw-bg-opacity, 1));
}
.bg-\[\#2c1a10\] {
  --tw-bg-opacity: 1;
  background-color: rgb(44 26 16 / var(--tw-bg-opacity, 1));
}
.bg-\[\#365314\] {
  --tw-bg-opacity: 1;
  background-color: rgb(54 83 20 / var(--tw-bg-opacity, 1));
}
.bg-black\/60 {
  background-color: rgb(0 0 0 / 0.6);
}
.bg-blue-900\/50 {
  background-color: rgb(30 58 138 / 0.5);
}
.bg-gray-800 {
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
}
.bg-purple-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(147 51 234 / var(--tw-bg-opacity, 1));
}
.p-2 {
  padding: 0.5rem;
}
.p-4 {
  padding: 1rem;
}
.p-6 {
  padding: 1.5rem;
}
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.text-center {
  text-align: center;
}
.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}
.font-bold {
  font-weight: 700;
}
.font-semibold {
  font-weight: 600;
}
.uppercase {
  text-transform: uppercase;
}
.tracking-wide {
  letter-spacing: 0.025em;
}
.text-\[\#fbbf24\] {
  --tw-text-opacity: 1;
  color: rgb(251 191 36 / var(--tw-text-opacity, 1));
}
.text-\[\#fcd34d\] {
  --tw-text-opacity: 1;
  color: rgb(252 211 77 / var(--tw-text-opacity, 1));
}
.text-blue-200 {
  --tw-text-opacity: 1;
  color: rgb(191 219 254 / var(--tw-text-opacity, 1));
}
.text-gray-400 {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}
.text-green-400 {
  --tw-text-opacity: 1;
  color: rgb(74 222 128 / var(--tw-text-opacity, 1));
}
.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.text-yellow-500 {
  --tw-text-opacity: 1;
  color: rgb(234 179 8 / var(--tw-text-opacity, 1));
}
.opacity-60 {
  opacity: 0.6;
}
.opacity-80 {
  opacity: 0.8;
}
.shadow-2xl {
  --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-\[0_0_8px_rgba\(147\2c 51\2c 234\2c 0\.6\)\] {
  --tw-shadow: 0 0 8px rgba(147,51,234,0.6);
  --tw-shadow-colored: 0 0 8px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.backdrop-blur-sm {
  --tw-backdrop-blur: blur(4px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}
.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.ease-out {
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}



/* ═══════════════════════════════════════════════
   FARMVILLE — Design System
   ═══════════════════════════════════════════════ */

:root {
    --farm-bg: #1a2e1a;
    --farm-panel: #0f1f0f;
    --farm-border: #2d4a2d;
    --farm-accent: #4ade80;
    --farm-gold: #fbbf24;
    --farm-text: #e2e8f0;
    --farm-text-dim: #94a3b8;
    --farm-plot-empty: #3d2b1f;
    --farm-plot-planted: #2d4a2d;
    --farm-plot-ready: #365314;
}

/* ── Farm Grid ─────────────────────────────── */
.farm-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(4px, 1vw, 8px);
    width: 100%;
    height: 100%;
    max-width: 360px;
    max-height: 360px;
    aspect-ratio: 1 / 1;
}

.modal-anim {
    animation: modal-fade-up 0.2s ease-out forwards;
}

@keyframes modal-fade-up {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.farm-plot {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    border: 2px solid var(--farm-border);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: clamp(1.2rem, 4vw, 2rem);
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    aspect-ratio: 1 / 1;
}

.farm-plot--empty {
    background: var(--farm-plot-empty);
    border-style: dashed;
    opacity: 0.7;
}

.farm-plot--fertile {
    background: #2c1a10;
    border-color: #5d3a1a;
}

.farm-plot--fertile.farm-plot--empty {
    border-style: solid;
    opacity: 0.9;
}

.farm-plot--bountiful {
    border-color: #fcd34d;
    box-shadow: inset 0 0 10px rgba(251, 191, 36, 0.2);
}

.farm-plot--bountiful.farm-plot--empty {
    border-style: solid;
    opacity: 0.9;
}

.farm-plot--empty:hover {
    opacity: 1;
    border-color: var(--farm-accent);
    transform: scale(1.05);
}

.farm-plot--planted {
    background: var(--farm-plot-planted);
}

.farm-plot--ready {
    background: var(--farm-plot-ready);
    border-color: var(--farm-gold);
    animation: pulse-ready 1.5s ease-in-out infinite;
}

.farm-plot--ready:hover {
    transform: scale(1.08);
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.4);
}

@keyframes pulse-ready {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.3);
    }

    50% {
        box-shadow: 0 0 10px 3px rgba(251, 191, 36, 0.25);
    }
}

.farm-plot--locked {
    background: #1a1a2e;
    border-color: #2a2a3e;
    opacity: 0.4;
    cursor: default;
}

.farm-plot--planting {
    animation: plant-bounce 0.5s ease;
}

@keyframes plant-bounce {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(0.8);
    }

    60% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

.farm-plot--golden span {
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 1)) sepia(100%) saturate(300%) hue-rotate(15deg);
    animation: golden-shine 2s infinite alternate;
}

@keyframes golden-shine {
    0% {
        filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.8)) sepia(80%) saturate(200%) hue-rotate(15deg);
    }

    100% {
        filter: drop-shadow(0 0 14px rgba(251, 191, 36, 1)) sepia(100%) saturate(400%) hue-rotate(10deg) brightness(1.2);
    }
}

/* ── Expand Button ────────────────────────── */
.expand-btn {
    padding: clamp(4px, 1vw, 6px) clamp(10px, 2vw, 16px);
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border: none;
    border-radius: 0.75rem;
    color: white;
    font-weight: 800;
    font-size: clamp(0.6rem, 1.8vw, 0.8rem);
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.02em;
}

.expand-btn:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(124, 58, 237, 0.4);
}

.expand-btn--unaffordable {
    opacity: 0.6;
    background: linear-gradient(135deg, #475569, #334155);
}

/* ── Growth Bar ───────────────────────────── */
.growth-bar {
    position: absolute;
    bottom: 3px;
    left: 8%;
    right: 8%;
    height: 4px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 2px;
    overflow: hidden;
}

.growth-bar__fill {
    height: 100%;
    background: var(--farm-accent);
    border-radius: 2px;
    transition: width 0.4s ease;
}

/* ── HUD ──────────────────────────────────── */
.hud {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--farm-panel);
    border: 1px solid var(--farm-border);
    border-radius: 1rem;
    font-weight: 800;
    color: var(--farm-gold);
    font-size: clamp(0.8rem, 2.5vw, 1.1rem);
}

/* ── Seed Shop ────────────────────────────── */
.seed-shop {
    display: flex;
    gap: clamp(4px, 1vw, 8px);
    justify-content: center;
    flex-wrap: wrap;
}

.seed-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: clamp(4px, 1vw, 8px) clamp(8px, 2vw, 14px);
    background: var(--farm-panel);
    border: 2px solid var(--farm-border);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--farm-text);
}

.seed-btn:hover:not(:disabled) {
    border-color: var(--farm-accent);
    transform: scale(1.05);
}

.seed-btn--selected {
    border-color: var(--farm-accent);
    background: rgba(74, 222, 128, 0.12);
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.2);
}

.seed-btn--unaffordable {
    opacity: 0.55;
    /* Keeps cursor pointer so users click it & get shake feedback */
}

.seed-btn__emoji {
    font-size: clamp(1rem, 3vw, 1.4rem);
    position: relative;
}

.seed-btn__lock {
    position: absolute;
    bottom: -4px;
    right: -10px;
    font-size: 0.55rem;
    background: rgba(0, 0, 0, 0.85);
    border-radius: 50%;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.seed-btn__cost {
    font-size: clamp(0.55rem, 1.5vw, 0.7rem);
    font-weight: 800;
    color: var(--farm-gold);
}

/* ── Floating Coin Animation ──────────────── */
.float-coin {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    font-weight: 900;
    color: var(--farm-gold);
    pointer-events: none;
    animation: float-up 1s ease-out forwards;
    z-index: 10;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

@keyframes float-up {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-30px);
    }
}

/* ── Review Flash ─────────────────────────── */
.review-flash {
    position: absolute;
    inset: 0;
    border-radius: 0.5rem;
    background: rgba(74, 222, 128, 0.25);
    pointer-events: none;
    animation: flash-fade 0.4s ease-out forwards;
}

@keyframes flash-fade {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* ── UI Animations ────────────────────────── */
.shake-anim {
    animation: shake 0.4s cubic-bezier(.36, .07, .19, .97) both;
}

.hud.shake-anim {
    color: #ef4444;
    border-color: #ef4444;
}

.seed-btn.shake-anim {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.15);
}

@keyframes shake {

    10%,
    90% {
        transform: translate3d(-2px, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(3px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-5px, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(5px, 0, 0);
    }
}

/* ── Weather Effects ──────────────────────── */
.rain-overlay {
    background: url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><line x1="10" y1="0" x2="10" y2="10" stroke="%2360a5fa" stroke-width="1" stroke-linecap="round" opacity="0.3"/></svg>') repeat;
    background-size: 40px 40px;
    animation: rain-fall 0.4s linear infinite;
}

@keyframes rain-fall {
    from {
        background-position: 0 0;
    }

    to {
        background-position: -20px 40px;
    }
}

.breathing-anim {
    animation: breathe 2s ease-in-out infinite;
    display: inline-block;
}

@keyframes breathe {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.15);
        opacity: 1;
        text-shadow: 0 0 15px rgba(251, 191, 36, 0.5);
    }
}

/* ── Typography ───────────────────────────── */
.instruction-text {
    font-size: clamp(0.65rem, 2vw, 0.8rem);
    color: var(--farm-text-dim);
}

/* ── Floating Effects (Coins/Growth) ──────── */
.float-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 20;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 0 2px rgba(0, 0, 0, 0.5);
    animation: float-up-fade 1s ease-out forwards;
}

@keyframes float-up-fade {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }

    15% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }

    100% {
        transform: translate(calc(-50% + var(--tx, 0px)), calc(-50% + var(--ty, -50px))) scale(1);
        opacity: 0;
    }
}

/* ── Growth Stage Pop ─────────────── */
.growth-stage-pop {
    animation: emoji-pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes emoji-pop {
    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.4);
        filter: brightness(1.3);
    }

    100% {
        transform: scale(1);
        filter: brightness(1);
    }
}

.hover\:scale-105:hover {
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hover\:bg-\[\#3d2b1f\]:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(61 43 31 / var(--tw-bg-opacity, 1));
}

.hover\:bg-\[\#4d701e\]:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(77 112 30 / var(--tw-bg-opacity, 1));
}

.hover\:text-white:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}