/* ===========================
   VOIDX Personal Website
   Modern UI 2026
=========================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root{

--bg:#09090b;
--bg2:#111116;
--card:#15151c;
--border:#2b2b38;

--text:#ffffff;
--text2:#b6b6c8;

--purple:#8b5cf6;
--purple2:#6d28d9;

--shadow:0 10px 35px rgba(139,92,246,.25);

}

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:"Inter",sans-serif;
}

html{
scroll-behavior:smooth;
}

body{

background:
radial-gradient(circle at top,#29105a 0%,transparent 35%),
linear-gradient(#09090b,#0f0f14);

color:var(--text);

}

/* Scroll */

::-webkit-scrollbar{
width:10px;
}

::-webkit-scrollbar-track{
background:#0c0c10;
}

::-webkit-scrollbar-thumb{
background:var(--purple);
border-radius:20px;
}

/* Banner */

.banner{

height:340px;
overflow:hidden;
position:relative;

}

.banner img{

width:100%;
height:100%;
object-fit:cover;

}

.banner::after{

content:"";
position:absolute;
left:0;
right:0;
bottom:0;
height:180px;

background:linear-gradient(transparent,var(--bg));

}

/* Perfil */

.profile{

width:min(92%,900px);

margin:auto;
margin-top:-90px;

position:relative;
z-index:10;

display:flex;
flex-direction:column;
align-items:center;
text-align:center;

}

.profile img{

width:170px;
height:170px;

border-radius:50%;

border:6px solid #1a1a22;

box-shadow:
0 0 40px rgba(139,92,246,.45);

object-fit:cover;

background:#111;

}

.profile h1{

margin-top:20px;

font-size:3rem;
font-weight:800;

letter-spacing:2px;

}

.profile p{

margin-top:10px;

color:var(--text2);

font-size:1.1rem;

}

/* Sobre */

.about{

width:min(92%,900px);

margin:60px auto;

background:rgba(255,255,255,.03);

backdrop-filter:blur(15px);

border:1px solid var(--border);

border-radius:22px;

padding:40px;

box-shadow:var(--shadow);

}

.about h2{

margin-bottom:20px;

font-size:2rem;

}

.about p{

line-height:1.9;

color:var(--text2);

}

/* Links */

.links{

width:min(92%,900px);

margin:auto;

display:grid;

grid-template-columns:
repeat(auto-fit,minmax(250px,1fr));

gap:18px;

}

.links a{

text-decoration:none;

color:white;

padding:20px;

background:var(--card);

border:1px solid var(--border);

border-radius:18px;

font-weight:600;

transition:.25s;

display:flex;

align-items:center;

justify-content:center;

}

.links a:hover{

background:var(--purple);

transform:translateY(-5px);

box-shadow:0 0 30px rgba(139,92,246,.4);

}

/* Proyectos */

.projects{

width:min(92%,1100px);

margin:70px auto;

display:grid;

grid-template-columns:
repeat(auto-fit,minmax(320px,1fr));

gap:25px;

}

.card{

background:var(--card);

border:1px solid var(--border);

border-radius:22px;

padding:30px;

transition:.25s;

box-shadow:0 0 25px rgba(0,0,0,.2);

}

.card:hover{

transform:translateY(-8px);

border-color:var(--purple);

box-shadow:var(--shadow);

}

.card h2{

margin-bottom:15px;

}

.card p{

color:var(--text2);

line-height:1.8;

margin-bottom:25px;

}

.card button{

padding:14px 28px;

border:none;

border-radius:12px;

background:linear-gradient(
135deg,
var(--purple),
var(--purple2)
);

color:white;

font-weight:700;

cursor:pointer;

transition:.25s;

}

.card button:hover{

transform:scale(1.05);

}

/* Footer */

footer{

margin-top:80px;

padding:40px;

text-align:center;

color:#888;

border-top:1px solid #20202a;

}

/* Responsive */

@media(max-width:900px){

.banner{

height:250px;

}

.profile{

margin-top:-70px;

}

.profile img{

width:140px;
height:140px;

}

.profile h1{

font-size:2.3rem;

}

.about{

padding:30px;

}

}

@media(max-width:600px){

.banner{

height:190px;

}

.profile{

margin-top:-60px;

}

.profile img{

width:120px;
height:120px;

}

.profile h1{

font-size:2rem;

}

.profile p{

font-size:.95rem;

}

.about{

padding:22px;

}

.about h2{

font-size:1.5rem;

}

.links{

grid-template-columns:1fr;

}

.projects{

grid-template-columns:1fr;

}

.card{

padding:22px;

}

footer{

padding:30px 15px;

font-size:.9rem;

}

}