/* Nelwy: portada de versiones y páginas informativas. Compatible con main.css.
 * Reglas limitadas a .NelwyShowcase y sus descendientes; no cambia estilos del resto del CMS. */
.NelwyShowcase { --nelwy-gold: #f8b700; --nelwy-gold-soft: #f4d17b; --nelwy-ink: #0d1118; --nelwy-border: rgba(248,183,0,.27); color: #dedbd4; }
.NelwyShowcase *, .NelwyShowcase *::before, .NelwyShowcase *::after { box-sizing: border-box; }
.NelwyShowcase a { text-decoration: none; }
.NelwyShowcase button { font: inherit; }
.NelwyShowcase a:focus-visible, .NelwyShowcase button:focus-visible { outline: 2px solid var(--nelwy-gold); outline-offset: 4px; }
.NelwyShowcase .NelwyShowcase-eyebrow { color: var(--nelwy-gold); font-size: 12px; font-family: 'Open Sans',Arial,sans-serif; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; line-height: 1.5; }
.NelwyShowcase .NelwyShowcase-linkButton { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 27px; color: #1c170e; font-weight: 700; font-family: 'Open Sans',Arial,sans-serif; text-transform: uppercase; letter-spacing: .04em; font-size: 12px; background: linear-gradient(180deg,#f7d78b,#c78d27); border: 1px solid #f7d78b; transition: filter .2s,transform .2s; cursor: pointer; }
.NelwyShowcase .NelwyShowcase-linkButton:hover { filter: brightness(1.15); transform: translateY(-1px); color: #1c170e; }
.NelwyShowcase .NelwyShowcase-linkButton--secondary { background: rgba(12,17,22,.64); color: #f5e8cb; border-color: #a38b62; }
.NelwyShowcase .NelwyShowcase-linkButton--secondary:hover { color: #fff; }
.NelwyShowcase .NelwyShowcase-linkButton--disabled { background: #343333; color: #b0ada6; border-color: #555; cursor: not-allowed; pointer-events: none; }

/* Portada, solo afecta a .NelwyHome. */
.NelwyHome .NelwyMasthead { position: relative; isolation: isolate; overflow: hidden; background: #080c12; min-height: 750px; display: flex; }
.NelwyMasthead-scenes, .NelwyMasthead-scene, .NelwyMasthead-video, .NelwyMasthead-shade { position:absolute; inset:0; height:100%; width:100%; }
.NelwyMasthead-scenes { z-index:0; background:#071019; pointer-events:none; }
.NelwyMasthead-scene { opacity: 0; background-position: center; background-size: cover; transition: opacity .75s ease; }
.NelwyMasthead-scene.is-active { opacity: 1; }
.NelwyMasthead-scene--forever { background-image: url('../resources/versions/forever.webp'); background-color: #1b292b; }
.NelwyMasthead-scene--mopclassic { background-image: url('../resources/versions/mopclassic.webp'); background-color: #1d2f26; }
.NelwyMasthead-scene--wotlk { background-image: url('../resources/orig_2034_wide.png'); background-color: #172a3c; }
.NelwyMasthead-video { opacity: 0; object-fit:cover; object-position:center 35%; transition: opacity .8s ease; }
.NelwyMasthead[data-version="wotlk"] .NelwyMasthead-video.is-playing { opacity: .8; }
.NelwyMasthead-shade { background:linear-gradient(90deg,rgba(2,8,14,.94) 0%,rgba(3,10,16,.79) 33%,rgba(2,8,12,.36) 75%,rgba(2,8,12,.43) 100%),linear-gradient(0deg,#080e14 1%,transparent 38%,rgba(0,0,0,.2) 100%); }
.NelwyMasthead-content { position:relative; z-index:1; display:flex; flex-direction:column; justify-content:space-between; width:100%; max-width:1560px; margin:0 auto; padding:172px 25px 0; min-width:0; }
.NelwyMasthead-copy { max-width:690px; min-height: 440px; padding: 8px 0 70px; }
.NelwyHome .NelwyMasthead-title { margin: 20px 0 18px; font-size: clamp(44px, 5.4vw, 86px); line-height: 1.02; font-weight: 600; text-shadow: 0 3px 25px rgba(0,0,0,.82); }
.NelwyMasthead-title span { display:block; color:#fff; }
.NelwyMasthead-title strong { display:block; color: var(--nelwy-gold-soft); font-weight: 600; }
.NelwyMasthead-lead { font-size: clamp(19px,2vw,26px); line-height:1.42; margin:0 0 12px; color:#efefeb; text-shadow:0 2px 12px #000; }
.NelwyMasthead-description { margin:0 0 22px; max-width:570px; color:#c3c6c7; font-size:15px; line-height:1.75; text-shadow:0 2px 10px #000; }
.NelwyMasthead-tags, .NelwySubpage-facts { display:flex; flex-wrap:wrap; gap:10px; margin:0 0 24px; }
.NelwyMasthead-tags span, .NelwySubpage-facts span { display:inline-flex; padding:7px 11px; font-family:'Open Sans',Arial,sans-serif; font-size:12px; color:#f5e9d0; border:1px solid rgba(245,207,123,.3); background:rgba(7,13,19,.65); }
.NelwyMasthead-actions { display:flex; flex-wrap:wrap; gap:12px; }
.NelwyHome .NelwyMasthead .NelwyShowcase-button { text-align:center; border:none; background:transparent; min-width:180px; }
.NelwyHome .NelwyMasthead .NelwyShowcase-button .Button-outer { display:block; background:linear-gradient(180deg,#f9d98f,#be8525); border:1px solid #f0c978; }
.NelwyHome .NelwyMasthead .NelwyShowcase-button .Button-inner { display:block; padding:15px 24px; }
.NelwyHome .NelwyMasthead .NelwyShowcase-button .Button-label { font-size:12px; letter-spacing:.03em; font-family:'Open Sans',Arial,sans-serif; color:#15130f; font-weight:800; text-shadow:none; text-transform:uppercase; }
.NelwyHome .NelwyMasthead .NelwyShowcase-button--outline .Button-outer { background:rgba(5,13,20,.58); border:1px solid #bba57c; }
.NelwyHome .NelwyMasthead .NelwyShowcase-button--outline .Button-label { color:#f6e9d5; }
.NelwyHome .NelwyMasthead .NelwyShowcase-button:hover .Button-outer { filter:brightness(1.13); }
.NelwyMasthead-switcher { display:grid; grid-template-columns: repeat(3,minmax(0,1fr)); position:relative; width:100%; border-top:1px solid rgba(245,205,129,.33); background:rgba(5,10,14,.75); }
.NelwyMasthead-tab { position:relative; text-align:left; padding:24px 25px 23px; min-width:0; min-height:115px; color:#dbd6c9; background:rgba(5,11,17,.5); border:0; border-right:1px solid rgba(246,225,173,.14); cursor:pointer; transition:background .25s ease; }
.NelwyMasthead-tab:last-child { border-right:0; }
.NelwyMasthead-tab::before { content:""; position:absolute; inset:-2px 0 auto; height:3px; background:transparent; transition:background .2s; }
.NelwyMasthead-tab:hover, .NelwyMasthead-tab.is-active { background:rgba(50,43,30,.57); }
.NelwyMasthead-tab.is-active::before { background: var(--nelwy-gold-soft); }
.NelwyMasthead-tab small { display:block; color:#a29d92; font-size:10px; font-weight:700; letter-spacing:.18em; }
.NelwyMasthead-tab span { display:block; margin:7px 0 2px; color:#efede7; font-size:clamp(15px,1.4vw,20px); font-family:'Semplicita Pro',Georgia,serif; }
.NelwyMasthead-tab em { display:block; color:#b8b9b9; font-size:12px; font-style:normal; }
.NelwyMasthead-tab.is-active span { color:var(--nelwy-gold-soft); }

.NelwyHomeNews { position:relative; margin:0; padding:54px 20px 85px; }
.NelwyHomeNews .NelwyHomeNews-content { position:relative; max-width:1400px; margin:0 auto; }
.NelwyHomeNews-heading { display:flex; justify-content:space-between; align-items:flex-end; gap:22px; margin:0 0 25px; }
.NelwyHomeNews-heading h2 { margin:6px 0 0; color:#f1eadb; font-size:clamp(24px,3vw,35px); }
.NelwyHomeNews-heading a { color:var(--nelwy-gold); white-space:nowrap; padding:8px 0; }
.NelwyHomeNews-heading a:hover { color:#fff; }
.NelwyHomeNews .Grid { position:relative; }
.NelwyHomeNews .ArticleTile { border:1px solid rgba(245,198,103,.18); }

/* Páginas: mantienen el fondo con textura Pane--dirtDark, y la navegación común de Nelwy. */
.NelwySubpage, .NelwyDownloads { background:#0d0d0e; }
.NelwySubpage-container { width:calc(100% - 48px); max-width:1220px; margin:0 auto; }
.NelwySubpage-hero { position:relative; isolation:isolate; min-height:555px; display:flex; background-color:#121a1e; background-position:center; background-size:cover; }
.NelwySubpage-hero--forever { background-image:url('../resources/versions/forever.webp'); }
.NelwySubpage-hero--mopclassic { background-image:url('../resources/versions/mopclassic.webp'); }
.NelwySubpage-hero--wotlk { background-image:url('../resources/orig_2034_wide.png'); }
.NelwySubpage-hero--downloads { background-image:linear-gradient(110deg,rgba(11,18,24,.15),rgba(11,18,24,.15)),url('../resources/orig_2034_wide.png'); }
.NelwySubpage-heroShade { position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,rgba(4,9,13,.94),rgba(6,13,20,.64) 56%,rgba(6,13,20,.25)),linear-gradient(0deg,#0b0d0e,transparent 42%); }
.NelwySubpage-heroContent { padding-top:194px; padding-bottom:65px; }
.NelwySubpage-hero h1 { margin:12px 0 20px; max-width:850px; line-height:1.05; font-size:clamp(38px,5vw,70px); color:#fff; font-weight:600; text-shadow:0 3px 24px rgba(0,0,0,.8); }
.NelwySubpage-hero h1 span { color:var(--nelwy-gold-soft); }
.NelwySubpage-lead { max-width:710px; margin:0 0 20px; color:#e5e0d5; font-size:clamp(17px,1.85vw,23px); line-height:1.55; }
.NelwySubpage-facts { margin:22px 0; }
.NelwySubpage-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:23px; }
.NelwySubpage-section { position:relative; padding:70px 0 90px; }
.NelwySubpage-section .Pane-content { position:relative; }
.NelwySubpage-section--compact { background:radial-gradient(ellipse at 50% 0,#1f2124,#0b0d0e 72%); border-top:1px solid #30291d; }
.NelwySubpage-heading { max-width:920px; margin:12px 0; font-family:'Semplicita Pro',Georgia,serif; font-size:clamp(29px,3vw,43px); font-weight:500; color:#f3e6cd; }
.NelwySubpage-intro { margin:0 0 33px; max-width:820px; font-size:16px; line-height:1.8; color:#bdbdbd; }
.NelwySubpage-intro a { color:var(--nelwy-gold); }
.NelwySubpage-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin-top:29px; }
.NelwySubpage-card { padding:26px 24px 31px; min-width:0; background:linear-gradient(160deg,rgba(34,38,42,.94),rgba(13,18,22,.95)); border:1px solid var(--nelwy-border); border-radius:4px; }
.NelwySubpage-card small { font-family:'Open Sans',Arial,sans-serif; color:var(--nelwy-gold); font-weight:700; font-size:12px; letter-spacing:.18em; }
.NelwySubpage-card h3 { font-family:'Semplicita Pro',Georgia,serif; font-weight:500; font-size:24px; margin:16px 0 10px; color:#f7f1e5; }
.NelwySubpage-card p { color:#b9b9b9; line-height:1.75; margin:0; font-size:14px; }
.NelwySubpage-bottom { padding:52px 0; background:linear-gradient(125deg,#241b12,#10151c); border-top:1px solid rgba(248,183,0,.25); }
.NelwySubpage-bottomInner { display:flex; gap:24px; justify-content:space-between; align-items:center; }
.NelwySubpage-bottom h2 { margin:9px 0; font-size:30px; font-weight:500; color:#faf1db; }
.NelwySubpage-bottom p { max-width:700px; margin:0; color:#b9b5ad; line-height:1.7; }
.NelwySubpage-bottom .NelwyShowcase-linkButton { flex-shrink:0; }

/* Descargas y comandos copiables */
.NelwyDownloads-cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:19px; margin-top:32px; }
.NelwyDownloads-card { background:linear-gradient(150deg,rgba(26,33,40,.98),rgba(11,16,21,.98)); border:1px solid var(--nelwy-border); border-radius:4px; padding:27px 29px; scroll-margin-top:105px; }
.NelwyDownloads-card--wide { grid-column:1/-1; }
.NelwyDownloads-cardHead { display:flex; align-items:center; gap:17px; margin-bottom:17px; }
.NelwyDownloads-cardHead>span { flex:none; display:grid;place-items:center;width:54px;height:54px;border:1px solid rgba(248,183,0,.55); color:#f3d184;font:600 29px 'Semplicita Pro',Georgia,serif;background:rgba(248,183,0,.1); }
.NelwyDownloads-card h3 { font-size:24px; font-family:'Semplicita Pro',Georgia,serif; font-weight:500; margin:0 0 3px; color:#fff5df; }
.NelwyDownloads-card small { color:#b7b7b7; }
.NelwyDownloads-card p, .NelwyDownloads-card li { color:#c8c5bf; line-height:1.8; font-size:15px; }
.NelwyDownloads-card ol { padding-left:21px; margin:12px 0 22px; }
.NelwyDownloads-card a:not(.NelwyShowcase-linkButton) { color:var(--nelwy-gold); text-decoration:none; }
.NelwyDownloads-card a:not(.NelwyShowcase-linkButton):hover { color:#fff; }
.NelwyDownloads-actions { display:flex; align-items:center; flex-wrap:wrap; gap:14px; }
.NelwyShowcase .NelwyShowcase-code { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; max-width:800px; margin:16px 0 21px; padding:13px 17px; background:#090e14; border:1px solid rgba(248,183,0,.27); }
.NelwyShowcase .NelwyShowcase-code code { font-family:Consolas,Monaco,monospace; color:#f7d88a; font-size:14px; overflow-wrap:anywhere; }
.NelwyShowcase .NelwyShowcase-code button { flex-shrink:0; padding:7px 15px; color:#f8b700; background:transparent; border:1px solid #bd8a2c; border-radius:2px; cursor:pointer; }
.NelwyShowcase .NelwyShowcase-code button:hover { background:#ca921f; color:#0f1214; }
.NelwyDownloads .NelwySubpage-hero--downloads { min-height:515px; }

@media(max-width: 970px) {
 .NelwyMasthead-content { padding-top:115px; }
 .NelwySubpage-heroContent { padding-top:138px; }
 .NelwyHome .NelwyMasthead { min-height:660px; }
}
@media(max-width: 700px) {
 .NelwyHome .NelwyMasthead { min-height:0; }
 .NelwyMasthead-content { padding:113px 0 0; }
 .NelwyMasthead-copy { padding:16px 21px 35px; min-height:0; }
 .NelwyHome .NelwyMasthead-title { font-size:clamp(41px,11vw,61px); }
 .NelwyMasthead-shade { background:linear-gradient(90deg,rgba(2,8,14,.9),rgba(2,8,14,.55)),linear-gradient(0deg,#080e14,transparent 42%); }
 .NelwyMasthead-switcher { grid-template-columns: repeat(3,minmax(0,1fr)); }
 .NelwyMasthead-tab { padding:15px 10px 16px; min-height:85px; }
 .NelwyMasthead-tab small { letter-spacing:.02em; font-size:9px; }
 .NelwyMasthead-tab span { margin:6px 0 0; font-size:13px; }
 .NelwyMasthead-tab em { display:none; }
 .NelwyHomeNews { padding:34px 14px 52px; }
 .NelwyHomeNews-heading { align-items:flex-start; flex-direction:column; gap:8px; }
 .NelwySubpage-heroContent { padding-top:119px; padding-bottom:50px; }
 .NelwySubpage-hero, .NelwyDownloads .NelwySubpage-hero--downloads { min-height:465px; }
 .NelwySubpage-container { width:calc(100% - 36px); }
 .NelwySubpage-section { padding:47px 0 60px; }
 .NelwySubpage-cards, .NelwyDownloads-cards { grid-template-columns:1fr; }
 .NelwyDownloads-card--wide { grid-column:auto; }
 .NelwyDownloads-card { padding:21px 18px; }
 .NelwySubpage-bottomInner { flex-direction:column; align-items:flex-start; }
}
@media(prefers-reduced-motion:reduce) {
 .NelwyShowcase *, .NelwyShowcase *::before, .NelwyShowcase *::after { transition:none !important; animation:none !important; }
 .NelwyMasthead-video { display:none; }
}
