:root {
  --bg: #ffffff;
  --card: #ffffff;
  --text: #000000;
  --text-muted: #555555;
  --border: #e0e0e0;
  --radius: 10px;
  --radius-sm: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
}

.wrapper {
  max-width: 560px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  text-align: center;
  margin-bottom: 2rem;
}

.logo {
  max-width: 220px;
  height: auto;
  display: block;
  margin: 0 auto;
}

main {
  flex: 1;
}

.question-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
}

.question-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.question-text {
  font-size: 1.2rem;
  line-height: 1.5;
  margin: 0 0 1.25rem;
  font-weight: 600;
  color: var(--text);
}

.answer-area {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.answer-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  background: #f5f5f5;
  border-radius: var(--radius-sm);
}

.answer-text.hidden {
  display: none;
}

.buttons {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.btn {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.1s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--text-muted);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--text);
}

.btn-secondary:hover {
  background: #f5f5f5;
}

.dates-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.quiz-dates {
  list-style: none;
  padding: 0;
  margin: 0;
}

.date-item {
  margin-bottom: 0.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.date-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s;
}

.date-toggle:hover {
  background: #f5f5f5;
}

.date-toggle::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--text);
  border-radius: 50%;
  flex-shrink: 0;
}

.date-toggle .date {
  color: var(--text-muted);
  min-width: 7rem;
}

.date-toggle .chevron {
  margin-left: auto;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.date-item.is-open .chevron {
  transform: rotate(180deg);
}

.date-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease-out;
}

.date-details-inner {
  padding: 0 1rem 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  margin: 0 1rem;
}

.date-details-inner a {
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.date-details-inner a:hover {
  color: var(--text-muted);
}

.date-info-list {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
  list-style: disc;
}

.date-info-list li {
  margin-bottom: 0.2rem;
}

.date-details-inner .date-register-btn {
  display: block;
  margin-top: 0.75rem;
  text-decoration: none;
  text-align: center;
  color: var(--bg);
}

.quiz-dates .no-dates {
  padding: 1rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  background: var(--card);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
}

footer {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

footer p {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
}

.footer-instagram:hover {
  transform: scale(1.08);
  opacity: 0.85;
}

.footer-instagram svg {
  width: 20px;
  height: 20px;
}
