/* APP应用模态框样式 */
.app-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.app-modal.active {
    display: flex;
    opacity: 1;
}

.app-modal-content {
    width: 95%;
    max-width: 1200px;
    height: 90%;
    max-height: 800px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.app-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.app-modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 50%, rgba(78, 206, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(68, 160, 141, 0.08) 0%, transparent 50%);
    animation: headerFloat 6s ease-in-out infinite;
    z-index: 1;
}

.app-modal-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, rgba(78, 206, 255, 0.02) 1px, transparent 1px),
        linear-gradient(-45deg, rgba(68, 160, 141, 0.02) 1px, transparent 1px);
    background-size: 40px 40px, 40px 40px;
    animation: gridMove 15s linear infinite;
    z-index: 1;
}

.app-modal-title {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 8px rgba(78, 206, 255, 0.3);
}

.app-modal-close {
    background: none;
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(5px);
}

.app-modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(78, 206, 255, 0.2);
    transform: scale(1.05);
}

.app-modal-close svg {
    width: 18px;
    height: 18px;
}

.app-modal-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* 加载动画 */
.app-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    z-index: 10;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.app-loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.app-loading-animation {
    position: relative;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-loading-logo {
    width: 120px;
    height: 120px;
    border-radius: 25px;
    background: linear-gradient(135deg, #4eceff, #44a08d);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: bold;
    color: white;
    box-shadow: 0 20px 40px rgba(78, 206, 255, 0.3);
    animation: appLoadingPulse 2s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.app-loading-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-loading-ring {
    position: absolute;
    border: 2px solid transparent;
    border-top: 2px solid #4eceff;
    border-radius: 50%;
    animation: appLoadingSpin 1.5s linear infinite;
}

.app-loading-ring:nth-child(1) {
    width: 180px;
    height: 180px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 0s;
}

.app-loading-ring:nth-child(2) {
    width: 180px;
    height: 180px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 0.5s;
    border-top-color: #44a08d;
}

.app-loading-text {
    color: #fff;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    opacity: 0;
    animation: appLoadingTextFade 0.8s ease-out 0.5s forwards;
}

.app-loading-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    opacity: 0;
    animation: appLoadingTextFade 0.8s ease-out 1s forwards;
}

/* 应用界面 */
.app-interface {
    flex: 1;
    padding: 30px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    opacity: 0;
    transition: opacity 0.5s ease;
    position: relative;
    overflow: hidden;
}

.app-interface::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(78, 206, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(68, 160, 141, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(78, 206, 255, 0.05) 0%, transparent 50%);
    animation: backgroundFloat 8s ease-in-out infinite;
    z-index: 1;
}

.app-interface::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, rgba(78, 206, 255, 0.03) 1px, transparent 1px),
        linear-gradient(-45deg, rgba(68, 160, 141, 0.03) 1px, transparent 1px);
    background-size: 60px 60px, 60px 60px;
    animation: gridMove 20s linear infinite;
    z-index: 1;
}

.app-interface.show {
    opacity: 1;
}

.app-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.app-header h2 {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 10px rgba(78, 206, 255, 0.3);
}

.app-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin: 0;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 25px;
    justify-items: center;
    position: relative;
    z-index: 2;
}

.app-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    min-width: 120px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.app-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(78, 206, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.app-item:hover::before {
    left: 100%;
}

.app-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: #4eceff;
    background: rgba(255, 255, 255, 0.15);
}

.app-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #4eceff, #44a08d);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(78, 206, 255, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 3;
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    border-radius: 16px;
    display: block;
}

.app-name {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    position: relative;
    z-index: 3;
}

/* 动态粒子效果 */
.app-interface .floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.app-interface .particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(78, 206, 255, 0.6);
    border-radius: 50%;
    animation: particleFloat 15s linear infinite;
    bottom: -10px;
}

.app-interface .particle:nth-child(2n) {
    background: rgba(68, 160, 141, 0.6);
    animation-duration: 20s;
    animation-delay: -5s;
}

.app-interface .particle:nth-child(3n) {
    width: 2px;
    height: 2px;
    animation-duration: 25s;
    animation-delay: -10s;
}

/* 动画关键帧 */
@keyframes appLoadingPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 20px 40px rgba(78, 206, 255, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 25px 50px rgba(78, 206, 255, 0.5);
    }
}

