body {
    font-family: 'Arial', sans-serif;
    background-image: url('image/Gemini_Generated_Image_zdzu1czdzu1czdzu.png'); 
    backdrop-filter: blur(.5rem) !important;
    background-size: cover; 
    background-position: center; 
    color: #e0e0e0;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: rgb(17 38 51 / 48%);
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

h1 {
    color: #ffffff;
    display: flex;
    justify-content: center;
}

h2 {
    color: #ffffff;
    display: flex;
    justify-content: center;
    font-size: 2em
}
h3 {
    color: #ffffff;
    display: flex;
    justify-content: center;
    font-size: 2em
}

main {
    flex: 1;
    padding: 20px;
}

.downloads {
    margin: 20px 0;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
}

.download-item {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background-color: rgb(17 38 51 / 48%);
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
    margin-right: 10px;
    margin-left: 10px;
    display: flex;
    align-items: center;
    width: 500px;
    backdrop-filter: blur(2px);
    border: 1.25px solid #63d7ff;
}

.download-item:hover {
    transform: translateY(-5px);
    border-color: #ffffff;
    box-shadow: 0 10px 20px rgba(99, 215, 255, 0.3);
    background-color: rgb(17 38 51 / 70%);
}

.download-item img {
    width: 100px;
    height: auto;
    margin-right: 20px;
    border-radius: 5px;
    transition: transform 0.3s;
}

.download-item img:hover {
    transform: scale(1.05);
}

.custom-button {
    width: 130px;
    height: 40px;
    color: #fff;
    border-radius: 5px;
    padding: 10px 25px;
    font-family: 'Lato', sans-serif;
    font-weight: 500;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, .5), 7px 7px 20px 0px rgba(0, 0, 0, .1), 4px 4px 5px 0px rgba(0, 0, 0, .1);
    outline: none;
}

.download-button {
    border: none;
    transition: all 0.3s ease;
    overflow: hidden;
    margin-left: auto;
    background-color: #1fd1f9;
    background-image: linear-gradient(315deg, #1fd1f9 0%, #b621fe 74%);
}

.download-button:hover {
    background-color: #1fd1f9;
    background-image: linear-gradient(315deg, #1fd1f9 0%, #b621fe 74%);
    filter: brightness(1.15);
    transform: scale(1.05);
}

.download-button-xray {
    border: none;
    transition: all 0.3s ease;
    overflow: hidden;
    margin-left: auto;
    background-color: #1cb2c9;
}

.download-button-xray:hover {
    background-color: #3bdef7;
    filter: brightness(1.15);
    transform: scale(1.05);
}

.download-button-barebones {
    border: none;
    transition: all 0.3s ease;
    overflow: hidden;
    margin-left: auto;
    background-color: #1fd1f9;
    background-image: linear-gradient(315deg, #2beb24 0%, #0ab33d 74%);
}

.download-button-barebones:hover {
    background-color: #1fd1f9;
    background-image: linear-gradient(315deg, #2beb24 0%, #0ab33d 74%);
    filter: brightness(1.15);
    transform: scale(1.05);
}

.download-button-astray {
    border: none;
    transition: all 0.3s ease;
    overflow: hidden;
    margin-left: auto;
    background-color: #1fd1f9;
    background-image: linear-gradient(349deg, #1a6eca 0%, #1fbee2 74%);
}

.download-button-astray:hover {
    background-color: #1fd1f9;
    background-image: linear-gradient(349deg, #3294ff 0%, #65e3ff 74%);
    filter: brightness(1.15);
    transform: scale(1.05);
}

.download-button-relonix {
    border: none;
    transition: all 0.3s ease;
    overflow: hidden;
    margin-left: auto;
    background-color: #ffffff;
    background-image: linear-gradient(315deg, #e3f2fd 0%, #ffffff 74%);
    color: #445566;
    font-weight: bold;
    box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.8), 0 4px 15px rgba(173, 216, 230, 0.4);
    border: 1px solid #ffffff;
}

.download-button-relonix:hover {
    background-image: linear-gradient(315deg, #ffffff 0%, #ffffff 100%);
    filter: brightness(1.1);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 10px rgba(173, 216, 230, 0.6);
    color: #2196f3;
}

.download-button-relonix-white {
    border: none;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    margin-left: auto;
    background-color: #1a1a1a;
    background-image: linear-gradient(145deg, #2c2c2c 0%, #1a1a1a 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.download-button-relonix-white:hover {
    background-image: linear-gradient(145deg, #353535 0%, #222222 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    filter: brightness(1.1);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 10px rgba(255, 255, 255, 0.05);
}

.download-button-qwesta {
    border: none;
    transition: all 0.3s ease;
    overflow: hidden;
    margin-left: auto;
    background-color: #f91f1f;
    background-image: linear-gradient(349deg, #ca1a1a 0%, #e21f1f 74%);
}

.download-button-qwesta:hover {
    background-color: #f91f1f;
    background-image: linear-gradient(349deg, #ff3232 0%, #ff6565 74%);
    filter: brightness(1.15);
    transform: scale(1.05);
}
.download-button-zion {
    border: none;
    transition: all 0.3s ease;
    overflow: hidden;
    margin-left: auto;
    background-color: #00bcd4;
    background-image: linear-gradient(349deg, #008ba3 0%, #00acc1 74%);
    color: white;
}

.download-button-zion:hover {
    background-color: #00e5ff;
    background-image: linear-gradient(349deg, #00b8d4 0%, #33e1ff 74%);
    filter: brightness(1.1);
    transform: scale(1.05);
    cursor: pointer;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: rgb(17 38 51 / 48%); /* Semi-transparent footer */
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
}

.social-media {
    margin-top: 10px;
}

.social-media a {
    margin: 0 10px;
    color: #86d5fc;
    text-decoration: none;
    transition: color 0.3s;
}

.social-media a:hover {
    color: #9a66e3;
}

/* Mobile Styles */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    header {
        padding: 10px;
    }

    .download-item {
        flex-direction: column;
        align-items: flex-start;
        margin: 10px 0;
    }

    .download-item img {
        width: 100%; /* Make images full width on mobile */
        margin-bottom: 10px;
    }
}

.search-container {
    text-align: center;
    margin: 20px 0;
}

#searchInput {
    padding: 10px 20px;
    width: 300px;
    border-radius: 20px;
    border: 1.5px solid #63d7ff;
    background: rgba(17, 38, 51, 0.7);
    color: white;
    outline: none;
    font-size: 16px;
    backdrop-filter: blur(5px);
}

#searchInput:focus {
    box-shadow: 0 0 10px #63d7ff;
    width: 350px;
    transition: 0.3s;
}

/* 彈窗背景 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
}

.modal-content {
    background-color: #112633;
    margin: 10% auto;
    padding: 30px;
    border: 1px solid #63d7ff;
    width: 80%;
    max-width: 600px;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 0 30px rgba(99, 215, 255, 0.2);
    color: white;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover {
    color: #63d7ff;
}

.download-item {
    cursor: pointer;
}

