/**
 * CHEEK DEREK KRISTOPHER LLC - Common Styles
 * 公共样式定义 - 避免重复CSS代码
 */

/* 全局样式重置 - 统一所有页面的基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: #1a1f2e;
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
}

/* 动态背景效果 - 统一背景动画 */
.dynamic-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1f2e 0%, #2d3748 25%, #1a1f2e 50%, #2d3748 75%, #1a1f2e 100%);
    background-size: 400% 400%;
    z-index: -2;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 浮动球体效果 - 统一装饰性动画 */
.floating-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.1) 0%, rgba(0, 245, 255, 0.05) 50%, transparent 100%);
    animation: float 20s infinite linear;
}

.orb:nth-child(1) {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.orb:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 60%;
    left: 80%;
    animation-delay: -5s;
    animation-duration: 30s;
}

.orb:nth-child(3) {
    width: 100px;
    height: 100px;
    top: 80%;
    left: 20%;
    animation-delay: -10s;
    animation-duration: 20s;
}

.orb:nth-child(4) {
    width: 180px;
    height: 180px;
    top: 30%;
    left: 70%;
    animation-delay: -15s;
    animation-duration: 35s;
}

.orb:nth-child(5) {
    width: 120px;
    height: 120px;
    top: 70%;
    left: 50%;
    animation-delay: -20s;
    animation-duration: 28s;
}

@keyframes float {
    0% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-30px) translateX(30px) rotate(120deg);
    }
    66% {
        transform: translateY(20px) translateX(-20px) rotate(240deg);
    }
    100% {
        transform: translateY(0px) translateX(0px) rotate(360deg);
    }
}

/* 法律页面通用样式 - 统一所有法律页面的样式 */
.legal-page {
    max-width: 800px;
    margin: 80px auto 40px;
    padding: 2rem;
    background: rgba(26, 31, 46, 0.9);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.2);
    backdrop-filter: blur(10px);
}

.legal-page h1 {
    color: #00F5FF;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
}

.legal-page h2 {
    color: #FFD700;
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 0.5rem;
}

.legal-page h3 {
    color: #50C878;
    font-size: 1.2rem;
    margin: 1.5rem 0 0.8rem 0;
}

.legal-page p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #E0E1DD;
}

.legal-page ul, .legal-page ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-page li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.legal-page strong {
    color: #00F5FF;
}

/* 公司信息页面样式 - 统一公司信息展示 */
.company-info-page {
    max-width: 900px;
    margin: 80px auto 40px;
    padding: 2rem;
    background: rgba(26, 31, 46, 0.9);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.2);
    backdrop-filter: blur(10px);
}

.company-info-title {
    color: #00F5FF;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 0 0 15px rgba(0, 245, 255, 0.6);
    font-weight: bold;
    letter-spacing: 2px;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: rgba(13, 27, 42, 0.8);
    border-radius: 8px;
    overflow: hidden;
}

.info-table th {
    background: linear-gradient(135deg, #415A77 0%, #1B263B 100%);
    color: #FFD700;
    padding: 1rem;
    text-align: left;
    font-weight: bold;
    border-bottom: 2px solid #00F5FF;
}

.info-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 245, 255, 0.2);
    color: #E0E1DD;
}

.info-table tr:hover {
    background: rgba(0, 245, 255, 0.05);
}

.section-title {
    color: #FFD700;
    font-size: 1.8rem;
    margin: 2rem 0 1rem 0;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 0.5rem;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 245, 255, 0.1);
    color: #E0E1DD;
    position: relative;
    padding-left: 2rem;
}

.info-list li:before {
    content: "▶";
    color: #00F5FF;
    position: absolute;
    left: 0;
    top: 0.8rem;
}

/* 响应式设计 - 统一移动端适配 */
@media (max-width: 768px) {
    .legal-page, .company-info-page {
        margin: 60px 1rem 40px;
        padding: 1.5rem;
    }
    
    .legal-page h1, .company-info-title {
        font-size: 1.8rem;
    }
    
    .legal-page h2, .section-title {
        font-size: 1.4rem;
    }
    
    .info-table {
        font-size: 0.9rem;
    }
    
    .info-table th, .info-table td {
        padding: 0.8rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .legal-page, .company-info-page {
        margin: 40px 0.5rem 40px;
        padding: 1rem;
    }
    
    .legal-page h1, .company-info-title {
        font-size: 1.5rem;
    }
    
    .info-table {
        font-size: 0.8rem;
    }
    
    .info-table th, .info-table td {
        padding: 0.6rem 0.3rem;
    }
}

/* 通用动画类 - 可复用的动画效果 */
.fade-in {
    animation: fadeIn 0.8s ease-in-out;
}

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

.slide-up {
    animation: slideUp 0.6s ease-out;
}

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

.glow-effect {
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
    transition: box-shadow 0.3s ease;
}

.glow-effect:hover {
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.5);
}
