    body {
      margin: 0;
      padding: 0;
      background-color: #000000;
      font-family: 'Courier New', monospace;
      color: #0D5A0D;
      min-height: 100vh;
      overflow-x: hidden;
      font-size: 16px;
    }

    body::before {
      content: "";
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.05) 50%);
      background-size: 100% 4px;
      pointer-events: none;
      z-index: 9999;
      animation: scanlines 0.5s linear infinite;
      opacity: 0.3;
    }
    @keyframes scanlines {
      0% { background-position: 0 0; }
      100% { background-position: 0 4px; }
    }

    .crt-flicker {
      animation: flicker 10s infinite;
    }
    @keyframes flicker {
      0%, 100% { opacity: 1; }
      25% { opacity: 0.98; }
      30% { opacity: 0.97; }
      33% { opacity: 0.96; }
      35% { opacity: 0.9; }
      35.5% { opacity: 1; }
      36% { opacity: 0.98; }
      45% { opacity: 1; }
      50% { opacity: 0.93; }
      55% { opacity: 1; }
      70% { opacity: 0.95; }
      72% { opacity: 0.93; }
      75% { opacity: 1; }
      95% { opacity: 0.96; }
    }

    .glow-text {
	 color: #48ff48;
      text-shadow: 0 0 10px rgba(15, 160, 15, 0.9), 0 0 20px rgba(15, 160, 15, 0.5);
      animation: pulse-glow 4s infinite;
    }
    @keyframes pulse-glow {
      0%, 100% { text-shadow: 0 0 10px rgba(15, 160, 15, 0.9), 0 0 20px rgba(15, 160, 15, 0.5); }
      50% { text-shadow: 0 0 15px rgba(15, 160, 15, 1), 0 0 30px rgba(15, 160, 15, 0.7); }
    }

    .container {
      display: flex;
      flex-direction: column;
      width: 100%;
      max-width: 960px;
      margin: 0 auto;
      min-height: 100vh;
      background-color: #050505;
      position: relative;
      overflow: hidden;
      box-shadow: 0 0 20px rgba(15, 160, 15, 0.3) inset;
    }
	
	.status-line span:first-child {
  color: #48ff48;
  text-shadow: 0 0 10px rgba(15, 160, 15, 0.9),
               0 0 20px rgba(15, 160, 15, 0.5);
  animation: pulse-glow 4s infinite;
}

    .page-transition {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 900;
      background-color: black;
      display: flex;
      justify-content: center;
      align-items: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
    }
    .page-transition.active {
      opacity: 1;
      pointer-events: all;
    }
    .transition-text {
      color: #0fa00f;
      font-size: 20px;
      text-align: center;
      max-width: 80%;
    }

    .terminal-header {
      background-color: #0A0A08;
      padding: 15px 20px;
      border-bottom: 2px solid #0fa00f;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      position: relative;
      box-shadow: 0 0 15px rgba(15, 160, 15, 0.4);
    }
    .header-title {
      font-family: 'Times New Roman', serif;
      font-size: 22px;
      color: #0fa00f;
      text-shadow: 0 0 10px rgba(15, 160, 15, 1), 0 0 20px rgba(15, 160, 15, 0.7);
      letter-spacing: 1px;
    }
    .imperial-aquila {
      height: 60px;
      width: 60px;
      margin-bottom: 10px;
      position: relative;
      box-shadow: 0 0 15px rgba(15, 160, 15, 0.5);
      border-radius: 50%;
    }
    .imperial-aquila img {
      max-width: 100%;
      height: auto;
      border-radius: 50%;
    }
    .imperial-aquila::after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.2) 50%);
      background-size: 100% 2px;
      z-index: 1;
      pointer-events: none;
      animation: scanlines 0.5s linear infinite;
      border-radius: 50%;
    }
    .data-readout {
      font-size: 12px;
      color: #0fa00f;
      opacity: 0.8;
      text-shadow: 0 0 5px rgba(15, 160, 15, 0.5);
    }
    .readout-line {
      margin: 2px 0;
    }

    .sidebar {
      background-color: #080808;
      border-bottom: 1px solid #1A1A1A;
      padding: 10px;
      transition: height 0.3s ease;
      box-shadow: 0 0 10px rgba(15, 160, 15, 0.2) inset;
    }
    .sidebar-toggle {
      background-color: #0A0A08;
      border: 1px solid #1A1A1A;
      color: #0fa00f;
      padding: 8px 15px;
      cursor: pointer;
      font-family: 'Courier New', monospace;
      width: 100%;
      text-align: center;
      display: none;
      box-shadow: 0 0 8px rgba(15, 160, 15, 0.3);
      text-shadow: 0 0 5px rgba(15, 160, 15, 0.7);
    }
    .sidebar-content {
      overflow: hidden;
      transition: max-height 0.3s ease;
    }
    .auth-panel {
      background-color: #0A0A08;
      border: 1px solid #1A1A1A;
      padding: 10px;
      margin-bottom: 20px;
      box-shadow: 0 0 10px rgba(15, 160, 15, 0.3) inset;
    }
    .auth-panel p {
      margin: 5px 0;
      font-size: 14px;
      text-shadow: 0 0 5px rgba(15, 160, 15, 0.5);
    }

    .nav-items {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }
    .nav-item {
      flex: 1 1 100%;
      background-color: #050505;
      border: 1px solid #333333;
      padding: 10px;
      cursor: pointer;
      text-align: center;
      font-size: 14px;
      transition: all 0.2s;
      color: #19c019;
      position: relative;
      overflow: hidden;
      text-shadow: 0 0 5px rgba(15, 160, 15, 0.5);
      text-decoration: none;
    }
    .nav-item:hover {
      background-color: #070B07;
      box-shadow: 0 0 15px rgba(15, 160, 15, 0.5);
      text-shadow: 0 0 8px rgba(15, 160, 15, 0.8);
      text-decoration: none;
    }
    .nav-item.active {
      background-color: #0D1A0D;
      border-color: #0fa00f;
      color: #0fa00f;
      font-weight: bold;
      box-shadow: 0 0 20px rgba(15, 160, 15, 0.6);
      text-shadow: 0 0 10px rgba(15, 160, 15, 1);
      text-decoration: none;
    }
    .nav-item::before {
      content: "";
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(15, 160, 15, 0.2), transparent);
      transition: left 0.5s ease;
    }
    .nav-item:hover::before {
      left: 100%;
    }

    .breadcrumb-nav {
      background-color: #070707;
      padding: 8px 15px;
      margin-bottom: 10px;
      display: flex;
      flex-wrap: wrap;
      gap: 5px;
      font-size: 14px;
      border-bottom: 1px solid #1A1A1A;
      box-shadow: 0 0 10px rgba(15, 160, 15, 0.2) inset;
    }
    .breadcrumb-item {
      color: #0fa00f;
      opacity: 0.7;
      text-shadow: 0 0 5px rgba(15, 160, 15, 0.5);
    }
    .breadcrumb-item:after {
      content: ">";
      margin-left: 5px;
      color: #0fa00f;
    }
    .breadcrumb-item:last-child {
      opacity: 1;
      font-weight: bold;
      text-shadow: 0 0 8px rgba(15, 160, 15, 0.7);
    }
    .breadcrumb-item:last-child:after {
      content: "";
    }
    .breadcrumb-item.clickable {
      cursor: pointer;
    }
    .breadcrumb-item.clickable:hover {
      text-decoration: underline;
      text-shadow: 0 0 8px rgba(15, 160, 15, 0.8);
    }

    .main-content {
      padding: 20px;
      flex-grow: 1;
      background-color: #020403;
      box-shadow: 0 0 15px rgba(15, 160, 15, 0.1) inset;
    }
    .page {
      display: none;
      opacity: 0;
      transition: opacity 0.3s ease;
    }
    .page.active {
      display: block;
      opacity: 1;
    }
    .site-page {
      display: none;
    }
    .section-title {
      background-color: #080808;
      padding: 12px;
      margin-bottom: 20px;
      border: 1px solid #1A1A1A;
      font-family: 'Times New Roman', serif;
      font-size: 18px;
      color: #20e520;
      text-shadow: 0 0 8px rgba(15, 160, 15, 0.8);
      box-shadow: 0 0 15px rgba(15, 160, 15, 0.3) inset;
    }
    .section-title::before,
    .section-title::after {
      content: "";
    }

    .quick-jump {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 20px;
      background-color: #080808;
      padding: 10px;
      border: 1px solid #1A1A1A;
      box-shadow: 0 0 15px rgba(15, 160, 15, 0.2) inset;
    }
    .quick-jump-title {
      width: 100%;
      margin-bottom: 5px;
      color: #0fa00f;
      font-size: 14px;
      text-shadow: 0 0 5px rgba(15, 160, 15, 0.6);
    }
    .jump-link {
      background-color: #050505;
      padding: 5px 10px;
      color: #19c019;
      cursor: pointer;
      font-size: 12px;
      border: 1px solid #333333;
      transition: all 0.2s;
      text-shadow: 0 0 3px rgba(15, 160, 15, 0.5);
    }
    .jump-link:hover {
      background-color: #070B07;
      box-shadow: 0 0 10px rgba(15, 160, 15, 0.5);
      text-shadow: 0 0 8px rgba(15, 160, 15, 0.7);
    }

    .content-box {
      background-color: #050707;
      border: 1px solid #1A1A1A;
      padding: 15px;
      margin-bottom: 20px;
      box-shadow: 0 0 15px rgba(15, 160, 15, 0.15) inset;
    }
    .content-box h3 {
      color: #20e520;
      font-size: 18px; 
      margin-top: 0;
      margin-bottom: 10px;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      text-shadow: 0 0 8px rgba(15, 160, 15, 0.7);
    }
    .content-box h3:after {
      content: "▼";
      font-size: 12px;
      transition: transform 0.3s ease;
    }
    .content-box.collapsed h3:after {
      transform: rotate(-90deg);
    }
    .content-box-body {
      transition: max-height 0.5s ease;
      overflow: hidden;
      max-height: 2000px;
    }
    .content-box.collapsed .content-box-body {
      max-height: 0;
    }
    .content-box p {
      font-size: 16px; 
      line-height: 1.6;
      color: #19c019;
      text-shadow: 0 0 3px rgba(15, 160, 15, 0.4);
    }

    .terminal-search {
      display: flex;
      flex-direction: column;
      background-color: #030303;
      border: 1px solid #0fa00f;
      padding: 10px;
      margin: 15px 0;
      box-shadow: 0 0 15px rgba(15, 160, 15, 0.3) inset;
    }
    .search-prompt {
      color: #0fa00f;
      margin-bottom: 5px;
      font-weight: bold;
      text-shadow: 0 0 5px rgba(15, 160, 15, 0.7);
    }
    .search-input {
      background-color: #050505;
      border: none;
      padding: 10px; 
      color: #1edb1e;
      font-family: 'Courier New', monospace;
      font-size: 16px; 
      position: relative;
      box-shadow: 0 0 10px rgba(15, 160, 15, 0.2) inset;
    }
    .search-input:focus {
      outline: none;
      box-shadow: 0 0 10px rgba(15, 160, 15, 0.5);
    }
    .search-suggestions {
      position: absolute;
      background-color: #050505;
      border: 1px solid #0fa00f;
      max-height: 150px;
      overflow-y: auto;
      width: calc(100% - 40px);
      z-index: 10;
      display: none;
      box-shadow: 0 0 15px rgba(15, 160, 15, 0.3);
    }
    .suggestion-item {
      padding: 8px 10px;
      color: #1edb1e;
      cursor: pointer;
      border-bottom: 1px solid rgba(15, 160, 15, 0.2);
      text-shadow: 0 0 3px rgba(15, 160, 15, 0.5);
    }
    .suggestion-item:hover,
    .suggestion-item.selected {
      background-color: #0A0A08;
      text-shadow: 0 0 8px rgba(15, 160, 15, 0.7);
    }
    .search-button {
      background-color: #0A0A08;
      border: 1px solid #20e520;
      color: #20e520;
      padding: 10px 15px; 
      cursor: pointer;
      font-family: 'Courier New', monospace;
      margin-top: 10px;
      align-self: flex-start;
      position: relative;
      overflow: hidden;
      transition: all 0.3s ease;
      text-shadow: 0 0 5px rgba(15, 160, 15, 0.7);
      box-shadow: 0 0 10px rgba(15, 160, 15, 0.3);
    }
    .search-button:hover {
      background-color: #0D1A0D;
      box-shadow: 0 0 15px rgba(15, 160, 15, 0.6);
      text-shadow: 0 0 8px rgba(15, 160, 15, 0.9);
    }
    .search-button::before {
      content: "";
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(15, 160, 15, 0.3), transparent);
      transition: left 0.5s ease;
    }
    .search-button:hover::before {
      left: 100%;
    }
    .search-results {
      background-color: #030303;
      border: 1px solid #1A1A1A;
      margin-top: 10px;
      padding: 10px;
      max-height: 300px;
      overflow-y: auto;
      box-shadow: 0 0 10px rgba(15, 160, 15, 0.2) inset;
    }
    .search-filters {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 10px;
      margin-bottom: 15px;
    }
    .filter-button {
      background-color: #050505;
      border: 1px solid #1A1A1A;
      color: #19c019;
      padding: 5px 10px;
      cursor: pointer;
      font-size: 12px;
      text-shadow: 0 0 3px rgba(15, 160, 15, 0.4);
    }
	.techmarine-icon {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="30" stroke="%230fa00f" stroke-width="3" fill="none"/><path d="M35 35 L65 65 M35 65 L65 35 M30 50 L70 50 M50 30 L50 70" stroke="%230fa00f" stroke-width="3"/><circle cx="50" cy="50" r="10" stroke="%230fa00f" stroke-width="3" fill="none"/></svg>');
}
    .filter-button.active {
      background-color: #0D1A0D;
      border-color: #0fa00f;
      color: #0fa00f;
      box-shadow: 0 0 10px rgba(15, 160, 15, 0.4);
      text-shadow: 0 0 5px rgba(15, 160, 15, 0.7);
    }
    .results-header {
      color: #20e520;
      font-weight: bold;
      margin-bottom: 10px;
      padding-bottom: 5px;
      border-bottom: 1px solid #20e520;
      text-shadow: 0 0 5px rgba(15, 160, 15, 0.7);
    }
    .results-content p {
      margin: 10px 0;
      font-style: italic;
      color: #19c019;
      text-shadow: 0 0 3px rgba(15, 160, 15, 0.4);
    }
    .results-line {
      padding: 5px 0; 
      border-bottom: 1px dotted rgba(15, 160, 15, 0.2);
    }
    .result-category {
      display: inline-block;
      background-color: #070B07;
      padding: 2px 5px;
      margin-right: 8px;
      font-size: 11px;
      color: #0fa00f;
      border: 1px solid rgba(15, 160, 15, 0.3);
      text-shadow: 0 0 3px rgba(15, 160, 15, 0.5);
      box-shadow: 0 0 5px rgba(15, 160, 15, 0.2);
    }


    .chapter-grid {
      display: flex;
      flex-direction: column;
      gap: 15px;
    }
    .chapter-card {
      background-color: #050707;
      border: 1px solid #1A1A1A;
      padding: 15px;
      text-align: center;
      position: relative;
      transition: all 0.3s ease;
      cursor: pointer;
      box-shadow: 0 0 10px rgba(15, 160, 15, 0.2) inset;
    }
    .chapter-card:hover {
      box-shadow: 0 0 20px rgba(15, 160, 15, 0.5);
      transform: translateY(-3px);
    }
    .chapter-card h3 {
      color: #0fa00f;
      font-size: 18px; 
      margin-bottom: 10px;
      text-shadow: 0 0 5px rgba(15, 160, 15, 0.7);
    }
    .chapter-icon {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      margin: 0 auto 10px;
      display: flex;
      justify-content: center;
      align-items: center;
      border: 1px solid #0fa00f;
      position: relative;
      box-shadow: 0 0 10px rgba(15, 160, 15, 0.4);
      overflow: hidden;
    }
    .chapter-icon::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
   background: linear-gradient(
    rgba(18, 16, 16, 0) 50%, 
    rgba(0, 0, 0, 0.25) 50%
  );
  background-size: 100% 4px;
  opacity: 0.7;
  animation: scanlines 2s linear infinite;
}

