/* Estilos del home - generado automáticamente */


:root{
  --gold:#e6c36a;
  --gold-hover:#ffd700;
  --dark-bg:#0b1320;
  --panel-bg: #152238;
  --green-btn: #5a8a3c;
  --text-light:#e0e0e0;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-light);
  background-image: url('./textura.png');
  background-size: 1024px 1024px;
  background-repeat: repeat;
  background-attachment: scroll;
  position: relative;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 19, 32, 0.3);
  pointer-events: none;
  z-index: -1;
}

/* ================= HEADER ================= */
header:not([data-shared-header="true"]){
  position: sticky;
  top: 0;
  z-index: 100;
  height: 70px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 0 40px;
  background:
    linear-gradient(rgba(10,20,35,0.95), rgba(5,10,20,0.98)),
    url('./textura.png');
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

header:not([data-shared-header="true"]) .logo img{
  height: 50px;
}

header:not([data-shared-header="true"]) nav{
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

header:not([data-shared-header="true"]) nav a{
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #bbb;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 0.3s;
}

header:not([data-shared-header="true"]) nav a:hover{
  color: var(--gold);
  text-shadow: 0 0 10px rgba(230, 195, 106, 0.5);
}

header:not([data-shared-header="true"]) .search-box{
  display: flex;
  align-items: center;
}

header:not([data-shared-header="true"]) .search-box input{
  padding: 8px 15px;
  border: 1px solid #334;
  border-radius: 4px 0 0 4px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  outline: none;
}

header:not([data-shared-header="true"]) .search-box button{
  background: #334;
  border: 1px solid #334;
  border-left: none;
  border-radius: 0 4px 4px 0;
  color: var(--gold);
  padding: 8px 12px;
  cursor: pointer;
}

/* ================= HERO ================= */
.hero {
border-bottom: 1px solid rgba(230,195,106,0.3);
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
  position: relative;
  height: clamp(340px, 28vw, 460px);
  overflow: hidden;
}

/* IMAGEN */
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: saturate(1.1) contrast(1.05);
}

/* OVERLAY PRO */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(255,180,80,0.15), transparent 40%),
    radial-gradient(circle at center, transparent 50%, rgba(0,0,0,0.35)),
    linear-gradient(to bottom, rgba(0,0,0,0.05), rgba(0,0,0,0.35));
  z-index: 1;
}

/* CONTENIDO */
.hero-content {
  position: absolute;
  inset: 0;

  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
  z-index: 2;
  padding: 20px;
}

/* TEXTO */
.hero-content h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(28px, 3vw, 48px);
  color: #f5e6c0;
  text-shadow:
    0 2px 5px rgba(0,0,0,0.8),
    0 10px 30px rgba(0,0,0,0.6);
}

.hero-content p{
  margin-bottom: 20px;
}

/* ===== HERO BOTONES ESTILO DOFUS (ANKAMA REAL) ===== */

/* ===== HERO BUTTONS - DOFUS UI PRO ===== */

.hero-buttons{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  justify-content:center;
  margin-top: 25px;
}

/* BASE BOTON */
.hero-buttons a{
  position: relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;

  min-width:240px;
  padding:16px 28px;

  font-family:'Cinzel',serif;
  font-size:16px;
  font-weight:700;
  letter-spacing:1px;
  text-transform:uppercase;
  text-decoration:none;

  border-radius:10px;
  cursor:pointer;
  overflow:hidden;

  border:2px solid #8a6a2a;

  background:
    linear-gradient(rgba(255,255,255,0.05), rgba(0,0,0,0.4)),
    url('./textura.png');

  background-size: cover;

  color:#fff;

  box-shadow:
    0 6px 0 rgba(0,0,0,0.6),
    0 14px 25px rgba(0,0,0,0.7),
    inset 0 2px 0 rgba(255,255,255,0.2),
    inset 0 -3px 6px rgba(0,0,0,0.6);

  transition: all 0.15s ease;

  /* vida sutil */
  animation: idleGlow 3s ease-in-out infinite;
}

/* VARIANTE VERDE */
.btn-guides{
  background:
    linear-gradient(rgba(90,160,60,0.85), rgba(40,90,25,0.95)),
    url('./textura.png');
}

