    .clickable-image {
      transition: transform 0.3s ease;
      cursor: pointer;
    }
    .clickable-image.enlarged {
      transform: scale(1.5);
      z-index: 1000;
      position: relative;
    }
    .hotkey-box {
      background-color: #111;
      padding: 10px 15px;
      border-radius: 6px;
      font-family: 'Courier New', Courier, monospace;
      font-size: 14px;
      color: #fff;
      border: 1px solid #444;
      text-align: center;
      transition: transform 0.2s ease, background-color 0.2s ease;
      box-shadow: inset 0 0 5px #000;
    }
    .hotkey-box:hover {
      transform: scale(1.06);
      background-color: #222;
    }
    .command-box {
      background: linear-gradient(145deg, #1e1e1e, #2b2b2b);
      border-radius: 10px;
      padding: 15px;
      color: #f0c674;
      font-family: monospace;
      box-shadow: 0 0 10px rgba(255,255,255,0.05);
      margin-bottom: 15px;
      transition: transform 0.3s ease;
    }
    .command-box:hover {
      transform: scale(1.03);
      background: linear-gradient(145deg, #2b2b2b, #1e1e1e);
    }
    /* Banner de Chaotic Frontier */
    .cf-gear-banner {
    text-align: center;
    margin-bottom: 20px;
    }

    .cf-gear-banner img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    }

    /* Bloque introductorio */
    .cf-gear-intro {
    background-color: #222;
    padding: 15px;
    border: 1px solid #333;
    border-radius: 10px;
    margin-bottom: 20px;
    }

    .cf-gear-intro p,
    .cf-gear-intro ul {
    color: #ddd;
    font-size: 1rem;
    }

    .cf-gear-intro ul {
    list-style-type: disc;
    margin-left: 20px;
    }

    /* Ítem de CF Gear */
    .cf-gear-item {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .cf-gear-item:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
    }

    .cf-gear-item h4 {
    color: #f0c674;
    margin-top: 15px;
    font-size: 1.4rem;
    }

    .cf-gear-item p {
    color: #ddd;
    line-height: 1.5;
    margin: 10px 0;
    }

    .cf-gear-item ul {
    list-style-type: disc;
    margin-left: 20px;
    color: #ccc;
    }

    .cf-gear-item ul li {
    margin-bottom: 5px;
    }

/* TRUE SET */

.true-gear-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    margin-bottom: 24px;
  }
  
  .gear-card {
    background: #111;
    border: 1px solid #444;
    color: #0f0;
    padding: 10px;
    width: 150px;
    flex-shrink: 0;
    box-shadow: 0 0 6px #000;
    border-radius: 4px;
  }
  
  .gear-card img {
    width: 64px;
    height: 64px;
    margin: 0 auto 10px auto;
    display: block;
  }
  
  .gear-card h4 {
    color: #fff;
    font-size: 14px;
    margin-bottom: 8px;
    text-align: center;
    text-transform: uppercase;
  }
  
  .gear-card ul {
    font-size: 13px;
    padding-left: 18px;
    margin: 8px 0;
  }
  
  .random-skills {
    margin-top: 10px;
    color: yellow;
    font-weight: bold;
  }
  
  .random-skills select {
    width: 100%;
    margin-top: 5px;
  }
  
  /* LEVEL UP REWARDS */

  .level-section {
    background-color: #222;       /* Fondo oscuro */
    color: #fff;                  /* Color de texto base */
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #444;
    border-radius: 5px;
  }
  .level-section h4 {
    color: whitesmoke !important;    /* Título de nivel en dorado */
    margin-top: 0;
  }
  .level-section ul {
    margin: 5px 0 0 20px;         /* Ajusta la indentación de la lista */
    padding: 0;
  }
  .level-section ul li {
    margin-bottom: 3px;
  }


/* Contenedor principal (ambos) */
.unique-rings,
.unique-necks {
  font-family: Arial, sans-serif;
  color: #333;
  min-width: 600px;
  max-width: 600px;
  margin: 0;  /* Sin margen externo */
}