.search-results .results-line {
  font-size: 16px;
  line-height: 1.6;
  color: #19c019;
  text-shadow: 0 0 3px rgba(15, 160, 15, 0.4);
}

@keyframes scanlines {
  0%   { background-position: 0 0; }
  100% { background-position: 0 4px; }
}
    .chapter-logo {
      width: 85%;
      height: 85%;
      object-fit: contain;
      filter: drop-shadow(0 0 3px rgba(15, 160, 15, 0.7));
    }
    .chapter-card p {
      color: #19c019;
      font-weight: 500;
      text-shadow: 0 0 3px rgba(15, 160, 15, 0.5);
    }

    .chapter-detail-page {
      display: none;
      opacity: 0;
      transition: opacity 0.3s ease;
    }
    .chapter-detail-page.active {
      display: block;
      opacity: 1;
    }
    .chapter-detail-header {
      display: flex;
      align-items: center;
      gap: 15px;
      margin-bottom: 20px;
    }
    .chapter-detail-icon {
      width: 80px;
      height: 80px;
      border: 2px solid #0fa00f;
      display: flex;
      justify-content: center;
      align-items: center;
      background-color: #050505;
      position: relative;
      box-shadow: 0 0 15px rgba(15, 160, 15, 0.5);
      overflow: hidden; /* Contain scan lines */
    }
    .chapter-detail-icon::after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.2) 50%);
      background-size: 100% 2px;
      z-index: 1;
      pointer-events: none;
      animation: scanlines 0.5s linear infinite;
    }
    .chapter-detail-icon img {
      max-width: 85%;
      max-height: 85%;
      filter: drop-shadow(0 0 5px rgba(15, 160, 15, 0.7));
    }
    .chapter-detail-title {
      flex-grow: 1;
    }
    .chapter-detail-title h2 {
      color: #0fa00f;
      font-size: 22px;
      margin: 0 0 5px 0;
      text-shadow: 0 0 8px rgba(15, 160, 15, 0.8);
    }
    .chapter-detail-title p {
      color: #19c019;
      margin: 0;
      text-shadow: 0 0 5px rgba(15, 160, 15, 0.6);
    }
    .chapter-detail-content {
      margin-top: 20px;
    }
    .chapter-tab-navigation {
      display: flex;
      border-bottom: 1px solid rgba(15, 160, 15, 0.3);
      margin-bottom: 20px;
      overflow-x: auto;
      scrollbar-width: none;
      -ms-overflow-style: none;
    }
    .chapter-tab-navigation::-webkit-scrollbar {
      display: none;
    }
    .chapter-tab {
      padding: 10px 15px;
      background-color: #050505;
      color: #19c019;
      cursor: pointer;
      border-top: 1px solid rgba(15, 160, 15, 0.3);
      border-left: 1px solid rgba(15, 160, 15, 0.3);
      border-right: 1px solid rgba(15, 160, 15, 0.3);
      border-bottom: none;
      margin-right: 5px;
      position: relative;
      top: 1px;
      text-shadow: 0 0 3px rgba(15, 160, 15, 0.5);
      transition: all 0.3s ease;
    }
    .chapter-tab:hover {
      background-color: #070B07;
      text-shadow: 0 0 5px rgba(15, 160, 15, 0.7);
      box-shadow: 0 0 10px rgba(15, 160, 15, 0.3) inset;
    }
    .chapter-tab.active {
      background-color: #0D1A0D;
      color: #0fa00f;
      border-top: 1px solid #0fa00f;
      border-left: 1px solid #0fa00f;
      border-right: 1px solid #0fa00f;
      border-bottom: 1px solid #0D1A0D;
      text-shadow: 0 0 8px rgba(15, 160, 15, 0.8);
      box-shadow: 0 0 15px rgba(15, 160, 15, 0.3) inset;
    }
    .chapter-tab-content {
      display: none;
      padding: 10px;
      background-color: #060A06;
      border: 1px solid rgba(15, 160, 15, 0.3);
      animation: fadeIn 0.3s;
      box-shadow: 0 0 15px rgba(15, 160, 15, 0.2) inset;
    }
    .chapter-tab-content.active {
      display: block;
    }
    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }
    .back-button {
      display: inline-block;
      background-color: #050505;
      border: 1px solid #0fa00f;
      color: #0fa00f;
      padding: 8px 15px;
      cursor: pointer;
      margin-bottom: 15px;
      transition: all 0.2s;
      text-shadow: 0 0 5px rgba(15, 160, 15, 0.6);
      box-shadow: 0 0 10px rgba(15, 160, 15, 0.3);
    }
    .back-button:hover {
      background-color: #0D1A0D;
      box-shadow: 0 0 15px rgba(15, 160, 15, 0.5);
      text-shadow: 0 0 8px rgba(15, 160, 15, 0.8);
    }

    .ranks-container {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .rank-list {
      list-style-type: none;
      margin: 0;
      padding: 0;
    }
    .rank-list li {
      font-size: 16px; 
      line-height: 1.6;
      margin-bottom: 5px;
	  color: #48a148;
  text-shadow: 0 0 3px rgba(50, 255, 50, 0.7);
    }
    .rank-list li strong {
      text-shadow: 0 0 5px rgba(15, 160, 15, 0.6);
    }
    .rank-hierarchy {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .rank-level {
      padding: 5px 10px;
      margin: 3px 0;
      background-color: #070B07;
      border: 1px solid #0fa00f;
      width: 160px;
      text-align: center;
      font-size: 18px;
      text-shadow: 0 0 5px rgba(15, 160, 15, 0.6);
      box-shadow: 0 0 10px rgba(15, 160, 15, 0.3);
    }
    .rank-line {
      width: 2px;
      height: 10px;
      background-color: #0fa00f;
      box-shadow: 0 0 8px rgba(15, 160, 15, 0.7);
    }
    .rank-horizontal-line {
      width: 20px;
      height: 2px;
      background-color: #0fa00f;
      box-shadow: 0 0 8px rgba(15, 160, 15, 0.7);
      align-self: center;
    }
    .rank-parallel {
      display: flex;
      flex-direction: column;
      gap: 10px;
      align-items: center;
      margin: 10px 0;
    }
    .rank-parallel-item {
      padding: 5px 10px;
      background-color: #070B07;
      border: 1px solid #0fa00f;
      font-size: 18px;
      text-align: center;
      width: 140px;
      text-shadow: 0 0 5px rgba(15, 160, 15, 0.6);
      box-shadow: 0 0 10px rgba(15, 160, 15, 0.3);
    }

    .special-roles-container,
    .extra-roles-container {
      margin-top: 20px;
    }
    .role-buttons-container {
      display: flex;
      flex-wrap: wrap;
      gap: 15px;
      margin: 20px 0;
      justify-content: center;
    }
    .role-button {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 12px 15px;
      background-color: #070B07;
      border: 1px solid #1A1A1A;
      color: #0fa00f;
      cursor: pointer;
      width: 120px;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
      box-shadow: 0 0 10px rgba(15, 160, 15, 0.2);
      text-shadow: 0 0 3px rgba(15, 160, 15, 0.5);
    }
    .role-button:hover {
      background-color: #0A160A;
      border-color: #0fa00f;
      box-shadow: 0 0 15px rgba(15, 160, 15, 0.4);
      text-shadow: 0 0 5px rgba(15, 160, 15, 0.7);
      transform: translateY(-2px);
    }
    .role-button::before {
      content: "";
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(15, 160, 15, 0.3), transparent);
      transition: left 0.5s ease;
    }
    .role-button:hover::before {
      left: 100%;
    }
    .role-button.active {
      background-color: #0D1A0D;
      border-color: #0fa00f;
      box-shadow: 0 0 20px rgba(15, 160, 15, 0.5);
      text-shadow: 0 0 8px rgba(15, 160, 15, 0.8);
    }
    .role-icon {
      width: 40px;
      height: 40px;
      margin-bottom: 8px;
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
      filter: drop-shadow(0 0 3px rgba(15, 160, 15, 0.7));
    }
@media screen and (min-width: 1024px) {
  .container {
    max-width: 1200px;
    margin: 0 auto;
  }
  .sidebar-toggle {
    display: none;
  }
  .sidebar-content {
    max-height: none;
  }
  body {
    font-size: 18px;
  }
  .galaxy-map {
    height: 600px;
  }
  .role-button {
    width: 130px;
    padding: 15px;
  }
  .nav-items {
    flex-direction: row;
  }
}
    .chaplain-icon {
      background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50 10 L50 90 M25 25 L75 25 M20 45 L80 45" stroke="%230fa00f" stroke-width="3" fill="none"/><circle cx="50" cy="60" r="10" stroke="%230fa00f" stroke-width="3" fill="none"/></svg>');
    }
    .librarian-icon {
      background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="30" y="20" width="40" height="60" stroke="%230fa00f" stroke-width="3" fill="none"/><path d="M40 30 L60 30 M40 40 L60 40 M40 50 L60 50 M40 60 L60 60 M40 70 L60 70" stroke="%230fa00f" stroke-width="3"/></svg>');
    }
    .apothecary-icon {
      background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M30 50 L70 50 M50 30 L50 70" stroke="%230fa00f" stroke-width="3"/><circle cx="50" cy="50" r="30" stroke="%230fa00f" stroke-width="3" fill="none"/></svg>');
    }
    .leader-icon {
      background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M30 70 L50 30 L70 70 M30 50 L70 50" stroke="%230fa00f" stroke-width="3" fill="none"/><circle cx="50" cy="50" r="30" stroke="%230fa00f" stroke-width="3" fill="none" stroke-dasharray="5,5"/></svg>');
    }
    .deathwatch-icon {
      background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M20 20 L80 80 M80 20 L20 80" stroke="%230fa00f" stroke-width="3"/><circle cx="50" cy="50" r="30" stroke="%230fa00f" stroke-width="3" fill="none"/></svg>');
    }
    .champion-icon {
      background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50 20 L50 80 M30 30 L70 70 M70 30 L30 70" stroke="%230fa00f" stroke-width="3"/><circle cx="50" cy="50" r="30" stroke="%230fa00f" stroke-width="3" fill="none"/></svg>');
    }
    .ancient-icon {

      background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M40 20 L40 80" stroke="%230fa00f" stroke-width="3" fill="none"/><path d="M40 20 L65 30 L40 40 Z" stroke="%230fa00f" stroke-width="3" fill="none"/><path d="M40 45 L65 55 L40 65 Z" stroke="%230fa00f" stroke-width="3" fill="none"/></svg>');

    }

    .role-details-container {
      border: 1px solid #1A1A1A;
      background-color: #060A06;
      padding: 15px;
      box-shadow: 0 0 15px rgba(15, 160, 15, 0.2) inset;
    }
	
	.raid-icon {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50 20 L80 80 L50 60 L20 80 Z" stroke="%230fa00f" stroke-width="3" fill="none"/></svg>');
}
.wall-icon {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="20" y="40" width="60" height="40" stroke="%230fa00f" stroke-width="3" fill="none"/><path d="M30 40 L30 30 M50 40 L50 20 M70 40 L70 30" stroke="%230fa00f" stroke-width="3"/></svg>');
}
.vindicator-icon {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M20 60 L50 20 L80 60 L60 60 L60 80 L40 80 L40 60 Z" stroke="%230fa00f" stroke-width="3" fill="none"/></svg>');
}
.relic-icon {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="35" y="30" width="30" height="50" stroke="%230fa00f" stroke-width="3" fill="none"/><path d="M35 40 L65 40 M35 50 L65 50 M35 60 L65 60 M50 30 L50 20 L40 15 L60 15 L50 20" stroke="%230fa00f" stroke-width="3"/></svg>');
}
.alliance-icon {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="30" cy="30" r="15" stroke="%230fa00f" stroke-width="3" fill="none"/><circle cx="70" cy="30" r="15" stroke="%230fa00f" stroke-width="3" fill="none"/><circle cx="50" cy="70" r="15" stroke="%230fa00f" stroke-width="3" fill="none"/><path d="M30 45 L50 55 M70 45 L50 55" stroke="%230fa00f" stroke-width="3" fill="none"/></svg>');
}
.war-room-icon {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M20 30 L50 20 L80 30 L80 70 L50 80 L20 70 Z" stroke="%230fa00f" stroke-width="3" fill="none"/><path d="M35 40 L65 40 M35 50 L65 50 M35 60 L65 60" stroke="%230fa00f" stroke-width="3"/></svg>');
}
	
    .role-details {
      display: none;
      opacity: 0;
      transition: opacity 0.3s ease;
    }
    .role-details.active {
      display: block;
      opacity: 1;
    }
    .role-title {
      color: #0fa00f;
      font-size: 20px; 
      margin-top: 0;
      margin-bottom: 15px;
      text-align: center;
      padding-bottom: 10px;
      border-bottom: 1px solid rgba(15, 160, 15, 0.3);
      text-shadow: 0 0 8px rgba(15, 160, 15, 0.8);
    }
    .role-section {
      margin-bottom: 20px;
    }
    .role-section h5 {
      color: #0fa00f;
      font-size: 16px; 
      margin-bottom: 8px;
      text-shadow: 0 0 5px rgba(15, 160, 15, 0.7);
    }
    .role-section h5::before {
      content: "// ";
      color: #0fa00f;
    }
    .role-requirements,
    .role-benefits,
    .role-test-details,
    .role-process {
      list-style-type: none;
      padding-left: 15px;
      margin: 10px 0;
    }
    .role-requirements li,
    .role-benefits li,
    .role-test-details li,
    .role-process li {
      position: relative;
      padding-left: 15px;
      margin-bottom: 8px;
      font-size: 16px; 
	  color: #48a148;
	   text-shadow: 0 0 3px rgba(50, 255, 50, 0.7);
    }
    .role-requirements li::before,
    .role-benefits li::before,
    .role-test-details li::before,
    .role-process li::before {
      content: ">";
      position: absolute;
      left: 0;
      color: #0fa00f;
      text-shadow: 0 0 3px rgba(25, 192, 25, 0.5);
    }
    .oath-text {
      color: #19c019;
      font-weight: 500;
      background-color: rgba(15, 160, 15, 0.1);
      padding: 10px;
      border-left: 3px solid #0fa00f;
      font-size: 16px; 
      text-shadow: 0 0 3px rgba(15, 160, 15, 0.5);
      box-shadow: 0 0 10px rgba(15, 160, 15, 0.2) inset;
    }

    .terminal-footer {
      background-color: #0A0A08;
      padding: 10px;
      border-top: 1px solid #1A1A1A;
      text-align: center;
      font-size: 12px; 
      color: #0fa00f;
      text-shadow: 0 0 5px rgba(15, 160, 15, 0.6);
      box-shadow: 0 0 15px rgba(15, 160, 15, 0.3) inset;
    }
	
    .audio-controls {
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 10;
      background-color: rgba(5, 10, 5, 0.8);
      border: 1px solid #0fa00f;
      border-radius: 5px;
      padding: 5px;
      display: flex;
      align-items: center;
      gap: 5px;
      color: #0fa00f;
      font-size: 12px;
      text-shadow: 0 0 5px rgba(15, 160, 15, 0.7);
      box-shadow: 0 0 15px rgba(15, 160, 15, 0.4);
    }
	.galaxy-map {
  position: relative;
  width: 100%;
  height: 400px; /* Reduced height for mobile */
  background-color: #030303;
  border: 1px solid #1A1A1A;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(15, 160, 15, 0.2) inset;
}

.galaxy-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at center, rgba(15, 160, 15, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background-color: #0fa00f;
  border-radius: 50%;
  opacity: 0.6;
}

.fortress-location {
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: #20e520;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(32, 229, 32, 0.7);
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;
}

.fortress-location:hover {
  transform: scale(1.5);
  box-shadow: 0 0 12px rgba(32, 229, 32, 0.9);
}

.fortress-info {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.8);
  border: 1px solid #0fa00f;
  padding: 10px;
  color: #19c019;
  font-size: 12px;
  display: none;
  z-index: 20;
}

