/* ===========================
   Guías (listado) CSS
   Ruta: /starcitizen/guias/guias.css
   =========================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body{
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: stretch;
  background: radial-gradient(circle at top, #1b3d9c 0, #000 40%, #000 100%);
  color: #f5f5f5;
}

a{ text-decoration: none; color: inherit; }

.page{
  width: 100%;
  max-width: 1150px;
  margin: 24px;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(120deg, #ffffff 0%, #1b3d9c 40%, #ffd400 100%);
  box-shadow:
    0 20px 40px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.04);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(8px);
}

/* HERO */
.hero{
  position: relative;
  height: 310px;
  background-image: url("../../bannertwitch.png");
  background-size: cover;
  background-position: 50% 5%;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  padding: 28px 32px;
  overflow: hidden;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.28) 40%,
    rgba(0,0,0,0.05) 100%
  );
  mix-blend-mode: multiply;
}

.hero-content{
  position: relative;
  display:flex;
  gap:22px;
  align-items:center;
  justify-content:space-between;
  width:100%;
  z-index:1;
}

.hero-left{
  display:flex;
  gap:22px;
  align-items:center;
  min-width:0;
}

.avatar-wrapper{
  position:relative;
  width:120px;height:120px;
  flex-shrink:0;
  display:block;
}

.avatar-ring{
  position:absolute; inset:-4px;
  border-radius:50%;
  background: conic-gradient(from 180deg, #ffffff, #1b3d9c, #ffd400, #ffffff);
  filter: blur(0.8px);
  opacity:0.95;
  animation: spin 12s linear infinite;
}
@keyframes spin{ to{ transform: rotate(360deg);} }

.avatar{
  position:relative;
  width:100%;height:100%;
  border-radius:50%;
  border:4px solid #050816;
  object-fit:cover;
  box-shadow: 0 12px 30px rgba(0,0,0,0.7);
  background:#000;
}

.hero-text{
  display:flex;
  flex-direction:column;
  gap:8px;
  min-width:0;
}

.hero-name{
  font-size: clamp(2rem, 3.3vw, 2.5rem);
  font-weight:800;
  letter-spacing:0.03em;
  text-transform:uppercase;
  text-shadow: 0 0 20px rgba(0,0,0,0.7), 0 0 4px rgba(0,0,0,0.8);
}

.hero-tagline{
  font-size: 1rem;
  max-width: 680px;
  color:#e2e8f0;
  text-shadow: 0 0 14px rgba(0,0,0,0.8);
}

/* badge + título (igual que guías/artículos) */
.guide-meta-row{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
}

.sc-badge{
  width:34px;height:34px;
  border-radius:50%;
  background: rgba(15,23,42,0.92);
  border: 1px solid rgba(250,204,21,0.6);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.sc-badge img{
  width:70%; height:70%;
  object-fit:contain;
  display:block;
}

.guide-title{
  font-size: 1.05rem;
  font-weight: 700;
  color: #facc15;
  text-shadow: 0 0 12px rgba(0,0,0,0.55);
}

.hero-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
}

.hero-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 8px 12px;
  border-radius: 999px;
  border:1px solid rgba(250,204,21,0.85);
  background: rgba(15,23,42,0.92);
  color:#facc15;
  font-size:0.88rem;
  transition: background 0.15s ease-out, color 0.15s ease-out, transform 0.15s ease-out;
}
.hero-btn:hover{
  background:#facc15;
  color:#0f172a;
  transform: translateY(-1px);
}

/* LISTADO */
.wrap{
  display:grid;
  grid-template-columns: minmax(0,1fr);
  gap:14px;
  padding: 24px 26px 26px;
}

.card{
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(15,23,42,0.94);
  border: 2px solid rgba(15,23,42,0.9);
  box-shadow: 0 18px 28px rgba(15,23,42,0.65);
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, background 0.18s ease-out;
}
.card:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 34px rgba(15,23,42,0.75);
  background: rgba(15,23,42,0.98);
}

.card-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}

.card-title{
  font-size: 1.1rem;
  font-weight: 800;
  color: #e5e7eb;
  margin-bottom: 4px;
}

.card-desc{
  font-size: 0.92rem;
  color: #cbd5f5;
  line-height: 1.55;
}

.tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top: 12px;
}

.tag{
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(2,6,23,0.55);
  border: 1px solid rgba(250,204,21,0.25);
  color: #cbd5f5;
}

.card-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top: 14px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 8px 12px;
  border-radius: 999px;
  border:1px solid rgba(250,204,21,0.85);
  background: rgba(15,23,42,0.92);
  color:#facc15;
  transition: background 0.15s ease-out, color 0.15s ease-out, transform 0.15s ease-out;
  font-size:0.85rem;
}
.btn:hover{
  background:#facc15;
  color:#0f172a;
  transform: translateY(-1px);
}

/* footer */
.footer{
  padding:8px 18px 14px;
  font-size:0.78rem;
  color:#020617;
  opacity:0.7;
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-top:1px solid rgba(15,23,42,0.45);
  background: rgba(226,232,240,0.5);
  backdrop-filter: blur(6px);
  gap:10px;
  flex-wrap:wrap;
}

@media (max-width: 640px){
  .footer{ flex-direction:column; gap:4px; align-items:flex-start; }
}

@media (max-width: 560px){
  .hero{ height:240px; padding:20px; }
  .avatar-wrapper{ width:90px; height:90px; }
}
