/* ==========================================================================
   BOTANICAL LUXURY CORE - WIREARZEL DESIGN SYSTEM
   "Enchanted Bloom Ascension" Visual Overhaul
   ========================================================================== */

/* Typography & Core Variable Definitions */
:root {
  --bg-primary: #081B16; /* Deep mystical emerald forest */
  --bg-secondary: #102E25; /* Lush botanical shade */
  --bg-tertiary: #183F31; /* Forest Canopy panels */
  
  --accent-pink: linear-gradient(135deg, #FF5FA2, #FFC2D9); /* Blossom Pink */
  --accent-green: linear-gradient(135deg, #4CAF50, #A5D6A7); /* Spring Green */
  --accent-gold: linear-gradient(135deg, #FFD54F, #FFE082); /* Sunflower Gold */
  --accent-purple: linear-gradient(135deg, #A66CFF, #D6BCFA); /* Butterfly Purple */
  --accent-multi: linear-gradient(135deg, #FF5FA2, #FFD54F, #4CAF50, #A66CFF); /* Premium Multicolor Glow */
  
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-blur: 24px;
  --glass-border: 1px solid rgba(255, 255, 255, 0.12);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 0 60px rgba(255, 95, 162, 0.1);
  
  --text-primary: #FFFFFF;
  --text-secondary: #D8F3DC;
  --text-muted: #A7C4B6;
  
  --transition-smooth: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  --font-family-body: 'Plus Jakarta Sans', sans-serif;
  --font-family-display: 'Playfair Display', serif;
  --font-family-mono: 'IBM Plex Mono', monospace;
}

/* Base Body & Layout Defaults */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  background-image: radial-gradient(circle at 50% 0%, rgba(24, 63, 49, 0.4) 0%, rgba(8, 27, 22, 1) 80%);
  color: var(--text-primary);
  font-family: var(--font-family-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, .font-floral {
  font-family: var(--font-family-display);
  font-weight: 700;
  letter-spacing: -0.01em;
}

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

/* Custom Interactive Cursor Glow Device */
.cursor-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 95, 162, 0.15) 0%, rgba(76, 175, 80, 0.08) 50%, rgba(0,0,0,0) 100%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  border-radius: 50%;
  mix-blend-mode: screen;
  transition: transform 0.1s linear, opacity 0.4s ease;
  opacity: 0.8;
}

/* Background Sunlight & Nature Overlays */
.sunlight-ray {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(140px);
  z-index: 0;
  opacity: 0.2;
}

.glow-top-left {
  top: -20%;
  left: -15%;
  width: 70vw;
  height: 70vh;
  background: var(--accent-pink);
}

.glow-bottom-right {
  bottom: -25%;
  right: -15%;
  width: 80vw;
  height: 80vh;
  background: var(--accent-green);
}

.glow-center-ambience {
  top: 30%;
  left: 20%;
  width: 60vw;
  height: 60vh;
  background: var(--accent-purple);
  opacity: 0.08;
}

/* Petals & Pollen Canvas */
#petalCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* DEWDROPS (Organic visual highlights) */
.dewdrop {
  position: absolute;
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8), inset -2px -2px 4px rgba(0,0,0,0.2);
  z-index: 5;
  pointer-events: none;
  animation: dewDropShimmer 4s infinite alternate ease-in-out;
}
.top-left-drop { top: 12px; left: 12px; }
.top-right-drop { top: 12px; right: 12px; }
.bottom-left-drop { bottom: 12px; left: 12px; }
.bottom-right-drop { bottom: 12px; right: 12px; }

/* HEADER: The Blossom Crown (Optimized, Slim, Centered Content) */
.blossom-crown {
  position: fixed;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1100px;
  background: rgba(8, 27, 22, 0.85);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  z-index: 100;
  padding: 8px 24px;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.blossom-crown.scrolled {
  top: 0;
  width: 100%;
  border-radius: 0 0 20px 20px;
  border-top: none;
  background: rgba(8, 27, 22, 0.95);
  padding: 6px 24px;
}

.crown-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Area & Logo Animation */
.logo-area {
  display: flex;
  align-items: center;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-family-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: var(--accent-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 15px rgba(255, 95, 162, 0.1);
}

.brand-domain {
  font-family: var(--font-family-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: -3px;
}

/* Luxury Navigation Bar (Slim, Icon-Free) */
.luxury-navigation {
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
}

.nav-item {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 6px 16px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  border: 1px solid transparent;
  position: relative;
}

.nav-item:hover, .nav-item.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-item.active::after, .nav-item:hover::after {
  content: '';
  position: absolute;
  bottom: 1px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--accent-pink);
  border-radius: 50%;
  box-shadow: 0 0 8px #FF5FA2;
  animation: pulseGlow 1.5s infinite alternate;
}

/* Actions in Header (Slim & Minimalist) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-cta {
  padding: 8px 20px !important;
  font-size: 0.85rem !important;
  border-radius: 30px !important;
}

/* Dynamic Buttons */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  border: none;
}

.primary-btn {
  background: var(--accent-pink);
  color: var(--bg-primary);
  box-shadow: 0 6px 20px rgba(255, 95, 162, 0.25);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 95, 162, 0.5), 0 0 12px rgba(255, 194, 217, 0.25);
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 95, 162, 0.4);
  transform: translateY(-2px);
}

/* Mobile Hamburger Triggers */
.mobile-menu-trigger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 28px;
  justify-content: center;
  z-index: 102;
}

.mobile-menu-trigger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-smooth);
}

