@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");

:root {
    --primary-purple: #6a3e9c;
    --light-purple: #9b7bcf;
    --dark-purple: #4a2c7a;
    --soft-purple: #f3eaff;
    --gradient-purple: linear-gradient(135deg, #6a3e9c, #8a5fc0);
    --gradient-flow: linear-gradient(90deg, transparent, #fff, #9b7bcf, #6a3e9c, #9b7bcf, #fff, transparent);
    --shadow-purple: rgba(106, 62, 156, 0.25);
    --card-bg: rgba(255, 255, 255, 0.95);
    --nav-bg: rgba(255, 255, 255, 0.85);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    font-family: "Noto Sans SC", "PingFang SC", Helvetica, Arial, sans-serif;
}

.container {
    position: relative;
    width: 100%;
    height: 100vh;
    background: linear-gradient(145deg, #f8f2ff 0%, #ffffff 100%);
    overflow: hidden;
}

.background-image,
.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    z-index: 0;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(106, 62, 156, 0.2);
    /* 紫色半透明遮罩 */
    z-index: 0;
    pointer-events: none;
    /* 确保遮罩层不会阻挡点击事件 */
}

.content-frame,
.main-content {
    width: 100%;
    height: 100vh;
    position: relative;
    z-index: 1;
}

/* ===== 头部导航栏 ===== */
.header {
    position: relative;
    height: 12%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2%;
    background: transparent;
    backdrop-filter: blur(12px);
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    height: 100%;
}

.university-logo {
    height: 70%;
    width: auto;
}

.university-name-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.university-name {
    font-weight: 700;
    font-size: clamp(1.1rem, 2.2vh, 1.6rem);
    color: white;
    line-height: 1.2;
    white-space: nowrap;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.university-name-en {
    font-weight: 400;
    font-size: clamp(0.55rem, 1.1vh, 0.8rem);
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* ===== 导航栏 - 科技感布局 ===== */
.main-nav-dropdown {
    position: absolute;
    left: 55%;
    transform: translateX(-50%);
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-items-wrapper {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.3rem;
    border-radius: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    white-space: nowrap;
}

.dropdown {
    position: relative;
}

.dropbtn {
    display: block;
    padding: 0.6rem 1.2rem;
    color: white;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 2rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    letter-spacing: 0.3px;
    position: relative;
    background: transparent;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.dropbtn:hover {
    background: var(--gradient-purple);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--shadow-purple);
}

.dropdown-content {
    position: absolute;
    top: 120%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(106, 62, 156, 0.3);
    border: 1px solid var(--light-purple);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    padding: 0.5rem 0;
    z-index: 1000;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    top: 140%;
}

.wide-dropdown {
    min-width: 350px;
    column-count: 2;
    column-gap: 0;
}

.dropdown-content a {
    color: var(--dark-purple);
    padding: 0.7rem 1.5rem;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    transition: all 0.2s;
    white-space: nowrap;
}

.dropdown-content a:hover {
    background: var(--soft-purple);
    color: var(--primary-purple);
    padding-left: 2rem;
}

.user-avatar {
    width: 2.8%;
    aspect-ratio: 1/1;
    background: var(--gradient-purple);
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 2px var(--primary-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

/* ===== 漂浮气泡动画 ===== */
.floating-bubbles {
    position: absolute;
    top: 12%;
    left: 0;
    width: 100%;
    height: 150px;
    pointer-events: none;
    z-index: 50;
}

.quote-bubble-wrapper {
    position: absolute;
    pointer-events: auto;
    cursor: pointer;
}

.quote-bubble {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(2px);
    border: 1px solid rgba(106, 62, 156, 0.3);
    border-radius: 40px;
    padding: 0.6rem 1.8rem;
    font-size: clamp(0.85rem, 1.5vh, 1rem);
    color: var(--dark-purple);
    white-space: nowrap;
    font-weight: 400;
    letter-spacing: 0.2px;
    box-shadow: 0 2px 10px rgba(106, 62, 156, 0.1);
    transition: all 0.3s ease;
    opacity: 0.8;
}

/* 使用伪元素实现中文翻译的平滑过渡 */
.quote-bubble::before {
    content: attr(data-zh);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-purple);
    color: white;
    border-radius: 40px;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    padding: 0.6rem 1.8rem;
    box-sizing: border-box;
    border: 1px solid transparent;
}

.quote-bubble-wrapper:hover .quote-bubble {
    opacity: 1;
    background: transparent;
    border-color: transparent;
    color: transparent;
    box-shadow: 0 8px 20px var(--shadow-purple);
    transform: scale(1.02);
}

.quote-bubble-wrapper:hover .quote-bubble::before {
    opacity: 1;
}

/* 6个气泡的不同位置和动画延迟 */
.bubble-1 {
    top: 0%;
    animation: floatRightToLeft 38s linear infinite;
    right: -400px;
}

.bubble-2 {
    top: 40%;
    animation: floatRightToLeft 38s linear infinite;
    animation-delay: 6s;
    right: -600px;
}

.bubble-3 {
    top: 5%;
    animation: floatRightToLeft 38s linear infinite;
    animation-delay: 12s;
    right: -600px;
}

.bubble-4 {
    top: 30%;
    animation: floatRightToLeft 38s linear infinite;
    animation-delay: 18s;
    right: -600px;
}

.bubble-5 {
    top: 5%;
    animation: floatRightToLeft 38s linear infinite;
    animation-delay: 24s;
    right: -600px;
}

.bubble-6 {
    top: 35%;
    animation: floatRightToLeft 38s linear infinite;
    animation-delay: 30s;
    right: -600px;
}

@keyframes floatRightToLeft {
    0% {
        right: -500px;
        opacity: 0;
    }

    5% {
        opacity: 0.8;
    }

    95% {
        opacity: 0.8;
    }

    100% {
        right: 100%;
        opacity: 0;
    }
}

/* ===== 三栏布局 ===== */
.three-column-layout {
    display: flex;
    height: 88%;
    width: 100%;
    padding: 0 1%;
    gap: 1%;
    position: relative;
}

/* 左侧：数据统计区 */
.left-stats-area {
    width: 20%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 10vh;
    align-items: flex-start;
}

.stats-container {
    width: 100%;
    margin-left: 2rem;
    display: flex;
    flex-direction: column;
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    width: 95%;
}

.stat-card,
.visit-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 18px;
    border: 1px solid var(--shadow-purple);
    box-shadow: 0 6px 16px var(--shadow-purple);
    padding: 1rem 0.6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.2s ease;
}

.stat-card:hover,
.visit-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--shadow-purple);
}

.stat-number,
.visit-number {
    font-size: clamp(1.3rem, 2.2vw, 1.8rem);
    font-weight: 700;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
    margin-bottom: 0.2rem;
}

.stat-label,
.visit-label {
    font-size: clamp(0.6rem, 1.1vw, 0.8rem);
    color: var(--dark-purple);
    opacity: 0.8;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.visit-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    min-height: 70px;
    width: 115%;
    margin: 0 auto;
}

/* 中间：大标题区域 - 带流光边框 */
.center-title-area {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    transform: translateY(0px) translateX(20px);
}

.title-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
}

.major-title {
    font-size: clamp(4rem, 10vw, 9rem);
    font-weight: 600;
    color: white;
    text-shadow: 10px 10px 3px var(--shadow-purple);
    letter-spacing: 10px;
    position: relative;
    text-stroke: 1px rgba(155, 123, 207, 0.3);
    z-index: 2;
}

/* 添加小星星装饰 - 围绕主标题 */
.major-title::before {
    content: '✦';
    position: absolute;
    top: -20px;
    left: -30px;
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-shadow: 0 0 10px rgba(106, 62, 156, 0.3);
    animation: sparkle 3s ease-in-out infinite;
}

.major-title::after {
    content: '✦';
    position: absolute;
    bottom: -20px;
    right: -30px;
    font-size: 1.8rem;
    color: rgba(155, 123, 207, 0.5);
    text-shadow: 0 0 10px rgba(106, 62, 156, 0.3);
    animation: sparkle 3s ease-in-out infinite 1.5s;
}

@keyframes sparkle {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1) rotate(0deg);
    }

    50% {
        opacity: 1;
        transform: scale(1.2) rotate(10deg);
    }
}

