/* Safe area + prevent horizontal drift in WebView / notched phones */
html {
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: #f2f4f7;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right))
    max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
}

.main-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: clamp(1.25rem, 5vw, 4rem);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.option-card {
  border-radius: 10px;
  padding: clamp(1.25rem, 4vw, 3rem) clamp(0.75rem, 3vw, 1.25rem);
  text-align: center;
  font-size: clamp(1.5rem, 8vw, 1.875rem);
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Plant Option Styles */
.plant {
  background-color: #ecfdf3;
  border: 2px solid #8ce0b0;
}

/* Skin Option Styles */
.skin {
  background-color: #fff4ea;
  border: 2px solid #ffbf8a;
}

.option-card h4,
.option-card h6 {
  margin-top: 0.75rem;
  margin-bottom: 0;
  font-weight: bold;
  font-size: clamp(0.875rem, 3.5vw, 1rem);
  color: #333;
  line-height: 1.3;
}

@media (hover: hover) and (pointer: fine) {
  .option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  }
}

@media (max-width: 575.98px) {
  .home-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }
}