/* ---------------------------------------------------------
   GLOBAL RESET + BASE
--------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #000;
  color: #f5f5f5;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
  padding-bottom: 80px;
}

/* ---------------------------------------------------------
   ORACLE MACHINE REACTOR GLOW
--------------------------------------------------------- */
.app-reactor-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(
    circle,
    rgba(255, 215, 100, 0.25) 0%,
    rgba(255, 200, 50, 0.12) 30%,
    rgba(255, 180, 40, 0.05) 55%,
    rgba(0, 0, 0, 0) 80%
  );
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
}

/* ---------------------------------------------------------
   HEADER
--------------------------------------------------------- */
.app-header {
  text-align: center;
  padding: 60px 20px 40px;
  position: relative;
}

.app-title {
  font-size: 42px;
  letter-spacing: 4px;
  font-weight: 600;
  color: #f7d98a;
  text-shadow: 0 0 12px rgba(255, 200, 80, 0.5);
}

.app-subtitle {
  font-size: 16px;
  margin-top: 10px;
  color: #d8c48a;
  letter-spacing: 2px;
  opacity: 0.85;
}

/* ---------------------------------------------------------
   TABS
--------------------------------------------------------- */
.app-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 30px;
}

.tab-button {
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid #5a4a1f;
  background: linear-gradient(180deg, #1a1a1a, #0d0d0d);
  color: #e8d8a8;
  font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-transform: uppercase;
}

.tab-button:hover {
  border-color: #f7d98a;
  color: #fff;
  box-shadow: 0 0 12px rgba(255, 200, 80, 0.4);
}

.tab-button.active {
  background: linear-gradient(180deg, #f7d98a, #d8b45a);
  color: #000;
  border-color: #f7d98a;
  box-shadow: 0 0 18px rgba(255, 200, 80, 0.6);
}

/* ---------------------------------------------------------
   PANELS
--------------------------------------------------------- */
.panel {
  display: none;
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px;
  border-radius: 18px;
  background: linear-gradient(180deg, #0d0d0d, #050505);
  border: 1px solid rgba(255, 215, 100, 0.15);
  box-shadow: 0 0 40px rgba(255, 200, 80, 0.08);
}

.panel-active {
  display: block;
}

.panel-header h3 {
  font-size: 26px;
  color: #f7d98a;
  margin-bottom: 6px;
  letter-spacing: 2px;
}

.panel-tagline {
  font-size: 14px;
  color: #c8b88a;
  margin-bottom: 20px;
}

/* ---------------------------------------------------------
   PANEL GRID
--------------------------------------------------------- */
.panel-grid {
  display: flex;
  gap: 30px;
}

.panel-column {
  flex: 1;
}

.panel-output-column {
  flex: 1.2;
}

/* ---------------------------------------------------------
   LABELS + INPUTS
--------------------------------------------------------- */
label {
  display: block;
  margin-top: 18px;
  margin-bottom: 6px;
  font-size: 13px;
  color: #f7d98a;
  letter-spacing: 1px;
}

select,
textarea,
input {
  width: 100%;
  padding: 12px;
  background: #111;
  border: 1px solid #3a2f12;
  border-radius: 10px;
  color: #f5f5f5;
  font-size: 14px;
  transition: all 0.25s ease;
}

select:focus,
textarea:focus,
input:focus {
  border-color: #f7d98a;
  box-shadow: 0 0 10px rgba(255, 200, 80, 0.4);
  outline: none;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

/* ---------------------------------------------------------
   BUTTONS
--------------------------------------------------------- */
.primary-button,
.secondary-button {
  margin-top: 20px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid #f7d98a;
  cursor: pointer;
  font-size: 14px;
  letter-spacing: 1px;
  transition: all 0.25s ease;
  text-transform: uppercase;
}

.primary-button {
  background: linear-gradient(180deg, #f7d98a, #d8b45a);
  color: #000;
}

.primary-button:hover {
  box-shadow: 0 0 18px rgba(255, 200, 80, 0.6);
}

.secondary-button {
  background: #111;
  color: #f7d98a;
}

.secondary-button:hover {
  background: #1a1a1a;
  box-shadow: 0 0 12px rgba(255, 200, 80, 0.4);
}

/* ---------------------------------------------------------
   OUTPUT BLOCKS
--------------------------------------------------------- */
.output-label {
  font-size: 14px;
  color: #f7d98a;
  margin-bottom: 8px;
}

.output-block {
  background: #0a0a0a;
  border: 1px solid rgba(255, 215, 100, 0.2);
  border-radius: 12px;
  padding: 16px;
  min-height: 200px;
  white-space: pre-wrap;
  overflow-y: auto;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: inset 0 0 20px rgba(255, 200, 80, 0.05);
}

.small-output {
  min-height: 120px;
}

/* ---------------------------------------------------------
   STORY ENGINE LAYOUT
--------------------------------------------------------- */
.story-layout {
  display: flex;
  gap: 40px;
}

.story-column {
  flex: 1;
}

.story-current textarea {
  margin-top: 10px;
}

/* ---------------------------------------------------------
   BLUEPRINT LIST
--------------------------------------------------------- */
.blueprint-list-container {
  margin-top: 20px;
}

.blueprint-list {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

.blueprint-list li {
  padding: 10px 14px;
  background: #111;
  border: 1px solid rgba(255, 215, 100, 0.15);
  border-radius: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.blueprint-list li:hover {
  background: #1a1a1a;
  border-color: #f7d98a;
  box-shadow: 0 0 12px rgba(255, 200, 80, 0.4);
}

/* ---------------------------------------------------------
   HINT TEXT
--------------------------------------------------------- */
.hint-text {
  font-size: 12px;
  color: #b8a878;
  margin-top: 6px;
  opacity: 0.8;
}/* CSS Document */