.flowing-border {
    position: absolute;
    top: -25px;
    left: -20px;
    right: -20px;
    bottom: -30px;
    border: 2px solid transparent;
    border-radius: 20px;
    background: linear-gradient(90deg, transparent, #fff, #9b7bcf, #6a3e9c, #9b7bcf, #fff, transparent) border-box;

    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: flowBorder 1s linear infinite;
    z-index: 1;
}

@keyframes flowBorder {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.page-subtitle {
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    color: white;
    letter-spacing: 0.4em;
    margin-bottom: 1rem;
    font-weight: 400;
    position: relative;
    top: 1rem;
    left: 14rem;
    padding: 0.8rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    border: 1px solid rgba(155, 123, 207, 0.3);
    border-radius: 40px;
    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 15px rgba(106, 62, 156, 0.15);
    overflow: hidden;
    z-index: 1;
}

/* 微光流动效果 */
.page-subtitle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(155, 123, 207, 0.8),
            rgba(155, 123, 207, 0.6),
            transparent);
    transition: left 2s ease;
    z-index: -1;
}

.page-subtitle:hover::before {
    left: 100%;
}

.page-subtitle:hover {
    border-color: rgba(155, 123, 207, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(106, 62, 156, 0.3);
    letter-spacing: 0.45em;
}

/* 点击效果 */
.page-subtitle:active {
    transform: translateY(0);
    transition: transform 0.1s;
}

.background-title {
    font-size: clamp(2.2rem, 4.5vw, 7rem);
    color: rgba(249, 250, 250, 0.3);
    font-weight: 800;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

/* 添加两个对角的小装饰 */
.center-title-area::before {
    content: '◇';
    position: absolute;
    top: 10%;
    left: 5%;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.2);
    transform: rotate(15deg);
    animation: gentleFloat 4s ease-in-out infinite;
}

.center-title-area::after {
    content: '◇';
    position: absolute;
    bottom: 15%;
    right: 5%;
    font-size: 2.5rem;
    color: rgba(155, 123, 207, 0.15);
    transform: rotate(-10deg);
    animation: gentleFloat 4s ease-in-out infinite 2s;
}

@keyframes gentleFloat {

    0%,
    100% {
        transform: rotate(15deg) translateY(0);
    }

    50% {
        transform: rotate(15deg) translateY(-10px);
    }
}

/* 右侧：AI区域 */
.right-ai-area {
    width: 22%;
    margin-left: 4rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 5vh;
}

/* AI侧边栏 */
.ai-sidebar {
    position: relative;
    height: auto;
    max-height: 80vh;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px) brightness(1.1);
    border-radius: 30px;
    border: 2px solid var(--shadow-purple);
    box-shadow: 0 15px 35px var(--shadow-purple);
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
}

