@font-face {
    font-family: "smiley";
    src: url(../font/Outfit-VariableFont_wght.ttf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "smiley";
}

img {
    width: 100%;
    object-fit: cover;
    display: block;
}

video {
    object-fit: cover;
}

a {
    text-decoration: none;
}

b,
strong {
    font-weight: 400
}

em,
i {
    font-style: normal;
}

li {
    list-style: none;
}

input {
    border: 0;
    outline: 0;
    touch-action: none;
}

button {
    outline: 0;
    border: 0;
    background-color: transparent;
    cursor: pointer;
}

/* footer */
footer {
    width: 100%;
    background-color: #232f52;
    border-top: 3px solid #ffb200;
    color: #a8b4cc;
    font-size: 13px;
    line-height: 1.6;
    padding: 16px 20px;
    text-align: center;
    transition: margin 0.3s;
}

footer .footer-copy {
    color: #c8d0e0;
    margin-bottom: 6px;
}

footer a {
    color: #a8b4cc;
    transition: color 0.2s;
}

footer a:hover {
    color: #ffb200;
}

.footer-info {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-info a {
    position: relative;
}

.footer-info a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #ffb200;
    transition: width 0.2s;
}

.footer-info a:hover::after {
    width: 100%;
}

.cookieFooter {
    margin-bottom: 58px;
}

.img-box {
    position: relative;
}

.img-box::before {
    content: '';
    display: block;
}

.img-box>img {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f4f4f4 url(../images/bg.jpg) repeat-x;
}

main {
    flex: 1;
}

.loading {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 9999999;
    background-color: #0000004d;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 15px;
    inset: 0;
}

.loader {
    display: block;
    --height-of-loader: 4px;
    --loader-color: #0071e2;
    width: 130px;
    height: var(--height-of-loader);
    border-radius: 30px;
    background-color: rgba(0, 0, 0, 0.2);
    position: relative;
}

.loader::before {
    content: "";
    position: absolute;
    background: var(--loader-color);
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    border-radius: 30px;
    animation: moving 1s ease-in-out infinite;
    ;
}

@keyframes moving {
    50% {
        width: 100%;
    }

    100% {
        width: 0;
        right: 0;
        left: unset;
    }
}

:root {
    --all-width: 1260px;
    --head-width: 960px;
    --logo: 180px;
    --search-bar: 300px;
    --button: 30px;
    --icon: 20px;
    --main-width: 915px;
}

.center {
    width: var(--all-width);
    margin: 0 auto;
}

@media screen and (max-width:769px) {
    :root {
        --all-width: 100%;
        --head-width: 100%;
         --main-width: 100%;
    }
}

@media only screen and (max-device-width: 768px) and (orientation: landscape) {
    /* 仅限手机，横屏模式 */
}

@media only screen and (max-device-width: 768px) and (orientation: portrait) {
    /* 仅限手机，竖屏模式 */
}

.cookieMessage {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: #fff;
    border-top: 3px solid #ffb200;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.10);
    display: none;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 12px 24px;
    z-index: 9999;
    flex-wrap: wrap;
}

.cookieIcon {
    font-size: 22px;
    flex-shrink: 0;
}

.cookieText {
    color: #555;
    font-size: 13px;
    flex: 1;
    min-width: 200px;
    line-height: 1.6;
}

.cookieText a {
    color: #4d63a0;
    text-decoration: underline;
}

.cookieText a:hover {
    color: #232f52;
}

.cookieActions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.cookieBtn {
    padding: 7px 20px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    transition: background-color 0.2s, color 0.2s;
}

.cookieBtn.agree {
    background-color: #ffb200;
    color: #fff;
}

.cookieBtn.agree:hover {
    background-color: #e6a000;
}

.cookieBtn.reject {
    background-color: transparent;
    color: #999;
    border: 1px solid #ddd;
}

.cookieBtn.reject:hover {
    border-color: #4d63a0;
    color: #4d63a0;
}

@media screen and (max-width: 769px) {
    .cookieMessage {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 16px;
        gap: 10px;
    }

    .cookieFooter {
        margin-bottom: 152px;
    }
}