/* ===== CONFIGURAÇÕES GERAIS E VARIÁVEIS ===== */
:root {
    --font-title: 'Cinzel', serif;
    --font-body: 'Marcellus', sans-serif;
    --color-gold: #c5a16d;
    --color-dark: #0a0a0a;
    --color-text: #e0e0e0;
    --color-text-muted: #888;
}

body {
    margin: 0;
    background-color: var(--color-dark);
    color: var(--color-text);
    font-family: var(--font-body);
}

.section-title {
    font-family: var(--font-title);
    font-size: 2.5em;
    text-align: center;
    color: #fff;
}

/* ===== SEÇÃO 1: ESTILOS DO HERÓI (FINAL) ===== */
.class-hero-section {
    min-height: 50vh;
    padding: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
    align-items: center;
    text-align: center;
}

.video-background, .parallax-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1;
}
.parallax-bg {
    background-position: center; background-size: cover; background-attachment: fixed;
}
.class-hero-section::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.8) 100%);
    z-index: 2;
}
.class-name {
    position: relative;
    z-index: 3;
    font-family: var(--font-title);
    font-size: 4em;
    text-transform: none;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    margin-bottom: 20px;
}

.icon-banner {
    position: relative;
    z-index: 4;
    width: 100%;
    padding: 15px 0; 
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(../images/backgrounds/background-faixa-guerreiro.png);
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.class-icon {
    position: static; 
    padding: 0;
    background-color: transparent;
}

.class-icon img {
    width: 50px;
    height: 50px;
    display: block;
    filter: drop-shadow(0 0 5px rgba(255, 220, 180, 0.5));
}
/* ======================================================= */
/* ===== SEÇÃO 2: INFORMAÇÕES BÁSICAS (SEM MUDANÇAS) ===== */
/* ======================================================= */
.class-info-section {
    background-image: url(../images/backgrounds/background-humanos.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    padding: 20px 5%;
    overflow-x: hidden;
    justify-content: flex-end;
}

.info-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Coluna do Texto */

.info-block {
    text-align: left;
    max-width: 100%;
    text-align: center;
}

.class-slogan {
    font-size: 2.5em;
    font-family: var(--font-title);
    letter-spacing: 1px;
    margin-top: 0;
    color: #222; 
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.4);
}

.quick-info {
    display: inline-grid; 
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    gap: 10px 100px;  
    justify-items: center;
    align-items: center;
    padding: 20px 0;
    margin: 30px 0;
}

.info-label {
    text-transform: uppercase;
    font-size: 0.9em;
    color: #222;
    text-align: center;
}


.stars, 
.role-icons {
    font-size: 1.2em;
    font-weight: bold;
    letter-spacing: 2px;
    text-align: center;
    width: 100%;
    color: #FFC300; 
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
}

.class-lore {
    font-size: 1.1em;
    line-height: 1.8;
    color: #444;
    text-align: justify;
    text-indent: 2em;
}

/* Coluna da Imagem (Direita) */
.info-character-column {
    position: relative;
}
.info-character-column img {
    max-width: 80%;
}

.class-info-section.is-visible .info-character-column img {
    transform: translateX(0);
    opacity: 1;
}


/* ===== SEÇÃO 2: ESTILOS DO ARSENAL ===== */
@keyframes floatAnimation {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0);
    }
}

.arsenal-section {
    position: relative;
    height: 900px; 
    padding: 20px 5%; 
    min-height: auto; 
    max-height: 900px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: 
        linear-gradient(
            to left, 
            rgba(10, 10, 10, 1) 30%,
            rgba(10, 10, 10, 0.9) 50%,
            rgba(10, 10, 10, 0) 70%
    ),
        url('../images/backgrounds/background-arsenal.png'); 

    background-size: contain;         
    background-repeat: no-repeat;
}

.weapon-slide {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  width: 100%;
  max-width: 1100px;
  height: 100%;
  align-items: center;
  align-content: center;
  margin: 0 auto;
}

.weapon-image img {
  max-height: 80%;
  width: auto;
  display: block;
  margin: 0 auto;
  animation: floatAnimation 4s ease-in-out infinite;
  transform: translateX(-10%);
}

.weapon-info h3 {
  font-family: var(--font-title);
  font-size: 2em;
  color: var(--color-gold);
  margin: 0 0 10px;
  line-height: 1.2;
  text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.8);
}

.weapon-info p {
  font-size: 1em;
  line-height: 1.7;
  color: #dcdcdc;
  margin: 0 0 15px;
  text-shadow: 0px 1px 4px rgba(0, 0, 0, 0.9);
}

.weapon-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  border-top: 1px solid #333;
  padding-top: 15px;
}

.weapon-tags span {
  font-size: 1em;
  color: #fafafa;
  text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.9);
}

.weapon-tags span strong {
  color: var(--color-gold);
  margin-right: 8px;
  text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.8);
}

/* Posicionamento do carrossel e dos dots */
.arsenal-section .owl-carousel {
  position: relative;
  width: 100%;
  margin-top: 30px; 
}

.arsenal-section .owl-carousel .owl-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex !important;
  justify-content: center;
  gap: 14px;
}

