/* ==========================================================================
   ALTUGUES NETWORK · portada inmersiva (una pantalla)
   Sin versiones, sin puertos y sin tienda por scroll. Estilo cinematográfico.
   ========================================================================== */
:root{
  --bg:#070a11; --white:#fff8ee; --muted:#a49a8c; --muted-2:#6f675c;
  --amber:#ffc45c; --orange:#ff9f1c; --orange-2:#ff6b35; --red:#ff5d6c; --green:#3ddc97;
  --font:'Inter','Segoe UI',system-ui,-apple-system,sans-serif;
  --display:'Space Grotesk','Segoe UI',system-ui,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html,body{min-height:100%}
body{min-width:320px;overflow-x:hidden;margin:0;background:var(--bg);color:var(--white);font-family:var(--font);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
a{text-decoration:none;color:inherit}
button{font:inherit}
code{font-family:var(--display),ui-monospace,monospace}
h1,h2,strong{font-family:var(--display),sans-serif}
::selection{background:var(--orange);color:#1b1204}

/* ---------- fondo ---------- */
.scene{position:fixed;inset:0;z-index:-1;overflow:hidden;background:
  radial-gradient(circle at 50% 4%,rgba(255,159,28,.16),transparent 38rem),
  radial-gradient(circle at 12% 30%,rgba(255,107,53,.08),transparent 30rem),
  radial-gradient(circle at 88% 34%,rgba(255,196,92,.07),transparent 30rem),
  linear-gradient(180deg,#0d111b 0,#080b12 52%,#04060a 100%)}
.light{left:50%;top:-420px;width:1120px;height:900px;position:absolute;transform:translateX(-50%);border-radius:50%;background:radial-gradient(ellipse at center,rgba(255,159,28,.17),transparent 64%);filter:blur(28px)}
.caustics{position:absolute;inset:-35px -12% auto;height:300px;opacity:.09;background:repeating-radial-gradient(ellipse at 50% 0,transparent 0 26px,rgba(255,196,92,.22) 27px 29px,transparent 30px 54px);transform:scaleY(.42);animation:caustics 12s linear infinite alternate;mask-image:linear-gradient(#000 5%,transparent 100%)}
.shimmer{position:absolute;inset:0;opacity:.1;background:linear-gradient(112deg,transparent 0 36%,rgba(255,159,28,.07) 42%,transparent 48%),linear-gradient(73deg,transparent 0 55%,rgba(255,107,53,.06) 61%,transparent 68%);filter:blur(10px);animation:shimmer 10s ease-in-out infinite alternate}
.aura{position:absolute;border-radius:50%;filter:blur(90px);opacity:.16;animation:float 12s ease-in-out infinite alternate}
.aura-a{width:560px;height:560px;left:-200px;top:18%;background:#ff6b35}
.aura-b{width:520px;height:520px;right:-190px;bottom:8%;background:#ff9f1c;animation-delay:-6s}
@keyframes caustics{from{transform:translateX(-2%) scaleY(.42)}to{transform:translateX(2%) scaleY(.47)}}
@keyframes shimmer{from{transform:translateX(-1.5%);opacity:.08}to{transform:translateX(1.5%);opacity:.15}}
@keyframes float{to{transform:translateY(-40px) scale(1.08)}}

/* terreno pixelado y brasas */
.minecraft-scene{position:absolute;inset:auto 0 0;height:34vh;min-height:260px;opacity:.28;filter:saturate(.9)}
.minecraft-scene::after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,transparent,rgba(2,5,10,.62) 72%,#02050a)}
.terrain{position:absolute;bottom:0;height:104px;background:#2b1c10;box-shadow:44px -22px 0 #2f1d0f,88px -44px 0 #35210f,132px -22px 0 #2b1c10,176px 0 0 #261a10,220px -22px 0 #33200f,264px -44px 0 #3a2411,308px -22px 0 #291c11,352px 0 0 #24180e}
.terrain-a{left:-44px;width:420px}.terrain-b{right:-22px;width:430px;transform:scaleX(-1)}
.ruin{position:absolute;bottom:78px;display:flex;align-items:flex-end}
.ruin-left{left:7%}.ruin-right{right:7%;transform:scaleX(-1)}
.ruin i{display:block;width:34px;height:34px;background:#3b2a17;box-shadow:inset 0 0 0 1px rgba(255,196,92,.04)}
.ruin i:nth-child(2),.ruin i:nth-child(4){height:68px}.ruin i:nth-child(3){height:102px;background:#46301a}.ruin i:nth-child(5){height:34px}
.kelp{position:absolute;bottom:80px;width:12px;border-radius:6px 6px 0 0;background:linear-gradient(#9a5a12,#5e3608);transform-origin:bottom;animation:sway 5s ease-in-out infinite alternate}
.k1{left:3%;height:110px}.k2{left:23%;height:76px;animation-delay:-2s}.k3{right:22%;height:92px;animation-delay:-1s}.k4{right:4%;height:128px;animation-delay:-3s}
@keyframes sway{from{transform:rotate(-2deg)}to{transform:rotate(4deg)}}
.ember{position:absolute;width:var(--s);height:var(--s);left:var(--x);bottom:-20px;border-radius:50%;background:var(--orange);box-shadow:0 0 8px var(--orange);opacity:0;animation:ember var(--d) linear infinite;animation-delay:var(--delay)}
@keyframes ember{0%{opacity:0;transform:translateY(0)}12%{opacity:.55}85%{opacity:.22}100%{opacity:0;transform:translateY(-105vh) translateX(20px)}}

/* ---------- escenario ---------- */
.landing-main{min-height:100vh;display:grid;place-items:center}
.hero-stage{position:relative;width:min(100%,760px);min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:62px 20px 28px}
.stage-glow{position:absolute;width:560px;height:560px;top:50%;left:50%;transform:translate(-50%,-58%);border-radius:50%;background:radial-gradient(circle,rgba(255,159,28,.11),transparent 62%);filter:blur(26px);pointer-events:none}

.logo-wrap{position:relative;width:172px;height:172px;margin:0 auto 6px;display:grid;place-items:center;animation:logoIn .8s cubic-bezier(.2,.8,.2,1) both}
@keyframes logoIn{from{opacity:0;transform:translateY(18px) scale(.92)}to{opacity:1;transform:none}}
.logo-halo{position:absolute;inset:0;border-radius:50%;background:radial-gradient(circle,rgba(255,159,28,.16),transparent 66%);box-shadow:0 0 90px rgba(255,159,28,.12)}
.logo-wrap img{position:relative;z-index:3;width:142px;height:142px;object-fit:contain;filter:drop-shadow(0 18px 34px rgba(0,0,0,.55)) drop-shadow(0 0 24px rgba(255,159,28,.25));animation:breathe 5s ease-in-out infinite}
@keyframes breathe{50%{transform:translateY(-6px) scale(1.025)}}
.orbit{position:absolute;left:50%;top:50%;border-radius:50%;border:1px solid rgba(255,196,92,.18);transform:translate(-50%,-50%) rotateX(68deg)}
.orbit-1{width:230px;height:230px;animation:spin 14s linear infinite}
.orbit-2{width:280px;height:280px;border-color:rgba(255,107,53,.12);animation:spin 22s linear infinite reverse}
.orbit::after{content:"";position:absolute;top:-3px;left:50%;width:6px;height:6px;margin-left:-3px;border-radius:50%;background:var(--amber);box-shadow:0 0 12px var(--amber)}
@keyframes spin{to{transform:translate(-50%,-50%) rotateX(68deg) rotate(360deg)}}

.network{margin:10px 0 8px;color:#e8a94e;font-size:10.5px;font-weight:900;letter-spacing:.24em;animation:rise .7s .1s both}
.network span{margin-inline:6px;color:#6b5335}
@keyframes rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
h1{margin:0;font-size:clamp(58px,10vw,88px);line-height:.92;letter-spacing:-.062em;animation:rise .7s .16s both}
.brand-gradient{display:inline-block;background:linear-gradient(92deg,#ffd98a 0,#ffc45c 18%,#ff9f1c 44%,#ff7a2f 68%,#ff5f45 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 0 26px rgba(255,159,28,.18))}
.tagline{margin:14px 0 0;color:#e9e0d3;font-size:clamp(15px,2vw,18px);font-weight:650;letter-spacing:.005em;animation:rise .7s .22s both}

.modes{margin-top:16px;display:flex;justify-content:center;gap:8px;flex-wrap:wrap;animation:rise .7s .28s both}
.mode{min-height:29px;padding:0 12px;display:inline-flex;align-items:center;gap:7px;border-radius:999px;font-size:11.5px;font-weight:850;letter-spacing:.06em;color:#e8d5b7;border:1px solid rgba(255,196,92,.16);background:rgba(28,21,12,.52);backdrop-filter:blur(8px)}
.mode-live{color:#fff0d6;border-color:rgba(255,196,92,.3);background:rgba(52,34,12,.6)}
.mode-live .mode-dot{width:6px;height:6px;border-radius:50%;background:var(--green);box-shadow:0 0 10px rgba(61,220,151,.5)}
.mode-vip{color:#f0c8ff;border-color:rgba(188,140,255,.22);background:rgba(58,30,78,.35)}

.live-status{width:max-content;max-width:100%;margin:22px auto 0;min-height:36px;padding:0 15px;display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid rgba(255,196,92,.18);border-radius:999px;color:#b8aa96;background:rgba(18,14,9,.62);backdrop-filter:blur(12px);font-size:11.5px;letter-spacing:.02em;animation:rise .7s .34s both}
.live-status strong{color:#f6e7d0;font-weight:800}
.status-dot{width:7px;height:7px;flex:0 0 auto;border-radius:50%;background:#7c8d99}
.status-dot.online{background:var(--green);box-shadow:0 0 0 4px rgba(61,220,151,.09),0 0 14px rgba(61,220,151,.42)}
.status-dot.offline{background:var(--red);box-shadow:0 0 0 4px rgba(255,93,108,.09)}
.divider{color:#5c4c38}

/* ---------- conexión ---------- */
.connect-box{position:relative;width:min(100%,520px);overflow:hidden;margin-top:22px;padding:4px 20px 12px;border:1px solid rgba(255,159,28,.32);border-radius:19px;background:linear-gradient(145deg,rgba(34,24,12,.94),rgba(13,15,23,.94));box-shadow:0 26px 70px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.04);backdrop-filter:blur(18px);animation:rise .7s .4s both}
.connect-box::before{content:"";position:absolute;width:200px;height:200px;right:-100px;top:-120px;border-radius:50%;background:radial-gradient(circle,rgba(255,159,28,.14),transparent 68%);pointer-events:none}
.connect-label{padding:11px 2px 7px;color:#e8a94e;font-size:9.5px;font-weight:900;letter-spacing:.18em;text-align:left}
.connect-row{min-height:76px;display:flex;align-items:center;gap:14px;text-align:left}
.connect-icon{width:46px;height:46px;flex:0 0 46px;display:grid;place-items:center;border-radius:13px;border:1px solid rgba(255,196,92,.2);background:rgba(255,159,28,.07);color:var(--amber)}
.connect-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.connect-info{min-width:0;flex:1;display:grid;gap:3px}
.connect-info small{color:#9c8a72;font-size:9px;font-weight:850;letter-spacing:.14em}
.connect-info code{color:#fff8ee;font-size:clamp(19px,4.4vw,25px);font-weight:750;letter-spacing:.045em;overflow-wrap:anywhere}
.copy-btn{flex:0 0 auto;min-width:136px;min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid rgba(255,196,92,.4);border-radius:12px;color:#ffdf9e;background:rgba(32,21,8,.6);font-size:11.5px;font-weight:850;letter-spacing:.02em;cursor:pointer;transition:.18s}
.copy-btn svg{width:16px;height:16px;fill:none;stroke:var(--amber);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.copy-btn:hover{transform:translateY(-2px);color:#1b1204;background:linear-gradient(135deg,#ffd98a,#ff9f1c);border-color:transparent;box-shadow:0 12px 30px rgba(255,159,28,.22)}
.copy-btn:hover svg{stroke:#1b1204}

/* ---------- botones de acción ---------- */
.actions{margin-top:18px;width:min(100%,520px);display:grid;grid-template-columns:1fr 1.3fr;gap:12px;animation:rise .7s .46s both}
.action{min-height:60px;padding:0 18px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:11px;border-radius:15px;font-size:15px;font-weight:850;transition:transform .18s,box-shadow .18s}
.action:hover{transform:translateY(-3px)}
.action>svg:first-child{width:20px;height:20px}
.discord{color:#fff;background:linear-gradient(135deg,#7885ff,#5865f2 64%,#4351d8);box-shadow:0 14px 32px rgba(88,101,242,.2)}
.discord .discord-icon{fill:currentColor}
.shop{color:#1b1204;background:linear-gradient(135deg,#fff0c9 0,#ffcb6b 38%,#ff9f1c 100%);box-shadow:0 14px 34px rgba(255,159,28,.22)}
.shop .shop-icon,.arrow{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.arrow{width:16px!important;height:16px!important;opacity:.72}

.feature-strip{margin-top:22px;display:flex;align-items:center;justify-content:center;gap:22px;flex-wrap:wrap;color:#a89b89;font-size:11px;font-weight:700;letter-spacing:.06em;animation:rise .7s .52s both}
.feature-strip span{display:inline-flex;align-items:center;gap:7px}
.feature-strip i{width:5px;height:5px;border-radius:50%;background:var(--amber);box-shadow:0 0 8px rgba(255,196,92,.6)}

/* ---------- pie ---------- */
.hero-footer{margin-top:auto;padding-top:26px;display:grid;gap:7px;justify-items:center}
.hero-footer small{color:#8a7d6d;font-size:11px}
.hero-footer a{color:#c49b63;transition:.18s}
.hero-footer a:hover{color:var(--amber)}
.legal-note{max-width:540px;margin:2px auto 0;color:#766d61;line-height:1.5;text-align:center;font-size:10.5px}

.quick-nav{position:fixed;z-index:70;top:14px;right:16px;display:flex;gap:6px}
.quick-nav a{padding:6px 10px;border:1px solid rgba(255,196,92,.15);border-radius:9px;color:#b9a68c;background:rgba(10,10,14,.55);backdrop-filter:blur(8px);font-size:11px;font-weight:800;transition:.18s}
.quick-nav a:hover{color:#ffd489;border-color:rgba(255,196,92,.38)}

/* ---------- aviso de copia ---------- */
.copy-notice{position:fixed;z-index:80;right:22px;bottom:22px;width:min(430px,calc(100vw - 32px));min-height:112px;padding:16px 48px 16px 16px;display:grid;grid-template-columns:43px 1fr;align-items:start;gap:13px;overflow:hidden;border:1px solid rgba(255,196,92,.26);border-radius:17px;color:#fff4e2;background:linear-gradient(135deg,rgba(36,24,10,.98),rgba(13,13,19,.98));box-shadow:0 24px 70px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,.03);backdrop-filter:blur(18px);opacity:0;transform:translateY(20px) scale(.98);pointer-events:none;transition:opacity .22s,transform .22s}
.copy-notice.show{opacity:1;transform:translateY(0) scale(1);pointer-events:auto}
.notice-icon{width:43px;height:43px;display:grid;place-items:center;border:1px solid rgba(61,220,151,.22);border-radius:13px;color:var(--green);background:rgba(61,220,151,.08)}
.notice-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.notice-content{min-width:0;display:grid}
.notice-kicker{color:var(--amber);font-size:10px;font-weight:900;letter-spacing:.12em}
.notice-content strong{margin-top:2px;color:#fff8ec;font-size:16px;line-height:1.35}
.notice-content code{margin-top:5px;color:#ffd489;font-size:13px;overflow-wrap:anywhere}
.notice-content small{margin-top:5px;color:#b09b80;font-size:11px;line-height:1.45}
.notice-close{position:absolute;top:10px;right:10px;width:30px;height:30px;display:grid;place-items:center;border:0;border-radius:9px;color:#b19a7c;background:none;cursor:pointer}
.notice-close:hover{color:#fff;background:rgba(255,255,255,.05)}
.notice-close svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.notice-progress{position:absolute;left:0;bottom:0;height:2px;width:100%;transform-origin:left;background:linear-gradient(90deg,var(--amber),var(--orange-2))}
.copy-notice.show .notice-progress{animation:progress 7s linear forwards}
@keyframes progress{from{transform:scaleX(1)}to{transform:scaleX(0)}}

@media(max-width:620px){
  .hero-stage{padding:56px 14px 20px;min-height:100svh}
  .logo-wrap{width:148px;height:148px}.logo-wrap img{width:124px;height:124px}
  .orbit-1{width:198px;height:198px}.orbit-2{width:240px;height:240px}
  .network{margin-top:6px;font-size:9px;letter-spacing:.18em}
  h1{font-size:clamp(50px,15vw,66px)}
  .tagline{font-size:14.5px}
  .live-status{margin-top:18px;font-size:10px;padding-block:8px;flex-wrap:wrap}
  .connect-box{margin-top:18px;padding-inline:14px}
  .connect-row{min-height:92px;gap:10px;flex-wrap:wrap;padding:12px 0}
  .connect-icon{width:40px;height:40px;flex-basis:40px}
  .connect-info code{font-size:18px}
  .copy-btn{width:100%;min-width:0;min-height:42px}
  .copy-btn svg{display:none}
  .actions{grid-template-columns:1fr}
  .feature-strip{gap:12px;font-size:10px}
  .minecraft-scene{height:28vh;opacity:.18}.ruin-left{left:-5%}.ruin-right{right:-5%}
  .copy-notice{right:12px;left:12px;bottom:12px;width:auto}
  .quick-nav{top:8px;right:8px}.quick-nav a{padding:5px 8px;font-size:10px}
}
@media(prefers-reduced-motion:reduce){*{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}}
