
*, *::before, *::after {
    box-sizing: border-box;
}
body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(
        135deg,
        #071426,
        #102c45,
        #087e83
    );
    background-repeat: no-repeat;
    margin: 0px;
}
 
/* --------------------------- HEADER ----------------------------- */

.Navigation_Bar {
    width: 100%;
    max-width: 1000px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 50px;
    background:linear-gradient(
        135deg,
        rgba(24, 29, 39, 0.9),
        rgba(18, 25, 36, 0.8)
    );
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius:50px;
    height: 60px;
} 
.Smol_Logo_Block {
    display: flex;
    align-items: center;
    font-size: 25px;
    padding-left: 20px;
}
.Smol_Logo {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color:white;
    display: flex;
    align-items: center;
}
.Smol_Flux {
    font-style: italic;
    background: linear-gradient(
        90deg,
        #00e5cc,
        #00aaff
    );
    background-clip: text;
    color: transparent;
}
.Nav_Links {
    font-size: 20px;
    display: flex;
    gap: 5px;
}
a {
    text-decoration: none;
}
.Home_nav {
    border-radius: 9999px;
    padding: 2px 20px;
    font-weight: bold;
    color: rgb(226, 226, 226);
    background: linear-gradient(
        90deg,
        #0c4453,
        #07282c
    );
}
.About_nav {
    border-radius: 9999px;
    padding: 2px 20px;
    margin-right: 20px;
    font-weight: bold;
    color: rgb(226, 226, 226);
    background: linear-gradient(
        90deg,
        #0c4453,
        #07282c
    )
}
header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    max-width: 900px;
    padding-top: 20px;
    padding-left: 230px;
}
.Logo_Block {
    display: flex;
    flex-direction: column;;
    font-size: 50px;
}
.logo {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color:white;
}
.Flux {
    font-style: italic;
    background: linear-gradient(
        90deg,
        #00e5cc,
        #00aaff
    );
    background-clip: text;
    color: transparent;
}
.Slogan {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-style: italic;
    color:white;    
    position: relative;
    top: -100px;
}
.Enjoy {
    background: linear-gradient(
        90deg,
        #00e5cc,
        #00aaff
    );
    background-clip: text;
    color: transparent;
}

/* --------------------------- INPUT ----------------------------- */

.Input_Bar {
    background:linear-gradient(
        135deg,
        rgba(37, 43, 55, 0.9),
        rgba(27, 38, 53, 0.6)
    );
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius:9999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 0px 10px 20px;
    width: 100%;
    max-width: 1200px;
    height: 70px;
    font-size: 30px;
    margin-top: -50px;
}
#videoURL {
    flex-grow: 1;
    background : transparent;
    border:none;
    outline: none;
    color: white;
    font-size: 20px;
    padding-left: 12px;
}
#Send_Button {
    display: flex;
    align-items: center; 
    justify-content: center; 
    gap:20px;
    background: linear-gradient(
        135deg,
        #2dd4bf,
        #0ea5e9
    );
    font-size: 20px;
    height: 70px;
    width: 100%;
    max-width: 200px;
    border-radius: 9999px;
    border: none;
    color: rgb(0, 0, 0);
    font-weight: bold;
    white-space: nowrap;
    cursor: pointer;
}
#Send_Button:hover{
    filter: brightness(1.15);
}

/* --------------------------- INFO & DOWNLOAD ----------------------------- */

.VideoInfoContainer {
    display: flex;
    gap: 20px;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    height: 230px;
    margin: 40px auto;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid black;
    background:linear-gradient(
        135deg,
        rgba(26, 41, 77, 0.9),
        rgba(16, 54, 66, 0.7)
    );
    animation: FadeIn 0.5s ease-out;
}
.Thumbnail_Box {
    margin-left: 25px;
    flex-shrink: 0;
    overflow: hidden;
    width: 320px;   
    height: 180px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1)
}
.Thumbnail_Box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.info_video {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    width: 800px;
}
.check_badge {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgb(10, 240, 67);
}
.info_video h3 {
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 600;
    color: whitesmoke;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.divider {
    color: #00aaff;
    width: 100%;
    border: none;
    width: 835px;
    border-top: 1px solid rgba(87, 105, 151, 0.5);
    padding: 5px;
}
.optionslist {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.Menu_icon {
    width: 30px;
}
.Menu_Scroll {
    background: rgba(26, 41, 77, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);   
    border-radius: 100px;
    padding: 10px 50px;
    color:#f8fafc;
    cursor: pointer;
    width: 100%;
    max-width: 250px;
}
.Menu_Scroll:hover {
    border-color: rgba(17, 147, 167, 0.425);
}
#Menu {
    font-size:25px;
    font-weight: 600;
}
#Download_Button {
    background: linear-gradient(
        135deg,
        #2dd4bf,
        #0ea5e9
    );
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0px 14px;
    margin-left: 15px;
    font-size: 22px;
    height: 55px;
    width: 100%;
    max-width: 250px;
    border-radius: 9999px;
    border: none;
    color: rgb(0, 0, 0);
    font-weight: bold;
    white-space: nowrap;
    cursor:pointer;
}
#Download_Button:hover{
    filter: brightness(1.15);
}
#Download_Button svg {
    stroke-width: 2.5;
    height: 25px;
    width: 30px;
}
.hidden {
    display: none !important;
}