.arsenal-section .owl-carousel .owl-dot {
  width: 10px;
  height: 10px;
  background-color: #444;
  border-radius: 50%;
  transition: all 0.3s ease;
  transform: scale(1);
}

.arsenal-section .owl-carousel .owl-dot.active {
  background-color: #c5a16d;
  transform: scale(1.2);
}

.arsenal-section .owl-carousel .owl-dot:not(.active):hover {
  background-color: #777;
}


.uniques-section .uniques-grid {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 50px; 
}

.uniques-section .unique-card {
  border: none !important;             
}

.unique-card:nth-child(even) {
    grid-template-areas: "text image";
}
.unique-card:nth-child(even) img {
    grid-area: image;
}
.unique-card:nth-child(even) .unique-text {
    grid-area: text;
}
.unique-card img {
    width: 100%;
}
.unique-text h3 {
    font-family: var(--font-title);
    color: var(--color-gold);
    font-size: 2em;
}
.unique-text p {
    line-height: 1.8;
}

/* ===== SEÇÃO 4: ESTILOS DO NAVEGADOR DE CLASSES ===== */

.uniques-background-wrapper {
  position: relative;
  padding: 20px 0;
  overflow: hidden;
}

.uniques-background-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/backgrounds/characteristicsBackground-Section.png');
  background-size: cover; 
  background-position: center;
  background-attachment: fixed;
  z-index: -1;
}

.uniques-section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.uniques-section .section-title {
  text-align: center;
  font-size: 2.2em;
  color: #EAEAEA;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.uniques-panel {
  padding: 30px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1); 
  background-color: rgba(18, 18, 18, 0.75); 
}

/* --- Navegação de Abas (Tabs) --- */
.features-nav {
  margin: 0;
  padding: 15px 0px 0; 
}

.features-nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  margin-bottom: 30px;
  border-bottom: 1px solid #2b2b2b;
}

.features-nav li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 24px;
  cursor: pointer;
  color: var(--color-text-muted);
  transition: color 0.3s ease, filter 0.3s ease;
}

.features-nav li img {
  width: 34px;
  height: 34px;
  margin-bottom: 8px;
  filter: grayscale(1) opacity(0.6);
  transition: filter 0.3s ease;
}

.features-nav li:hover,
.features-nav li.active {
  color: var(--color-gold);
}
.features-nav li:hover img,
.features-nav li.active img {
  filter: none;
}
.features-nav li::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-gold);
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.features-nav li.active::after {
  transform: scaleX(1);
}

.tab-panel {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}
.tab-panel.active {
  display: block;
  opacity: 1;
}

.uniques-grid {
  display: flex;
}

.unique-card {
  display: flex;
  width: 100%;
  min-height: 450px;
  border-radius: 4px;
  overflow: hidden;
  background-color: transparent;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.unique-card img {
  width: 50%;
  object-fit: cover;
  order: 2;
}

#arsenal .unique-card img {
  width: 50%;
  height: 100%; 
  object-fit: contain; 
  order: 2;
}

.unique-card .unique-text {
  width: 50%;
  padding: 40px;
  order: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.unique-card .unique-text h3 {
  font-family: var(--font-title);
  color: var(--color-gold);
  font-size: 1.9em;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
  order: 1;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7); 
}

.unique-card .unique-text .unique-label {
  color: var(--color-gold);
  font-size: 0.8em;
  text-transform: uppercase;
  background: linear-gradient(90deg, rgba(197,161,109,0) 0%, rgba(197,161,109,0.2) 50%, rgba(197,161,109,0) 100%);
  padding: 4px 30px;
  border-top: 1px solid rgba(197,161,109,0.3);
  border-bottom: 1px solid rgba(197,161,109,0.3);
  order: 2;
  margin-bottom: 16px;
  width: fit-content;
}

.unique-card .unique-text p {
  line-height: 1.5;
  text-align: justify;
  color: #E0E0E0;
  order: 3;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8); 
}

/* --- Responsividade --- */
@media (max-width: 900px) {
  .uniques-background-wrapper {
    padding: 40px 0;
  }
  .uniques-panel {
    padding: 20px;
  }
  .unique-card {
    flex-direction: column;
    min-height: auto;
  }
  .unique-card img,
  .unique-card .unique-text {
    width: 100%;
  }
  .unique-card .unique-text {
    padding: 30px 25px;
  }
}


/* ============================= */
/* Responsivo 
/* ============================= */
@media (max-width: 900px) {
  .unique-card {
    flex-direction: column; 
    text-align: center;
  }

  .unique-card img,
  .unique-card .unique-text {
    width: 100%; 
  }

  .unique-card .unique-text {
    text-align: left; 
    padding: 25px;
  }
}

/* ===== ANIMAÇÕES DE SCROLL ===== */

.class-info-section,
.arsenal-section, 
.uniques-section, 
.class-navigator-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.class-info-section.is-visible,
.arsenal-section.is-visible, 
.uniques-section.is-visible, 
.class-navigator-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Animação específica da imagem do personagem --- */
.info-character-column img {
    width: 100%;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 1s;
}

.class-info-section.is-visible .info-character-column img {
    transform: translateX(0);
    opacity: 1;
}