/* VARIANTE DORADA */
.btn-news{
  background:
    linear-gradient(rgba(245,210,100,0.9), rgba(180,130,20,0.95)),
    url('./textura.png');

  color:#ffffff;

  text-shadow:
    0 2px 4px rgba(0,0,0,0.8),
    0 0 6px rgba(255,215,120,0.4);

  border-color:#e6c36a;
}

/* BRILLO SUPERIOR */
.hero-buttons a::before{
  content:"";
  position:absolute;
  top:0;
  left:10%;
  width:80%;
  height:3px;

  background:linear-gradient(to right, transparent, #fff2b0, transparent);
  opacity:0.7;
}

/* RUIDO / GRANO */
.hero-buttons a::after{
  content:"";
  position:absolute;
  inset:0;
  background-image:url('https://www.transparenttextures.com/patterns/noise.png');
  opacity:0.15;
  pointer-events:none;
}

/* SHINE EFECTO */
.hero-buttons a .shine{
  position:absolute;
  top:0;
  left:-75%;
  width:50%;
  height:100%;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.4),
    transparent
  );

  transform: skewX(-25deg);
}

/* ACTIVACION SHINE */
.hero-buttons a:hover .shine{
  animation: shineMove 0.8s ease;
}

@keyframes shineMove{
  0% { left:-75%; }
  100% { left:130%; }
}

/* HOVER GENERAL */
.hero-buttons a:hover{
  transform: translateY(-4px) scale(1.02);

  border-color:#ffd87a;

  box-shadow:
    0 8px 0 rgba(0,0,0,0.7),
    0 18px 35px rgba(0,0,0,0.9),
    inset 0 2px 0 rgba(255,255,255,0.25);
}

/* GLOW VERDE */
.btn-guides:hover{
  box-shadow:
    0 8px 0 rgba(0,0,0,0.7),
    0 18px 35px rgba(0,0,0,0.9),
    0 0 25px rgba(120,255,120,0.35),
    inset 0 2px 0 rgba(255,255,255,0.25);
}

/* GLOW DORADO */
.btn-news:hover{
  box-shadow:
    0 8px 0 rgba(0,0,0,0.7),
    0 18px 35px rgba(0,0,0,0.9),
    0 0 25px rgba(255,215,120,0.45),
    inset 0 2px 0 rgba(255,255,255,0.25);
}

/* CLICK REAL */
.hero-buttons a:active{
  transform: translateY(5px);

  box-shadow:
    0 2px 0 rgba(0,0,0,0.6),
    inset 0 4px 10px rgba(0,0,0,0.8);
}

/* VIDA SUTIL */
@keyframes idleGlow{
  0%,100%{ filter: brightness(1); }
  50%{ filter: brightness(1.05); }
}
/* ===== MENU DOFUS REAL ===== */

/* ===== MENU RPG - DOFUS UI PRO ===== */

.section-categories{
  display:none;
  justify-content:center;
  margin-top: 10px;
  padding: 25px;
}

.menu-rpg{
  display:flex;
  gap:20px;
  flex-wrap:wrap;
  justify-content:center;

  position: relative;
  overflow: visible;
}
.menu-rpg::before{
  z-index: 0;
}

.btn-rpg-menu{
  z-index: 2;
}

/* ===== PARTICULAS MAGICAS ===== */
.menu-rpg::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:0;

  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255,215,120,0.6), transparent),
    radial-gradient(2px 2px at 70% 60%, rgba(120,255,120,0.5), transparent),
    radial-gradient(1.5px 1.5px at 40% 80%, rgba(255,255,255,0.5), transparent),
    radial-gradient(2px 2px at 80% 20%, rgba(255,215,120,0.4), transparent);

  animation: floatingParticles 12s linear infinite;
  opacity:0.6;
}

@keyframes floatingParticles{
  0%{ transform: translateY(0px); }
  50%{ transform: translateY(-20px); }
  100%{ transform: translateY(0px); }
}

/* ===== BOTON BASE ===== */
.btn-rpg-menu{
  position: relative;
  z-index: 1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;

  min-width:240px;
  padding:14px 22px;

  border-radius:12px;
  cursor:pointer;
  overflow:hidden;

  font-family:'Cinzel',serif;
  letter-spacing:1px;

  border:2px solid #8a6a2a;

  background:
    linear-gradient(rgba(255,255,255,0.05), rgba(0,0,0,0.5)),
    url('./textura.png');

  background-size: cover;

  box-shadow:
    0 6px 0 rgba(0,0,0,0.6),
    0 14px 25px rgba(0,0,0,0.7),
    inset 0 2px 0 rgba(255,255,255,0.2),
    inset 0 -3px 6px rgba(0,0,0,0.6);

  transition: all 0.15s ease;

  animation: idleGlow 3s ease-in-out infinite;
}