/* --------------------------- LOADING STATUS & ERROR ----------------------------- */

.Loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 40px auto;
    color: rgb(47, 30, 229);
}
.Loading h1{
    color: whitesmoke;
}
.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid;
    border-top-color:aqua;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg);}
}

.Error_msg {
    display: flex;
    align-items: center;
    justify-items: center;
    gap: 10px;
    font-family: 'Segoe UI', system-ui, Verdana, sans-serif;
    color: #ff8585;
    font-size: 30px;
    font-weight: 600;
    background: rgba(255, 75, 75, 0.1);
    border: 1px solid rgba(255, 90, 90, 0.2);
    border-radius: 15px;
    margin: 30px;
    padding: 10px 100px;    
    animation: FadeIn 0.5s ease
}
.Error_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: 2px solid;
    border-radius: 50%;
    font-size: 15px;
    font-weight: bold;
}

@keyframes FadeIn {
    from
    {
        opacity: 0;
        transform: translateY(-5px);    
    }
    to
    {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --------------------------- Feature Cards ----------------------------- */

.features_header {
    text-align: center;
}
.features_header h2 {
    font-size: 30px;
    font-weight: 700;
    color: #f8fafc;
    margin: 75px;
    margin-bottom: 0px;
    background: linear-gradient(
        135deg,
        #0ea5e9,
        #2dd4bf 
    );
    background-clip: text;
    color: transparent;
}
.features_header p {
    color: #64748b;
    font-size: 17px;
}
.feature_section {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto 50px;
    padding: 0 20px;
}
.feature_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding-left: 50px;
}
.feature_card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.7),
        rgba(30, 41, 59, 0.5),
        rgba(22, 82, 120, 0.5)
    );
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: 12px;
    transition: all 0.3s;
    width: 500px;
    height: 100%;
    max-height: 150px;
}
.feature_card:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 211, 238, 0.4);
    box-shadow: 0 10px 25px rgb(0, 0, 0, 0.5);
}

.feature_icon {
    width: 30px;
    margin-bottom:-15px;
}
.feature_card h3 {
    color: white;
    font-size: 22px
}
.feature_card p {
    color: #becfe6;
    margin-top: -20px;
    font-size: 18px;
    text-align: center;
}

/* --------------------------- Footer ----------------------------- */

footer {
    background:linear-gradient(
        180deg,
        rgb(0, 0, 0),
        rgb(4, 25, 49)
    );
    color: white;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
    padding: 30px 40px;
    width: 100%;
    font-size: 18px;
    color: #dee8f7;
}
.Contact {
    padding-left: 50px;
}
.Connects {
    padding-left: 50px;
}
.DO_NOT_CONTACT_ME {
    opacity: 0.05;
}
.SVG_icon {
    background-color: white;
    border-radius: 10px;
    margin-bottom: 1px;
}
.X_icon {
    cursor: not-allowed;
}

/* --------------------------- Responsive UI ----------------------------- */


@media (max-width: 480px) {
    header {
        padding: 10px;
    }


    .Input_Bar {
        display: flex;
        gap: 0px;
        height: 60px;
    }

    #chain_icon {
        font-size: 20px;
    }

    #videoURL {
        font-size: 15px;
    
    }
    #Send_Button {
        font-size: 15px;
        height: 60px;   
        max-width: 100px;
        gap: 1px;
    }
    .VideoInfoContainer {
        flex-direction: column;
        width: 95%;
        height: 370px;
    }
    .Thumbnail_Box {
        margin: 20px 25px 0;
    }

    .info_video {
        align-items: center;
    }
    .info_video h3 {
        width: 100%;
        max-width: 350px;
        font-size: 17px;
    }
    .divider {
        width: 350px;
    }
    
    .Menu_Scroll {
        width: 175px;
        margin-left: 0px;
        padding-left: 30px;
    }
    #Menu {
        font-size: 17px;
    }
    #Download_Button {
        width: 170px;
        font-size: 15px;
        height: 47px;
    }
    #Download_Button svg {
        height: 20px;
    }
    .Error_msg{
        display: flex;
        font-size: 20px;
        margin: 20px;
        padding: 10px 20px;
    }
    .feature_section {
        width: 100%;
    }
    .feature_grid {
        grid-template-columns: 1fr;
        padding-left: 0px;
    }
    .feature_card {
        width: 350px;
        max-height: 160px;
    }
    .feature_card p {
        font-size: 17px;
    }

    footer {
        grid-template-columns: 1fr;
    }
    .Contact {
        padding: 0px;
    }
    .Connects {
        padding: 0px; 
    }
}