@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;900&display=swap');

/* Root variables for easy theming */
:root {
  --bg-gradient: linear-gradient(to bottom right, #0f172a, #020617, #000000);
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(to bottom right, #0f172a, #1e1b4b, #000000);
  min-height: 100vh;
}

.prose p {
  margin-bottom: 1rem;
}

.prose strong {
  color: #f97316;
  font-weight: 800;
}



  /* LOCAL TOOL FIX – MOBILE-FRIENDLY REPORT (WORKS 100% – Dec 2025) */
  @media (max-width: 1024px) {
    /* Kill narrow containers */
    .container, .max-w-5xl, .max-w-3xl, .max-w-4xl {
      max-width: 100% !important;
      padding-left: 1rem !important;
      padding-right: 1rem !important;
    }

    /* Reduce huge padding on form + report cards */
    .p-12, .p-10, .p-8 {
      padding: 1.5rem !important;
    }

    /* Smaller title */
    .text-5xl {
      font-size: 2rem !important;
      line-height: 1.1 !important;
    }

    /* Smaller giant percentage */
    .text-9xl {
      font-size: 6rem !important;
      line-height: 1 !important;
    }
  }

  /* Optional: slightly tighter on very small phones */
  @media (max-width: 480px) {
    .p-12, .p-10 { padding: 1.25rem !important; }
    .text-5xl { font-size: 1.875rem !important; }
    .text-9xl { font-size: 5.5rem !important; }
  }

* { box-sizing: border-box; margin: 0; padding: 0; }

.container { max-width: 760px; margin: 0 auto; text-align: center; }
h1 { font-size: 3rem; margin-bottom: 0.5rem; text-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.subtitle { font-size: 1.2rem; margin-bottom: 2rem; opacity: 0.9; }

#torchForm input {
  width: 100%;
  padding: 1rem;
  margin: 0.8rem 0;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
}
#torchForm button {
  width: 100%;
  padding: 1.1rem;
  background: black;
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.3rem;
  cursor: pointer;
  font-weight: bold;
}
#torchForm button:hover { background: #333; }

.glass-card {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 1.5rem;
  margin: 1rem 0;
  text-align: left;
  border: 1px solid rgba(255,255,255,0.2);
}
.glass-card h2 {
  text-align: center;
  color: #ffff00;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.score-card { text-align: center; padding: 2rem; }
#finalScore {
  font-size: 5rem;
  font-weight: bold;
  text-shadow: 0 0 20px #ff9500;
}
#fireEmoji { font-size: 4rem; display: none; }

.hidden { display: none; }

@media (max-width: 600px) {
  h1 { font-size: 2.4rem; }
  #finalScore { font-size: 4rem; }
  #fireEmoji { font-size: 3rem; }
}