/* ICONO */
.btn-rpg-menu img{
  display:none;
}

/* TEXTO */
.btn-rpg-menu .menu-label{
  display:block;
  font-size:17px;
  line-height:1;
  color:#f5e6c0;
  z-index:2;
}

.btn-rpg-menu span{
  color:#f5e6c0;
}

.btn-rpg-menu .shine{
  z-index:1;
}

/* ===== BRILLO SUPERIOR ===== */
.btn-rpg-menu::before{
  content:"";
  position:absolute;
  top:0;
  left:10%;
  width:80%;
  height:3px;

  background:linear-gradient(to right, transparent, #fff2b0, transparent);
  opacity:0.7;
}

.btn-rpg-menu::after{
  content:"";
  position:absolute;
  inset:0;
  background-image:url('https://www.transparenttextures.com/patterns/noise.png');
  opacity:0.15;
  pointer-events:none;
}

/* ===== COLORES ===== */
.btn-rpg-menu.blue{
  background:
    linear-gradient(rgba(40,80,150,0.7), rgba(10,30,70,0.95)),
    url('./textura.png');
}

.btn-rpg-menu.brown{
  background:
    linear-gradient(rgba(120,80,30,0.7), rgba(60,40,10,0.95)),
    url('./textura.png');
}

.btn-rpg-menu.green{
  background:
    linear-gradient(rgba(30,120,60,0.7), rgba(10,60,25,0.95)),
    url('./textura.png');
}

.btn-rpg-menu.teal{
  background:
    linear-gradient(rgba(28,130,142,0.78), rgba(8,61,68,0.96)),
    url('./textura.png');
}

.btn-rpg-menu.red{
  background:
    linear-gradient(rgba(128,36,34,0.76), rgba(63,14,13,0.96)),
    url('./textura.png');
}

/* ===== SHINE ===== */
.btn-rpg-menu .shine{
  position:absolute;
  top:0;
  left:-75%;
  width:50%;
  height:100%;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.4),
    transparent
  );

  transform: skewX(-25deg);
}

.btn-rpg-menu:hover .shine{
  animation: shineMove 0.8s ease;
}

/* ===== HOVER ===== */
.btn-rpg-menu:hover{
  transform: translateY(-4px) scale(1.02);

  border-color:#ffd87a;

  box-shadow:
    0 8px 0 rgba(0,0,0,0.7),
    0 18px 35px rgba(0,0,0,0.9),
    inset 0 2px 0 rgba(255,255,255,0.25);
}

/* GLOW POR TIPO */
.btn-rpg-menu.blue:hover{
  box-shadow:
    0 8px 0 rgba(0,0,0,0.7),
    0 18px 35px rgba(0,0,0,0.9),
    0 0 20px rgba(120,180,255,0.4),
    inset 0 2px 0 rgba(255,255,255,0.25);
}

.btn-rpg-menu.brown:hover{
  box-shadow:
    0 8px 0 rgba(0,0,0,0.7),
    0 18px 35px rgba(0,0,0,0.9),
    0 0 20px rgba(255,180,80,0.3),
    inset 0 2px 0 rgba(255,255,255,0.25);
}

.btn-rpg-menu.green:hover{
  box-shadow:
    0 8px 0 rgba(0,0,0,0.7),
    0 18px 35px rgba(0,0,0,0.9),
    0 0 20px rgba(120,255,120,0.35),
    inset 0 2px 0 rgba(255,255,255,0.25);
}

.btn-rpg-menu.teal:hover{
  box-shadow:
    0 8px 0 rgba(0,0,0,0.7),
    0 18px 35px rgba(0,0,0,0.9),
    0 0 20px rgba(95,230,255,0.36),
    inset 0 2px 0 rgba(255,255,255,0.25);
}

.btn-rpg-menu.red:hover{
  box-shadow:
    0 8px 0 rgba(0,0,0,0.7),
    0 18px 35px rgba(0,0,0,0.9),
    0 0 20px rgba(255,110,90,0.28),
    inset 0 2px 0 rgba(255,255,255,0.25);
}

.btn-rpg-menu.purple{
  background:
    linear-gradient(rgba(90,40,160,0.72), rgba(40,15,80,0.96)),
    url('./textura.png');
}

