﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fef5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    background: linear-gradient(135deg, #ff6b9d 0%, #feca57 100%);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(255,107,157,0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    color: white;
    font-size: 1.75rem;
    font-weight: bold;
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.nav-menu a:hover {
    text-shadow: 0 0 10px rgba(255,255,255,0.8);
}

.hero-section {
    background: linear-gradient(135deg, #ee5a6f 0%, #f29263 100%);
    color: white;
    padding: 150px 0 100px;
    text-align: center;
    margin-top: 60px;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary {
    background: white;
    color: #ee5a6f;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.content-section {
    padding: 80px 0;
}

.content-section.alt-bg {
    background-color: #fff;
}

.content-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2d3748;
    position: relative;
}

.content-section h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b9d, #feca57);
    border-radius: 2px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.gradient-1 { background: linear-gradient(135deg, #ff9ff3 0%, #feca57 100%); }
.gradient-2 { background: linear-gradient(135deg, #48dbfb 0%, #0abde3 100%); }
.gradient-3 { background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%); }
.gradient-4 { background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%); }
.gradient-5 { background: linear-gradient(135deg, #dfe6e9 0%, #b2bec3 100%); }
.gradient-6 { background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%); }
.gradient-7 { background: linear-gradient(135deg, #fd79a8 0%, #fdcb6e 100%); }
.gradient-8 { background: linear-gradient(135deg, #e17055 0%, #fdcb6e 100%); }
.gradient-9 { background: linear-gradient(135deg, #00b894 0%, #00cec9 100%); }
.gradient-10 { background: linear-gradient(135deg, #ff7675 0%, #ff6348 100%); }
.gradient-11 { background: linear-gradient(135deg, #74b9ff 0%, #a29bfe 100%); }
.gradient-12 { background: linear-gradient(135deg, #81ecec 0%, #55efc4 100%); }
.gradient-13 { background: linear-gradient(135deg, #fab1a0 0%, #ff7675 100%); }
.gradient-14 { background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%); }
.gradient-15 { background: linear-gradient(135deg, #ff9ff3 0%, #ee5a6f 100%); }
.gradient-16 { background: linear-gradient(135deg, #54a0ff 0%, #48dbfb 100%); }
.gradient-17 { background: linear-gradient(135deg, #feca57 0%, #ff6b9d 100%); }
.gradient-18 { background: linear-gradient(135deg, #ff6b9d 0%, #ee5a6f 100%); }
.gradient-19 { background: linear-gradient(135deg, #48dbfb 0%, #00d2d3 100%); }
.gradient-20 { background: linear-gradient(135deg, #f368e0 0%, #ff9ff3 100%); }

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #2d3748;
}

.card-content p {
    color: #718096;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: #fef5f5;
    color: #ee5a6f;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
}

.views {
    color: #a0aec0;
    font-size: 0.85rem;
    margin-left: auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 20px;
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.feature-item p {
    color: #718096;
    line-height: 1.8;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.content-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.content-text p {
    color: #718096;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-list-item .icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    flex-shrink: 0;
}

.content-image {
    height: 400px;
    border-radius: 15px;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    flex-shrink: 0;
    margin-right: 2rem;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.timeline-content p {
    color: #718096;
    line-height: 1.8;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.category-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.category-header {
    padding: 2rem;
    text-align: center;
    color: white;
}

.category-header h3 {
    font-size: 1.75rem;
}

.category-content {
    padding: 2rem;
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.category-tag {
    background: #fef5f5;
    color: #ee5a6f;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.category-tag:hover {
    background: #ee5a6f;
    color: white;
    transform: translateY(-2px);
}

.category-content p {
    color: #718096;
    line-height: 1.6;
}

.ranking-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.ranking-list {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.ranking-list h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #2d3748;
    text-align: center;
}

.ranking-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ranking-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #fef5f5;
    border-radius: 10px;
    transition: all 0.3s;
}

.ranking-item:hover {
    transform: translateX(5px);
}

.rank {
    font-size: 1.5rem;
    font-weight: bold;
    color: #a0aec0;
    width: 40px;
    text-align: center;
}

.rank.hot {
    color: #ee5a6f;
}

.ranking-info {
    flex: 1;
    margin: 0 1rem;
}

.ranking-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: #2d3748;
}

.ranking-info p {
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 0.25rem;
}

.stats {
    font-size: 0.85rem;
    color: #a0aec0;
}

.ranking-image {
    width: 60px;
    height: 60px;
    border-radius: 10px;
}

.articles-section {
    padding: 80px 0;
    background-color: #fef5f5;
}

.articles-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2d3748;
    position: relative;
}

.articles-section h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b9d, #feca57);
    border-radius: 2px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.article-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.article-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.article-card p {
    color: #718096;
    line-height: 1.8;
    text-align: justify;
}

.footer {
    background-color: #2d3748;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #feca57;
}

.footer-section p {
    color: #cbd5e0;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    color: #cbd5e0;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid #4a5568;
    border-radius: 5px;
    transition: all 0.3s;
}

.social-link:hover {
    background-color: #ff6b9d;
    border-color: #ff6b9d;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #feca57;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4a5568;
}

.footer-bottom p {
    color: #a0aec0;
    margin-bottom: 0.5rem;
}

.footer-bottom a {
    color: #cbd5e0;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #feca57;
}

@media (max-width: 768px) {
    .nav-menu {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .category-grid,
    .ranking-wrapper {
        grid-template-columns: 1fr;
    }
}
