/* PSX Dev Talk — Custom Reveal.js Theme
   Inspired by Luiz Rosa's promotional post:
   - Dark indigo/purple background
   - PS brand accent colors (red, yellow, green, blue)
   - Clean sans-serif, no arcade fonts
   - White body text, accent colors for headings/links
*/

/* ---- Background ---- */
.reveal {
  background: #1a0d2e;
  background: linear-gradient(135deg, #1a0d2e 0%, #2d1b4e 50%, #1a0d2e 100%);
}

/* ---- Global text ---- */
.reveal {
  color: #f0f0f0;
  font-family: 'Helvetica Neue', sans-serif;
}

.reveal h1,
.reveal h2,
.reveal h3,
.reveal h4,
.reveal h5,
.reveal h6 {
  text-transform: none;
  letter-spacing: normal;
  color: #f0f0f0;
}

/* ---- Links ---- */
.reveal a {
  color: #5abf7a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.reveal a:hover {
  color: #7dd89a;
}

/* ---- Code blocks ---- */
.reveal pre code {
  background: #0d0820;
  border: 1px solid #33334a;
  border-radius: 4px;
  padding: 0.4em;
  color: #e0e0e0;
}

.reveal code {
  color: #c4a6ff;
  background: rgba(196, 166, 255, 0.1);
  padding: 0.1em 0.3em;
  border-radius: 3px;
}

.reveal pre code {
  color: #e0e0e0;
  background: #0d0820;
  padding: 0.4em;
}

/* ---- Tables ---- */
.reveal table {
  border-collapse: collapse;
  margin: 0.5em auto;
}

.reveal table th {
  background: #2d1b4e;
  color: #7dd89a;
  border: 1px solid #33334a;
  padding: 0.3em 0.6em;
}

.reveal table td {
  border: 1px solid #33334a;
  padding: 0.3em 0.6em;
  color: #f0f0f0;
}

/* ---- List items ---- */
.reveal ul li {
  color: #f0f0f0;
}

/* ---- Section heading colors (rotating PS accents) ---- */
.reveal h2 {
  color: #7dd89a; /* green */
}

.reveal h3 {
  color: #c4a6ff; /* purple-light */
}

/* ---- Title slide — multicolor PS brand style ---- */
/* Reveal.js title slide: section.title-slide > content */
.reveal .title-slide {
  text-align: center;
}

.reveal .title-slide .psx-title {
  font-size: 2.2em;
  font-weight: 900;
  letter-spacing: 0.02em;
  margin-bottom: 0.3em;
  line-height: 1.2;
}

.reveal .title-slide .psx-title .word-gamedev {
  color: #e74c3c; /* red */
}

.reveal .title-slide .psx-title .word-para {
  color: #f1c40f; /* yellow */
}

.reveal .title-slide .psx-title .word-playstation {
  color: #2ecc71; /* green */
}

.reveal .title-slide .psx-title .word-1 {
  color: #3498db; /* blue */
}

.reveal .title-slide .psx-subtitle {
  color: #c4a6ff;
  font-size: 1.1em;
  font-style: italic;
  margin-top: 0.5em;
}

.reveal .title-slide .psx-author {
  color: #f0f0f0;
  font-size: 0.9em;
  margin-top: 1em;
}

.reveal .title-slide .psx-event {
  color: #7dd89a;
  font-size: 0.8em;
  font-weight: bold;
  margin-top: 0.3em;
}

/* ---- Slide number color ---- */
.reveal .slide-number {
  color: #c4a6ff;
  background: rgba(26, 13, 46, 0.6);
}

/* ---- Blockquotes / emphasis ---- */
.reveal blockquote {
  border-left: 4px solid #7dd89a;
  background: rgba(125, 216, 154, 0.08);
  padding: 0.5em 1em;
  color: #f0f0f0;
}

/* ---- Images ---- */
.reveal section img {
  border: none;
  background: none;
  box-shadow: none;
}