@keyframes appLoadingSpin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes appLoadingTextFade {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes backgroundFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(60px, 60px);
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0) scale(0);
        opacity: 0;
    }
    5% {
        opacity: 1;
        transform: translateY(-20px) scale(1);
    }
    95% {
        opacity: 1;
        transform: translateY(-100vh) translateX(50px) scale(1);
    }
    100% {
        transform: translateY(-110vh) translateX(60px) scale(0);
        opacity: 0;
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .app-modal-content {
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        border-radius: 0;
    }
    
    .app-modal-header {
        padding: 12px 18px;
    }
    
    .app-modal-title {
        font-size: 18px;
    }
    
    .app-modal-close {
        width: 32px;
        height: 32px;
    }
    
    .app-modal-close svg {
        width: 16px;
        height: 16px;
    }
    
    .app-interface {
        padding: 20px;
    }
    
    .app-header h2 {
        font-size: 24px;
        color: #fff;
    }
    
    .app-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 20px;
    }
    
    .app-item {
        padding: 15px;
        min-width: 90px;
        background: rgba(255, 255, 255, 0.1);
    }
    
    .app-item:hover {
        background: rgba(255, 255, 255, 0.15);
    }
    
    .app-icon {
        width: 56px;
        height: 56px;
    }
    
    .app-icon img {
        width: 100%;
        height: 100%;
    }
    
    .app-name {
        font-size: 12px;
        color: #fff;
    }
    
    .app-loading-logo {
        width: 100px;
        height: 100px;
        font-size: 40px;
    }
    
    .app-loading-rings {
        width: 220px;
        height: 220px;
    }
    
    .app-loading-ring:nth-child(1) {
        width: 200px;
        height: 200px;
    }
    
    .app-loading-ring:nth-child(2) {
        width: 240px;
        height: 240px;
    }
    
    .app-loading-text {
        font-size: 24px;
    }
    
    .app-loading-subtitle {
        font-size: 14px;
    }
}

/* 平板适配 */
@media (min-width: 768px) and (max-width: 1024px) {
    .app-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

/* Header动画关键帧 */
@keyframes headerFloat {
    0%, 100% {
        transform: translateX(0) scale(1);
    }
    50% {
        transform: translateX(10px) scale(1.02);
    }
} 

/* 轻量级应用模态框样式 */
.light-app-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 2100;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.light-app-modal.active {
    display: flex;
    opacity: 1;
}

.light-app-modal-content {
    width: 90%;
    max-width: 900px;
    height: 85%;
    max-height: 700px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(78, 206, 255, 0.2);
}

.light-app-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: linear-gradient(135deg, rgba(78, 206, 255, 0.1), rgba(68, 160, 141, 0.1));
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.light-app-modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 50%, rgba(78, 206, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(68, 160, 141, 0.15) 0%, transparent 50%);
    animation: headerFloat 6s ease-in-out infinite;
    z-index: 1;
}

.light-app-modal-title {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    margin: 0;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(78, 206, 255, 0.4);
}

.light-app-modal-close {
    background: none;
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(5px);
}

.light-app-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(78, 206, 255, 0.3);
    transform: scale(1.1);
}

.light-app-modal-close svg {
    width: 18px;
    height: 18px;
}

.light-app-modal-body {
    flex: 1;
    padding: 25px;
    overflow-y: auto;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    position: relative;
}

.light-app-modal-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(78, 206, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(68, 160, 141, 0.05) 0%, transparent 50%);
    animation: backgroundFloat 8s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

/* 金融数据库应用样式 */
.financial-database-app {
    position: relative;
    z-index: 2;
}

.database-search-section,
.database-results-section {
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(78, 206, 255, 0.1);
    backdrop-filter: blur(5px);
}

.database-search-section h3,
.database-results-section h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 15px 0;
    text-shadow: 0 2px 8px rgba(78, 206, 255, 0.3);
}

