:root{
  --max-width:1200px;
  --glass-01: rgba(255,255,255,0.04);
  --glass-02: rgba(10,14,26,0.52);
  --accent-a: #6ef0ff;
  --accent-b: #ff6ec7;
  --text: #e6eef5;
  --muted: #9aa7b2;
  --card-shadow: 0 30px 90px rgba(2,6,12,0.6);
  --radius: 14px;
  --wa-green: #25D366;
}

/* Reset */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color:var(--text);
  background:
    radial-gradient(600px 300px at 6% 12%, rgba(110,110,255,0.04), transparent 6%),
    radial-gradient(800px 380px at 92% 84%, rgba(255,110,199,0.03), transparent 8%),
    linear-gradient(180deg,#041024 0%, #08122a 100%);
  -webkit-font-smoothing:antialiased;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:20px;
}

/* animated overlay */
.bg-anim {
  position:fixed; inset:0; z-index:0; pointer-events:none; mix-blend-mode:screen;
  background: linear-gradient(90deg, rgba(110,240,255,0.03), rgba(255,110,199,0.02));
  animation: bgShift 18s linear infinite;
}
@keyframes bgShift { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }

#glass-overlay{
  position:fixed; inset:0; z-index:1; pointer-events:none;
  background: linear-gradient(180deg, rgba(255,255,255,0.002), rgba(0,0,0,0.12));
  mix-blend-mode: overlay;
}

/* canvas sits behind UI */
#bg-canvas, #vfx-canvas{ position:fixed; inset:0; z-index:0; pointer-events:none; }

/* Header */
.site-header{
  width:100%; max-width:var(--max-width); margin-top:18px;
  display:flex; justify-content:space-between; align-items:center;
  padding:10px 20px; z-index:2;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  border-radius:18px; box-shadow: var(--card-shadow); backdrop-filter: blur(8px);
}
.brand{display:flex; align-items:center; gap:14px}
.logo-wrap img{width:64px; height:auto; border-radius:10px; box-shadow:0 18px 60px rgba(0,0,0,0.6)}
.title-wrap .site-title{font-size:18px; font-weight:800; letter-spacing:0.8px}
.title-wrap .site-sub{font-size:12px; color:var(--muted); margin-top:4px}
.top-nav .nav-item{margin-left:14px; color:var(--muted); text-decoration:none; padding:8px 10px; border-radius:10px; font-weight:700}
.top-nav .nav-item.active{background: linear-gradient(90deg,var(--accent-a),var(--accent-b)); color:#041018;}

/* Layout */
.container{width:100%; max-width:var(--max-width); display:grid; grid-template-columns:1fr 380px; gap:20px; padding:0 18px; z-index:2}

/* Cards & glass */
.card{background: linear-gradient(180deg, rgba(255,255,255,0.014), rgba(255,255,255,0.006)); border-radius:var(--radius); padding:12px; box-shadow:var(--card-shadow); border:1px solid rgba(255,255,255,0.03)}
.glass{background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); border:1px solid rgba(255,255,255,0.03);}

