* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000000;
    color: white;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', 'Microsoft YaHei', Arial, sans-serif;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* 导航栏 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-icon {
    height: 40px;
    width: auto;
}

.nav-title {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #00ccff 0%, #7877c6 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-right {
    display: flex;
    gap: 20px;
}

.nav-btn {
    padding: 12px 32px;
    background: linear-gradient(135deg, rgba(0, 204, 255, 0.08) 0%, rgba(120, 119, 198, 0.08) 100%);
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 204, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.nav-btn:hover::before {
    left: 100%;
}

.nav-btn:hover {
    background: linear-gradient(135deg, rgba(0, 204, 255, 0.2) 0%, rgba(120, 119, 198, 0.2) 100%);
    border-color: rgba(0, 204, 255, 0.5);
    color: #00ccff;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 204, 255, 0.2);
}

.nav-btn.active {
    background: linear-gradient(135deg, rgba(0, 204, 255, 0.3) 0%, rgba(120, 119, 198, 0.3) 100%);
    border-color: rgba(0, 204, 255, 0.8);
    color: #00ccff;
}

/* 公告栏幻灯片 */
.announcement-section {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.announcement-slider {
    width: 100%;
    max-width: 1400px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.slider-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: rgba(0, 0, 0, 0.3);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 1.5em;
    border-radius: 10px;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.slider-btn:hover {
    background: rgba(0, 204, 255, 0.7);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
    left: 15px;
}

.slider-btn.next {
    right: 15px;
}

.slider-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.indicator.active {
    background: #00ccff;
    border-color: white;
    transform: scale(1.2);
}

/* 主内容区 - 全屏图片 */
.main-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-fullscreen {
    width: 100%;
    max-width: 100vw;
    object-fit: contain;
    display: block;
    border-radius: 0;
}

/* 主页内容区域 */
.home-content {
    padding: 60px 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.home-content h2 {
    font-size: 3.5em;
    margin-bottom: 40px;
    text-align: center;
    background: linear-gradient(135deg, #00ccff 0%, #7877c6 40%, #a855f7 70%, #ff6b9d 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.home-cards {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.home-card {
    padding: 25px 35px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.home-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 204, 255, 0.2);
}

.home-card.founder {
    background: linear-gradient(135deg, rgba(120, 119, 198, 0.1) 0%, rgba(0, 204, 255, 0.1) 100%);
    border-color: rgba(120, 119, 198, 0.3);
}

.home-card p {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    text-align: center;
}

.home-card.founder p {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

/* 子页面样式 */
.page-content {
    padding: 60px 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.page-content h2 {
    font-size: 3.5em;
    margin-bottom: 50px;
    text-align: center;
    background: linear-gradient(135deg, #00ccff 0%, #7877c6 40%, #a855f7 70%, #ff6b9d 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
}

/* 工作室页面样式 */
.studio-intro {
    margin-bottom: 60px;
}

.studio-intro p {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 20px;
    padding: 20px 30px;
    background: rgba(0, 204, 255, 0.05);
    border-left: 4px solid rgba(0, 204, 255, 0.5);
    border-radius: 0 15px 15px 0;
}

.studio-projects {
    margin: 40px 0;
    padding: 30px 35px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.studio-projects h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.95);
}

.studio-projects p {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.6;
}

.studio-projects .project-experience-btn {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, #00ccff 0%, #7877c6 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 204, 255, 0.3);
}

.studio-projects .project-experience-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 204, 255, 0.5);
    background: linear-gradient(135deg, #00ddff 0%, #8a89d6 100%);
}

.founder {
    font-size: 1.3em !important;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9) !important;
    background: rgba(120, 119, 198, 0.1) !important;
    border-left-color: rgba(120, 119, 198, 0.6) !important;
}

.timeline-section {
    margin-top: 50px;
}

.timeline-section h3 {
    font-size: 2.2em;
    margin-bottom: 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    display: inline-block;
    width: 100%;
}

.timeline-section h3::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #00ccff, #7877c6);
    margin: 15px auto 0;
    border-radius: 3px;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, rgba(0, 204, 255, 0.3), rgba(120, 119, 198, 0.3));
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 25px;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #00ccff, #7877c6);
    border-radius: 50%;
    border: 3px solid #000000;
}

.timeline-date {
    font-size: 1.1em;
    font-weight: 700;
    color: #00ccff;
    margin-bottom: 8px;
}

.timeline-content {
    font-size: 1.05em;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* 友情链接样式 */
.links-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.link-card {
    background: linear-gradient(135deg, rgba(0, 204, 255, 0.08) 0%, rgba(120, 119, 198, 0.08) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.link-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 204, 255, 0.15);
    border-color: rgba(0, 204, 255, 0.3);
}

.link-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 10px;
}

.link-name {
    font-size: 1.4em;
    font-weight: 700;
    color: #00ccff;
    margin: 0;
}

.link-url {
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    background: rgba(0, 204, 255, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
    word-break: break-all;
}

.link-url:hover {
    color: #00ccff;
    background: rgba(0, 204, 255, 0.2);
}

.link-desc {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}

.placeholder-text {
    font-size: 1.5em;
    color: rgba(255, 255, 255, 0.5);
    padding: 60px 100px;
    border: 2px dashed rgba(0, 204, 255, 0.3);
    border-radius: 20px;
    display: inline-block;
    background: rgba(0, 0, 0, 0.2);
}

/* 底部物理沙盒卡片 */
.footer-card {
    padding: 60px 40px 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fun-card {
    padding: 30px;
    background: linear-gradient(135deg, rgba(0, 204, 255, 0.08) 0%, rgba(120, 119, 198, 0.1) 100%);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    user-select: none;
    position: relative;
    width: 600px;
    max-width: 90vw;
}

.fun-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.fun-text {
    font-size: 1.6em;
    font-weight: 700;
    background: linear-gradient(135deg, #00ccff, #7877c6, #ff6b9d);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

.add-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00ccff, #7877c6);
    border: none;
    color: white;
    font-size: 2em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 20px rgba(0, 204, 255, 0.3);
}

.add-btn:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 8px 30px rgba(0, 204, 255, 0.5);
}

.add-btn:active {
    transform: scale(0.95);
}

/* 物理沙盒容器 */
.physics-container {
    position: relative;
    width: 100%;
    height: 400px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.physics-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.fun-subtext {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 15px;
    text-align: center;
}

/* 项目卡片样式 */
.projects-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.project-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 204, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.project-icon-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.project-icon {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    object-fit: contain;
    background: rgba(0, 204, 255, 0.1);
    border: 2px solid rgba(0, 204, 255, 0.3);
}

.project-name {
    font-size: 1.8em;
    font-weight: 700;
    background: linear-gradient(135deg, #00ccff, #7877c6);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-description-section {
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(0, 204, 255, 0.05);
    border-left: 3px solid rgba(0, 204, 255, 0.5);
    border-radius: 0 10px 10px 0;
}

.project-description {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.project-experience-section {
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    min-height: 100px;
}

.project-experience-content {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1em;
}

/* 项目体验按钮样式 */
.project-experience-btn {
    display: inline-block;
    padding: 12px 35px;
    background: linear-gradient(135deg, #00ccff, #7877c6);
    color: white;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 204, 255, 0.3);
}

.project-experience-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 204, 255, 0.5);
}

/* 远程控制密码页面样式 */
.password-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
}

.password-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.password-icon {
    font-size: 5em;
    margin-bottom: 20px;
}

.password-card h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #00ccff, #7877c6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.password-card p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 30px;
}

.password-input {
    width: 100%;
    padding: 15px 20px;
    font-size: 1.3em;
    text-align: center;
    letter-spacing: 5px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(0, 204, 255, 0.3);
    border-radius: 15px;
    color: white;
    margin-bottom: 20px;
    outline: none;
    transition: all 0.3s ease;
}

.password-input:focus {
    border-color: rgba(0, 204, 255, 0.8);
    box-shadow: 0 0 20px rgba(0, 204, 255, 0.3);
}

.submit-password-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.2em;
    font-weight: bold;
    background: linear-gradient(135deg, #00ccff, #7877c6);
    border: none;
    border-radius: 15px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-password-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 204, 255, 0.4);
}

.password-error {
    margin-top: 15px;
    color: #ff6b6b;
    font-size: 0.95em;
    min-height: 20px;
}