.btn-rpg-menu.purple:hover{
  box-shadow:
    0 8px 0 rgba(0,0,0,0.7),
    0 18px 35px rgba(0,0,0,0.9),
    0 0 22px rgba(180,130,255,0.38),
    inset 0 2px 0 rgba(255,255,255,0.25);
}

.btn-rpg-menu.gold{
  background:
    linear-gradient(rgba(190,150,70,0.78), rgba(95,65,20,0.96)),
    url('./textura.png');
  border-color:#f0d28f;
}

.btn-rpg-menu.gold:hover{
  box-shadow:
    0 8px 0 rgba(0,0,0,0.7),
    0 18px 35px rgba(0,0,0,0.9),
    0 0 24px rgba(255,215,120,0.45),
    inset 0 2px 0 rgba(255,255,255,0.3);
}

/* ===== CLICK ===== */
.btn-rpg-menu:active{
  transform: translateY(5px);

  box-shadow:
    0 2px 0 rgba(0,0,0,0.6),
    inset 0 4px 10px rgba(0,0,0,0.8);
}

/* ================= MAIN CONTENT ================= */
.main-container {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 30px;
  padding: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.seo-explore-section{
  max-width:1200px;
  margin:6px auto 52px;
  padding:0 40px;
}

.seo-explore-header{
  margin-bottom:18px;
}

.seo-explore-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:10px;
  color:#f0d28f;
  text-transform:uppercase;
  letter-spacing:0.12em;
  font-size:0.74rem;
  font-weight:800;
}

.seo-explore-header h2{
  margin:0 0 10px;
  font-family:'Cinzel', serif;
  font-size:clamp(28px, 3vw, 40px);
  color:#fff4c8;
}

.seo-explore-header p{
  margin:0;
  max-width:820px;
  color:#c8d5e8;
  line-height:1.75;
}

.seo-explore-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
}

.seo-explore-card{
  display:block;
  padding:18px 18px 20px;
  border-radius:16px;
  border:1px solid rgba(230,195,106,0.22);
  background:linear-gradient(180deg, rgba(21,34,56,0.95), rgba(11,22,38,0.98));
  box-shadow:0 18px 34px rgba(0,0,0,0.36);
  text-decoration:none;
  transition:transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.seo-explore-card:hover{
  transform:translateY(-3px);
  border-color:rgba(230,195,106,0.42);
  box-shadow:0 22px 40px rgba(0,0,0,0.44);
}

.seo-explore-card strong{
  display:block;
  margin-bottom:8px;
  font-family:'Cinzel', serif;
  font-size:20px;
  color:#fff1c3;
}

.seo-explore-card span{
  display:block;
  color:#aebdd1;
  line-height:1.65;
}

.home-social-section{
  max-width:1200px;
  margin:0 auto 56px;
  padding:0 40px;
}

.home-social-shell{
  position:relative;
  overflow:hidden;
  display:grid;
  gap:22px;
  padding:26px;
  border-radius:24px;
  border:1px solid rgba(230,195,106,0.24);
  background:
    radial-gradient(circle at top right, rgba(230,195,106,0.18), transparent 30%),
    radial-gradient(circle at left center, rgba(95,180,255,0.12), transparent 34%),
    linear-gradient(180deg, rgba(17,31,52,0.97), rgba(8,18,33,0.99));
  box-shadow:0 26px 44px rgba(0,0,0,0.34);
}

.home-social-shell::before{
  content:"";
  position:absolute;
  inset:0;
  background:url('./textura.png');
  opacity:0.08;
  pointer-events:none;
}

.home-social-shell > *{
  position:relative;
  z-index:1;
}

.home-social-copy{
  max-width:780px;
}

.home-social-kicker{
  display:inline-flex;
  align-items:center;
  margin-bottom:10px;
  color:#f0d28f;
  text-transform:uppercase;
  letter-spacing:0.14em;
  font-size:0.74rem;
  font-weight:900;
}

.home-social-copy h2{
  margin:0 0 10px;
  font-family:'Cinzel', serif;
  font-size:clamp(28px, 3vw, 40px);
  color:#fff3c6;
}

.home-social-copy p{
  margin:0;
  color:#c8d5e8;
  line-height:1.75;
}

.home-social-highlights{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}

.home-social-highlights span{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(230,195,106,0.18);
  background:rgba(9,20,38,0.52);
  color:#e6eed8;
  font-size:12px;
  font-weight:700;
  letter-spacing:0.03em;
}

.home-social-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:16px;
}

