:root {
  --bg-color: #f8f9fa;
  --text-color: #212529;
  --accent-color: #4c6ef5;
  --status-bg: #e9ecef;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-color: #1c1c1e;
    --text-color: #f1f3f5;
    --accent-color: #91a7ff;
    --status-bg: #2c2c2e;
  }
}

body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 2rem 1rem;
}

#ar-support-status {
  background-color: var(--status-bg);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  max-width: 600px;
  text-align: center;
}

model-viewer {
  width: 100%;
  max-width: 100%;
  height: 600px;
  border-radius: 12px;
  overflow: hidden;
  background-color: #000;
  margin-bottom: 1rem;
}

button {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  background-color: var(--accent-color);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

button:hover {
  background-color: #3b5bdb;
}

.back-button {
  position: fixed;
  top: 1rem;
  left: 1rem;
  padding: 0.5rem 1rem;
  background-color: var(--accent-color);
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: background-color 0.2s ease;
}

.back-button:hover {
  background-color: #3b5bdb;
}
