*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:"Space Grotesk",sans-serif;
    background:#05070d;
    color:white;
    overflow-x:hidden;

}

a{

    color:white;
    text-decoration:none;

}

img{

    display:block;
    width:100%;

}

/* ================= NAVBAR ================= */

.navbar{

    position:fixed;
    top:0;
    left:0;

    width:100%;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:22px 70px;

    background:rgba(0,0,0,.45);

    backdrop-filter:blur(14px);

    z-index:999;

}

.logo{

    font-size:34px;

    letter-spacing:4px;

    font-weight:700;

}

.navbar ul{

    display:flex;

    gap:35px;

    list-style:none;

}

.navbar a{

    transition:.3s;

}

.navbar a:hover{

    color:#6ec8ff;

}

/* ================= HERO ================= */

.hero{

    height:100vh;

    background:url("https://images.unsplash.com/photo-1446776811953-b23d57bd21aa?auto=format&fit=crop&w=1800&q=80");

    background-size:cover;
    background-position:center;

}

.overlay{

    width:100%;
    height:100%;

    background:rgba(0,0,0,.60);

    display:flex;
    align-items:center;

}

.hero-content{
    width:90%;
    max-width:1200px;
    margin:auto;
    text-align:center;
}

.subtitle{

    letter-spacing:6px;

    margin-bottom:20px;

    color:#d7d7d7;

}

.hero h1{

    font-size:72px;

    margin-bottom:15px;

}

.hero h3{

    font-size:32px;

    margin-bottom:45px;

    color:#dddddd;

}

.countdown{

    display:flex;

    gap:20px;

}

.time-box{

    width:120px;

    background:rgba(255,255,255,.08);

    border:1px solid rgba(255,255,255,.15);

    border-radius:18px;

    padding:22px;

    text-align:center;

    backdrop-filter:blur(10px);

}

.time-box span{

    font-size:46px;

    font-weight:700;

}

.time-box small{

    display:block;

    margin-top:10px;

    color:#ccc;

}

#watchBtn{

    margin-top:40px;

    padding:18px 40px;

    border:none;

    border-radius:8px;

    background:#2c8fff;

    color:white;

    cursor:pointer;

    font-size:18px;

    transition:.3s;

}

#watchBtn:hover{

    transform:translateY(-4px);

    background:#1d74d1;

}
/* ===========================
   Launch Info Cards
=========================== */

.launch-info{

    width:90%;
    max-width:1300px;

    margin:90px auto;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}

.card{

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    border-radius:20px;

    padding:30px;

    backdrop-filter:blur(12px);

    transition:.35s;

}

.card:hover{

    transform:translateY(-8px);

    border-color:#4db8ff;

    box-shadow:0 0 25px rgba(77,184,255,.25);

}

.card h4{

    color:#8ab4ff;

    margin-bottom:15px;

}

.card h2{

    font-size:24px;

    line-height:1.6;

}

/* ===========================
   Rocket Section
=========================== */

.rocket-section{

    width:90%;
    max-width:1300px;

    margin:100px auto;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

    align-items:center;

}

.rocket-image img{

    border-radius:20px;

    box-shadow:0 0 35px rgba(0,0,0,.45);

}

.rocket-details h2{

    font-size:42px;

    margin-bottom:25px;

}

#rocketDescription{

    color:#d7d7d7;

    line-height:1.9;

    font-size:18px;

}

.rocket-specs{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:18px;

    margin-top:35px;

}

.spec-card{

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    border-radius:15px;

    padding:20px;

    transition:.3s;

}

.spec-card:hover{

    transform:translateY(-6px);

    border-color:#4db8ff;

}

.spec-card h4{

    color:#7ec8ff;

    margin-bottom:10px;

}

.spec-card p{

    font-size:20px;

    font-weight:700;

}

/* ===========================
   Mission
=========================== */

.mission-section{

    width:90%;

    max-width:1200px;

    margin:100px auto;

}

.mission-box{

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    border-radius:20px;

    padding:45px;

}