.mobile-menu-trigger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-trigger.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-trigger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation Overlay Menu */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(8, 27, 22, 0.99);
  backdrop-filter: blur(25px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 25px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-item {
  font-family: var(--font-family-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-item.active, .mobile-nav-item:hover {
  color: #FF5FA2;
  text-shadow: 0 0 15px rgba(255, 95, 162, 0.4);
}

.mobile-disclaimer {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
  width: 80%;
  text-align: center;
}

/* APP ROUTER SYSTEM (PAGE VISIBILITY) */
.app-page {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  min-height: calc(100vh - 120px);
  padding-top: 120px;
}

.app-page.active-page {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: bloomScale 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1) forwards;
}

/* SECTION: HERO SECTION */
.hero-section {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 40px 0;
}

.hero-image-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: saturate(1.3) contrast(1.15) blur(2px);
  transition: transform 12s ease-out;
}

.hero-section:hover .hero-bg-img {
  transform: scale(1.05);
}

.hero-shade-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(8, 27, 22, 0.3) 0%, #081B16 95%);
}

.hero-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 5;
}

.hero-left-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.botanical-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 20px;
}

.highlight-text {
  background: var(--accent-multi);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
  text-shadow: 0 0 20px rgba(255, 95, 162, 0.15);
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 30px;
}

.hero-actions-container {
  display: flex;
  gap: 16px;
  margin-bottom: 30px;
}

.pulse-glow {
  animation: glowPulseBtn 3s infinite;
}

.hero-disclaimer {
  display: flex;
  align-items: center;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid #FF5FA2;
  border-radius: 4px 12px 12px 4px;
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 40px;
  backdrop-filter: blur(10px);
}

/* Stats Strip */
.stats-strip {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 18px 28px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-family-mono);
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--accent-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 20px rgba(255, 213, 79, 0.3);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.1);
}

/* Right Side Compact Interactive Preview Card */
.slot-preview-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: 24px;
  padding: 14px;
  box-shadow: var(--glass-shadow);
  max-width: 360px;
  margin: 0 auto;
  transition: var(--transition-smooth);
}

.slot-preview-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 95, 162, 0.3);
}

.slot-preview-header {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.preview-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: #FFD54F;
  background: rgba(255, 213, 79, 0.1);
  padding: 3px 10px;
  border-radius: 100px;
}

.preview-visual {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
}

