@import url("https://fonts.googleapis.com/css2?family=Hind+Vadodara:wght@400;500;600;700&display=swap");

/* Aarutva Daily 5 - Senior-friendly styles */
:root {
  /* Replace these two values with Aarutva's exact official website colors if needed. */
  --brand-1: #0c6b63;
  --brand-2: #1c9a8d;
  --text: #1d2523;
  --muted: #5d6966;
  --soft: #f2f8f7;
  --border: #d7e4e1;
  --success-bg: #e9f7ee;
  --success-text: #166534;
  --danger-bg: #fff1f1;
  --danger-text: #a61b1b;
  --white: #ffffff;
  --shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Hind Vadodara", Arial, "Noto Sans Gujarati", "Nirmala UI", sans-serif;
  background: #f5f8f8;
  color: var(--text);
  line-height: 1.55;
}

button, input, select, textarea {
  font-family: "Hind Vadodara", Arial, "Noto Sans Gujarati", "Nirmala UI", sans-serif;
}

button {
  font: inherit;
}

.daily5-wrap {
  width: 100%;
  padding: 24px 16px 48px;
}

.daily5-card {
  width: min(760px, 100%);
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  background: #fbfdfd;
}

.brand-mark {
  font-size: 24px;
  font-weight: 800;
  color: var(--brand-1);
}

.brand-tagline {
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
  text-align: right;
}

.hero {
  padding: 28px 28px 12px;
}

.eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--brand-1);
  font-size: 14px;
  font-weight: 800;
}

h1 {
  margin: 14px 0 8px;
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1.1;
}

.intro {
  margin: 0;
  font-size: 18px;
  color: var(--muted);
}

.score-strip {
  margin: 8px 28px 22px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 18px;
  align-items: center;
  background: #fcfefe;
}

.label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 2px;
}

#scoreText {
  font-size: 28px;
  color: var(--brand-1);
}

.progress-area {
  min-width: 0;
}

.progress-track {
  width: 100%;
  height: 12px;
  background: #e7eeee;
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  width: 20%;
  height: 100%;
  background: var(--brand-2);
  transition: width 0.25s ease;
}

#progressText {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
}

#quizArea {
  padding: 0 28px 96px;
}

.question-number {
  font-size: 15px;
  font-weight: 800;
  color: var(--brand-1);
  margin-bottom: 8px;
}

#questionText {
  margin: 0 0 20px;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.3;
}

.options {
  display: grid;
  gap: 12px;
}

.option-btn {
  width: 100%;
  min-height: 68px;
  padding: 16px 18px;
  border: 2px solid var(--border);
  border-radius: 16px;
  background: var(--white);
  text-align: left;
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: 0.18s ease;
}

.option-btn:hover,
.option-btn:focus-visible {
  border-color: var(--brand-2);
  background: var(--soft);
  outline: none;
}

.option-btn:disabled {
  cursor: default;
  opacity: 1;
}

.option-btn.correct {
  border-color: #2e8b57;
  background: var(--success-bg);
  color: var(--success-text);
}

.option-btn.wrong {
  border-color: #c93c3c;
  background: var(--danger-bg);
  color: var(--danger-text);
}

.feedback {
  min-height: 64px;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 600;
}

.feedback:empty {
  display: none;
}

.feedback.correct {
  background: var(--success-bg);
  color: var(--success-text);
}

.feedback.wrong {
  background: var(--danger-bg);
  color: var(--danger-text);
}

.next-btn {
  position: fixed;
  left: 50%;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 1000;

  width: min(640px, calc(100% - 24px));
  min-height: 58px;
  padding: 14px 18px;

  border: 0;
  border-radius: 14px;
  background: var(--brand-1);
  color: var(--white);
  font-size: 19px;
  font-weight: 800;
  cursor: pointer;

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.play-again-btn {
  display: block;
  width: min(520px, 100%);
  min-height: 62px;
  margin: 18px auto 4px;
  border: 0;
  border-radius: 16px;
  background: var(--brand-1);
  color: var(--white);
  font-size: 21px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);
  transition: transform 0.16s ease, background 0.16s ease;
  text-decoration: none;
  text-align: center;
}

.play-again-btn:hover,
.play-again-btn:focus-visible {
  background: var(--brand-2);
  transform: translateY(-1px);
  outline: none;
}

.next-btn:hover,
.next-btn:focus-visible {
  background: var(--brand-2);
  outline: none;
}

.result-area {
  padding: 10px 28px 30px;
  text-align: center;
}

.result-icon {
  font-size: 58px;
}

#resultTitle {
  margin: 8px 0;
  font-size: 30px;
}

.final-score {
  font-size: 54px;
  line-height: 1;
  color: var(--brand-1);
  font-weight: 900;
  margin: 12px 0 10px;
}

#resultMessage {
  margin: 0 auto 18px;
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
}

.tomorrow-card {
  margin: 16px auto 0;
  max-width: 540px;
  padding: 16px;
  border: 1px dashed var(--border);
  border-radius: 14px;
  background: var(--soft);
}

.tomorrow-card strong,
.tomorrow-card span {
  display: block;
}

.tomorrow-card strong {
  font-size: 18px;
  color: var(--brand-1);
}

.tomorrow-card span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.small-note {
  padding: 16px 28px 22px;
  border-top: 1px solid var(--border);
  background: #fbfdfd;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 640px) {
  .daily5-wrap {
    padding: 10px 10px 28px;
  }

  .daily5-card {
    border-radius: 18px;
  }

  .brand-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-tagline {
    text-align: left;
  }

  .hero,
  #quizArea,
  .result-area {
    padding-left: 18px;
    padding-right: 18px;
  }

  .score-strip {
    margin-left: 18px;
    margin-right: 18px;
    grid-template-columns: 1fr;
  }

  #quizArea {
    padding-bottom: 96px;
  }

  .next-btn {
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    width: calc(100% - 20px);
    min-height: 56px;
    font-size: 18px;
  }

  .option-btn {
    font-size: 18px;
  }
}

.tomorrow-message {
  margin: 0 0 14px;
  padding: 0 6px;
  color: var(--brand-1);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}
