/* ChromeExpert主题自定义样式 */

/* Chrome图标动画 */
.chrome-icon {
    width: 60px;
    height: 60px;
    position: relative;
    border-radius: 50%;
    background: #4285F4;
    overflow: hidden;
}

.chrome-icon > div {
    position: absolute;
    width: 100%;
    height: 100%;
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.chrome-red { background: #EA4335; transform: rotate(0deg); }
.chrome-yellow { background: #FBBC05; transform: rotate(120deg); }
.chrome-green { background: #34A853; transform: rotate(240deg); }
.chrome-blue {
    width: 30px;
    height: 30px;
    background: #4285F4;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    clip-path: none;
}

/* 浏览器窗口演示 */
.browser-window {
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.browser-header {
    background: #f1f3f4;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.browser-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}

.browser-dots .red { background: #ff5f57; }
.browser-dots .yellow { background: #ffbd2e; }
.browser-dots .green { background: #28ca42; }

.browser-url {
    flex: 1;
    background: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    color: #5f6368;
}

.browser-content {
    padding: 20px;
}

/* 特性卡片悬停效果 */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

/* 统计数字动画 */
.stat-item {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 文章卡片样式 */
.post-card {
    transition: all 0.3s ease;
}

.post-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1) !important;
}

/* 标签云动画 */
.tag-cloud a {
    transition: all 0.2s ease;
}

.tag-cloud a:hover {
    transform: scale(1.1);
    background-color: #4285F4 !important;
    color: white !important;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .feature-card {
        margin-bottom: 1rem;
    }
}

/* 打印样式 */
@media print {
    .site-header,
    .main-navigation,
    .site-footer,
    .sidebar {
        display: none;
    }
    
    .container {
        max-width: 100%;
    }
}