@font-face {
    font-family: '江城圆体600W';
    src: url('../fonts/江城圆体600W.woff2') format('woff2'),
         url('../fonts/江城圆体600W.woff') format('woff'),
         url('../fonts/江城圆体600W.ttf') format('truetype');
}

/*CSS id select*/
[id="navbar"] {
    border-radius: 0 0 15px 15px;
    box-shadow:
        0.125em 0.125em 0 rgba(105, 105, 105, 0.8),
        0.25em 0.25em 0 rgba(105, 105, 105, 0.8),
        0 0 0.3125em rgba(105, 105, 105, 0.5);
}

[id="logo"] {
    border-radius: 50%;
    width: clamp(32px, 5vw, 48px);
}

[id="navbarTitle"] {
    cursor: default;
    font-size: clamp(14px, 3vw, 24px);
}

[id="navItem"] {
    cursor: pointer;
    font-size: clamp(14px, 3vw, 24px);
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-weight: bold;
    padding-left: 1rem;
}

[id="navItem-l"] {
    font-size: clamp(14px, 3vw, 24px);
}

[id="navItem"] i {
    min-width: 1.25em;
    text-align: center;
}

[id="navItem-l"] i {
    min-width: 1.25em;
    text-align: center;
}

html[data-bs-theme="light"] .card {
    background-color: rgba(255, 255, 255, 0.8);
}

html[data-bs-theme="dark"] .card {
    background-color: rgba(33, 37, 41, 0.8);
}

html[data-bs-theme="light"] .rule-title::before, html[data-bs-theme="light"] .rule-title::after {
    content: "";
    flex: 1;
    border-bottom: 2px solid #000;
    margin: 0 0.5em;
}

html[data-bs-theme="dark"] .rule-title::before, html[data-bs-theme="dark"] .rule-title::after {
    content: "";
    flex: 1;
    border-bottom: 2px solid #fff;
    margin: 0 0.5em;
}

/*CSS tag select*/
* {
    user-select: none;
    -webkit-user-select: none;
    font-family: '江城圆体600W', sans-serif;
    transition: background-color 0.5s ease;
}

header {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

body {
    background-image: url('../image/background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../image/background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    filter: brightness(0.8);
}

img {
    pointer-events: none;
}

.hometop {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100dvh - env(safe-area-inset-bottom));
    position: relative;
}

.scroll-down-btn {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: none;
    border: none;
    font-size: 2.5rem;
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    animation: bounce 1s infinite;
    transition: opacity 0.5s ease;
    z-index: 999999;
}

.scroll-down-btn.hidden {
    opacity: 0;
    pointer-events: none;
}

.hometop-container {
    text-align: center;
}

.hometop-container button {
    font-size: clamp(12px, 1vw, 108px);
    transform: scale(1.5);
    box-shadow:
        0.1em 0.1em 0 #696969,
        0.2em 0.2em 0 #696969,
        0 0 0.25em #696969;
}

.blink-icon {
    display: inline-block;
    text-align: center;
    transition: opacity 0.25s ease-in-out;
    opacity: 1;
}

.blink-icon.hidden {
    opacity: 0;
}

.bg-navbar-color {
    background-color: #6391DB;
    background-image: var(--bs-gradient)
}

.home-title-text {
    font-size: clamp(24px, 6vw, 108px);
    font-weight: bold;
    text-align: center;
    text-shadow:
        0.075em 0.075em 0 #696969,
        0 0 0 #696969,
        0 0 0 #696969;
}

.htt1 {
    color: #F6C625;
}

.htt2 {
    color: #6897FF;
}

.home-title-feature-text {
    color: white;
    font-size: 64px;
    text-shadow:
        0.05em 0 0 #000,
        -0.05em 0 0 #000,
        0 0.05em 0 #000,
        0 -0.05em 0 #000,
        0.05em 0.05em 0 #000,
        -0.05em 0.05em 0 #000,
        0.05em -0.05em 0 #000,
        -0.05em -0.05em 0 #000;
}

.card-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100dvh - env(safe-area-inset-bottom));
}

.card {
    justify-content: center;
    align-items: center;
    border-radius: 27px;
    box-shadow:
        0.15em 0.15em 0 rgba(105, 105, 105, 0.8),
        0.3em 0.3em 0 rgba(105, 105, 105, 0.8),
        0 0 0.25em rgba(105, 105, 105, 0.5);
}

#feature-section .col > div[data-aos] {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#feature-section .col .card {
    flex: 1;
}

.card-img-top {
    width: 50%;
    height: auto;
    border-radius: 26px 26px 0 0;
}

.card-text {
    font-size: 20px;
}

.card-header {
    width: 100%;
}

.serverinfo-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: calc(100dvh - env(safe-area-inset-bottom));
}

.image-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: calc(100dvh - env(safe-area-inset-bottom));
}

.carousel {
    position: relative;
    width: 80%;
    aspect-ratio: 16 / 9;
    box-shadow:
        0 0 2em rgba(0, 0, 0, 0.6),
        0 0 4em rgba(0, 0, 0, 0.5);
    border-radius: 24px;
}

.carousel-item {
    border-radius: 24px;
    overflow: hidden;
}

.carousel img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    object-fit: cover;
    object-position: center;
}

.info-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: calc(100dvh - env(safe-area-inset-bottom));
    padding: 1rem;
    box-sizing: border-box;
}

.info-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.375rem 0 0 0.375rem;
}

#infocard .card .row {
    display: flex;
    align-items: stretch;
}

#infocard .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.member-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100dvh - env(safe-area-inset-bottom));
}

.user-avatar {
    border-radius: 50%;
    padding: 1em;
}

.social-media-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: calc(100dvh - env(safe-area-inset-bottom));
}

.server-rule {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100dvh - env(safe-area-inset-bottom));
}

.discord-rule {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100dvh - env(safe-area-inset-bottom));
}

.rule-list {
    display: flex;
    flex-direction: row;
    gap: 1em;
}

.scrollspy-example {
    position: relative;
    width: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    padding-top: 1rem;
}

.scrollspy-example-1 {
    position: relative;
    width: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    padding-top: 1rem;
}

.rule-title {
    display: flex;
    align-items: center;
    text-align: center;
}

blockquote {
    border-left: 4px solid #696969;
    padding-left: 1rem;
}

.home-footer {
    font-size: clamp(8px, 1vw, 12px);
    text-shadow:
        0.1em 0.1em 0 #696969,
        0.1em 0.1em 0 #696969,
        -0.1em -0.1em 0 #696969,
        0 0 0.15em #696969;
}

.lightanddark {
    height: 40px;
    width: 40px;
    border-radius: 25%;
    position: fixed;
    bottom: 25px;
    right: 25px;
    transform: scale(1.3);
    text-align: center;
    margin: auto;
    box-shadow:
        0.1em 0.1em 0 #696969,
        0.2em 0.2em 0 #696969,
        0 0 0.25em #696969;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100dvw;
    height: 100dvh;
    background: #111;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99999999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255,255,255,0.2);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/*CSS @ select*/
@media print{
    html {
        display: none;
    }
}

@media (min-width: 992px) {
    .carousel {
        width: 50%;
    }
}

@media (max-width: 992px) {
    .rule-list .row {
        flex-direction: column;
    }
    .rule-list .col-3,
    .rule-list .col-9 {
        padding: 0.5rem;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .carousel {
        width: 80%;
    }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(20px); }
}

/*版權所有 © 2025 炸蝦工作室 | Copyright © 2025 FS Studio. All rights reserved.*/