/* Logan's Deck Theme — shared across all decks */

:root {
  --r-main-font: 'Noto Sans TC', sans-serif;
  --r-heading-font: 'Noto Sans TC', sans-serif;
  --r-background-color: #0d0d0d;
  --r-main-color: #e8e8e8;
  --r-heading-color: #fff;
  --r-link-color: #ff6b35;
}

.reveal {
  font-family: 'Noto Sans TC', sans-serif;
}

.reveal .slides section {
  text-align: left;
}

.reveal h1, .reveal h2, .reveal h3 {
  font-weight: 900;
  letter-spacing: -0.02em;
}

/* ── Title slide ── */
.title-slide {
  text-align: center !important;
}

.title-slide h1 {
  font-size: 2.4em;
  background: linear-gradient(135deg, #ff6b35, #ff9f1c, #ffbe0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.2em;
}

.title-slide .subtitle {
  font-size: 1.1em;
  color: #aaa;
  margin-bottom: 1em;
}

.title-slide .lobster-emoji {
  font-size: 3em;
  display: block;
  margin-bottom: 0.3em;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ── Labels & Tags ── */
.tag {
  display: inline-block;
  background: #ff6b35;
  color: white;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.55em;
  font-weight: 700;
  margin-right: 8px;
  vertical-align: middle;
  letter-spacing: 0.05em;
}

.section-label {
  font-size: 0.5em;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ff6b35;
  margin-bottom: 0.3em;
}

/* ── Cards ── */
.card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 20px 28px;
  margin: 12px 0;
}

.card-orange {
  border-left: 4px solid #ff6b35;
}

/* ── Typography ── */
.highlight {
  color: #ff9f1c;
  font-weight: 700;
}

.big-number {
  font-size: 3.5em;
  font-weight: 900;
  color: #ff6b35;
  line-height: 1;
}

.quote {
  font-size: 1.4em;
  font-style: italic;
  color: #ffbe0b;
  text-align: center;
  padding: 20px;
  line-height: 1.6;
}

/* ── Lists ── */
.reveal ul {
  list-style: none;
  padding-left: 0;
}

.reveal ul li::before {
  content: "▸ ";
  color: #ff6b35;
  font-weight: 700;
}

.reveal ul li {
  margin: 0.5em 0;
  font-size: 0.9em;
}

/* ── Layout helpers ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

/* ── Flow diagram ── */
.flow {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.flow-item {
  background: rgba(255,107,53,0.15);
  border: 1px solid rgba(255,107,53,0.4);
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 0.75em;
  font-weight: 700;
}

.flow-arrow {
  color: #ff6b35;
  font-size: 1.2em;
}

/* ── Evolution list ── */
.evolution-list {
  counter-reset: evo;
}

.evolution-list li {
  counter-increment: evo;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 14px 0;
  font-size: 0.85em;
}

.evolution-list li::before {
  content: counter(evo);
  min-width: 32px;
  height: 32px;
  background: #ff6b35;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.9em;
  color: white;
}

/* ── Skill grid ── */
.skill-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0;
}

.skill-chip {
  background: rgba(255,159,28,0.12);
  border: 1px solid rgba(255,159,28,0.3);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.6em;
  text-align: center;
}

/* ── Progress bar ── */
.progress-bar {
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
  margin: 8px 0;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff6b35, #ffbe0b);
  border-radius: 3px;
}

/* ── Ending slide ── */
.ending-slide {
  text-align: center !important;
}

.ending-slide h2 {
  font-size: 2.2em;
  background: linear-gradient(135deg, #ff6b35, #ffbe0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Footer ── */
.footer-info {
  position: fixed;
  bottom: 16px;
  right: 20px;
  font-size: 0.35em;
  color: #555;
  z-index: 100;
}

/* ── Fragment animation ── */
.reveal .fragment.grow-in {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.4s ease;
}

.reveal .fragment.grow-in.visible {
  opacity: 1;
  transform: scale(1);
}