/* Player */
.player-card{padding:18px; border-radius:18px}
.player-overlay-row{display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:10px}
.video-title-group{display:flex; align-items:center; gap:12px}
.video-title{font-size:18px; font-weight:800;}
.video-badge{background:linear-gradient(90deg,var(--accent-a),var(--accent-b)); padding:6px 10px; border-radius:18px; font-weight:800; color:#041018; font-size:12px}

.player-frame{position:relative; border-radius:12px; overflow:hidden; aspect-ratio:16/9; background:linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.12)); box-shadow: 0 30px 100px rgba(2,8,20,0.6)}
.player-edge{position:relative; inset:0; width:100%; height:100%}
.player-frame video{width:100%; height:100%; object-fit:cover; display:block; background:#000}
.player-fallback{position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:var(--muted); font-size:14px; pointer-events:none}
.player-ui{position:absolute; left:12px; bottom:12px; z-index:3; color:var(--text); text-shadow:0 8px 24px rgba(0,0,0,0.6)}
.player-title{font-weight:800; background: rgba(255,255,255,0.03); padding:6px 10px; border-radius:8px}

/* subtle blur over player for 'empañado' effect */
.glass-blur{
  backdrop-filter: blur(6px) saturate(120%);
  box-shadow: inset 0 0 80px rgba(6,10,22,0.45);
  border-radius:12px;
}

/* Promo */
.promo-live{margin-top:18px; text-align:center}
.promo-pill{display:inline-block; padding:8px 14px; border-radius:999px; background:linear-gradient(90deg,var(--accent-a),var(--accent-b)); color:#041018; font-weight:800}
.promo-sub{font-size:13px; color:var(--muted); margin-top:6px}

/* Extend grid */
.extend-grid{display:grid; grid-template-columns:1fr 340px; gap:18px; margin-top:16px}
.vfx-card{position:relative; min-height:220px; overflow:hidden; padding:0}
.vfx-content{position:relative; padding:22px; z-index:2}
.feeds-card .feeds-head{font-weight:800; margin-bottom:8px}
.feeds-list{display:flex; flex-direction:column; gap:8px}
.feed-link{color:var(--accent-a); font-weight:700; text-decoration:none}

/* News grid */
.latest-title{font-size:16px; font-weight:800; margin-bottom:12px}
.news-grid{display:grid; gap:14px}
.news-card{display:flex; gap:12px; align-items:flex-start; padding:12px; border-radius:12px; transition:transform .18s, box-shadow .18s; cursor:pointer; border:1px solid rgba(255,255,255,0.03)}
.news-card:hover{transform:translateY(-6px); box-shadow:0 30px 80px rgba(10,30,60,0.55)}
.news-thumb{width:150px; height:90px; border-radius:10px; background-size:cover; background-position:center; flex-shrink:0}
.news-meta{flex:1; display:flex; flex-direction:column; gap:6px}
.news-title{font-weight:800; font-size:15px}
.news-desc{font-size:13px; color:var(--muted); line-height:1.4}
.news-tag{display:inline-block; padding:4px 8px; border-radius:999px; background:rgba(255,255,255,0.02); color:var(--muted); font-size:12px}

/* WhatsApp contact card */
.contact-card{display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:18px; padding:14px; border-radius:12px; border:1px solid rgba(255,255,255,0.03); box-shadow:0 18px 60px rgba(0,0,0,0.45)}
.contact-left{flex:1}
.wa-badge{display:inline-block; background:var(--wa-green); color:#041018; font-weight:800; padding:6px 10px; border-radius:8px; margin-bottom:8px}
.contact-title-strong{font-weight:800; margin-bottom:6px}
.contact-meta{font-size:13px; color:var(--muted)}
.contact-right{text-align:center}
.wa-button{display:inline-flex; align-items:center; gap:10px; background:linear-gradient(90deg, #ffffff 6%, rgba(255,255,255,0.06) 100%); padding:10px 12px; border-radius:10px; color:#041018; text-decoration:none; font-weight:800; box-shadow:0 12px 40px rgba(37,211,102,0.08)}
.wa-button svg{filter: drop-shadow(0 6px 18px rgba(37,211,102,0.12));}
.wa-number{font-weight:900}
.wa-hint{font-size:12px;color:var(--muted); margin-top:8px}

/* Buttons / CTAs */
.link-button{display:inline-flex; align-items:center; gap:8px; padding:10px 14px; border-radius:12px; background:linear-gradient(90deg,var(--accent-a),var(--accent-b)); color:#041018; font-weight:800; text-decoration:none}
.icon-cta{display:inline-block; padding:8px 12px; border-radius:10px; background:rgba(255,255,255,0.02); color:var(--muted); text-decoration:none; font-weight:700}

/* Player fallback styles */
.pf-inner{display:flex;flex-direction:column;gap:10px;align-items:center}
.pf-title{font-weight:900;color:var(--text);font-size:18px}
.pf-desc{color:var(--muted);font-size:13px}
.pf-actions{display:flex;gap:10px}

/* Liquid sides canvases */
#liquid-left, #liquid-right {
  position: fixed;
  top: 0;
  height: 100%;
  width: 22%;
  max-width: 420px;
  min-width: 160px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.96;
  mix-blend-mode: screen;
  transition: opacity 220ms ease, transform 220ms ease;
}
#liquid-left { left: 0; }
#liquid-right { right: 0; }
@media (max-width: 980px){ #liquid-left, #liquid-right { display: none; } }

/* compat banner */
.compat-banner{
  position:fixed; left:50%; transform:translateX(-50%); bottom:18px; z-index:9999;
  background:rgba(6,10,18,0.88); color:var(--text); padding:12px 16px; border-radius:10px;
  box-shadow:0 18px 60px rgba(0,0,0,0.6); font-size:13px; display:flex; gap:12px; align-items:center;
}
.compat-banner button{background:transparent;border:1px solid rgba(255,255,255,0.06); color:var(--muted); padding:6px 10px; border-radius:8px; cursor:pointer}
@media(max-width:600px){ .compat-banner{ font-size:12px; padding:10px } }

/* Footer */
.site-footer{width:100%; max-width:var(--max-width); display:flex; justify-content:space-between; padding:20px; margin:28px 0; color:var(--muted)}
.footer-note{font-size:13px}
.rights{font-weight:700}

/* Responsive */
@media (max-width:980px){
  .container{grid-template-columns:1fr; padding:0 14px}
  .extend-grid{grid-template-columns:1fr; gap:12px}
  .site-header{flex-direction:column; gap:8px; align-items:flex-start}
  .logo-wrap img{width:56px}
  #glass-overlay{display:none}
}