.home-social-card{
  display:grid;
  gap:10px;
  min-height:196px;
  padding:18px;
  border-radius:18px;
  border:1px solid rgba(230,195,106,0.18);
  background:linear-gradient(180deg, rgba(19,35,58,0.96), rgba(10,18,33,0.98));
  text-decoration:none;
  box-shadow:0 16px 30px rgba(0,0,0,0.24);
  transition:transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.home-social-card:hover{
  transform:translateY(-4px);
  border-color:rgba(230,195,106,0.42);
  box-shadow:0 22px 36px rgba(0,0,0,0.34);
}

.home-social-icon{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:16px;
  color:#fff3d3;
  border:1px solid rgba(230,195,106,0.18);
  background:linear-gradient(135deg, rgba(240,210,143,0.18), rgba(95,180,255,0.10));
}

.home-social-icon svg{
  width:22px;
  height:22px;
  display:block;
}

.home-social-card strong{
  display:block;
  font-family:'Cinzel', serif;
  font-size:21px;
  color:#fff1c3;
}

.home-social-card small{
  color:#7fc6d9;
  font-size:12px;
  font-weight:800;
  letter-spacing:0.04em;
}

.home-social-card span:last-of-type{
  color:#adc0d8;
  line-height:1.65;
}

.home-social-card em{
  margin-top:auto;
  color:#f0d28f;
  font-style:normal;
  font-size:12px;
  font-weight:800;
  letter-spacing:0.08em;
  text-transform:uppercase;
}

.home-social-card--x .home-social-icon{ background:linear-gradient(135deg, rgba(255,255,255,0.18), rgba(120,150,220,0.16)); }
.home-social-card--instagram .home-social-icon{ background:linear-gradient(135deg, rgba(255,171,86,0.28), rgba(182,87,255,0.22)); }
.home-social-card--facebook .home-social-icon{ background:linear-gradient(135deg, rgba(104,160,255,0.30), rgba(63,100,195,0.24)); }
.home-social-card--tiktok .home-social-icon{ background:linear-gradient(135deg, rgba(107,255,229,0.22), rgba(255,120,173,0.20)); }

.section-title {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  border-bottom: 1px solid rgba(230,195,106,0.18);
  padding-bottom: 12px;
  margin-bottom: 22px;
  font-size: 22px;
  letter-spacing: 0.6px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.news-card {
  background: linear-gradient(180deg, rgba(21,34,56,0.98), rgba(18,29,47,0.98));
  border: 1px solid rgba(70,92,122,0.55);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 18px 38px rgba(0,0,0,0.28);
}

.news-card:hover {
  border-color: rgba(230,195,106,0.45);
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.4);
}

.news-card a{
  display:block;
}

.news-img {
  position: relative;
  height: 180px;
  background-color: #222;
  background-size: cover;
  background-position: center;
}

.news-img::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(to top, rgba(8,12,20,0.78), rgba(8,12,20,0.05)),
    radial-gradient(circle at top right, rgba(255,214,120,0.18), transparent 28%);
}

.news-body {
  padding: 18px 18px 20px;
}

.news-category{
  display:inline-flex;
  align-items:center;
  padding:5px 12px;
  border-radius:999px;
  font-size:11px;
  font-weight:700;
  letter-spacing:1px;
  text-transform:uppercase;
  margin-bottom:12px;
}