.mission-box h2{

    margin-bottom:25px;

    font-size:40px;

}

#missionDescription{

    color:#d7d7d7;

    line-height:2;

    font-size:19px;

}

/* ===========================
   Footer
=========================== */

footer{

    margin-top:120px;

    background:#090909;

    text-align:center;

    padding:70px 20px;

}

footer h3{

    color:#999;

    margin-bottom:15px;

}

footer h2{

    font-size:34px;

    margin-bottom:20px;

}

footer p{

    color:#777;

}

/* ===========================
   Responsive
=========================== */

@media(max-width:992px){

.launch-info{

grid-template-columns:repeat(2,1fr);

}

.rocket-section{

grid-template-columns:1fr;

}

.hero h1{

font-size:52px;

}

}

@media(max-width:768px){

.navbar{

padding:20px;

}

.navbar ul{

display:none;

}

.launch-info{

grid-template-columns:1fr;

}

.countdown{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
    width:100%;
    margin:40px auto;
}

.time-box{

width:90px;

}

.hero h1{

font-size:40px;

}

.hero h3{

font-size:22px;

}

.logo{

font-size:26px;

}

}
/* ==========================
   Upcoming Launches
========================== */

.upcoming-launches{

    width:90%;
    max-width:1300px;

    margin:100px auto;

}

.upcoming-launches h2{

    font-size:42px;

    margin-bottom:35px;

}

.launch-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:25px;

}

.launch-card{

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    border-radius:18px;

    padding:25px;

    transition:.3s;

}

.launch-card:hover{

    transform:translateY(-12px) scale(1.04);

    border-color:#4db8ff;

    box-shadow:0 0 25px rgba(77,184,255,.20);

}

.launch-card h3{

    margin-bottom:12px;

}

.launch-card p{

    color:#d7d7d7;

    margin:8px 0;

}
/* ==========================
   Premium Hero Animation
========================== */

.hero{

    min-height:100vh;

    display:flex;

    align-items:center;

    justify-content:center;

    position:relative;

    overflow:hidden;

}

.hero::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        rgba(0,0,0,.25),
        rgba(0,0,0,.80)
    );

}

.hero-content{
    width:90%;
    max-width:1200px;
    margin:auto;
    position:relative;
    z-index:2;
    text-align:center;
    animation:fadeUp 1.2s ease;
}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(50px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

#missionName{

    font-size:64px;

    margin-bottom:15px;

    text-shadow:0 0 20px rgba(255,255,255,.25);

}

#rocketName{

    font-size:28px;

    color:#8fd8ff;

    margin-bottom:40px;

}

#watchBtn{

    background:#0ea5ff;

    border:none;

    color:white;

    padding:16px 40px;

    border-radius:50px;

    font-size:18px;

    cursor:pointer;

    transition:.3s;

}

#watchBtn:hover{

    transform:translateY(-4px);

    box-shadow:0 0 30px rgba(14,165,255,.5);

}
/* ==========================
   Animated Stars Background
========================== */

