/* ============================================================
   girovagabondo.com — Palazzo (front page) styles
   ============================================================
   Loaded on top of /assets/site.css by index.html only.
   Currently: the Suite Key section (one Torn API key that
   works in every Torn app in the collection).
   ============================================================ */

/* ============ SUITE KEY ============ */
.suite-key {
  --card-accent: var(--gold);
  padding-top: 2rem;
}

.suite-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.suite-step {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--panel-warm) 0%, var(--panel) 100%);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.8rem 1.5rem 1.8rem;
  animation: fadeUp 0.8s ease both;
}
.suite-step:nth-child(2) { animation-delay: 0.1s; }
.suite-step:nth-child(3) { animation-delay: 0.2s; }

.suite-step-num {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: 2rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.55;
  margin-bottom: 0.9rem;
}

.suite-step-title {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--cream);
  margin-bottom: 0.75rem;
}

.suite-step p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 0.9rem;
}
.suite-step p:last-child { margin-bottom: 0; }
.suite-step strong { color: var(--cream); font-weight: 400; }

.suite-step .suite-fine {
  font-size: 0.8rem;
  color: var(--faint);
}

.suite-button {
  display: block;
  text-align: center;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--midnight);
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 100%);
  border-radius: 3px;
  padding: 1rem 1rem;
  margin: 0.4rem 0 1rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.suite-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201, 168, 76, 0.3);
}

.suite-doors {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: auto;
}

.suite-doors a {
  display: block;
  text-align: center;
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid var(--border-strong);
  border-radius: 3px;
  padding: 0.8rem 0.4rem;
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.suite-doors a:hover {
  background: rgba(201, 168, 76, 0.08);
  border-color: var(--gold);
}

/* ---- Fine print: collapsible Q&A under the steps ---- */
.suite-faq {
  max-width: 760px;
  margin: 0 auto;
}

.suite-faq details {
  border-top: 1px solid var(--border);
}
.suite-faq details:last-child {
  border-bottom: 1px solid var(--border);
}

.suite-faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0.25rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--cream);
}
.suite-faq summary::-webkit-details-marker { display: none; }
.suite-faq summary::after {
  content: '+';
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 1.1rem;
  transition: transform 0.25s ease;
}
.suite-faq details[open] summary::after { transform: rotate(45deg); }
.suite-faq summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.suite-faq-body {
  padding: 0 0.25rem 1.4rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--muted);
}
.suite-faq-body p + p { margin-top: 0.8rem; }
.suite-faq-body strong { color: var(--cream); font-weight: 400; }

.suite-scopes {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin-top: 0.4rem;
}
.suite-scopes th,
.suite-scopes td {
  text-align: left;
  vertical-align: top;
  padding: 0.6rem 0.5rem;
  border-bottom: 1px solid var(--border);
}
.suite-scopes th {
  font-family: 'Cinzel', serif;
  font-weight: 400;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.suite-scopes td:first-child {
  white-space: nowrap;
  color: var(--cream);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .suite-steps { grid-template-columns: 1fr; gap: 1.25rem; }
}

@media (max-width: 600px) {
  .suite-step { padding: 1.4rem 1.2rem; }
  .suite-scopes td:first-child { white-space: normal; }
}
