:root{
--bg:#0b0d10;
--paper:#111318;
--ink:#f3f4f6;
--muted:#9ca3af;
--red:#ef4444;
--yellow:#facc15;
--blue:#3b82f6;
--shadow:0 18px 45px rgba(0,0,0,.45);
--radius:8px;
--max:1100px;
}

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

body{
font-family:"Comic Sans MS","Comic Sans","Comic Sans MS Regular","Segoe UI",Arial,sans-serif;
background:
radial-gradient(circle at 20% 10%,rgba(239,68,68,.15),transparent 40%),
radial-gradient(circle at 80% 30%,rgba(59,130,246,.12),transparent 40%),
radial-gradient(circle at 50% 80%,rgba(250,204,21,.10),transparent 40%),
var(--bg);
color:var(--ink);
line-height:1.7;
}

header{
background:#0f1115;
border-bottom:3px solid var(--red);
position:sticky;
top:0;
z-index:999;
}

nav{
max-width:var(--max);
margin:auto;
padding:14px 20px;
display:flex;
justify-content:space-between;
align-items:center;
}

nav h1{
color:#fff;
letter-spacing:3px;
font-size:18px;
text-transform:uppercase;
}

nav ul{
display:flex;
gap:16px;
list-style:none;
}

nav a{
color:#cbd5e1;
text-decoration:none;
font-size:18px;
padding:10px 16px;
border-radius:6px;
display:inline-block;
}

nav a:hover{
color:var(--red);
background:rgba(239,68,68,0.15);
}

.hero{
max-width:var(--max);
margin:40px auto;
padding:20px;
border-left:6px solid var(--yellow);
background:rgba(17,19,24,.7);
backdrop-filter:blur(6px);
}

.hero p{
color:var(--muted);
margin-top:6px;
}

.section{
max-width:var(--max);
margin:30px auto;
padding:22px;
background:var(--paper);
border-radius:var(--radius);
box-shadow:var(--shadow);
border-top:3px solid var(--blue);
transform:rotate(.15deg);
}

.section:nth-child(even){
transform:rotate(-.15deg);
border-top:3px solid var(--red);
}

.section p{
color:#e5e7eb;
margin-bottom:12px;
text-align:justify;
}

.section img{
width:100%;
border-radius:6px;
margin-top:10px;
filter:contrast(1.1) saturate(1.2);
}

.timeline{
max-width:var(--max);
margin:70px auto;
position:relative;
padding:0 20px;
}

.timeline::before{
content:"";
position:absolute;
left:50%;
top:0;
bottom:0;
width:2px;
background:repeating-linear-gradient(
to bottom,
var(--red),
var(--red) 8px,
transparent 8px,
transparent 16px
);
transform:translateX(-50%);
}

.tl-item{
width:50%;
padding:20px 38px;
position:relative;

opacity:0;
transform:translateY(80px);
transition:all .7s ease;
}

.tl-item.show{
opacity:1;
transform:translateY(0);
}

.tl-item:nth-child(odd){left:0}
.tl-item:nth-child(even){left:50%}

.tl-item .box{
background:var(--paper);
border:1px solid rgba(255,255,255,.08);
border-radius:6px;
padding:16px;
box-shadow:var(--shadow);
position:relative;
}

.tl-item:nth-child(odd) .box{
border-left:3px solid var(--red);
}

.tl-item:nth-child(even) .box{
border-left:3px solid var(--blue);
}

.tl-item img{
width:100%;
margin-top:10px;
border-radius:6px;
}

.dot{
width:10px;
height:10px;
background:var(--yellow);
border-radius:50%;
position:absolute;
top:26px;
box-shadow:0 0 0 5px rgba(250,204,21,.15);
}

.tl-item:nth-child(odd) .dot{right:-5px}
.tl-item:nth-child(even) .dot{left:-5px}

.grid{
max-width:var(--max);
margin:50px auto;
padding:0 20px;
display:grid;
grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
gap:18px;
}

.card{
background:var(--paper);
border-radius:6px;
overflow:hidden;
box-shadow:var(--shadow);
border-top:3px solid var(--yellow);
transition:.2s;
}

.card:nth-child(even){
border-top:3px solid var(--blue);
}

.card:hover{
transform:translateY(-5px);
}

.card img{
width:100%;
height:350px;
object-fit:cover;
display:block;
}

.card .text{
padding:14px;
}

iframe{
width:100%;
height:180px;
border:0;
border-radius:6px;
margin-top:10px;
}

@media(max-width:900px){
.section{transform:none}
}

@media(max-width:768px){
.timeline::before{left:10px}
.tl-item{width:100%;left:0!important;padding-left:42px}
}

.footer{
margin-top:60px;
padding:30px 20px;
text-align:center;
background:#0f1115;
border-top:3px solid var(--red);
color:#cbd5e1;
}