/* AI头像和气泡 */
.ai-profile {
    position: absolute;
    bottom: 98%;
    right: 4rem;
    /* margin-bottom: -10px; */
    display: flex;
    align-items: flex-end;
    gap: 0.6rem;
    z-index: 200;
}

.ai-avatar {
    width: 3.8rem;
    height: 3.8rem;
    border-radius: 50%;
    border: 1.5px solid white;
    box-shadow: 0 6px 18px var(--shadow-purple);
    transition: transform 0.3s ease;
}

.ai-avatar:hover {
    transform: scale(1.05) rotate(5deg);
}

.ai-intro-bubble {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px 20px 20px 0;
    padding: 0.8rem 1.2rem;
    border: 1px solid var(--primary-purple);
    box-shadow: 0 6px 18px var(--shadow-purple);
    font-size: clamp(0.7rem, 1.3vh, 0.85rem);
    color: var(--dark-purple);
    line-height: 1.4;
    max-width: 220px;
    position: relative;
    animation: bubbleFloat 3s ease-in-out infinite;
}

@keyframes bubbleFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

.ai-controls {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
}

.ai-control-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--primary-purple);
    border-radius: 30px;
    color: var(--dark-purple);
    font-weight: 500;
    font-size: clamp(0.9rem, 1.2vh, 0.8rem);
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ai-control-btn:hover {
    background: var(--gradient-purple);
    color: white;
    border-color: transparent;
    transform: translateY(-1px);
}

.ai-stats {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 30px;
    padding: 0.6rem;
    margin-bottom: 1rem;
}

.ai-stats-content {
    display: flex;
    justify-content: space-around;
    font-size: clamp(0.8rem, 1.1vh, 0.7rem);
    color: var(--dark-purple);
    font-weight: 500;
}

/* AI工具卡片 */
.ai-tools {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
    max-height: 50vh;
    overflow-y: auto;
    padding-right: 0.2rem;
}

.ai-tools::-webkit-scrollbar {
    width: 3px;
}

.ai-tools::-webkit-scrollbar-thumb {
    background: var(--light-purple);
    border-radius: 10px;
}

.tools-title {
    font-size: clamp(1rem, 1.3vh, 0.85rem);
    color: var(--primary-purple);
    font-weight: 600;
    margin-bottom: 0.2rem;
    letter-spacing: 0.3px;
}

