/* --------------------------------------------------
   ROYALTY RUNNER — GLOBAL STYLE SYSTEM
   Copper × Black × Cursive × Print
   (NO BACKGROUND IMAGES — HTML controls backgrounds)
-------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Inter:wght@300;400;600;700&display=swap');

:root {
  --bg: #000000;
  --fg: #f5f5f5;
  --muted: #8a8a8a;

  --copper: #b87333;
  --copper-light: #d28e5d;
  --copper-dark: #8a5524;

  --border: #2a2a2a;

  --font-cursive: 'Great Vibes', cursive;
  --font-print: 'Inter', sans-serif;

  --card-bg: rgba(0, 0, 0, 0.65);
  --card-blur: blur(4px);
}

/* --------------------------------------------------
   RESET
-------------------------------------------------- */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  background-color: var(--bg); /* HTML sets the image */
  color: var(--fg);
  font-family: var(--font-print);
  line-height: 1.5;
}

/* --------------------------------------------------
   HEADERS
-------------------------------------------------- */

h1, h2, h3, h4 {
  font-family: var(--font-cursive);
  color: var(--copper);
  letter-spacing: 1px;
}

h1 { font-size: 3rem; margin-bottom: 0.25rem; }
h2 { font-size: 2.2rem; margin-bottom: 0.5rem; }
h3 { font-size: 1.6rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.3rem; margin-bottom: 0.4rem; }

/* --------------------------------------------------
   NAVIGATION
-------------------------------------------------- */

.rr-nav {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.rr-nav a {
  color: var(--copper-light);
  font-weight: 600;
  text-decoration: none;
  font-family: var(--font-print);
  transition: 0.2s ease;
}

.rr-nav a:hover {
  color: var(--copper);
}

/* --------------------------------------------------
   BURGER MENU
-------------------------------------------------- */

.rr-menu-btn {
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--copper);
  cursor: pointer;
  z-index: 9999;
}

.rr-menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 260px;
  height: 100vh;
  background: rgba(0,0,0,0.92);
  border-left: 2px solid var(--copper);
  padding: 2rem 1rem;
  transition: transform 0.3s ease;
  transform: translateX(100%);
  z-index: 9998;
}

.rr-menu-panel.show {
  transform: translateX(0);
}

.rr-menu-panel a {
  display: block;
  margin-bottom: 1.2rem;
  color: var(--copper-light);
  font-family: var(--font-cursive);
  font-size: 1.6rem;
  text-decoration: none;
  transition: 0.2s ease;
}

.rr-menu-panel a:hover {
  color: var(--copper);
}

/* --------------------------------------------------
   CARDS / SECTIONS
-------------------------------------------------- */

.section-card {
  background: var(--card-bg);
  border: 1px solid var(--copper-dark);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  backdrop-filter: var(--card-blur);
}

/* --------------------------------------------------
   BUTTONS
-------------------------------------------------- */

.button,
.button-secondary,
.bubble-btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--copper);
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
  font-family: var(--font-print);
}

.button,
.bubble-btn {
  background: var(--copper);
  color: #000;
}

.button:hover,
.bubble-btn:hover {
  background: var(--copper-light);
}

.button-secondary {
  background: transparent;
  color: var(--copper);
}

.button-secondary:hover {
  color: var(--copper-light);
  border-color: var(--copper-light);
}

/* --------------------------------------------------
   FORMS
-------------------------------------------------- */

.rr-form label {
  font-size: 0.95rem;
  color: var(--copper-light);
  display: block;
  margin-bottom: 0.75rem;
}

.rr-form input,
.rr-form textarea,
.rr-form select {
  margin-top: 0.25rem;
  padding: 0.6rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #0a0a0a;
  color: var(--fg);
  width: 100%;
  font-family: var(--font-print);
}

.rr-form input:focus,
.rr-form textarea:focus,
.rr-form select:focus {
  outline: 1px solid var(--copper);
}

/* --------------------------------------------------
   LIST ITEMS
-------------------------------------------------- */

.rr-list-item,
.work-card,
.catalog-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  background: #0a0a0a;
}

.work-card h4,
.catalog-card h3 {
  font-family: var(--font-cursive);
  color: var(--copper);
}

/* --------------------------------------------------
   OUTPUT BOXES
-------------------------------------------------- */

.rr-output {
  width: 100%;
  padding: 1rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #0a0a0a;
  color: var(--copper-light);
  font-family: ui-monospace, monospace;
}

/* --------------------------------------------------
   LETTER BUTTONS
-------------------------------------------------- */

.letter-button {
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--copper);
  background: transparent;
  color: var(--copper-light);
  cursor: pointer;
  font-family: var(--font-print);
  transition: 0.2s ease;
}

.letter-button:hover {
  background: var(--copper);
  color: #000;
}