.preview-graphic {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.slot-preview-card:hover .preview-graphic {
  transform: scale(1.05);
}

.preview-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 27, 22, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-hover-btn {
  padding: 10px 20px;
  border-radius: 20px;
  background: var(--accent-pink);
  color: var(--bg-primary);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 0 20px rgba(255, 95, 162, 0.5);
  transform: scale(0.95);
  transition: var(--transition-smooth);
}

.slot-preview-card:hover .play-hover-btn {
  transform: scale(1);
}

.slot-preview-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.game-info-meta h3 {
  font-size: 1.05rem;
  color: #FFFFFF;
}

.game-info-meta p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.mini-launch-btn {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-secondary);
}

.mini-launch-btn:hover {
  background: var(--accent-pink);
  color: var(--bg-primary);
  border-color: transparent;
}

/* SECTION: THE GARDEN TREASURE GRID */
.garden-treasure-grid {
  width: 90%;
  max-width: 1100px;
  margin: 100px auto;
}

.section-header-centered {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.badge-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-family: var(--font-family-mono);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #FF5FA2;
  background: rgba(255, 95, 162, 0.1);
  border: 1px solid rgba(255, 95, 162, 0.25);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.section-header-centered h2 {
  font-size: 2.8rem;
  margin-bottom: 14px;
  line-height: 1.15;
}

.section-header-centered p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

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

.treasure-card {
  position: relative;
  border-radius: 20px;
  padding: 30px 24px;
  transition: var(--transition-smooth);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.glassmorphism {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
}

/* Sunlight horizontal sweep on hover */
.glassmorphism::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: skewX(-25deg);
  transition: 0.75s;
  pointer-events: none;
}

.glassmorphism:hover::before {
  left: 150%;
  transition: 1.2s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.treasure-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 95, 162, 0.3);
  box-shadow: var(--glass-shadow);
}

.card-icon-container {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}

.treasure-card:hover .card-icon-container {
  transform: scale(1.08) rotate(3deg);
}

.bg-pink {
  background: rgba(255, 95, 162, 0.1);
  color: #FF5FA2;
  border: 1px solid rgba(255, 95, 162, 0.2);
}

.bg-green {
  background: rgba(76, 175, 80, 0.1);
  color: #4CAF50;
  border: 1px solid rgba(76, 175, 80, 0.2);
}

.bg-gold {
  background: rgba(255, 213, 79, 0.1);
  color: #FFD54F;
  border: 1px solid rgba(255, 213, 79, 0.2);
}

.bg-purple {
  background: rgba(166, 108, 255, 0.1);
  color: #A66CFF;
  border: 1px solid rgba(166, 108, 255, 0.2);
}

.treasure-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.treasure-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.card-glow-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 100% 0%, rgba(255,255,255,0.03) 0%, rgba(0,0,0,0) 60%);
  pointer-events: none;
}

/* BRAND STORYCASE SECTION (Optimized to Half-Size Card 1:1) */
.brand-storycase {
  width: 90%;
  max-width: 540px; /* Scaled down precisely to half of standard 1100px width */
  margin: 60px auto;
  background: var(--bg-secondary);
  border-radius: 24px;
  overflow: hidden;
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.storycase-container {
  display: grid;
  grid-template-columns: 1fr; /* Stacked layout elements inside the compact container */
}

.storycase-image {
  position: relative;
  aspect-ratio: 16 / 9; /* Perfect wide viewing panel on a compact vertical layout card */
  overflow: hidden;
}

.story-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
}

.brand-storycase:hover .story-img {
  transform: scale(1.05);
}

.story-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(16, 46, 37, 0) 40%, #102E25 100%);
}

.storycase-text {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.storycase-text .badge-pill {
  margin-bottom: 14px;
}

.storycase-text h2 {
  font-size: 1.6rem;
  margin-bottom: 14px;
  line-height: 1.3;
}

.storycase-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 0.88rem;
  line-height: 1.6;
}

.storycase-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  width: 100%;
  max-width: 320px;
  margin: 10px auto 0;
}

.list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-primary);
}

.list-item i {
  color: #4CAF50;
  font-size: 0.95rem;
}

