
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:#fff;
  font-family:Arial,sans-serif;
  background:
    radial-gradient(circle at 15% 10%,rgba(255,70,180,.16),transparent 30%),
    radial-gradient(circle at 85% 20%,rgba(150,70,255,.14),transparent 28%),
    radial-gradient(circle at 70% 75%,rgba(255,90,180,.10),transparent 24%),
    linear-gradient(135deg,#08060d,#16081f 45%,#09070e);
  background-attachment:fixed;
}
a{color:inherit;text-decoration:none}
.hidden{display:none!important}

.site-logo{height:42px;width:auto;object-fit:contain}
.large-logo{height:170px;max-width:70vw}
.weather-site-logo{max-height:120px;max-width:220px;object-fit:contain}

.intro{
  position:fixed;inset:0;z-index:9999;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;
  background:
    radial-gradient(circle at 30% 35%,rgba(255,77,190,.35),transparent 28%),
    radial-gradient(circle at 75% 35%,rgba(131,63,255,.35),transparent 30%),
    linear-gradient(135deg,#100015,#270542,#090710);
}
.intro-logo{font-size:clamp(3rem,10vw,8rem);font-weight:1000;letter-spacing:.22em}
.intro p{color:#f4dfff;opacity:.9;margin:10px 0 22px}

.topbar{
  position:sticky;top:0;z-index:50;
  display:flex;align-items:center;justify-content:space-between;
  gap:18px;padding:14px 4.5%;
  background:rgba(10,7,14,.92);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.brand{
  display:flex;align-items:center;gap:10px;
  font-weight:900;letter-spacing:.2em;color:#ffce58;
  flex:0 0 auto;
}
.topbar nav{
  display:flex;align-items:center;gap:10px;
  flex-wrap:wrap;justify-content:flex-end;
}
.topbar nav a{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:40px;padding:0 15px;
  border-radius:999px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.14);
  color:#fff;
  font-weight:700;
  transition:transform .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease, color .22s ease;
  position:relative;
  overflow:hidden;
}
.topbar nav a::before{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.12),transparent);
  transform:translateX(-120%);
  transition:transform .45s ease;
}
.topbar nav a:hover::before{transform:translateX(120%)}
.topbar nav a:hover{
  transform:translateY(-2px);
  background:rgba(255,255,255,.12);
  border-color:rgba(255,255,255,.28);
  box-shadow:0 8px 22px rgba(0,0,0,.22);
}
.topbar nav a.active{
  background:linear-gradient(135deg,#ffffff,#f8e5ff);
  color:#1b1020;
  border-color:#fff;
  box-shadow:0 10px 30px rgba(255,255,255,.14);
}
.topbar nav a[data-section="envivo"]{
  background:linear-gradient(135deg,#8b0e16,#d5212d);
  border-color:#ff7272;
  color:#fff;
  box-shadow:0 0 0 1px rgba(255,255,255,.08) inset;
  animation:livePulse 2s infinite;
}
.topbar nav a[data-section="envivo"].active{
  background:linear-gradient(135deg,#ff3a44,#ff6770);
  color:#fff;
}
@keyframes livePulse{
  0%,100%{box-shadow:0 0 0 0 rgba(255,58,68,.32)}
  50%{box-shadow:0 0 0 10px rgba(255,58,68,0)}
}

main{padding:44px 5% 60px}
.page-section{display:none;animation:fadeUp .35s ease}
.active-section{display:block}
@keyframes fadeUp{
  from{opacity:0;transform:translateY(10px)}
  to{opacity:1;transform:translateY(0)}
}

.hero{
  min-height:560px;
  display:flex;align-items:center;
  padding:40px 0 10px;
}
.hero-content{max-width:980px}
.eyebrow{
  display:inline-block;
  color:#ff8bd2;
  font-weight:900;
  letter-spacing:.18em;
  margin-bottom:10px;
  text-transform:uppercase;
  font-size:.86rem;
}
h1{
  margin:0 0 14px;
  font-size:clamp(3rem,8vw,6.5rem);
  line-height:.95;
}
h2{font-size:clamp(2rem,4vw,3rem);margin:0 0 24px}
h3{margin-top:0;font-size:1.2rem}
p{line-height:1.5}

.glass{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.09);
  box-shadow:0 10px 35px rgba(0,0,0,.18);
  backdrop-filter:blur(10px);
}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:22px;
}
.card,.panel,.weather,.video{
  border-radius:22px;
  padding:24px;
}
.card img,.media-card img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:14px;
  margin-bottom:12px;
}
.media-card video{
  width:100%;
  border-radius:14px;
  margin-bottom:12px;
}
.weather{
  display:flex;align-items:center;gap:22px;min-height:220px;
}
.mta{display:flex;flex-wrap:wrap;gap:10px;margin:10px 0}
.mta span{
  width:38px;height:38px;border-radius:50%;
  display:grid;place-items:center;
  font-weight:900;background:#fff;color:#111;
}
.video{
  min-height:280px;
  display:grid;place-items:center;
  font-size:1.8rem;text-align:center;
}

.community{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}
.community .panel{
  min-height:340px;
}
.community .panel h3{font-size:1.1rem;margin-bottom:10px}
.smallnote{color:#d6c9df;margin:0 0 18px}
.community input{
  width:100%;
  padding:15px 16px;
  margin:0 0 14px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(0,0,0,.35);
  color:#fff;
}
.community .actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  margin-bottom:14px;
}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  border-radius:12px;border:1px solid transparent;
  padding:14px 18px;font-weight:900;cursor:pointer;
  transition:transform .22s ease, box-shadow .22s ease, opacity .22s ease, background .22s ease;
}
.btn:hover{transform:translateY(-2px)}
.btn.primary{
  background:linear-gradient(135deg,#ffca55,#ff8bd2);
  color:#111;
}
.btn.secondary{
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.14);
  color:#fff;
}
.btn.live{
  background:linear-gradient(135deg,#cc1c29,#ff4452);
  color:#fff;
  border-color:#ff8e95;
}
.hero .btn-row,.actions{display:flex;gap:12px;flex-wrap:wrap}
button,input,textarea{font:inherit}

.poll-wrap{
  display:flex;flex-direction:column;gap:14px;
}
.poll-list{
  display:flex;flex-direction:column;gap:14px;margin:8px 0 10px;
}
.poll-item{
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;padding:12px 14px;border-radius:12px;
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);
}
.poll-item label{
  display:flex;align-items:center;justify-content:space-between;
  width:100%;gap:14px;cursor:pointer;
}
.poll-item input[type="radio"]{width:18px;height:18px;margin:0}
#voteStatus,#authStatus,#trackingStatus{margin-top:12px;color:#f3e8ff}

footer{
  padding:26px 5%;
  color:#d0c6d8;
  border-top:1px solid rgba(255,255,255,.08);
}

@media (max-width:1100px){
  .topbar{align-items:flex-start;flex-direction:column}
  .topbar nav{justify-content:flex-start}
}
@media (max-width:900px){
  .community{grid-template-columns:1fr}
}
@media (max-width:760px){
  .topbar{padding:14px 16px}
  .topbar nav{
    flex-wrap:nowrap;
    overflow-x:auto;
    width:100%;
    padding-bottom:4px;
    scrollbar-width:thin;
  }
  .topbar nav a{flex:0 0 auto}
  main{padding:26px 16px 50px}
  .hero{min-height:480px}
  .weather{flex-direction:column;align-items:flex-start}
  .community .actions{flex-direction:column;align-items:stretch}
  .community .actions .btn{width:100%}
}
