:root {
  --color-bg: #1A1C1A;
  --color-font: #E1E3E1;
  --primary-color: #A8C97F;
  --secondary-bg: #2C2E2C;
  --button-text: #1A1C1A;
}

@media (prefers-color-scheme: light) {
  :root {
    --color-bg: #F7F7F7;
    --color-font: #1A1C1A;
    --primary-color: #8BA85C;
    --secondary-bg: #FFFFFF;
    --button-text: #FFFFFF;
  }
}

body.landing-mode {
  background-color: var(--color-bg);
  color: var(--color-font);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
}

body:not(.landing-mode) {
  margin: 0;
  padding: 0;
  overflow: hidden;
  /* Often needed for Flutter web */
}

.landing-mode .container {
  max-width: 600px;
  width: 90%;
  padding: 20px;
}

.landing-mode .logo {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  border-radius: 20px;
  background-color: var(--secondary-bg);
  /* Placeholder bg */
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.landing-mode .logo img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.landing-mode h1 {
  font-size: 24px;
  margin-bottom: 10px;
}

.landing-mode p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 30px;
  opacity: 0.8;
}

.landing-mode .button-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Center items */
  gap: 16px;
  /* Increased gap */
  width: 100%;
}

.landing-mode .btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 24px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s, opacity 0.2s;
  background-color: var(--secondary-bg);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  min-width: 200px;
  /* Harmonize widths */
  box-sizing: border-box;
}

.landing-mode .store-btn {
  background: none;
  border: none;
  padding: 0;
  display: inline-flex;
  justify-content: center;
  transition: transform 0.2s, opacity 0.2s;
}

.landing-mode .store-btn img {
  height: 50px;
  /* Slightly larger for better touch target */
  width: auto;
  display: block;
}

.landing-mode .store-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.landing-mode .btn-primary {
  background-color: var(--primary-color);
  color: var(--button-text);
  border: none;
}

.landing-mode .btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.landing-mode .web-btn {
  margin-top: 20px;
  font-size: 14px;
  color: var(--color-font);
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  opacity: 0.6;
}

.landing-mode .web-btn:hover {
  opacity: 1;
}

/* Loader for SPA transition */
.loader {
  display: none;
  /* Hidden by default */
}