@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&family=Marcellus&family=Jost:wght@400;500&family=Raleway:wght@500;600;700&display=swap');

:root {
  --bg: #f7f9fb;
  --muted: #666;
  --card-bg: #fff;
  --card-shadow: rgba(0,0,0,0.1);
  --rating-border: #ccc;
  --favicon-bg: #fff;
  --favicon-shadow: rgba(54,187,202,0.2);
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
}

.card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px var(--card-shadow);
  text-align: center;
  width: 100%;
  max-width: 550px;
}

h1, h2, h3, h4 {
  font-family: var(--font-headings);
  margin-bottom: 10px;
  font-weight: 600;
}

h5, h6, p, textarea, button {
  font-family: var(--font-body);
  color: var(--muted);
}

h1 { font-size: 30px; }
p { font-size: 14px; margin-bottom: 20px; }

.rating-row { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.rating-item { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid var(--rating-border); cursor: pointer; font-weight: bold; transition: all 0.2s ease; background: var(--card-bg); font-size: 16px; }
input[type="radio"] { display: none; }
input[type="radio"]:checked + label { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 0 10px rgba(54,187,202,0.3); }

.favicon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.favicon-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

textarea { width: 100%; margin-top: 20px; padding: 10px; border-radius: 8px; border: 1px solid var(--rating-border); resize: none; font-family: var(--font-body); font-size: 14px; }

button { margin-top: 20px; background: var(--accent); color: #fff; border: none; padding: 10px 20px; border-radius: 8px; cursor: pointer; font-weight: bold; transition: background 0.2s ease; width: 100%; font-size: 16px; }
button:hover { background: var(--button-hover); }

.summary-box { background-color: var(--summary-bg); border: 1px solid var(--summary-border); border-radius: 8px; padding: 12px; margin: 15px 0; text-align: center; }
.summary-box p { margin: 6px 0; color: #444; font-size: 14px; }

.google-btn { display: inline-block; margin-top: 15px; padding: 10px 15px; border-radius: 8px; background-color: var(--accent); color: white; text-decoration: none; font-weight: bold; transition: background 0.2s ease; }
.google-btn:hover { background-color: var(--google-btn-hover); }

/* MEDIA QUERIES */
@media (max-width: 768px) {
  .card { padding: 25px; max-width: 90%; }
  h1 { font-size: 26px; }
  p { font-size: 13.5px; }
  .rating-item { width: 36px; height: 36px; font-size: 15px; }
  textarea { font-size: 13.5px; padding: 9px; }
  button { font-size: 15px; }
}