.search-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    align-items: end;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-input,
.form-select {
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(78, 206, 255, 0.3);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: #4eceff;
    box-shadow: 0 0 0 3px rgba(78, 206, 255, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-select option {
    background: #1a1a2e;
    color: #fff;
}

.search-btn {
    grid-column: span 2;
    padding: 12px 20px;
    background: linear-gradient(135deg, #4eceff, #44a08d);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(78, 206, 255, 0.3);
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(78, 206, 255, 0.4);
}

.search-btn:active {
    transform: translateY(0);
}

.results-container {
    min-height: 200px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.no-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 160px;
    color: rgba(255, 255, 255, 0.6);
}

.no-data svg {
    margin-bottom: 15px;
    opacity: 0.7;
}

.no-data p {
    margin: 0;
    font-size: 16px;
}

.loading-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 160px;
    color: rgba(255, 255, 255, 0.8);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(78, 206, 255, 0.3);
    border-top: 3px solid #4eceff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.data-results {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(78, 206, 255, 0.2);
}

.result-header h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 8px rgba(78, 206, 255, 0.3);
}

.time-range-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    background: rgba(78, 206, 255, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(78, 206, 255, 0.3);
}

.price-data,
.financial-data {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.price-item,
.financial-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.price-item .label,
.financial-item .label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.price-item .value,
.financial-item .value {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.price-item .value.primary {
    color: #4eceff;
    font-size: 16px;
}

.price-item .value.positive {
    color: #4ade80;
}

.volume-data {
    text-align: center;
}

.chart-placeholder {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 40px;
    border: 2px dashed rgba(78, 206, 255, 0.3);
}

.chart-placeholder p {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.chart-placeholder small {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.news-data {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 3px solid #4eceff;
}

.news-index {
    background: linear-gradient(135deg, #4eceff, #44a08d);
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

.news-content {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.5;
}

/* 轻量级应用内容默认样式 */
.light-app-content {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.8);
}

.light-app-content h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 15px 0;
    text-shadow: 0 2px 8px rgba(78, 206, 255, 0.3);
}

.light-app-content p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 15px 0;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .light-app-modal-content {
        width: 95%;
        height: 90%;
        border-radius: 15px;
    }
    
    .light-app-modal-header {
        padding: 15px 20px;
    }
    
    .light-app-modal-title {
        font-size: 18px;
    }
    
    .light-app-modal-body {
        padding: 20px;
    }
    
    .search-form {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .search-btn {
        grid-column: span 1;
    }
    
    .price-data,
    .financial-data {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .result-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .result-header h4 {
        font-size: 16px;
    }
    
    .database-search-section,
    .database-results-section {
        padding: 15px;
        margin-bottom: 20px;
    }
}

/* 平板适配 */
@media (min-width: 768px) and (max-width: 1024px) {
    .light-app-modal-content {
        width: 85%;
        height: 80%;
    }
    
    .search-form {
        grid-template-columns: 1fr 1fr;
    }
}

/* 数据库应用过渡动画样式 */
.database-app-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.98);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.database-app-transition.active {
    opacity: 1;
    transform: scale(1);
}

.database-app-transition.closing {
    opacity: 0;
    transform: scale(1.02);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.database-app-transition-content {
    text-align: center;
    position: relative;
    z-index: 3;
    max-width: 400px;
    padding: 40px;
}

.database-app-logo {
    margin-bottom: 25px;
    animation: databaseAppLogoFloat 4s ease-in-out infinite;
}

.database-app-logo svg {
    filter: drop-shadow(0 4px 8px rgba(0, 219, 255, 0.15));
}

.database-app-title {
    color: #00dbff;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0, 219, 255, 0.3);
    opacity: 0;
    animation: databaseAppTextSlideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

.database-app-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    margin-bottom: 30px;
    opacity: 0;
    animation: databaseAppTextSlideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

.database-app-progress {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    opacity: 0;
    animation: databaseAppTextSlideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.7s forwards;
}

.database-app-progress-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.database-app-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 219, 255, 0.6), rgba(0, 219, 255, 0.8), rgba(0, 219, 255, 0.6));
    background-size: 200% 100%;
    border-radius: 2px;
    width: 0%;
    animation: databaseAppProgressFill 1.6s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards,
               databaseAppProgressShine 2.5s linear infinite;
}

/* 移除粒子效果，保持简洁 */

/* 动画关键帧 */
@keyframes databaseAppLogoFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-6px) scale(1.02);
    }
}

@keyframes databaseAppTextSlideIn {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes databaseAppProgressFill {
    0% {
        width: 0%;
    }
    30% {
        width: 35%;
    }
    60% {
        width: 70%;
    }
    100% {
        width: 100%;
    }
}

@keyframes databaseAppProgressShine {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* 移除粒子动画关键帧 */

/* 移除背景装饰效果，保持简洁 */ 