/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    line-height: 1.6;
}

.container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    padding: 60px 40px;
    text-align: center;
    max-width: 800px;
    width: 90%;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease-out;
}

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

.header {
    margin-bottom: 40px;
}

.company-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-content {
    margin-bottom: 40px;
}

.content-section {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.company-description {
    font-size: 1.3rem;
    color: #5a6c7d;
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 1.8;
}

.transition-message {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    border-left: 4px solid #667eea;
}

.transition-text {
    font-size: 1.2rem;
    color: #495057;
    font-weight: 500;
    margin-bottom: 20px;
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.loading-dots span {
    width: 12px;
    height: 12px;
    background: #667eea;
    border-radius: 50%;
    animation: loading 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes loading {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.footer {
    border-top: 1px solid #e9ecef;
    padding-top: 30px;
    margin-top: 40px;
}

.icp-info {
    font-size: 0.9rem;
    color: #6c757d;
}

.icp-text {
    margin-bottom: 8px;
}

.icp-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.icp-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 40px 25px;
        margin: 20px;
        width: calc(100% - 40px);
    }
    
    .company-name {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .company-description {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .transition-message {
        padding: 25px;
        margin: 20px 0;
    }
    
    .transition-text {
        font-size: 1.1rem;
    }
    
    .footer {
        padding-top: 25px;
        margin-top: 30px;
    }
    
    .icp-info {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 30px 20px;
        border-radius: 15px;
    }
    
    .company-name {
        font-size: 1.8rem;
    }
    
    .company-description {
        font-size: 1rem;
    }
    
    .transition-message {
        padding: 20px;
    }
    
    .transition-text {
        font-size: 1rem;
    }
    
    .loading-dots span {
        width: 10px;
        height: 10px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    }
    
    .container {
        background: rgba(44, 62, 80, 0.95);
        color: #ecf0f1;
    }
    
    .company-name {
        color: #ecf0f1;
        background: linear-gradient(135deg, #3498db, #9b59b6);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .company-description {
        color: #bdc3c7;
    }
    
    .transition-message {
        background: linear-gradient(135deg, #34495e, #2c3e50);
    }
    
    .transition-text {
        color: #ecf0f1;
    }
    
    .loading-dots span {
        background: #3498db;
    }
    
    .footer {
        border-top-color: #34495e;
    }
    
    .icp-info {
        color: #95a5a6;
    }
    
    .icp-link {
        color: #3498db;
    }
    
    .icp-link:hover {
        color: #9b59b6;
    }
}