.daily-sentence-card,
.translation-tool-card {
    background: transparent;
    backdrop-filter: blur(10px) brightness(1.2);
    border-radius: 22px;
    border: 1px solid var(--light-purple);
    box-shadow: 0 6px 18px var(--shadow-purple);
    padding: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.daily-sentence-card:hover,
.translation-tool-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--shadow-purple);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.badge {
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
    font-size: clamp(0.55rem, 1.1vh, 0.7rem);
    font-weight: 600;
}

.badge.purple {
    background: var(--gradient-purple);
    color: white;
}

.badge.light-purple {
    background: var(--soft-purple);
    color: var(--primary-purple);
    border: 1px solid var(--light-purple);
}

.english-sentence {
    font-size: clamp(0.9rem, 1.2vh, 0.8rem);
    color: var(--dark-purple);
    font-style: italic;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.chinese-translation {
    font-size: clamp(0.65rem, 1.1vh, 0.7rem);
    color: #666;
}

.tool-description {
    font-size: clamp(0.75rem, 1.1vh, 0.7rem);
    color: #666;
    margin-bottom: 0.8rem;
    text-align: center;
}

/* feature-buttons 居中显示 */
.feature-buttons-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    flex-wrap: wrap;
    padding: 0.2rem 0;
    position: relative;
}

.feature-btns-container {
    display: flex;
    gap: 0.3rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    max-width: 300px;
    padding: 0.2rem 0;
    scrollbar-width: none;
    /* Firefox隐藏滚动条 */
    -ms-overflow-style: none;
    /* IE隐藏滚动条 */
    position: relative;
    flex: 1;
}

.feature-btns-container::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari隐藏滚动条 */
}

.feature-btn {
    background: rgba(106, 62, 156, 0.08);
    border: 1px solid var(--light-purple);
    border-radius: 30px;
    padding: 0.4rem 0.8rem;
    font-size: clamp(0.55rem, 1.1vh, 0.7rem);
    color: var(--dark-purple);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    /* 防止按钮被压缩 */
}

.feature-btn.active {
    background: var(--gradient-purple);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-purple);
}

.feature-btn:hover {
    background: var(--gradient-purple);
    color: white;
    border-color: transparent;
    transform: translateY(-1px);
}

.feature-nav-btn {
    width: 2rem;
    height: 2rem;
    background: rgba(106, 62, 156, 0.08);
    border: 1px solid var(--light-purple);
    border-radius: 50%;
    color: var(--dark-purple);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.feature-nav-btn:hover {
    background: var(--gradient-purple);
    color: white;
    border-color: transparent;
    transform: scale(1.1);
}

.feature-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.use-now-link {
    color: var(--primary-purple);
    text-decoration: none;
    font-size: clamp(0.55rem, 1.1vh, 0.7rem);
    font-weight: 600;
    transition: transform 0.2s ease;
    display: inline-block;
}

.use-now-link:hover {
    transform: translateX(3px);
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.6rem;
}

.language-support {
    font-size: clamp(0.7rem, 1vh, 0.65rem);
    color: #999;
}

/* 播放按钮 - 与 voice-btn 样式一致 */
.play-btn-circle {
    width: 2rem;
    height: 2rem;
    border: none;
    background: var(--gradient-purple);
    /* 使用紫色渐变 */
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin: 2px;
    box-shadow: 0 4px 10px var(--shadow-purple);
}

.play-btn-circle:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 15px var(--shadow-purple);
}

/* 可选：添加点击效果 */
.play-btn-circle:active {
    transform: scale(0.95);
}

/* 重新设计的聊天输入区域 */
.ai-chat-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    background: transparent;
}

.input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    background: transparent;
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 2px solid var(--primary-purple);
    padding: 0.2rem 0.2rem 0.2rem 1rem;
    transition: all 0.3s ease;
}

.input-wrapper:focus-within {
    box-shadow: 0 0 0 3px rgba(106, 62, 156, 0.2);
    transform: scale(1.02);
}

.chat-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: clamp(0.9rem, 1.2vh, 0.8rem);
    outline: none;
    color: var(--dark-purple);
}

.chat-input::placeholder {
    color: #aaa;
    font-style: italic;
}

.voice-btn {
    width: 2rem;
    height: 2rem;
    border: none;
    background: var(--gradient-purple);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin: 2px;
}

.voice-btn:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 4px 12px var(--shadow-purple);
}

