.enchant-page{
  background:
    linear-gradient(180deg, rgba(2,6,14,.08), rgba(2,6,14,.18)),
    url("/assets/img/foto.png") no-repeat center top fixed !important;
  background-size: cover !important;
}

.enchant-main{
  min-height: calc(100vh - var(--header-h) - 120px);
  padding-top: var(--header-h);
  background: transparent !important;
}

.enchant-hero{
  padding: 46px 0 60px;
}

.enchant-hero .container{
  width: min(1400px, calc(100% - 40px)) !important;
  max-width: 1400px !important;
}

.enchant-head{
  max-width: 980px;
  margin: 0 auto 28px;
  text-align: center;
}

.enchant-title{
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(4rem, 6vw, 5.4rem);
  line-height: .95;
  color: #f5efe4;
text-shadow: 0 2px 28px rgba(0, 0, 0, .35), 0 6px 14px rgba(0, 0, 0, .25);
    filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 1px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 1px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 1px rgba(0, 0, 0, 0.7));
}

.enchant-title span{
  background: linear-gradient(180deg,#efdbc3 0%,#f7d3ab 18%,#ffce92 38%,#fabd58 52%,#f6cb6a 70%,#f3dfbf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.enchant-sub{
  max-width: 760px;
  margin: 20px auto 0;
  color: #dce5f3;
  font-size: 1rem;
  line-height: 1.65;
  text-shadow: 0px -1px 28px rgb(0 0 0), 0 6px 14px rgb(0 0 0), 0 6px 14px rgb(0 0 0), 0 6px 14px rgb(0 0 0), 0 6px 14px rgb(0 0 0), 0 6px 14px rgb(0 0 0);
}

.enchant-main-card,
.enchant-box,
.legend-card,
.enchant-overview-card{
  border-radius: 20px;
  border: 1px solid rgba(203,175,113,.18);
  background: linear-gradient(180deg, rgba(8,15,31,.82), rgba(5,10,21,.92));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 18px 42px rgba(0,0,0,.36);
  backdrop-filter: blur(7px);
}

.enchant-main-card{
  padding: 24px;
}

.enchant-banner{
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  margin-bottom: 22px;
  min-height: 360px;
}

.enchant-banner img{
  width: 100%;
  height: 360px;
  object-fit: cover;
  filter: brightness(1.2);
}

.enchant-overlay{
  position: absolute;
  inset: 0;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(3,7,16,.72));
}

.enchant-overlay h2{
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 2.4rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #d8b062;
text-shadow: 0 2px 10px rgb(0 0 0), 0 2px 10px rgb(0 0 0), 0 2px 10px rgb(0 0 0), 0 0px 10px rgb(0 0 0), 0 0px 5px rgb(0 0 0), 0 0px 5px rgb(0 0 0), 0 0px 5px rgb(0 0 0);
}

.enchant-overlay p{
  max-width: 620px;
  margin: 0;
  color: #d7e0ee;
  line-height: 1.6;
text-shadow: 0 2px 10px rgb(0 0 0), 0 2px 10px rgb(0 0 0), 0 2px 10px rgb(0 0 0), 0 0px 10px rgb(0 0 0), 0 0px 5px rgb(0 0 0), 0 0px 5px rgb(0 0 0), 0 0px 5px rgb(0 0 0);
}

.enchant-grid{
  display:block;
}

