/* ===========================
   DEFAULT VIDEO GAME STYLE - BLUE THEME
   =========================== */

/* Base */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: #111111;
  color: #f0f0f0;
  font-family: 'Arial', 'Verdana', sans-serif;
  background-image: url('../assets/images/Unified_Realms_bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Force all text inside body to inherit base color */
body * {
  color: #f0f0f0 !important;
  font-family: 'Arial', sans-serif !important;
}

/* Headings */
h1.title, h2.subtitle, h3, h4, h5, h6 {
  margin: 0 0 0.25rem 0;
  color: #3399ff !important;
  text-shadow: 0 0 4px #3399ff;
}

/* Tabs / Navigation */
.tabs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tabs ul {
  display: flex;
  justify-content: flex-start;
  gap: 0.2rem;
}

.tabs button {
  background-color: #1a1a1a;
  color: #f0f0f0;
  border: 1px solid #3399ff;
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease-in-out;
}

.tabs button:hover {
  background-color: #3399ff;
  color: #111111;
}

/* Resources */
.resource {
  background-color: #1a1a1a;
  border: 1px solid #00d1b2;
  padding: 0.5rem;
  text-align: center;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 4px;
}

.resource span {
  color: #00d1b2;
  font-weight: bold;
}

/* Boxes / Cards */
.box, .column, .ship, .army-ship {
  background: #1a1a1a;
  border: 1px solid #3399ff;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: all 0.2s ease-in-out;
  border-radius: 6px;
}

.box:hover, .ship:hover, .army-ship:hover {
  background-color: #222222;
  border-color: #00d1b2;
}

.box *, .ship *, .army-ship * {
  color: inherit !important;
}

/* Buttons */
button, .button {
  padding: 0.5rem 1rem;
  border: 1px solid #3399ff;
  background-color: #1a1a1a;
  color: #f0f0f0;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease-in-out;
}

button:hover, .button:hover {
  background-color: #3399ff;
  color: #111111;
}

/* Form Inputs */
input, select, textarea {
  background-color: #1a1a1a !important;
  color: #f0f0f0 !important;
  border: 1px solid #3399ff !important;
  padding: 0.5rem;
  border-radius: 4px;
}

select option {
  background-color: #1a1a1a;
  color: #f0f0f0;
}

input::placeholder, textarea::placeholder {
  color: #888;
}

/* Text */
label, small, strong, p, span {
  color: #f0f0f0 !important;
}

.columns .column.is-three-quarters,
.nav-transparent {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.columns.is-multiline {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.columns.no-equal-height {
  align-items: flex-start;
}

/* ===========================
   PLANET TABLE THEME - BLUE
   =========================== */
.table {
  width: 100%;
  background-color: #1a1a1a;
  color: #f0f0f0;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  font-family: 'Arial', sans-serif;
  box-shadow: 0 0 8px rgba(51,153,255,0.3);
}

.table th {
  background-color: #111122;
  color: #3399ff;
  text-shadow: 0 0 4px #3399ff;
  border-bottom: 1px solid #3399ff;
  padding: 0.75rem 1rem;
  text-align: left;
}

.table td {
  background-color: #1a1a1a;
  border-bottom: 1px solid #444;
  padding: 0.75rem 1rem;
}

.table.is-striped tbody tr:nth-child(even) {
  background-color: #222233;
}

.table.is-striped tbody tr:nth-child(odd) {
  background-color: #1a1a1a;
}

.table tbody tr:hover {
  background-color: #222222;
  border-left: 3px solid #00d1b2;
}

.table input, .table select, .table textarea {
  background-color: #1a1a1a;
  color: #f0f0f0;
  border: 1px solid #3399ff;
  padding: 0.5rem;
  border-radius: 4px;
  transition: all 0.2s ease-in-out;
}

.table input:focus, .table select:focus, .table textarea:focus {
  border-color: #00d1b2;
  box-shadow: 0 0 0 0.125em rgba(0,209,178,0.25);
  outline: none;
}

.table .button {
  background-color: #1a1a1a;
  color: #f0f0f0;
  border: 1px solid #3399ff;
  border-radius: 4px;
  padding: 0.5rem 1rem;
  transition: all 0.2s ease-in-out;
}

.table .button:hover {
  background-color: #3399ff;
  color: #111111;
  border-color: #00d1b2;
}

/* ===========================
   QUEST / CHAPTER STYLES - BLUE
   =========================== */
body { color: #e8e8e8; }

.chapter-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1.2rem auto 2rem;
  flex-wrap: wrap;
}

.chapter-btn {
  padding: 0.6rem 1rem;
  background: rgba(26,26,26,0.85);
  border: 1px solid #3399ff;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.2s ease-in-out;
}
.chapter-btn:hover {
  background: rgba(34,34,34,0.9);
}
.chapter-btn.active {
  background: rgba(51,51,51,0.9);
  border-color: #00d1b2;
  color: #88ddff;
}

.quest-container {
  max-width: 850px;
  margin: auto;
  padding: 1.5rem;
  background: rgba(26,26,26,0.85);
  border-radius: 12px;
  border: 1px solid #3399ff;
  box-shadow: 0 0 12px rgba(51,153,255,0.2);
}

.quest-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.arrow-btn {
  padding: 0.5rem 0.9rem;
  background: rgba(26,26,26,0.7);
  border: 1px solid #3399ff;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.3rem;
  transition: all 0.2s ease-in-out;
  user-select: none;
}
.arrow-btn.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.complete-btn {
  padding: 0.6rem 1.2rem;
  background: #1a1a1a;
  border: 1px solid #00d1b2;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  font-size: 1.1rem;
}
.complete-btn.locked {
  background: #222222;
  border-color: #444;
  cursor: not-allowed;
  opacity: 0.5;
}

h2.quest-title {
  font-size: 2rem;
  color: #66c0ff;
  margin-bottom: 1rem;
  text-shadow: 0 0 12px #003366;
}

.quest-text, .quest-md {
  background: rgba(26,26,26,0.85);
  border: 1px solid #3399ff;
  border-radius: 12px;
  padding: 1rem 1.2rem;
  font-size: 1.1rem;
  line-height: 1.5;
  box-shadow: 0 0 10px rgba(51,153,255,0.15);
  margin-bottom: 1rem;
  white-space: pre-wrap;
}
