:root{
    --bg:#0f172a;
    --card:#111827;
    --primary:#38bdf8;
    --secondary:#22c55e;
    --text:#e5e7eb;
    --muted:#9ca3af;
}
*{box-sizing:border-box;margin:0;padding:0}
body{
    font-family:'Poppins',sans-serif;
    background:linear-gradient(135deg,#020617,#0f172a);
    color:var(--text);
    line-height:1.6;
}
header{
    padding:60px 20px;
    text-align:center;
}
header h1{
    font-size:clamp(2rem,5vw,3.2rem);
    margin-bottom:10px;
    color:var(--primary);
}
header p{
    max-width:700px;
    margin:auto;
    color:var(--muted);
}
.container{
    max-width:1200px;
    margin:auto;
    padding:20px;
}
.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:20px;
}
.card{
    background:rgba(17,24,39,.85);
    border-radius:18px;
    padding:25px;
    box-shadow:0 20px 40px rgba(0,0,0,.35);
    backdrop-filter:blur(8px);
    transition:.3s ease;
}
.card:hover{
    transform:translateY(-6px);
    box-shadow:0 30px 60px rgba(0,0,0,.45);
}
.card h2{
    margin-bottom:10px;
    color:var(--secondary);
    font-size:1.4rem;
}
.card p,.card li{
    color:var(--text);
    font-size:.95rem;
}
.card ul{
    margin-top:10px;
    padding-left:18px;
}
.image{
    margin-top:15px;
    border-radius:14px;
    overflow:hidden;
}
.image img{
    width:50%;
    margin: auto;
    display:block;
    border-radius: 20px;
}
section{
    margin-top:50px;
}
footer{
    margin-top:60px;
    padding:30px 20px;
    text-align:center;
    color:var(--muted);
    font-size:.9rem;
}
/* extra */
.servers{
    text-align: center;
    margin: 30px;
}
.servers a{
    display: block;
    max-width: 200px;
    margin: auto;
    padding: 10px;
    color: #fff;
    font-size: 1.5em;
    text-decoration: none;
    border-radius: 10px;
    border:1px solid transparent;
    background: #028a31;
    box-shadow: 0 0 6px #1ad65c;
    transition:.3s ease;
}
.servers a:hover{
    background:#020617;
    border-color:var(--primary);
    transform:translateX(4px);
}
@media(max-width:600px){
    header{padding:40px 15px}
}
/* extra youtube */
.picture{
    width: 60%;
    margin: auto;
}

.picture .video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Proporción 16:9 */
    height: 0;
    overflow: hidden;
}

.picture .video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 5px;
}
.canal{
    width: 100%;
    height: auto;
    background: none;
    text-decoration: none;
}
.suscribete{
    margin: 25px auto;
    text-align: center;
    width: 60%;
    background: #b81717;
    box-shadow: 0 0 5px #b81717;
    color: #fff;
    padding: 5px;
    border-radius: 15px;
    transition: transform 0.3s;
}
.suscribete:hover{
    transform: scale(1.02);
    background:#020617;
    color: #fff;
    border: 2px solid #b81717;
}
@media (max-width: 800px) {
    .picture{
        width: 80%;
    }

    .suscribete{
        width: 80%;
        margin-top: 15px;
        font-size: 1.2em;
    }
}