.enchant-content{
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.enchant-overview-card{
  padding: 22px;
  position: sticky;
  top: calc(var(--header-h) + 22px);
}

.enchant-overview-card h3,
.enchant-box h3,
.legend-card h3{
  margin: 0 0 18px;
  color: #f6cb6a;
  font-size: 1.8rem;
  line-height: 1;
  font-family: "Cormorant Garamond", serif;
}

.overview-item{
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.overview-item:last-child{
  border-bottom: 0;
}

.overview-item img{
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex: 0 0 auto;
}

.overview-item strong{
  display: block;
  margin-bottom: 6px;
  color: #f3ddb2;
  font-size: .96rem;
}

.overview-item span,
.overview-item li{
  color: #d7e0ee;
  line-height: 1.55;
  font-size: .9rem;
}

.overview-item ul{
  margin: 0;
  padding-left: 18px;
}

.enchant-box{
  padding: 22px;
}

.steps-grid{
  display: grid;
  grid-template-columns: 1fr 30px 1fr 30px 1fr 30px 1fr;
  gap: 14px;
  align-items: center;
}

.step-arrow{
  text-align: center;
  font-size: 3rem;
  color: #f6cb6a;
  line-height: 1;
}

.step-box{
  min-height: 220px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.step-box img{
  width: 76px;
  height: 76px;
  object-fit: contain;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 10px rgba(246,203,106,.18));
}

.step-box strong{
  display: block;
  margin-bottom: 10px;
  color: #f6cb6a;
  font-weight: 900;
}

.step-box span{
  color: #d7e0ee;
  line-height: 1.6;
  font-size: .9rem;
}

.table-wrap{
  width: 100%;
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
}

.enchant-table{
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: rgba(3,8,18,.42);
}

.enchant-table th{
  padding: 13px 12px;
  color: #f6cb6a;
  font-size: .85rem;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.075);
  background: rgba(5,10,21,.85);
}

.enchant-table td{
  padding: 12px;
  color: #ffea70;
  text-align: center;
  border: 1px solid rgba(255,255,255,.075);
}

.enchant-table td:first-child{
  color: #f3ddb2;
  font-weight: 900;
}

.compact td,
.compact th{
  font-size: .86rem;
}

.formula-text{
  margin: 16px 0 0 !important;
  color: #bfc9d8 !important;
  font-size: .92rem;
}

.dual-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.stones-supplement-grid{
  grid-template-columns: minmax(0, 1fr) 360px;
}

.stones-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stone-card{
  padding: 22px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  text-align: center;
}

.stone-card img{
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 18px;
  filter: drop-shadow(0 0 14px rgba(246,203,106,.16));
}

.stone-card strong{
  display: block;
  margin-bottom: 10px;
  color: #f6cb6a;
  font-size: .95rem;
}

.stone-card span{
  display: block;
  margin-bottom: 14px;
  color: #d7e0ee;
  font-size: .9rem;
}

.stone-card p{
  margin: 0;
  color: #bfc9d8;
  line-height: 1.6;
  font-size: .86rem;
}

.supplement-list{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.supplement-item{
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
}

.supplement-item img{
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.supplement-item strong{
  display: block;
  margin-bottom: 6px;
  color: #f3ddb2;
}

.supplement-item span{
  color: #69e97a;
  font-weight: 900;
  font-size: 1.3rem;
}

.rate-tabs{
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.rate-tabs button{
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  color: #d7e0ee;
  font-weight: 700;
  cursor: pointer;
}

.rate-tabs button.active{
  background: linear-gradient(180deg,#cfa85b,#8a672d);
  color: #fff;
  border-color: rgba(246,203,106,.45);
}

.rates-grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

.rate-tables-area{
  grid-row: span 2;
}


.rates-table .max,
.rates-table .high{
  color: #209032;
  font-weight: 900;
}

.rates-table .low{
  color: #f89800;
  font-weight: 900;
}

.rates-table .zero{
  color: #ff5f5f;
  font-weight: 900;
}

.legend-card{
  padding: 22px;
  height: fit-content;
}

.legend-item{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: #d7e0ee;
  font-size: .92rem;
}

.legend-item span{
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.legend-item.green span{
  background: #63e678;
}

.legend-item.yellow span{
  background: #ffd056;
}

.legend-item.orange span{
  background: #ff9d42;
}

.legend-item.red span{
  background: #ff5f5f;
}

.dropdown-menu.guide-menu a.active,
.dropdown-menu.guide-menu a:hover{
  filter: none !important;
  text-shadow: none !important;
  -webkit-text-fill-color: #f6cb6a !important;
  color: #f6cb6a !important;
}

.dropdown-menu.guide-menu a.active::after{
  display: none !important;
}

@media(max-width:1300px){
  .enchant-grid{
    grid-template-columns: 1fr;
  }

  .enchant-overview-card{
    position: static;
  }

  .stones-supplement-grid,
  .rates-grid{
    grid-template-columns: 1fr;
  }
}

@media(max-width:1000px){
  .steps-grid{
    grid-template-columns: 1fr;
  }

  .step-arrow{
    display: none;
  }

  .dual-grid{
    grid-template-columns: 1fr;
  }
}

@media(max-width:780px){
  .enchant-main-card,
  .enchant-box,
  .enchant-overview-card,
  .legend-card{
    padding: 18px;
  }

  .stones-grid{
    grid-template-columns: 1fr;
  }

  .enchant-banner,
  .enchant-banner img{
    height: 300px;
    min-height: 300px;
  }

  .enchant-title{
    font-size: 3.4rem;
  }
}
.enchant-content{
  width:100%;
}


.rate-table-panel{
  display: none;
}

.rate-table-panel.active{
  display: block;
}

.rates-description{
  margin: -6px 0 22px;
  color: #c8d4e6;
  font-size: .95rem;
}

.rate-tabs{
  gap: 14px;
}

.rate-tabs button{
  --icon-size: 55px;
  --button-height: 92px;
  --button-padding-x: 12px;

  display:flex;
  align-items:center;
  gap:10px;

  height:var(--button-height);
  padding:0 var(--button-padding-x);

  min-width:220px;

  border-radius:18px;

  transition:.25s;
}

.rate-tabs button img{
  width:var(--icon-size);
  height:var(--icon-size);
  min-width:var(--icon-size);
  min-height:var(--icon-size);

  object-fit:contain;

  filter:
    drop-shadow(0 0 8px rgba(246,203,106,.15));
}

.rate-tabs button div{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}

.rate-tabs button strong{
  color:#f5efe4;
  font-size:.92rem;
}

.rate-tabs button span{
  color:#9eaec7;
  font-size:.78rem;
}

.rate-tabs button:hover{
  border-color:rgba(246,203,106,.35);
  transform:translateY(-2px);
}

.rate-tabs button.active{
  box-shadow:
    0 0 18px rgba(246,203,106,.18),
    inset 0 1px 0 rgba(255,255,255,.12);
}

.stone-head{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}

.stone-head img{
  width:28px;
  height:28px;
  object-fit:contain;
}

.stone-head strong{
  display:block;
  color:#f6cb6a;
  font-size:.82rem;
}

.stone-head span{
  display:block;
  font-size:.72rem;
  color:#97a8c2;
}

.rate-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:64px;
  height:30px;
  padding:0 12px;
  border-radius:999px;
  font-weight:900;
}

.rate-badge.guaranteed{
  background:rgba(80,220,120,.14);
  border:1px solid rgba(80,220,120,.28);
  color:#7eff96;
}

.risk-divider td{
  padding:10px !important;
  text-align:center;
  font-size:.76rem;
  letter-spacing:2px;
  font-weight:900;
}

.mid-risk td{
  color:#f3c96c;
  border-top:1px solid rgba(243,201,108,.45);
  border-bottom:1px solid rgba(243,201,108,.15);
  background:rgba(243,201,108,.04);
}

.high-risk td{
  color:#ff6d6d;
  border-top:1px solid rgba(255,109,109,.45);
  border-bottom:1px solid rgba(255,109,109,.15);
  background:rgba(255,109,109,.04);
}

/* Valores das tabelas em branco */
.enchant-table td {
    color: #ffffff;
}

/* Cabeçalhos continuam dourados */
.enchant-table th {
    color: #f0c96a;
}


/* Apenas tabelas normais */
.enchant-table.compact td {
    color: #ffffff;
}

/* Rates */
.rates-table td {
    color: #d8d8d8;
}

/* Chances altas */
.rates-table td.high,
.rates-table td.max {
    color: #08923d;
}

/* Chances médias */
.rates-table td.medium {
    color: #ebdf92;
}

/* Chances baixas */
.rates-table td.low {
    color: #f89800;
}

/* Sem chance */
.rates-table td.zero {
    color: #ff4d4d;
}


.item-rarity-card{
  padding: 22px;
  height: fit-content;
  border-radius: 20px;
  border: 1px solid rgba(203,175,113,.18);
  background: linear-gradient(180deg, rgba(8,15,31,.82), rgba(5,10,21,.92));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 18px 42px rgba(0,0,0,.36);
  backdrop-filter: blur(7px);
}

.item-rarity-card h3{
  margin: 0 0 18px;
  color: #f6cb6a;
  font-size: 1.55rem;
  line-height: 1;
  font-family: "Cormorant Garamond", serif;
}

.rarity-block{
  margin-bottom: 14px;
}

.rarity-title{
  display: block;
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 5px;
}

.rarity-title.eternal{
  color: #f08033;
}

.rarity-title.non-eternal{
  color: #f6cb6a;
}

.rarity-block p,
.rarity-item p{
  margin: 0;
  color: #c8d4e6;
  font-size: .82rem;
  line-height: 1.45;
}

.rarity-divider{
  height: 1px;
  margin: 16px 0;
  background: rgba(255,255,255,.09);
}

.rarity-list{
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 14px;
}

.rarity-item{
  display: flex;
  align-items: center;
  gap: 12px;
}

.rarity-dot{
  width: 13px;
  height: 13px;
  border-radius: 50%;
  flex: 0 0 auto;
  box-shadow: 0 0 10px currentColor;
}

.rarity-dot.fabled,
.rarity-item .fabled{
  color: #f0b71c;
}

.rarity-dot.heroic,
.rarity-item .heroic{
  color: #4ccfff;
}

.rarity-dot.superior,
.rarity-item .superior{
  color: #69e15e;
}

.rarity-dot.common,
.rarity-item .common{
  color: #ffffff;
}

.rarity-item strong{
  display: block;
  font-size: .95rem;
  font-weight: 900;
  margin-bottom: 3px;
}

/* ACTIVE DROPDOWN - SOFT GLOW */
.dropdown-menu.guide-menu a.active{
  color: #f6cb6a !important;
  -webkit-text-fill-color: #f6cb6a !important;

  background: rgba(246,203,106,.08) !important;

  text-shadow: none !important;
  filter: none !important;
  box-shadow: none !important;
}

.dropdown-menu.guide-menu a.active::before{
  display: none !important;
}

.dropdown-menu.guide-menu a.active::after{
  display: none !important;
}

.main-nav .dropdown-toggle.active{
  color: #f6cb6a !important;
  -webkit-text-fill-color: #f6cb6a !important;
  text-shadow: 0 0 14px rgba(246,203,106,.45);
}

.main-nav .dropdown-toggle.active::after{
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent,
    #f6cb6a,
    transparent
  );
  box-shadow: 0 0 14px rgba(246,203,106,.65);
}

/* Finall */
