/* 09-spark-effects.css */
.spark:before,
.spark:after{

content:"";
position:absolute;
background:white;

}

.spark:before{

left:4px;
top:-8px;
width:2px;
height:26px;

}

.spark:after{

top:4px;
left:-8px;
height:2px;
width:26px;

}

.s1{
top:8%;
left:12%;
animation-delay:.2s;
}

.s2{
top:22%;
right:14%;
animation-delay:1s;
}

.s3{
bottom:18%;
left:25%;
animation-delay:2s;
}

.s4{
bottom:10%;
right:18%;
animation-delay:2.8s;
}

.s5{
top:48%;
left:55%;
animation-delay:1.6s;
}

@keyframes spark{

0%,100%{

transform:scale(.3) rotate(0);
opacity:.2;

}

50%{

transform:scale(1.2) rotate(180deg);
opacity:1;

}

}

.hero-buttons{
    display:flex;
    gap:18px;
    margin-top:30px;
}

.stats-section{
    margin:70px 0;
    padding:45px;
    background:linear-gradient(180deg,#1a001f,#08000c);
    border:2px solid #ffd700;
    border-radius:22px;
    box-shadow:0 0 30px rgba(255,215,0,.15);
    overflow:hidden;
    position:relative;
}

.stats-section::before{
    content:"";
    position:absolute;
    inset:0;
    background:
    radial-gradient(circle at top right,
    rgba(255,215,0,.08),
    transparent 45%);
    pointer-events:none;
}

.stats-desc{
    text-align:center;
    max-width:760px;
    margin:0 auto 35px;
    color:#ddd;
    font-size:16px;
    line-height:1.8;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:22px;
}

.stat-card{
    position:relative;
    overflow:hidden;
    background:linear-gradient(180deg,#2a0033,#120018);
    border:1px solid rgba(255,215,0,.35);
    border-radius:16px;
    padding:28px 20px;
    text-align:center;
    transition:.35s ease;
}

.stat-card::before{
    content:"";
    position:absolute;
    top:-120%;
    left:-40%;
    width:60%;
    height:300%;
    background:linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.25),
        transparent
    );
    transform:rotate(25deg);
    transition:.8s;
}

.stat-card:hover::before{
    left:150%;
}

.stat-card:hover{
    transform:translateY(-8px);
    border-color:#ffd700;
    box-shadow:
    0 0 25px rgba(255,215,0,.35),
    0 0 45px rgba(255,215,0,.15);
}

.stat-icon{
    font-size:42px;
    margin-bottom:15px;
}

.counter{
    font-size:42px;
    font-weight:900;
    color:#ffd700;
    margin-bottom:10px;
    text-shadow:0 0 10px rgba(255,215,0,.45);
}

.counter span{
    font-size:20px;
}

.stat-card span{
    display:block;
    color:#fff;
    font-weight:700;
    font-size:15px;
}

@media(max-width:900px){

.stats-grid{
    grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:600px){

.stats-section{
    padding:25px 18px;
}

.stats-grid{
    grid-template-columns:1fr;
}

.counter{
    font-size:34px;
}

.stat-icon{
    font-size:34px;
}

}

.timeline-section{
    margin:70px 0;
}

.timeline-desc{
    max-width:760px;
    margin:0 auto 40px;
    text-align:center;
    color:#ddd;
    line-height:1.8;
}

.timeline{
    position:relative;
    max-width:950px;
    margin:auto;
}

.timeline::before{
    content:"";
    position:absolute;
    left:50%;
    top:0;
    width:4px;
    height:100%;
    background:linear-gradient(#ffd700,#ff9800);
    transform:translateX(-50%);
}

.timeline-item{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin:45px 0;
    position:relative;
}

.timeline-item:nth-child(even){
    flex-direction:row-reverse;
}

.timeline-year{
    width:120px;
    font-size:34px;
    font-weight:900;
    color:#ffd700;
    text-align:center;
}

.timeline-dot{
    width:22px;
    height:22px;
    background:#ffd700;
    border-radius:50%;
    border:4px solid #32003d;
    box-shadow:0 0 18px gold;
    z-index:2;
}

.timeline-content{
    width:42%;
    background:linear-gradient(180deg,#210026,#120018);
    border:2px solid rgba(255,215,0,.45);
    border-radius:16px;
    padding:22px;
    transition:.35s;
}

.timeline-content:hover{
    transform:translateY(-6px);
    box-shadow:0 0 25px rgba(255,215,0,.3);
}

.timeline-content h3{
    color:#ffd700;
    margin-bottom:10px;
}

.timeline-content p{
    color:#ddd;
    line-height:1.8;
}

@media(max-width:768px){

.timeline::before{
    left:20px;
}

.timeline-item,
.timeline-item:nth-child(even){
    flex-direction:column;
    align-items:flex-start;
    padding-left:50px;
}

.timeline-year{
    width:auto;
    margin-bottom:12px;
    text-align:left;
}

.timeline-dot{
    position:absolute;
    left:10px;
    top:15px;
}

.timeline-content{
    width:100%;
}

}

#preloader{

position:fixed;
inset:0;

background:
linear-gradient(180deg,#18001f,#08000c);

display:flex;
align-items:center;
justify-content:center;

z-index:999999999;

transition:.6s;

}

.loader-box{

text-align:center;

}

.loader-logo{

width:260px;

animation:logoFloat 2s ease-in-out infinite;

filter:
drop-shadow(0 0 12px gold)
drop-shadow(0 0 25px rgba(255,215,0,.45));

}

.loader-text{

margin-top:25px;

font-size:22px;

font-weight:900;

color:#fff;

letter-spacing:2px;

animation:blink 1.2s infinite;

}

.loader-bar{

margin:25px auto 0;

width:260px;

height:8px;

background:#2a002e;

border-radius:30px;

overflow:hidden;

border:1px solid gold;

}

.loader-bar span{
    display:block;
    width:0;
    height:100%;
    background:linear-gradient(90deg,#ffd700,#ff9800,#ffd700);
    animation:loadingBar .5s linear forwards;
}

@keyframes loadingBar{

0%{width:0;}

100%{width:100%;}

}

@keyframes blink{

0%,100%{opacity:1;}

50%{opacity:.4;}

}

@keyframes logoFloat{

0%,100%{

transform:translateY(0);

}

50%{

transform:translateY(-10px);

}

}