.stars{

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background-image:
    radial-gradient(2px 2px at 20px 30px,#ffffff,transparent),
    radial-gradient(2px 2px at 80px 120px,#ffffff,transparent),
    radial-gradient(1px 1px at 150px 70px,#ffffff,transparent),
    radial-gradient(2px 2px at 250px 200px,#ffffff,transparent),
    radial-gradient(1px 1px at 350px 150px,#ffffff,transparent);

    background-size:400px 400px;

    animation:starsMove 60s linear infinite;

    opacity:.5;

    z-index:-1;

}

@keyframes starsMove{

    from{

        transform:translateY(0);

    }

    to{

        transform:translateY(-400px);

    }

}
/* ==========================
   LOADER
========================== */

#loader{

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:#050816;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    z-index:99999;

    transition:.8s;

}

.loader-ring{

    width:80px;

    height:80px;

    border:5px solid rgba(255,255,255,.15);

    border-top:5px solid #0ea5ff;

    border-radius:50%;

    animation:spin 1s linear infinite;

}

#loader h2{

    margin-top:25px;

    letter-spacing:6px;

}

@keyframes spin{

    to{

        transform:rotate(360deg);

    }

}
/* ==========================
   Scroll Reveal
========================== */

.hidden{

    opacity:0;

    transform:translateY(60px);

    transition:all 1s ease;

}

.show{

    opacity:1;

    transform:translateY(0);

}
/* ==========================
   Statistics
========================== */

.stats-section{

    width:90%;
    max-width:1200px;

    margin:120px auto;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}

.stat-box{

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    border-radius:18px;

    padding:35px;

    text-align:center;

}

.stat-box h2{

    font-size:54px;

    color:#0ea5ff;

}

.stat-box p{

    margin-top:12px;

    color:#ccc;

}
/* ==========================
   Scroll Progress Bar
========================== */

#progressBar{

    position:fixed;

    top:0;

    left:0;

    width:0%;

    height:5px;

    background:linear-gradient(90deg,#00d4ff,#0ea5ff,#7c3aed);

    z-index:999999;

    transition:.1s;

}
/* ==========================
   Search
========================== */

.search-section{

    width:90%;
    max-width:700px;

    margin:80px auto 40px;

}

#searchInput{

    width:100%;

    padding:18px 25px;

    border:none;

    outline:none;

    border-radius:50px;

    background:rgba(255,255,255,.08);

    border:1px solid rgba(255,255,255,.15);

    color:white;

    font-size:18px;

    backdrop-filter:blur(10px);

}

#searchInput::placeholder{

    color:#bbbbbb;

}
/* ==========================
   Back To Top Button
========================== */

#topBtn{

    position:fixed;

    bottom:30px;

    right:30px;

    width:55px;

    height:55px;

    border:none;

    border-radius:50%;

    background:#0ea5ff;

    color:white;

    font-size:24px;

    cursor:pointer;

    display:none;

    z-index:9999;

    box-shadow:0 0 20px rgba(14,165,255,.4);

    transition:.3s;

}

#topBtn:hover{

    transform:translateY(-5px);

    background:#0077ff;

}
/* ==========================
   Loader
========================== */

#loader{

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:#05070d;

    display:flex;

    justify-content:center;

    align-items:center;

    flex-direction:column;

    z-index:999999;

    transition:.8s;

}

.loader-ring{

    width:90px;

    height:90px;

    border:5px solid rgba(255,255,255,.15);

    border-top:5px solid #0ea5ff;

    border-radius:50%;

    animation:spinLoader 1s linear infinite;

}

#loader h2{

    margin-top:25px;

    letter-spacing:5px;

}

@keyframes spinLoader{

    to{

        transform:rotate(360deg);

    }

}
.footer-links{

    display:flex;

    justify-content:center;

    gap:25px;

    margin:25px 0;

}

.footer-links a{

    color:#9fdcff;

    transition:.3s;

}

.footer-links a:hover{

    color:white;

}
/* ==========================
   FINAL RESPONSIVE
========================== */

@media (max-width:768px){

.hero-content{
    width:90%;
    max-width:1200px;
    margin:auto;
    position:relative;
    z-index:2;
    text-align:center;
    animation:fadeUp 1.2s ease;
}

#missionName{

font-size:38px;

line-height:1.2;

}

#rocketName{

font-size:22px;

}

.countdown{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
    margin:40px auto 0;
}

.time-box{

width:80px;

padding:15px;

}

.time-box span{

font-size:28px;

}

.launch-info{

grid-template-columns:1fr;

}

.rocket-section{

grid-template-columns:1fr;

}

.rocket-image{

margin-bottom:30px;

}

.rocket-specs{

grid-template-columns:1fr;

}

.stats-section{

grid-template-columns:repeat(2,1fr);

}

.footer-links{

flex-direction:column;

gap:12px;

}

#watchBtn{

width:100%;

}

#searchInput{

font-size:16px;

}

}