/* ========================================
   三不占原则区域
   Three Principles Section
   ======================================== */

.principles-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, 
        var(--tj-bg-dark) 0%,
        rgba(26, 26, 46, 0.95) 100%
    );
    position: relative;
    overflow: hidden;
}

.principles-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(212, 175, 55, 0.3) 50%,
        transparent 100%
    );
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(28px, 5vw, 42px);
    color: var(--tj-gold-primary);
    letter-spacing: 0.3em;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.15em;
}

/* 三盏灯容器 */
.lanterns-container {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

/* 单盏灯 */
.lantern {
    text-align: center;
    opacity: 0.3;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.lantern.lit {
    opacity: 1;
    transform: translateY(0);
}

.lantern-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 灯笼光晕 */
.lantern-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, 
        rgba(212, 175, 55, 0.3) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.8s ease;
    animation: lanternPulse 3s ease-in-out infinite;
}

.lantern.lit .lantern-glow {
    opacity: 1;
}

@keyframes lanternPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

/* 灯笼主体 */
.lantern-body {
    width: 80px;
    height: 100px;
    background: linear-gradient(180deg,
        rgba(139, 0, 0, 0.9) 0%,
        rgba(180, 20, 20, 0.9) 50%,
        rgba(139, 0, 0, 0.9) 100%
    );
    border-radius: 40px;
    position: relative;
    box-shadow: 
        0 0 0 3px rgba(212, 175, 55, 0.3),
        inset 0 0 20px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--tj-gold-primary);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    transition: all 0.5s ease;
}

.lantern.lit .lantern-body {
    box-shadow: 
        0 0 0 3px rgba(212, 175, 55, 0.6),
        0 0 40px rgba(212, 175, 55, 0.4),
        inset 0 0 30px rgba(255, 200, 100, 0.2);
}

/* 灯笼顶部和底部装饰 */
.lantern-body::before,
.lantern-body::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 8px;
    background: linear-gradient(90deg, 
        transparent,
        var(--tj-gold-primary),
        transparent
    );
    border-radius: 4px;
}

.lantern-body::before {
    top: -4px;
}

.lantern-body::after {
    bottom: -4px;
}

/* 灯笼穗子 */
.lantern-tassel {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 25px;
    background: linear-gradient(180deg,
        var(--tj-gold-primary),
        transparent
    );
}

.lantern-tassel::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: var(--tj-gold-primary);
    border-radius: 50%;
}

/* 灯笼文字 */
.lantern-text {
    margin-top: 20px;
}

.lantern-title {
    font-size: 20px;
    color: var(--tj-gold-primary);
    letter-spacing: 0.2em;
    margin-bottom: 10px;
}

.lantern-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    max-width: 200px;
}

/* 提示文字 */
.principles-hint {
    text-align: center;
    margin-top: 60px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
    letter-spacing: 0.1em;
}

/* 响应式 */
@media (max-width: 768px) {
    .principles-section {
        padding: 60px 20px;
    }
    
    .lanterns-container {
        gap: 30px;
    }
    
    .lantern-icon {
        width: 100px;
        height: 100px;
    }
    
    .lantern-body {
        width: 60px;
        height: 80px;
        font-size: 24px;
    }
    
    .lantern-title {
        font-size: 16px;
    }
    
    .lantern-desc {
        font-size: 12px;
    }
}

/* 动画关键帧 */
@keyframes lanternLightUp {
    0% {
        opacity: 0.3;
        transform: translateY(30px) scale(0.9);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.lantern.animating {
    animation: lanternLightUp 0.8s ease forwards;
}