/* Contenedores de grupo */
.ring-group,
.neck-group {
  border: 1px solid #3c3c3c;
  border-radius: 4px;
  padding: 10px;
  margin-bottom: 20px;
  background-color: #3d3c3c;
  opacity: 0.8;
  width: 100%;
  min-width: 600px;
  max-width: 600px;
}

/* Estilos para imágenes */
.ring-group img,
.neck-group img {
  width: 64px;
  height: auto;
  display: block;
  margin-bottom: 10px;
}

/* Estilos para encabezados */
.ring-group h3,
.neck-group h3 {
  margin: 10px 0 5px;
  font-size: 1.1em;
  color: goldenrod;
}

/* Estilos para párrafos */
.ring-group p,
.neck-group p {
  margin: 0 0 10px;
  line-height: 1.4;
  font-size: 0.95em;
  color: whitesmoke;
}

/* NEW INDEX */
main {
  margin: 0;
  padding: 0;
}
.container {
  padding: 0 15px;
}
/* Banner personalizado sin margen */
.custom-banner {
  background: url('img/wallpaper/wallpaper1.png') no-repeat center center;
  background-size: cover;
  height: 500px;
  position: relative;
  margin: 0;
  padding: 0;
  border: 5px solid #FFD700 !important;
  box-sizing: border-box;
  z-index: 2; 
}

/* Gap personalizados */
.custom-gap-small {
  height: 10px;
}
.custom-gap-medium {
  height: 20px;
}
.custom-gap-large {
  height: 30px;
}

/* Ejemplo de estilos generales (puedes ajustarlos según necesites) */
.nk-main {
  font-family: Arial, sans-serif;
}
.nk-box.bg-dark-1 {
  background-color: #3d3c3c;
}
.nk-title {
  text-align: center;
  color: goldenrod;
}

.nk-header-title,
.nk-header-table,
.nk-header-table-cell {
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Listas compactas */
  #guide-game-boxes .box-list{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
    gap:6px 18px;
    list-style:none;
    padding-left:0;
    margin:8px 0 20px;
  }
  #guide-game-boxes .box-list a{
    color:#ddd; text-decoration:none;
  }
  #guide-game-boxes .box-list a:hover{ text-decoration:underline; }

  /* Títulos con color */
  #guide-game-boxes h4 a{ color:#e08821; text-decoration:none; }

  /* Modal */
  .img-modal{ position:fixed; inset:0; display:none; place-items:center; background:rgba(0,0,0,.75); z-index:9999; }
  .img-modal.open{ display:grid; }
  .img-modal img{ max-width:92vw; max-height:92vh; border:1px solid #444; box-shadow:0 10px 30px rgba(0,0,0,.6); }

  .accordion-button {
  background-color: #1c1c1c;   /* dark background */
  color: #e08821;              /* gold text */
  font-weight: bold;
}

.accordion-button:not(.collapsed) {
  background-color: #2a2a2a;   /* active state */
  color: #fff;
}

.accordion-body {
  background: #111;
  color: #ddd;
  padding: 1rem;
}

.accordion-item {
  border: 1px solid #333;
  margin-bottom: 5px;
  border-radius: 6px;
  overflow: hidden;
}

#guide-game-boxes .card { background:#1a1a1a; border-color:#2b2b2b; border-radius:8px; }
#guide-game-boxes .card + .card { margin-top:.75rem; }
#guide-game-boxes .card-header { background:#222; border-bottom-color:#2b2b2b; }
#guide-game-boxes .btn.btn-link { color:#ff8800; font-weight:700; text-decoration:none; }
#guide-game-boxes .btn.btn-link:hover { color:#ffa64d; text-decoration:none; }
#guide-game-boxes .card-body { background:#151515; }
#guide-game-boxes .box-list { list-style:none; padding-left:1rem; margin:0; }
#guide-game-boxes .box-list li { padding:.25rem 0; border-bottom:1px solid rgba(255,255,255,.08); }
#guide-game-boxes .box-list li:last-child { border-bottom:none; }
#guide-game-boxes .img-link { color:#ddd; }
#guide-game-boxes .img-link:hover { color:#ffa64d; text-decoration:underline; }


.boxes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
  align-self: start; 
}