.news-category.shop{
  background:linear-gradient(135deg, #8a4a2c, #6d3a1b);
  color:#ffd8a0;
  border:1px solid #a66a3a;
}

.news-category.event{
  background:linear-gradient(135deg, #2c6d4a, #1b4a2c);
  color:#a0ffd0;
  border:1px solid #3a8a5a;
}

.news-category.info{
  background:linear-gradient(135deg, #4a3a6d, #2c1b4a);
  color:#d0a0ff;
  border:1px solid #6a4a8a;
}

.news-body h3 {
  font-family: 'Cinzel', serif;
  font-size: 20px;
  line-height: 1.2;
  margin: 0 0 12px;
  color: #fff;
}

.news-summary{
  margin:0 0 14px;
  font-size:13px;
  color:#aab3bf;
  line-height:1.6;
}

.news-meta {
  font-size: 12px;
  color: #8f9aad;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.news-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#f0ddb0;
  font-size:13px;
  font-weight:700;
}

.guides-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.guide-item {
  background: linear-gradient(135deg, rgba(21,34,56,0.98), rgba(27,45,71,0.98));
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(70,92,122,0.45);
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 14px 26px rgba(0,0,0,0.2);
}

.guide-item:hover {
  transform: translateX(6px);
  border-color: rgba(230,195,106,0.38);
  box-shadow: 0 18px 34px rgba(0,0,0,0.3);
}

.guide-icon {
  width: 42px; height: 42px;
  background: radial-gradient(circle at 30% 30%, rgba(255,240,190,0.18), rgba(14,18,28,0.9));
  border-radius: 12px;
  border: 1px solid rgba(230,195,106,0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 15px;
}

.guide-text{
  flex:1;
}

.guide-text h4 {
  margin: 0 0 4px 0;
  font-size: 14px;
  color:#fff2c8;
}

.guide-text p {
  margin: 0;
  font-size: 12px;
  color: #aab3bf;
}

.guide-badge{
  display:inline-flex;
  align-items:center;
  padding:5px 9px;
  border-radius:999px;
  background:rgba(230,195,106,0.12);
  color:#f2deb0;
  font-size:10px;
  font-weight:700;
  letter-spacing:0.7px;
  text-transform:uppercase;
}

.almanax-card{
  position:relative;
  overflow:hidden;
  margin-bottom:18px;
  padding:18px;
  border-radius:16px;
  border:1px solid rgba(230,195,106,0.32);
  background:
    radial-gradient(circle at 85% 0%, rgba(230,195,106,0.18), transparent 36%),
    linear-gradient(180deg, rgba(23,38,62,0.98), rgba(15,24,40,0.98));
  box-shadow:0 18px 36px rgba(0,0,0,0.34);
}

.almanax-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:url('./textura.png');
  opacity:0.08;
  pointer-events:none;
}

.almanax-card > *{
  position:relative;
  z-index:1;
}

/* ── Cabecera: título + retrato Meridiá ── */
.almanax-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
  margin-bottom:16px;
}

.almanax-label{
  display:inline-flex;
  gap:8px;
  align-items:center;
  margin-bottom:6px;
  color:var(--gold);
  font-size:11px;
  font-weight:800;
  letter-spacing:0.9px;
  text-transform:uppercase;
}

.almanax-header h3{
  margin:0 0 4px;
  font-family:'Cinzel', serif;
  font-size:20px;
  line-height:1.15;
  color:#fff2c8;
}

.almanax-date{
  margin:0;
  color:#aeb9c8;
  font-size:12px;
  text-transform:capitalize;
}

/* Retrato del santo (Meridiá) */
.almanax-meridia-wrap{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  flex-shrink:0;
}
.almanax-meridia-wrap img{
  width:72px;
  height:72px;
  border-radius:50%;
  object-fit:cover;
  object-position:top center;
  border:2px solid rgba(230,195,106,0.3);
  background:rgba(10,18,32,0.6);
}
.almanax-meridia-wrap img[hidden]{ display:none; }
.almanax-meridia-name{
  font-size:11px;
  color:var(--gold);
  font-weight:700;
  text-align:center;
  max-width:80px;
  line-height:1.2;
}

/* ── Bloque de ofrenda ── */
.almanax-offering{
  margin:0 0 14px;
  padding:12px 14px;
  border-radius:12px;
  background:rgba(6,12,22,0.4);
  border:1px solid rgba(230,195,106,0.14);
}
.almanax-offering-row{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.almanax-offering-label{
  font-size:12px;
  color:#aeb9c8;
}
.almanax-offering-label strong{
  color:#f0ddb0;
}
.almanax-offering-item{
  display:flex;
  align-items:center;
  gap:12px;
}
.almanax-icon-wrap{
  width:52px;
  height:52px;
  flex-shrink:0;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:radial-gradient(circle at 35% 25%, rgba(255,245,210,0.16), rgba(6,12,22,0.9));
  border:1px solid rgba(230,195,106,0.2);
}
.almanax-icon-wrap img{
  width:40px;
  height:40px;
  object-fit:contain;
}
.almanax-icon-wrap img[hidden]{ display:none; }
.almanax-value{
  color:#f8e6bd;
  font-size:15px;
  font-weight:700;
}

/* ── Bonus ── */
.almanax-bonus{
  padding:10px 14px;
  border-radius:10px;
  background:rgba(80,140,80,0.08);
  border:1px solid rgba(120,200,120,0.14);
  margin-bottom:4px;
}
.almanax-bonus-label{
  display:block;
  margin-bottom:6px;
  color:#a8dba0;
  font-size:11px;
  font-weight:800;
  letter-spacing:0.7px;
  text-transform:uppercase;
}
.almanax-bonus-label i{
  margin-right:4px;
}
.almanax-bonus p{
  margin:0;
  color:#d9e0ea;
  font-size:13px;
  line-height:1.55;
}
.almanax-bonus a{
  color:#a8dba0;
  font-size:13px;
  text-decoration:none;
}
.almanax-bonus a:hover{ text-decoration:underline; }

/* ── Enlace pie ── */
.almanax-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  margin-top:12px;
}

.almanax-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#f0ddb0;
  font-size:12px;
  font-weight:700;
  text-decoration:none;
  opacity:0.8;
  transition:opacity 0.2s;
}
.almanax-link:hover{ opacity:1; }

.almanax-link--primary{
  padding:8px 10px;
  border:1px solid rgba(230,195,106,0.28);
  border-radius:10px;
  background:rgba(230,195,106,0.09);
  opacity:1;
}

.almanax-card[data-state="loading"] .almanax-status::after{
  content:"...";
}

.almanax-card[data-state="error"]{
  border-color:rgba(230,120,100,0.38);
}

@media (max-width: 900px){
  .main-container { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .seo-explore-grid { grid-template-columns: 1fr 1fr; }
  .home-social-grid { grid-template-columns: 1fr 1fr; }

  .menu-rpg{
    flex-wrap: wrap;
    justify-content: center;
  }

  .btn-rpg-menu{
    min-width: 180px;
  }

  .hero {
    height: clamp(320px, 42vw, 380px);
  }
}

@media (max-width: 600px){
  header:not([data-shared-header="true"]) {
    grid-template-columns: 1fr;
    height: auto;
    padding: 10px;
    gap: 10px;
  }

  header:not([data-shared-header="true"]) nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    height: 320px;
  }

  .hero-content {
    transform: translateY(0);
    padding: 1.2rem;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: clamp(1rem, 1.3vw, 1.35rem);
    font-weight: 700;
    margin-bottom: 1.8rem;
    color: #fff7df;
    text-shadow:
      0 2px 4px rgba(0,0,0,0.6),
      0 6px 14px rgba(0,0,0,0.35);
    background: rgba(15, 10, 6, 0.28);
    padding: 10px 18px;
    border: 1px solid rgba(255, 222, 150, 0.14);
    border-radius: 10px;
    backdrop-filter: blur(2px);
  }

  .hero-buttons a {
    display: inline-block;
    min-width: 210px;
    padding: 16px 32px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 220, 120, 0.4);
    box-shadow: 0 4px 10px rgba(0,0,0,0.35);
    transition: transform 0.2s ease, filter 0.2s ease;
  }
  .seo-explore-section{
    padding:0 16px;
  }
  .home-social-section{
    padding:0 16px;
  }
  .seo-explore-grid{
    grid-template-columns:1fr;
  }
  .home-social-grid{
    grid-template-columns:1fr;
  }
.hero-buttons a::before{
  content:"";
  position:absolute;
  top:0;
  left:10%;
  width:80%;
  height:3px;

  background: linear-gradient(to right, transparent, #fff6c2, transparent);
  opacity:0.6;
}
  .menu-rpg{
    flex-direction: column;
    align-items: center;
  }

  .btn-rpg-menu{
    width: 100%;
    max-width: 320px;
  }
  
  
}
/* TODO tu CSS anterior */

/* ===== EFECTO ACTIVACION RPG ===== */
.btn-rpg-menu.active{
  transform: scale(0.96);
  filter: brightness(1.2);

  box-shadow:
    0 0 30px rgba(255,215,120,0.6),
    inset 0 0 20px rgba(255,215,120,0.4);
}

.btn-rpg-menu.active::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;

  background: radial-gradient(circle, rgba(255,215,120,0.4), transparent 60%);
  animation: pulseWave 0.5s ease;
}

@keyframes pulseWave{
  0%{
    transform: scale(0.8);
    opacity:1;
  }
  100%{
    transform: scale(1.4);
    opacity:0;
  }
}