/* SECTION: MAIN GAME (FLOWER SLOT) */
.game-container-outer {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto 100px;
}

.game-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

/* Spinning corner petal decorations */
.corner-petal {
  position: absolute;
  font-size: 1.2rem;
  color: #FFC2D9;
  z-index: 10;
  pointer-events: none;
  opacity: 0.8;
  animation: rotatePetalOrnament 10s linear infinite;
}
.cp-tl { top: 12px; left: 12px; }
.cp-tr { top: 12px; right: 12px; }
.cp-bl { bottom: 12px; left: 12px; }
.cp-br { bottom: 12px; right: 12px; }

.game-control-header {
  background: rgba(8, 27, 22, 0.92);
  padding: 14px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.left-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.live-status-dot {
  width: 8px;
  height: 8px;
  background-color: #4CAF50;
  border-radius: 50%;
  box-shadow: 0 0 8px #4CAF50;
  animation: pulseGlow 1.5s infinite alternate;
}

.game-label-status {
  font-family: var(--font-family-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.right-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.game-util-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: 100px;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  transition: var(--transition-smooth);
}

.game-util-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border-color: rgba(255, 95, 162, 0.35);
}

.game-frame-holder {
  width: 100%;
  aspect-ratio: 16/9;
  max-height: 600px;
  background: #000;
  position: relative;
}

.game-frame-holder iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.game-control-footer {
  background: rgba(8, 27, 22, 0.92);
  padding: 14px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.game-foot-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.game-tags-list {
  display: flex;
  gap: 8px;
}

.game-tag {
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 10px;
  border-radius: 100px;
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 30px;
}

.detail-block {
  padding: 24px;
  border-radius: 16px;
  text-align: center;
}

.detail-block h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.detail-block p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* SECTION: GARDEN VAULT (Compact Perfect Sizes) */
.vault-container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto 100px;
}

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

.vault-card {
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.vault-card:hover {
  transform: translateY(-6px);
  border-color: rgba(76, 175, 80, 0.3);
  box-shadow: var(--glass-shadow);
}

.vault-image-container {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.vault-plant-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.vault-card:hover .vault-plant-img {
  transform: scale(1.05);
}

.plant-status-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  backdrop-filter: blur(10px);
}

.status-blooming {
  background: rgba(76, 175, 80, 0.2);
  color: #A5D6A7;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.status-growing {
  background: rgba(255, 213, 79, 0.2);
  color: #FFE082;
  border: 1px solid rgba(255, 213, 79, 0.3);
}

.status-locked {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.vault-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.vault-content h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
  text-align: center;
}

.vault-content p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 16px;
  min-height: 40px;
  text-align: center;
}

.growth-bar-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.growth-bar {
  height: 6px;
  background: var(--accent-green);
  border-radius: 100px;
}

.growth-percent {
  font-family: var(--font-family-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* SECTION: ADVENTURES (TIMELINE) */
.adventures-container {
  width: 90%;
  max-width: 800px;
  margin: 0 auto 100px;
}

.adventure-timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  padding-left: 50px;
}

.adventure-timeline::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  width: 2px;
  height: calc(100% - 30px);
  background: linear-gradient(180deg, #4CAF50 0%, #FF5FA2 50%, rgba(255,255,255,0.05) 100%);
}

.timeline-step {
  position: relative;
  border-radius: 20px;
  padding: 24px;
  transition: var(--transition-smooth);
}

.step-marker {
  position: absolute;
  top: 18px;
  left: -48px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  font-size: 0.8rem;
  font-weight: bold;
}

.finished .step-marker {
  background: #4CAF50;
  color: var(--bg-primary);
  box-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
}

.active .step-marker {
  background: #FF5FA2;
  color: var(--bg-primary);
  box-shadow: 0 0 10px rgba(255, 95, 162, 0.3);
  animation: glowPulseBtn 3s infinite;
}

.locked .step-marker {
  background: var(--bg-tertiary);
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.12);
}

.step-chapter {
  font-family: var(--font-family-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #FF5FA2;
  margin-bottom: 6px;
  display: block;
}

.timeline-step h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.timeline-step p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.rewards-won {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
}

.rewards-won span {
  color: var(--text-muted);
}

.badge-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 100px;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
}

.badge-tag.gold-glow {
  border-color: rgba(255, 213, 79, 0.3);
  color: #FFD54F;
  box-shadow: 0 0 8px rgba(255, 213, 79, 0.08);
}

/* SECTION: CONTACT */
.contact-container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto 100px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}