.fortress-info-close {
  position: absolute;
  top: 5px;
  right: 5px;
  background: none;
  border: none;
  color: #0fa00f;
  font-size: 20px;
  cursor: pointer;
}

.sector-label {
  position: absolute;
  color: rgba(15, 160, 15, 0.4);
  font-size: 12px;
  pointer-events: none;
  text-transform: uppercase;
}
    .audio-toggle {
      cursor: pointer;
      padding: 3px 8px;
      border: 1px solid #0fa00f;
      border-radius: 3px;
      background-color: rgba(15, 160, 15, 0.1);
      transition: all 0.3s ease;
    }
    .audio-toggle:hover {
      background-color: rgba(15, 160, 15, 0.3);
      box-shadow: 0 0 10px rgba(15, 160, 15, 0.5);
      text-shadow: 0 0 8px rgba(15, 160, 15, 0.9);
    }

    
@media screen and (max-width: 768px) {
  .rank-hierarchy {
    width: 90%;
    margin: 0 auto;
  }
  
  .rank-level, .special-roles-toggle, .special-roles-item {
    width: 90%;
    font-size: 16px;
    padding: 8px 5px;
  }
  
  .rank-row {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .rank-row .rank-level {
    width: 90%;
    margin: 3px auto;
  }
  
  .special-roles-grid {
    flex-direction: column;
    align-items: center;
  }
  
  .special-roles-item {
    width: 90%;
    margin: 3px auto;
  }

  .rank-horizontal-line {
    display: none;
  }
}
	  .hierarchy-note {
    background-color: #050707;
    border: 1px solid #0fa00f;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 0 10px rgba(15, 160, 15, 0.2) inset;
  }
  
  .note-title {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 5px;
    text-shadow: 0 0 5px rgba(15, 160, 15, 0.7);
  }
  
  /* Row layout for parallel ranks */
  .rank-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
  }
  
  .rank-row .rank-level {
    width: 160px;
  }

  /* Half-height line for Special Roles positioning */
  .half-line {
    height: 5px; /* Half the regular height */
  }
  
  /* Special roles row */
  .special-roles-row {
    display: flex;
    justify-content: center;
    width: 100%;
  }
  
  /* Special roles toggle and content */
  .special-roles-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 160px;
    padding: 10px;
    background-color: #050707;
    border: 1px solid #0fa00f;
    color: #0fa00f;
    text-shadow: 0 0 8px rgba(15, 160, 15, 0.8);
    box-shadow: 0 0 15px rgba(15, 160, 15, 0.4);
    position: relative;
    overflow: hidden;
    transition: all 0.2s;
  }
  
  .special-roles-toggle:hover {
    background-color: #070B07;
    box-shadow: 0 0 20px rgba(15, 160, 15, 0.6);
    text-shadow: 0 0 10px rgba(15, 160, 15, 1);
  }
  
  .toggle-icon {
    margin-left: 10px;
    transition: transform 0.3s ease;
  }
  
  .special-roles-toggle.active .toggle-icon {
    transform: rotate(180deg);
  }
  
  .special-roles-content {
    display: none;
    width: 100%;
    margin: 10px 0;
  }
  
  .special-roles-content.active {
    display: block;
  }
  
  .special-roles-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  
  .special-roles-item {
    padding: 8px 10px;
    width: 140px;
    text-align: center;
    background-color: #050707;
    border: 1px solid #0fa00f;
    color: #0fa00f;
    text-shadow: 0 0 8px rgba(15, 160, 15, 0.8);
    box-shadow: 0 0 15px rgba(15, 160, 15, 0.4);
  }
  
  /* Different glow levels based on role type */
  .rank-level.high-lord {
    border: 2px solid #0fa00f;
    box-shadow: 0 0 25px rgba(15, 160, 15, 0.8);
    text-shadow: 0 0 12px rgba(15, 160, 15, 1);
    font-weight: bold;
  }
  
  .rank-level.champion, .rank-level.legend {
    background-color: #0D1A0D;
    box-shadow: 0 0 20px rgba(15, 160, 15, 0.6);
    text-shadow: 0 0 10px rgba(15, 160, 15, 0.9);
    border: 1px solid #0fa00f;
  }
  
  /* Legend styling */
  .hierarchy-legend {
    background-color: #050707;
    border: 1px solid #0fa00f;
    padding: 15px;
    margin-top: 20px;
    box-shadow: 0 0 10px rgba(15, 160, 15, 0.2) inset;
  }
  
  .legend-title {
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 0 0 5px rgba(15, 160, 15, 0.7);
  }
  
  .legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
  }
  
  .legend-box {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    background-color: #050505;
    border: 1px solid #0fa00f;
  }
  
  .high-lord-legend {
    border: 2px solid #0fa00f;
    box-shadow: 0 0 15px rgba(15, 160, 15, 0.8);
  }
  
  .champion-legend {
    background-color: #0D1A0D;
    box-shadow: 0 0 12px rgba(15, 160, 15, 0.6);
  }
  
  .special-legend {
    background-color: #070B07;
    box-shadow: 0 0 8px rgba(15, 160, 15, 0.5);
  }
  
  .special-roles-legend {
    background-color: #050707;
    border: 1px solid #0fa00f;
    box-shadow: 0 0 10px rgba(15, 160, 15, 0.5) inset;
  }

  /* Server rules styling */
  .rule-list {
    list-style-type: decimal;
    padding: 0;
    margin: 0;
  }

  .rule-item {
    background-color: #050707;
    border: 1px solid #1A1A1A;
    padding: 12px 15px;
    margin-bottom: 12px;
    box-shadow: 0 0 8px rgba(15, 160, 15, 0.2) inset;
    transition: background-color 0.2s ease, transform 0.2s ease,
      box-shadow 0.2s ease;
    color: #1edb1e;
    text-shadow: 0 0 3px rgba(15, 160, 15, 0.4);
  }

  .rule-item:hover {
    background-color: #070B07;
    box-shadow: 0 0 12px rgba(15, 160, 15, 0.5);
    transform: translateY(-2px);
  }

  .rules-tip {
    margin-top: 15px;
    color: #19c019;
    text-shadow: 0 0 3px rgba(15, 160, 15, 0.4);
  }
@keyframes scan {
  0% { left: -100%; }
  100% { left: 100%; }
}
