/* ImperialLuck components.css */

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--text-on-light);
  border: 2px solid var(--accent);
  padding: 0.6em 1.2em;
  border-radius: 4px;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
}

.btn:hover, .btn:focus { background: var(--warning); border-color: var(--warning); color: #fff; }

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

.btn-secondary:hover, .btn-secondary:focus { background: var(--text-on-light); color: var(--bg-light); }

/* Card grid on homepage */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2em;
  margin: 1.5em 0;
}

.card {
  background: #fff;
  border: 1px solid #ddd6c2;
  border-top: 4px solid var(--accent);
  border-radius: 6px;
  padding: 1.2em;
}

.card h3 { margin-top: 0; }

.card a { text-decoration: none; font-weight: 600; }

.notice-box {
  background: #fff;
  border-left: 5px solid var(--warning);
  padding: 1em 1.2em;
  margin: 1.5em 0;
  border-radius: 4px;
}

.notice-box.success { border-left-color: var(--success); }

.verify-tag {
  display: inline-block;
  background: #fff3e0;
  color: var(--warning);
  border: 1px solid var(--warning);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.1em 0.5em;
  border-radius: 3px;
  margin-left: 0.4em;
  vertical-align: middle;
}

/* ---- Regulation Map Explorer ---- */

.map-explorer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5em;
  margin: 1.5em 0;
}

@media (min-width: 900px) {
  .map-explorer {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

.map-panel {
  background: var(--surface);
  border-radius: 8px;
  padding: 1.2em;
}

.map-legend {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  padding: 0;
  margin: 0 0 1em;
}

.legend-chip {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.35em 0.9em;
  font-size: 0.82rem;
  cursor: pointer;
  color: var(--text-on-light);
  font-family: var(--font-body);
}

.legend-chip[data-status="land-casinos"] { background: #F3C766; color: #2b2205; }
.legend-chip[data-status="skill-gaming-only"] { background: #8FD6C4; color: #062e24; }
.legend-chip[data-status="prohibited"] { background: #E3E7DC; color: #22261c; }

.legend-chip[aria-pressed="true"] {
  outline: 3px solid var(--text-on-dark);
  outline-offset: 1px;
}

.india-map-svg {
  width: 100%;
  height: auto;
  background: var(--bg);
  border-radius: 6px;
}

.state-region {
  stroke: #F6F4EC;
  stroke-width: 1.5;
  stroke-dasharray: 3 3;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.state-region[data-status="land-casinos"] { fill: #F3C766; }
.state-region[data-status="skill-gaming-only"] { fill: #8FD6C4; }
.state-region[data-status="prohibited"] { fill: #E3E7DC; }

.state-region.is-dimmed { opacity: 0.4; }
.state-region:hover, .state-region:focus { opacity: 0.85; outline: 3px solid var(--accent); }

.state-label {
  font-family: var(--font-body);
  font-size: 9px;
  fill: #171A15;
  pointer-events: none;
}

.state-panel {
  background: #fff;
  border-radius: 8px;
  padding: 1.2em;
  border-top: 5px solid var(--accent);
  min-height: 160px;
}

.state-panel.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-style: italic;
  text-align: center;
}

.state-panel .status-pill {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2em 0.7em;
  border-radius: 999px;
  margin-bottom: 0.6em;
}

.status-pill.land-casinos { background: #F3C766; color: #2b2205; }
.status-pill.skill-gaming-only { background: #8FD6C4; color: #062e24; }
.status-pill.prohibited { background: #E3E7DC; color: #22261c; }

.map-table-wrap { margin-top: 2em; overflow-x: auto; }

.map-table-wrap table { min-width: 560px; }

/* FAQ accordion */
.faq-item {
  border-bottom: 1px solid #ddd6c2;
  padding: 0.8em 0;
}

.faq-item summary {
  font-family: var(--font-head);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.3em 0;
}

.faq-item summary::-webkit-details-marker { color: var(--accent); }

.faq-item p { margin-top: 0.6em; }

/* Age gate */
.age-gate-box h2 { margin-top: 0; }
