/* Registro web — aislado de Inicio, Ladder y el resto de las páginas. */
body.gr-register-page{
  background:
    radial-gradient(ellipse at 2% 61%,rgba(175,100,25,.10),transparent 27%),
    radial-gradient(ellipse at 96% 70%,rgba(183,103,23,.10),transparent 26%),
    radial-gradient(ellipse at 52% -12%,rgba(50,80,107,.28),transparent 58%),
    #04111d!important;
  color:#f2f5fa;
}
body.gr-register-page .topbar.topbarPlayerStyle{background:#050c16!important;border-bottom:1px solid #9b792d6b;box-shadow:none;backdrop-filter:none}
.gr-reg{--gold:#f5c86d;--gold-light:#ffe2a0;--ink:#071522;font-family:Inter,"Segoe UI",Arial,sans-serif;min-height:calc(100svh - 70px);padding:34px 20px 46px;position:relative;overflow:hidden}
.gr-reg *,.gr-reg *::before,.gr-reg *::after{box-sizing:border-box}
.gr-reg a:focus-visible,.gr-reg button:focus-visible,.gr-reg input:focus-visible{outline:2px solid #ffe4a1;outline-offset:3px}
.gr-reg::before,.gr-reg::after{content:"";position:absolute;z-index:0;pointer-events:none;height:290px;width:250px;opacity:.23;background:radial-gradient(ellipse at center,#db8531 0%,#8d5c2040 22%,transparent 68%);filter:blur(48px)}
.gr-reg::before{left:-150px;top:33%}.gr-reg::after{right:-150px;bottom:7%}
.gr-reg__shell{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,46%) minmax(0,54%);width:min(1360px,100%);min-height:745px;margin:0 auto;border:1.5px solid #e6ad4a;border-radius:26px;background:#051421;box-shadow:0 16px 60px #000a,inset 0 0 1px #ffe4b1;overflow:hidden}
.gr-reg__visual{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:flex-end;min-height:745px;overflow:hidden;background:linear-gradient(180deg,#12263a,#061522 62%);border-right:1px solid #6b7a8f69}
/* Menos zoom sobre el caballero y el castillo: vemos el ancho íntegro del banner.
   Conserva el mismo panel; la zona inferior se funde con el fondo oscuro. */
.gr-reg__art{position:absolute;z-index:-2;top:0;left:0;width:100%;height:60%;object-fit:contain;object-position:center top}
.gr-reg__visual::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#02070b0d 0%,#04122208 36%,#061523ee 61%,#061522 76%);pointer-events:none}
/* Bajamos el castillo y el texto hacia el final de la ilustración. */
.gr-reg__visual-content{position:relative;z-index:1;padding:0 37px 14px}
.gr-reg__castle-separator{display:flex;align-items:flex-end;justify-content:center;gap:17px;height:61px;max-width:440px;margin:0 auto 14px}
.gr-reg__castle-rule{height:1px;margin-bottom:9px;flex:1 1 0;background:linear-gradient(90deg,transparent,#e2ac55)}
.gr-reg__castle-rule:last-child{transform:rotate(180deg)}
.gr-reg__castle{width:87px;height:56px;display:grid;place-items:end center;flex:none;overflow:visible;filter:drop-shadow(0 3px 5px #000a)}
.gr-reg__castle .gh-hero__castle{width:100%;height:100%;display:block;overflow:visible;filter:drop-shadow(0 0 6px #d9a74b52)}
.gr-reg__community-heading{display:flex;align-items:center;justify-content:center;gap:10px;margin:0 0 25px}
.gr-reg__community-heading h2{color:var(--gold-light);font:900 clamp(30px,3.4vw,45px)/.98 Georgia,"Times New Roman",serif;letter-spacing:.01em;text-transform:uppercase;text-align:center;text-shadow:0 2px 5px #000e;max-width:420px;min-width:0;margin:0}
.gr-reg__laurel-wrap{display:block;flex:0 0 43px;width:43px;height:86px;align-self:center;filter:drop-shadow(0 0 3px #d89d3b55)}
.gr-reg__laurel-wrap--right{transform:scaleX(-1)}
.gr-reg__laurel{display:block;width:100%;height:100%;overflow:visible}
.gr-reg__laurel-stem{fill:none;stroke:#e3a949;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.gr-reg__laurel-leaves{fill:#dca449;stroke:#ffcf70;stroke-width:.7;stroke-linejoin:round}
.gr-reg__benefits{display:flex;flex-direction:column;gap:19px;max-width:520px;margin:0 auto}
.gr-reg__benefit{display:grid;grid-template-columns:58px minmax(0,1fr);gap:15px;align-items:center}
.gr-reg__benefit-icon{display:grid;place-items:center;width:55px;height:55px;border:1.5px solid #f4bf59;border-radius:50%;background:#0b1d2bc9;box-shadow:0 0 12px #e8a83a28;color:#f9c363}
.gr-reg__benefit-icon svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.gr-reg__benefit strong{display:block;color:#ffe6b4;font-size:clamp(15px,1.25vw,20px);font-weight:900;line-height:1.2}
.gr-reg__benefit p{margin:3px 0 0;color:#ebeff5;font-size:clamp(12px,1vw,15px);line-height:1.35}
.gr-reg__content{padding:30px clamp(28px,4.2vw,67px) 38px;display:flex;flex-direction:column;justify-content:center;min-width:0;background:radial-gradient(ellipse at center 35%,#10233859,transparent 70%),linear-gradient(180deg,#061522,#051320)}
.gr-reg__heading{margin:0 auto 19px;width:100%;max-width:640px}
.gr-reg__heading-line{display:flex;align-items:center;gap:12px;justify-content:center;white-space:nowrap}
.gr-reg__heading-line span.gr-reg__rule{height:1px;flex:1 1 40px;min-width:13px;background:linear-gradient(90deg,transparent,#b58738)}
.gr-reg__heading-line span.gr-reg__rule:last-child{transform:rotate(180deg)}
.gr-reg__diamond{color:#f6c469;flex:none;font-size:11px;line-height:1}
.gr-reg__heading h1{font-size:clamp(34px,3.2vw,48px);font-weight:900;letter-spacing:-.035em;line-height:1.13;margin:0;color:#fff2d8;text-align:center}
.gr-reg__heading p{font-size:clamp(13px,1vw,17px);line-height:1.38;color:#e6ebf4;text-align:center;margin:13px auto 0;max-width:560px}
.gr-reg__form{display:flex;flex-direction:column;gap:17px;max-width:620px;width:100%;margin:0 auto}
.gr-reg__field{min-width:0}
.gr-reg__label{display:flex;align-items:center;gap:12px;margin:0 0 10px;color:#f8f9fc;font-size:clamp(15px,1.14vw,18px);font-weight:800}
.gr-reg__label svg{width:22px;height:22px;flex:none;fill:none;stroke:#f4c15d;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.gr-reg__control{position:relative;display:flex;align-items:center}
.gr-reg__control input{display:block;min-height:46px;width:100%;padding:12px 18px;font-size:clamp(14px,1vw,17px);line-height:1.3;color:#fff;border-radius:14px;border:1px solid #60788e;background:linear-gradient(180deg,#071524,#030c17);box-shadow:inset 0 1px 2px #0008;outline:0;transition:border-color .2s,box-shadow .2s}
.gr-reg__control input::placeholder{color:#949cab;opacity:1}
.gr-reg__control input:hover{border-color:#8197a7}
.gr-reg__control input:focus{border-color:#efbd64;box-shadow:0 0 0 3px #f6b75124}
.gr-reg__control--password input{padding-right:57px}
.gr-reg__toggle{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:42px;height:39px;display:grid;place-items:center;border:0;background:transparent;color:#e1ebf8;cursor:pointer;border-radius:9px}
.gr-reg__toggle:hover{color:#ffd589;background:#ffffff0e}
.gr-reg__toggle svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.gr-reg__toggle .gr-reg__eye-off{display:none}
.gr-reg__toggle[aria-pressed="true"] .gr-reg__eye-open{display:none}
.gr-reg__toggle[aria-pressed="true"] .gr-reg__eye-off{display:block}
.gr-reg__strength{display:flex;align-items:center;gap:12px;margin:9px 4px 0;color:#dce6f3;font-size:13px;line-height:1.2}
.gr-reg__strength-label{white-space:nowrap}
.gr-reg__strength-bars{display:flex;gap:5px;flex:1 1 120px;max-width:230px}
.gr-reg__strength-bars span{height:8px;flex:1;border-radius:99px;background:#415366;box-shadow:inset 0 1px 2px #0006;transition:background .2s}
.gr-reg__strength[data-level="1"] .gr-reg__strength-bars span:nth-child(1){background:#f3b952}
.gr-reg__strength[data-level="2"] .gr-reg__strength-bars span:nth-child(-n+2){background:#f2bf5a}
.gr-reg__strength[data-level="3"] .gr-reg__strength-bars span{background:#42d68c}
.gr-reg__strength-value{min-width:51px;text-align:right;font-weight:800;color:#aab9c9}
.gr-reg__strength[data-level="1"] .gr-reg__strength-value{color:#f5c363}
.gr-reg__strength[data-level="2"] .gr-reg__strength-value{color:#ffdc88}
.gr-reg__strength[data-level="3"] .gr-reg__strength-value{color:#4ee59a}
.gr-reg__terms{display:flex;align-items:center;gap:14px;margin:2px 0 3px;font-size:clamp(14px,1vw,16px);color:#ecf1f8;line-height:1.4}
.gr-reg__terms input{appearance:none;display:grid;place-items:center;width:24px;height:24px;margin:0;flex:none;border-radius:6px;border:1.5px solid #c0d0e0;background:#05111d;cursor:pointer}
.gr-reg__terms input:checked{background:#e7b759;border-color:#ffe0a0}
.gr-reg__terms input:checked::after{content:"";height:11px;width:6px;transform:rotate(45deg) translate(-1px,-1px);border:solid #17202a;border-width:0 3px 3px 0}
.gr-reg__terms a,.gr-reg__login a{color:#ffd16d;text-decoration:underline;font-weight:800;text-underline-offset:2px}
.gr-reg__terms a:hover,.gr-reg__login a:hover{color:#fff0c0}
.gr-reg__submit{min-height:55px;width:100%;padding:11px 18px;margin-top:3px;border:1px solid #ffe09c;border-radius:999px;background:linear-gradient(180deg,#ffe29a,#ffc84e);color:#18120a;box-shadow:0 0 21px #fbb6477c,0 6px 14px #0006;font-size:clamp(17px,1.45vw,22px);font-weight:950;text-transform:uppercase;cursor:pointer;transition:filter .2s,transform .2s,box-shadow .2s}
.gr-reg__submit:hover{filter:brightness(1.06);transform:translateY(-1px);box-shadow:0 0 27px #fbb647a6,0 7px 15px #0008}
.gr-reg__login{margin:18px auto 0;text-align:center;font-size:clamp(13px,1vw,16px);color:#e8ebf3}
.gr-reg__login a{margin-left:9px}
.gr-reg__error{border:1px solid #dd7777;border-radius:11px;background:#62262c4f;color:#ffe2e1;font-size:14px;padding:11px 14px;margin:0 0 12px;line-height:1.35}
.gr-reg__error:empty{display:none}
@media(max-width:1080px){
  .gr-reg__shell{grid-template-columns:44% 56%}
  .gr-reg__visual-content{padding:0 24px 17px}
  .gr-reg__community-heading h2{font-size:clamp(28px,3.5vw,38px)}
  .gr-reg__wreath{font-size:43px}
  .gr-reg__benefit{gap:9px}
  .gr-reg__benefit strong{font-size:16px}
  .gr-reg__benefit p{font-size:12px}
  .gr-reg__content{padding-inline:28px}
  .gr-reg__heading h1{font-size:38px}
}
@media(max-width:760px){
  .gr-reg{padding:20px 12px 30px}
  .gr-reg__shell{display:flex;flex-direction:column;min-height:0;border-radius:19px}
  .gr-reg__visual{border-right:0;border-bottom:1px solid #7f67478a;min-height:0}
   .gr-reg__art{height:360px;object-fit:cover;object-position:center top}
  .gr-reg__visual::after{background:linear-gradient(180deg,#04101a15 0%,#061523ce 240px,#061522 350px)}
  .gr-reg__visual-content{padding:250px 22px 26px}
  .gr-reg__castle-separator{margin-bottom:11px;height:48px}
  .gr-reg__castle{width:72px;height:47px}
  .gr-reg__community-heading{margin-bottom:18px}
  .gr-reg__community-heading h2{font-size:clamp(27px,6vw,37px);max-width:330px}
  .gr-reg__benefits{gap:11px}
  .gr-reg__benefit{grid-template-columns:43px minmax(0,1fr);gap:12px}
  .gr-reg__benefit-icon{height:42px;width:42px}
  .gr-reg__benefit-icon svg{height:23px;width:23px}
  .gr-reg__benefit strong{font-size:14px}
  .gr-reg__benefit p{font-size:12px}
  .gr-reg__content{padding:27px 19px 35px}
  .gr-reg__heading h1{font-size:clamp(28px,7vw,40px)}
  .gr-reg__heading p{font-size:14px}
  .gr-reg__form{gap:15px}
}
@media(max-width:410px){
  .gr-reg__visual-content{padding-inline:15px}
  .gr-reg__laurel-wrap{width:27px;flex-basis:27px;height:61px}
  .gr-reg__community-heading{gap:5px}
  .gr-reg__strength{flex-wrap:wrap;gap:7px 8px}
  .gr-reg__strength-bars{flex:1 1 120px}
  .gr-reg__terms{font-size:13px}
  .gr-reg__content{padding-inline:13px}
}
@media(prefers-reduced-motion:reduce){
  .gr-reg__submit,.gr-reg__control input,.gr-reg__strength-bars span{transition:none}
}