.action-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.attach-btn,
.send-btn {
    width: 2.4rem;
    height: 2.4rem;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px var(--shadow-purple);
}

.attach-btn {
    background: white;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
}

.attach-btn:hover {
    background: var(--gradient-purple);
    color: white;
    transform: scale(1.1) rotate(15deg);
    border-color: transparent;
}

.send-btn {
    background: var(--gradient-purple);
    color: white;
    border: 2px solid transparent;
}

.send-btn:hover {
    transform: scale(1.1) translateX(3px);
    box-shadow: 0 6px 15px var(--shadow-purple);
}

/* 移除旧的圆圈样式 */
.attach-circle,
.send-circle {
    display: none;
}

@media screen and (min-width: 1919px) {
    .major-title {
        font-size: 170px;
    }

    .left-stats-area {
        padding-bottom: 10%;
    }

    .dropbtn {
        font-size: 1.4rem;
    }

    .dropdown-content a {
        font-size: 1rem;
    }

    .right-ai-area {
        padding-bottom: 7%;

        .ai-profile {
            position: absolute;
            bottom: 98%;
            right: 6rem;
            display: flex;
            align-items: flex-end;
            gap: 0.6rem;
            z-index: 200;
        }
    }

    .floating-bubbles {
        top: 15%;
        height: 200px;
    }
}

@media screen and (min-width: 2559px) {
    .major-title {
        font-size: 220px;
    }

    .header-left {
        gap: 0;
        margin-left: 3rem;
    }

    .university-name {
        font-size: 1.6rem;
    }

    .university-name-en {
        font-size: 0.9rem;
    }

    .header-left {
        margin-left: 3rem;
    }

    .dropbtn {
        font-size: 1.6rem;
    }

    .dropdown-content a {
        font-size: 1.2rem;
    }

    .left-stats-area {
        padding-bottom: 13%;
        margin-left: 3rem;
    }

    .stats-section {
        gap: 1.8rem;
    }

    .stat-card,
    .visit-card {
        padding: 2rem 1rem;
    }

    .visit-stats {
        gap: 1.6rem;
        width: 125%;
    }

    .right-ai-area {
        padding-bottom: 13%;
        margin-left: 5rem;

        .ai-profile {
            position: absolute;
            bottom: 98%;
            right: 30%;
            display: flex;
            align-items: flex-end;
            gap: 1rem;
            z-index: 200;
        }

        .translation-tool-card {
            margin-bottom: 7rem;
        }
    }

    .ai-sidebar {
        padding: 2.5rem 2rem;
    }

    .ai-control-btn {
        font-size: 1.2rem;
    }

    .ai-stats-content {
        font-size: 1.1rem;
    }

    .tools-title {
        font-size: 1rem;
    }

    .badge {
        font-size: 1.1rem;
    }

    .english-sentence,
    .chinese-translation,
    .language-support {
        font-size: 1.1rem;
    }

    .tool-description {
        font-size: 0.9rem;
    }

    .feature-btn {
        font-size: 1rem;
    }

    .ai-avatar {
        width: 5rem;
        height: 5rem;
    }

    .ai-intro-bubble {
        font-size: 1rem;
    }

    .center-title-area {
        transform: translateY(-60px);
    }

    .page-subtitle {
        font-size: 2rem;
    }

    .stat-number,
    .visit-number {
        font-size: 2rem;
        font-weight: 600;
        background: var(--gradient-purple);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        line-height: 1.2;
        margin-bottom: 0.2rem;
    }

    .stat-label,
    .visit-label {
        font-size: 1.3rem;
        color: var(--dark-purple);
        opacity: 0.8;
        font-weight: 500;
        letter-spacing: 0.2px;
    }

    .floating-bubbles {
        top: 12%;
        height: 400px;
    }

    .quote-bubble {
        font-size: 1.6rem;
    }

    .bubble-1 {
        top: 0%;
        animation: floatRightToLeft 50s linear infinite;
        right: -800px;
    }

    .bubble-2,
    .bubble-3,
    .bubble-4,
    .bubble-5,
    .bubble-6 {
        right: -1000px;
        animation: floatRightToLeft 50s linear infinite;
    }


    .bubble-2 {
        animation-delay: 9s;
    }

    .bubble-3 {
        animation-delay: 18s;
    }

    .bubble-4 {
        animation-delay: 27s;
    }

    .bubble-5 {
        animation-delay: 36s;
    }

    .bubble-6 {
        animation-delay: 45s;
    }

}