/* Basic Reset & Root Variables */
:root {
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --immurio-green: #63c464;
  --immurio-blue: #19647e;
}

/* Light Mode Defaults */
body {
  --bg-primary: var(--gray-100);
  --bg-secondary: white;
  --text-primary: var(--gray-800);
  --text-secondary: var(--gray-600);
  --shadow: rgba(0, 0, 0, 0.1);
}

/* Dark Mode Overrides */
@media (prefers-color-scheme: dark) {
  body {
    --bg-primary: var(--gray-900);
    --bg-secondary: var(--gray-800);
    --text-primary: var(--gray-50);
    --text-secondary: var(--gray-400);
    --shadow: rgba(0, 0, 0, 0.3);
  }
}

/* General Body Styling */
body {
  margin: 0;
  padding: 24px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  background-color: var(--bg-primary);
  color: var(--text-primary);
  text-align: center;
}

/* Main Container */
#app {
  max-width: 450px;
  width: 100%;
  background-color: var(--bg-secondary);
  padding: 2rem 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px var(--shadow);
}

.logo-container {
  margin-bottom: 1.5rem;
}

.logo {
  width: 160px;
  height: 40px;
}

/* Headings and Paragraphs */
h1 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

p {
  margin-top: 0;
  margin-bottom: 1.25rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

#message {
  font-size: 1rem;
  min-height: 2.5em;
}

/* App Store Links Section */
#app-store-links {
  margin-top: 1.5rem;
}

#app-store-links p {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.app-store-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.app-store-buttons a {
  display: inline-block;
  text-decoration: none;
  transition: transform 0.2s ease-out;
}

.app-store-buttons a:hover {
  transform: scale(1.05);
}

.app-store-buttons a:active {
  transform: scale(0.95);
}

.app-store-buttons img {
  height: 48px;
  pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  body {
    padding: 16px;
  }
  #app {
    padding: 1.5rem 1rem;
  }
  h1 {
    font-size: 1.5rem;
  }
}