.contact-info-block {
  padding: 40px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-info-block h2 {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.contact-info-block p {
  color: var(--text-secondary);
  margin-bottom: 30px;
  font-size: 0.95rem;
}

.contact-meta-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.meta-item {
  display: flex;
  align-items: flex-start;
}

.meta-item-details h4 {
  font-family: var(--font-family-body);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 3px;
}

.meta-item-details p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.contact-link:hover {
  color: #FF5FA2;
  text-decoration: underline;
}

.contact-form-block {
  padding: 40px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.contact-form-block h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.contact-form-block p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 0.9rem;
}

.luxury-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-control-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-control-wrapper label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-control-wrapper input, .form-control-wrapper textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px 16px;
  color: #FFFFFF;
  font-family: var(--font-family-body);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-smooth);
}

.form-control-wrapper input:focus, .form-control-wrapper textarea:focus {
  border-color: #FF5FA2;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 10px rgba(255, 95, 162, 0.2);
}

.form-checkbox-wrapper {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.form-checkbox-wrapper input {
  margin-top: 4px;
  cursor: pointer;
}

.form-checkbox-wrapper label {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
  cursor: pointer;
}

.form-success-feedback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #102E25;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  z-index: 5;
}

.form-success-feedback.visible {
  opacity: 1;
  pointer-events: auto;
}

