/* ===== OFFTIDES THEME VARIABLES ===== */
:root {
  --ot-bg-main: #0c0b10;
  --ot-panel: #14131a;
  --ot-panel-soft: #191822;
  --ot-gold: #c6a46a;
  --ot-gold-dim: #9e8356;
  --ot-blue: #7f95b3;
  --ot-text: #d6d6d6;
  --ot-muted: #9a9a9a;
}

/* ===== GUIDEBOOK CONTAINER ===== */
.ot-guidebook {
  display: grid;
  grid-template-columns: 260px 1fr;
  max-width: 1150px;
  margin: 60px auto;
  background: var(--ot-panel);
  border-radius: 6px;
  box-shadow: 0 0 30px rgba(0,0,0,0.8);
  overflow: hidden;
  color: var(--ot-text);
}

/* ===== NAVIGATION ===== */
.ot-nav {
  background: linear-gradient(to bottom, var(--ot-panel-soft), var(--ot-bg-main));
  padding: 40px 20px;
  border-right: 1px solid rgba(198,164,106,0.15);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ot-tab {
  background: transparent;
  border: none;
  color: var(--ot-muted);
  text-align: left;
  padding: 12px 14px;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  font-family: Georgia, serif;
  font-style: italic;
  position: relative;
  transition: 0.3s ease;
}

.ot-tab::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 60%;
  width: 3px;
  background: transparent;
  transition: 0.3s ease;
}

.ot-tab:hover {
  color: var(--ot-gold);
}

.ot-tab.active {
  color: var(--ot-gold);
}

.ot-tab.active::before {
  background: var(--ot-gold);
  box-shadow: 0 0 8px rgba(198,164,106,0.6);
}

/* ===== CONTENT PANEL ===== */
.ot-content {
  padding: 60px 70px;
  background: var(--ot-panel);
  position: relative;
}

/* subtle ambient glow like forum blocks */
.ot-content::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at top right, rgba(198,164,106,0.05), transparent 60%);
}

/* ===== PANELS ===== */
.ot-panel {
  display: none;
  animation: fadeSlide 0.4s ease forwards;
}

.ot-panel.active {
  display: block;
}

/* ===== HEADINGS ===== */
.ot-panel h1 {
  font-size: 30px;
  letter-spacing: 3px;
  font-family: Georgia, serif;
  font-style: italic;
  color: var(--ot-gold);
  margin-bottom: 5px;
}

.ot-divider {
  width: 90px;
  height: 1px;
  background: linear-gradient(to right, var(--ot-gold), transparent);
  margin: 15px 0 25px 0;
}

/* ===== TEXT ===== */
.ot-panel p {
  line-height: 1.8;
  font-size: 15px;
  color: var(--ot-text);
  max-width: 720px;
}

/* ===== LINKS ===== */
.ot-panel a {
  color: var(--ot-blue);
  text-decoration: none;
}

.ot-panel a:hover {
  color: var(--ot-gold);
}

/* ===== ANIMATION ===== */
@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== MOBILE ===== */
@media (max-width: 950px) {
  .ot-guidebook {
    grid-template-columns: 1fr;
  }

  .ot-nav {
    flex-direction: row;
    overflow-x: auto;
    padding: 15px;
  }

  .ot-tab {
    white-space: nowrap;
  }

  .ot-content {
    padding: 40px;
  }
}