.box-category {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid #e08821;
  border-radius: 10px;
  padding: 15px;
  transition: all 0.3s ease;
  align-self: start; 
}

.box-category:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(224, 136, 33, 0.3);
}

.box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  cursor: pointer;
  user-select: none;
}

/* Alapból minden doboz zárva */
.box-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

/* Csak az expanded class-szal nyílik ki */
.box-category.expanded .box-content {
  max-height: 500px;
}

/* A nyíl is forogjon */
.expand-arrow {
  color: #e08821;
  transition: transform 0.3s ease;
}

.box-category.expanded .expand-arrow {
  transform: rotate(180deg);
}

.box-category .box-title,
.box-category h4.box-title {
  color: #e08821 !important;
}

.box-title {
  color: #e08821;
  font-size: 21px; /* 18px helyett */
  font-weight: bold;
  margin: 0;
}

.recipe-section {
  margin-bottom: 30px;
}

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.recipe-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(224, 136, 33, 0.3);
  border-radius: 5px;
  padding: 12px;
  transition: all 0.2s ease;
}

.recipe-item:hover {
  background: rgba(224, 136, 33, 0.1);
  border-color: #e08821;
}

.recipe-name {
  color: #fff;
  font-weight: bold;
  margin-bottom: 5px;
}

.recipe-formula {
  color: #ccc;
  font-size: 13px;
}

.infinity-recipes {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.infinity-recipe {
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid #FFD700;
  border-radius: 8px;
  padding: 15px;
}

.infinity-name {
  color: #FFD700;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 8px;
}

.infinity-ingredients {
  color: #fff;
  font-size: 14px;
  margin-bottom: 5px;
  line-height: 1.4;
}

.infinity-cost {
  color: #e08821;
  font-weight: bold;
  font-size: 14px;
}

.recipe-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  margin-bottom: 15px;
  user-select: none;
}

.recipe-arrow {
  color: #e08821;
  transition: transform 0.3s ease;
}

.recipe-section.expanded .recipe-arrow {
  transform: rotate(180deg);
}

.recipe-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.recipe-section.expanded .recipe-content {
  max-height: 1000px;
}

.important-note {
  background: rgba(255, 69, 0, 0.2);
  border: 1px solid #FF4500;
  border-radius: 5px;
  padding: 12px;
  color: #FFB347;
  font-weight: bold;
  margin-bottom: 25px;
  text-align: center;
}

.mount-recipes {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mount-recipe {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(224, 136, 33, 0.3);
  border-radius: 8px;
  padding: 15px;
  transition: all 0.2s ease;
}

.mount-recipe:hover {
  background: rgba(224, 136, 33, 0.1);
  border-color: #e08821;
}

.mount-name {
  color: #e08821;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 8px;
}

.mount-ingredients {
  color: #fff;
  font-size: 14px;
  margin-bottom: 5px;
  line-height: 1.4;
}

.mount-cost {
  color: #FFD700;
  font-weight: bold;
  font-size: 14px;
}

.mount-recipe-header {
  display: flex;
  align-items: center;
  gap: 15px;
}

.mount-recipe-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #e08821;
  flex-shrink: 0;
}

.mount-recipe-info {
  flex: 1;
}

@media (max-width: 768px) {
  .mount-recipe-header {
    flex-direction: column;
    text-align: center;
  }
  
  .mount-recipe-image {
    width: 60px;
    height: 60px;
  }
}

.mount-images-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 25px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border: 1px solid rgba(224, 136, 33, 0.2);
}

.mount-image-container {
  text-align: center;
}

.large-recipe-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  border: 2px solid #e08821;
  transition: all 0.3s ease;
  cursor: pointer;
}

.large-recipe-image:hover {
  border-color: #FFD700;
  box-shadow: 0 5px 15px rgba(224, 136, 33, 0.4);
/*  transform: scale(1.02);*/
}

.image-caption {
  color: #e08821;
  font-weight: bold;
  margin-top: 8px;
  margin-bottom: 0;
}