.success-icon-ring {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(76, 175, 80, 0.1);
  border: 2px solid #4CAF50;
  color: #4CAF50;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  animation: scaleUpFeedback 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* SECTION: LEGAL PAGE LAYOUTS */
.legal-page-container {
  width: 90%;
  max-width: 900px;
  margin: 0 auto 100px;
  padding: 44px;
  border-radius: 24px;
}

.legal-page-container h2 {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.last-updated {
  font-family: var(--font-family-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.legal-page-container h3 {
  font-size: 1.4rem;
  margin: 24px 0 12px;
  color: #FFFFFF;
}

.legal-page-container p {
  color: var(--text-secondary);
  margin-bottom: 18px;
  font-size: 0.95rem;
}

.legal-page-container ul {
  list-style: none;
  margin-bottom: 18px;
}

.legal-page-container li {
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
  margin-bottom: 10px;
}

.legal-page-container li::before {
  content: '🌿';
  position: absolute;
  left: 0;
  top: 1px;
}

/* HOW TO PLAY MODAL WINDOW */
.how-to-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 27, 22, 0.88);
  backdrop-filter: blur(20px);
  z-index: 105;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.how-to-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  width: 90%;
  max-width: 550px;
  border-radius: 24px;
  padding: 30px;
  position: relative;
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

.how-to-modal.active .modal-content {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 1.2rem;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}

.modal-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.modal-header h2 {
  font-size: 1.8rem;
}

.modal-body-scroll {
  max-height: 380px;
  overflow-y: auto;
  padding-right: 10px;
}

/* Custom Scrollbar for Modal and Global */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #FF5FA2;
}

.symbol-guide-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0;
}

.symbol-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.symbol-graphic {
  font-size: 2rem;
  min-width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.symbol-desc h4 {
  font-size: 1rem;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.symbol-desc p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.modal-tip-box {
  background: rgba(76, 175, 80, 0.06);
  border: 1px solid rgba(76, 175, 80, 0.2);
  padding: 14px;
  border-radius: 12px;
  margin-top: 20px;
}

.modal-tip-box p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* FOOTER SYSTEM */
.dark-botanical-footer {
  background: #040E0B;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  padding-top: 60px;
  z-index: 10;
}

.footer-border-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #FF5FA2 30%, #4CAF50 70%, transparent 100%);
  opacity: 0.4;
}

.footer-container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-section h3 {
  font-size: 1rem;
  color: #FFFFFF;
  margin-bottom: 18px;
  position: relative;
  display: inline-block;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 24px;
  height: 2px;
  background: #FF5FA2;
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.footer-brand-title {
  font-family: var(--font-family-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #FFFFFF;
}

.footer-brand-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 15px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-links-list a:hover {
  color: #FF5FA2;
  padding-left: 4px;
}

.footer-contact-block p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 10px;
}

.footer-contact-block a {
  color: #FF5FA2;
}

.footer-contact-block a:hover {
  text-decoration: underline;
}

/* Footer Disclaimer Box */
.footer-disclaimer-wrapper {
  background: #020705;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.disclaimer-content {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto 18px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.disclaimer-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 12px;
  border-radius: 6px;
  font-family: var(--font-family-mono);
  font-weight: 700;
  font-size: 0.85rem;
  color: #FFFFFF;
  white-space: nowrap;
}

.disclaimer-content p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.copyright-bar {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 15px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   ANIMATIONS ENGINE
   ========================================================================== */
@keyframes floatEmblem {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-5px) rotate(8deg); }
}

@keyframes glowPulseBtn {
  0% { box-shadow: 0 5px 20px rgba(255, 95, 162, 0.25); }
  50% { box-shadow: 0 5px 30px rgba(255, 95, 162, 0.6), 0 0 12px rgba(255, 95, 162, 0.3); }
  100% { box-shadow: 0 5px 20px rgba(255, 95, 162, 0.25); }
}

@keyframes pulseGlow {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

@keyframes scaleUpFeedback {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes dewDropShimmer {
  0% { transform: scale(1); opacity: 0.6; box-shadow: 0 0 6px rgba(255, 255, 255, 0.4); }
  100% { transform: scale(1.15); opacity: 0.95; box-shadow: 0 0 14px rgba(255, 255, 255, 0.9); }
}

@keyframes bloomScale {
  0% { opacity: 0; transform: scale(0.97); filter: blur(2px); }
  100% { opacity: 1; transform: scale(1); filter: blur(0); }
}

@keyframes rotatePetalOrnament {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
   RESPONSIVE LAYOUT MATRIX
   ========================================================================== */
@media (max-width: 1200px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero-left-content {
    align-items: center;
    text-align: center;
  }
  .hero-title {
    font-size: 3rem;
  }
  .hero-description {
    max-width: 100%;
  }
  .hero-disclaimer {
    max-width: 100%;
  }
  .hero-actions-container {
    justify-content: center;
  }
  .slot-preview-card {
    max-width: 320px;
    margin: 0 auto;
    transform: none !important;
  }
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .storycase-container {
    grid-template-columns: 1fr;
  }
  .storycase-image {
    aspect-ratio: 16 / 9;
  }
  .story-image-overlay {
    background: linear-gradient(180deg, rgba(16, 46, 37, 0) 40%, #102E25 100%);
  }
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .luxury-navigation {
    display: none;
  }
  .mobile-menu-trigger {
    display: flex;
  }
  .grid-container {
    grid-template-columns: 1fr;
  }
  .vault-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .form-group-row {
    grid-template-columns: 1fr;
  }
  .game-details-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .stats-strip {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .stat-divider {
    display: none;
  }
  .blossom-crown {
    top: 8px;
    padding: 8px 16px;
  }
  .logo-area .brand-name {
    font-size: 1.1rem;
  }
  .brand-domain {
    display: none;
  }
  .storycase-text {
    padding: 24px;
  }
  .storycase-text h2 {
    font-size: 1.4rem;
  }
  .contact-info-block {
    padding: 24px;
  }
  .contact-form-block {
    padding: 24px;
  }
  .disclaimer-content {
    flex-direction: column;
    text-align: center;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
  .game-wrapper {
    border-radius: 14px;
  }
  .game-control-header {
    flex-direction: column;
    gap: 10px;
  }
}