/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    cursor: url('https://static.gangya.fun/assets/point.png') 10 10, auto;
}

a,
button,
.nav-link,
.submenu-item,
[role="button"] {
    cursor: url('https://static.gangya.fun/assets/point.png') 10 10, pointer;
}

body,
canvas,
#physics-container {
    cursor: url('https://static.gangya.fun/assets/point.png') 10 10, auto;
}

video,
.main-video,
.grid-video,
.bg-video,
.cover-video,
.hover-video,
.end-video,
.about-video {
    cursor: url('https://static.gangya.fun/assets/point.png') 10 10, auto !important;
}

.video-wrapper,
.video-grid-item,
.project-video-container {
    cursor: url('https://static.gangya.fun/assets/point.png') 10 10, auto !important;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #D4D4D4;
    color: #000000;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body::-webkit-scrollbar {
    display: none;
}

body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* 导航栏样式 */
.navbar {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    padding: 1rem 1rem 0 30px;
    background-color: transparent !important;
    box-shadow: none;
    z-index: 100;
    width: 100%;
    border-bottom: none;
    position: fixed;
    top: 0;
    left: 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    margin-right: auto;
}

.navbar .container-fluid {
    padding-left: 0;
    padding-right: 0;
}

.navbar-collapse {
    flex-grow: 0;
}

.brand-link {
    text-decoration: none;
    color: inherit;
}

.brand-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 0.06rem;
    line-height: 150%;
    color: #000000;
}

.nav-link {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-left: 2rem;
    line-height: 150%;
    color: #000000 !important;
    transition: color 0.3s ease;
    display: block;
}

.nav-link:hover {
    color: #0066ff !important;
}

.nav-link.active {
    color: #0066ff !important;
}

.nav-link:focus,
.nav-link:focus-visible,
.nav-link:hover:focus,
.nav-link:hover:focus-visible {
    color: #0066ff !important;
    outline: none;
}

.navbar-tooth {
    width: 32px;
    height: 32px;
    margin-left: 2rem;
}

.navbar-tooth-container {
    display: flex;
    align-items: center;
}

.navbar-tooth-container .brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* 响应式设计：iPad 屏幕 */
@media (min-width: 769px) and (max-width: 1024px) {
    .navbar {
        padding: 1rem 2rem;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
    }

    .navbar-collapse {
        flex-grow: 1;
        justify-content: flex-end !important;
    }

    .navbar-brand {
        display: flex;
    }

    .brand-text {
        font-size: 0.7rem;
    }

    .nav-link {
        font-size: 0.7rem;
        margin: 0 0.8rem;
    }

    .navbar-tooth {
        width: 30px;
        height: auto;
    }

    .mobile-nav {
        display: none;
    }
}

/* 响应式设计：手机屏幕 */
@media (max-width: 768px) {
    .navbar {
        display: none;
    }
}

@media (max-width: 576px) {
    .brand-text {
        font-size: 1rem;
    }
}