:root {
    --primary: #ff9eb8;
    --primary-light: #ffd6e0;
    --primary-dark: #ff6b8b;
    --accent: #4fc3f7;
    --secondary: #ffb74d;
    --text: #333;
    --text-light: #666;
    --bg: #fef6f9;
    --card-bg: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'PingFang SC', sans-serif;
}

body {
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

main {
    margin-bottom: -1.5rem;
}

header {
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.logo a {
    text-decoration: none;
    color: var(--primary-dark);
}

.logo span {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

.logo span:nth-child(1) {
    background: var(--primary);
}

.logo span:nth-child(2) {
    background: var(--accent);
}

.logo span:nth-child(3) {
    background: var(--secondary);
}

nav ul {
    display: flex;
    list-style: none;
}

nav li {
    margin-left: 1.5rem;
}

nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-dark);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

.card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    box-shadow: 0 8px 24px rgba(255, 158, 184, 0.2);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.card-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

footer {
    text-align: center;
    padding: 2.5rem 5%;
    color: var(--text-light);
    font-size: 0.9rem;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.emoji {
    width: 1.2em;
    height: 1.2em;
    vertical-align: text-bottom;
    margin-right: 0.3em;
}

.tag {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
}

.btn:hover {
    background: var(--primary-dark);
}

.hero-banner {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg) 100%);
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.hero-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.hero-banner p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-light);
}

@media (max-width: 600px) {
    .hero-banner h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 800px) {
    header {
        flex-direction: column;
        align-items: center;
    }

    .logo span {
        display: none;
    }

    nav ul {
        margin-top: 1rem;
        margin-left: -1rem;
    }

    nav ul li {
        margin-left: 1rem;
    }
}