:root {
  --blue: #3b82f6;
  --purple: #8b5cf6;
  --white: #ffffff;
  --gold: #facc15;
  --red: #ef4444;
  --bg-dark: #1e1e2f;
  --text-light: #f9fafb;
  --parchment: #f7f3e9;
  --parchment-dark: #f0ece2;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
}

main {
  flex: 1;
}

header {
  background: var(--purple);
  color: var(--white);
  padding: 2rem 1rem;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 1000px;
  margin: auto;
  flex-wrap: wrap;
  text-align: left;
}

.site-logo {
  max-width: 120px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.header-text {
  flex: 1;
  min-width: 240px;
}

.header-text h1 {
  margin: 0;
  font-size: 2.5rem;
}

.header-text p {
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

section {
  padding: 2rem 1rem;
  max-width: 800px;
  margin: auto;
}

h2 {
  color: var(--gold);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.boxed-section {
  background-color: #25253b;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  margin: 2rem auto;
  max-width: 800px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.commands-section {
  background-color: #25253b;
  border-radius: 12px;
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.commands-section summary {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--gold);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  padding: 0.5rem 0;
}

.commands-section summary::-webkit-details-marker {
  display: none;
}

.arrow {
  display: inline-block;
  transform: rotate(0deg);
  transition: transform 0.4s ease;
}

details[open] .arrow {
  transform: rotate(90deg);
}

.command {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  padding: 1rem 1.2rem;
  background-color: var(--parchment-dark);
  border-left: 4px solid var(--purple);
  border-radius: 8px;
}

.command h3 {
  color: var(--blue);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.command pre {
  margin: 0.5rem 0 0;
  background: var(--parchment);
  color: #2e2e2e;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  overflow-x: auto;
  font-family: 'Courier New', Courier, monospace;
}

/* Verse Bubble */
.verse-bubble {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #2c2f4a;
  color: var(--text-light);
  padding: 1rem 1.25rem;
  max-width: 300px;
  font-size: 0.95rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  line-height: 1.4;
  font-style: italic;
  border-left: 4px solid var(--purple);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  display: none;
}

.verse-bubble.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.close-bubble {
  position: absolute;
  top: 6px;
  right: 10px;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
}

.close-bubble:hover {
  color: var(--gold);
}

@media (max-width: 768px) {
  .verse-bubble {
    display: none !important;
  }

  .header-content {
    flex-direction: column;
    text-align: center;
  }

  .header-text h1 {
    font-size: 2rem;
  }

  .header-text p {
    font-size: 1rem;
  }

  .site-logo {
    max-width: 100px;
  }

  section {
    padding: 1.5rem 1rem;
  }

  h2 {
    font-size: 1.5rem;
  }
}

