@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* Base Styles */
body {
    margin: 0;
    min-height: 100vh;
    font-family: "Inter", sans-serif;
    background: #00133a;
    overflow: hidden;
    position: relative;
}

/* Layout */
.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(./../img/rocket_background.png);
    background-size: 100% 99%;
}

.card {
    position: absolute;
    max-width: 890px;
    left: 16%;
    top: 30%;
    z-index: 2;
}

/* Typography */
h1 {
    margin: 0 0 15px;
    font-size: 142px;
    font-weight: 600;
    letter-spacing: 1px;
    background: linear-gradient(90deg, 
        rgba(255, 185, 80, 1) 0%, 
        rgba(220, 85, 180, 1) 50%, 
        rgba(40, 180, 255, 1) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    margin: 0 0 40px;
    padding-left: 10px;
    font-size: 24px;
    line-height: 1.4;
    color: gainsboro;
}

/* Components */
.buttons {
    display: flex;
    gap: 19px;
    flex-wrap: wrap;
}

.btn {
    /* Layout */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 150px;
    padding: 19px 45px;
    
    /* Typography */
    font-size: 24px;
    text-align: center;
    text-decoration: none;
    color: gainsboro;
    
    /* Visual */
    background: #0e183c;
    border: 1px solid #4a538e;
    border-radius: 8px;
    
    /* Animation */
    transition: all 0.2s ease;
}

.btn-outline img {
    filter: brightness(0) invert(1);
}

.btn:hover {
    background: linear-gradient(90deg, 
        rgba(255, 185, 80, 1) 0%, 
        rgba(220, 85, 180, 1) 50%, 
        rgba(40, 180, 255, 1) 100%
    );
    color: white;
    opacity: 1;
}

.btn:active {
    opacity: 0.5;
}

/* Rocket Element */
.rocket {
    position: absolute;
    top: 12%;
    right: 2%;
    width: 857px;
    height: 800px;
    background: url(./../img/rocket.png) no-repeat;
    background-position: -201px -49px;
    background-size: 1275px;
    z-index: 1;
}

/* Media Queries */
@media (max-width: 1400px) {
    .background {
        background: url(./../img/background.png);
    }
    
    .card {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

@media (max-width: 860px) {
    .rocket {
        display: none;
    }
    
    h1 {
        font-size: 106px;
    }
    
    .card {
        padding-top: 80%;
        top: 25%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    p {
        font-size: 22px;
        text-align: center;
    }
}

@media (max-width: 765px) {
    h1 {
        font-size: 87px;
    }
    
    .btn {
        width: 100%;
        font-size: 27px;
        justify-content: center;
    }
    
    .rocket {
        bottom: 0;
        right: 0;
        width: 857px;
        background-position: 117px 41px;
        background-size: 1128px;
    }
}

@media (max-width: 500px) {
    h1 {
        font-size: 61px;
    }
    
    p {
        font-size: 20px;
    }
    
    .btn {
        font-size: 22px;
        padding: 13px 20px;
    }
    
    .rocket {
        background-position: 117px 104px;
    }
    
    .card {
        top: 25%;
    }
}