.coming-soon-section {
  text-align: center;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 2px dashed rgba(224, 136, 33, 0.4);
  border-radius: 15px;
  margin: 20px 0;
}

.coming-soon-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.coming-soon-section h4 {
  color: #e08821;
  font-size: 24px;
  margin-bottom: 15px;
}

.coming-soon-section p {
  color: #ccc;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.placeholder-features {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.feature-item {
  background: rgba(224, 136, 33, 0.1);
  color: #e08821;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(224, 136, 33, 0.3);
  font-size: 14px;
  font-weight: bold;
}

@media (max-width: 768px) {
  .coming-soon-icon {
    font-size: 36px;
  }
  
  .placeholder-features {
    flex-direction: column;
    align-items: center;
  }
}

.refinery-container .refinery-content {
  display: none;
  margin-bottom: 20px;
  padding: 15px;
  background-color: #222;
  color: #fff;
  border: 1px solid #444;
  border-radius: 4px;
  min-height: 600px;
}

/* True Gear Navigation Styles - Compact Version */
.race-navigation {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  padding: 5px 0;
}

.class-navigation {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 15px;
  flex-wrap: wrap;
  padding: 5px 0;
}

.set-navigation {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  padding: 5px 0;
}

/* Compact Tab Button Styles */
.race-tab, .class-tab, .set-tab {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  color: #e08821;
  border: 1px solid #e08821;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  outline: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.race-tab:hover, .class-tab:hover, .set-tab:hover {
  background: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 100%);
  border-color: #f09631;
  color: #f09631;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(224, 136, 33, 0.3);
}

.race-tab.active, .class-tab.active, .set-tab.active {
  background: linear-gradient(135deg, #e08821 0%, #f09631 100%);
  border-color: #f09631;
  color: #000;
  box-shadow: 0 4px 12px rgba(224, 136, 33, 0.5);
  font-weight: 700;
}

/* Content Areas */
.race-content, .class-content, .set-content {
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Gear Grid - 5 Columns Layout */
.true-gear-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin-top: 15px;
  padding: 10px 0;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.gear-card {
  background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
  border: 1px solid #333;
  border-radius: 8px;
  padding: 12px;
  transition: all 0.3s ease;
  position: relative;
  min-height: 320px;
}

.gear-card:hover {
  border-color: #e08821;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(224, 136, 33, 0.25);
  background: linear-gradient(135deg, #252525 0%, #2a2a2a 100%);
}

.gear-card img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  margin: 0 auto 10px auto;
  display: block;
  border: 1px solid #333;
  transition: border-color 0.3s ease;
}

.gear-card:hover img {
  border-color: #e08821;
}

/* GREEN Item Names */
.gear-card h4 {
  color: #4CAF50;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.gear-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 10px;
}

.gear-card li {
  color: #ddd;
  font-size: 14px;
  margin-bottom: 4px;
  padding-left: 12px;
  position: relative;
  line-height: 1.3;
}

.gear-card li::before {
  content: "•";
  color: #e08821;
  position: absolute;
  left: 0;
  font-size: 12px;
  top: 1px;
}

.random-skills {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #333;
}

.random-skills span {
  color: #e08821;
  font-weight: 600;
  font-size: 14px;
  display: block;
  margin-bottom: 5px;
}

.random-skills select {
  background: linear-gradient(135deg, #2a2a2a 0%, #333 100%);
  color: #e08821;
  border: 1px solid #e08821;
  border-radius: 4px;
  padding: 4px 6px;
  width: 100%;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s ease;
  outline: none;
}

.random-skills select:focus, .random-skills select:hover {
  border-color: #f09631;
  box-shadow: 0 0 4px rgba(224, 136, 33, 0.3);
  background: linear-gradient(135deg, #333 0%, #3a3a3a 100%);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .true-gear-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 900px) {
  .true-gear-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .true-gear-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .race-tab, .class-tab, .set-tab {
    padding: 6px 12px;
    font-size: 11px;
  }
}

  .popup-overlay {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    text-align: center;
  }
  .popup-content {
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
  }
  .popup-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
  }