:root {
    --sweet-pink: #ff6b9d;
    --sweet-peach: #ffa8e4;
    --sweet-cream: #fff5f7;
    --sweet-gold: #ffd93d;
    --sweet-lavender: #c3b1e1;
    --sweet-mint: #96fbc4;
    --sweet-coral: #ff8a5c;
    --sweet-sky: #a8e6cf;
    --sweet-gradient: linear-gradient(135deg, #ff6b9d, #ffa8e4, #ffd93d, #c3b1e1);
    --sweet-glow: 0 10px 40px rgba(255, 107, 157, 0.3);
    --sweet-transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --sweet-font: 'Helvetica Neue', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

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

body {
    font-family: var(--sweet-font);
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #fff5f7 0%, #ffeef5 50%, #fff0f8 100%);
    overflow-x: hidden;
    position: relative;
}

.candy-bubbles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 107, 157, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(255, 168, 228, 0.06) 0%, transparent 60%),
        radial-gradient(circle at 50% 80%, rgba(255, 217, 61, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    animation: bubbleFloat 20s ease-in-out infinite;
}

@keyframes bubbleFloat {
    0%, 100% { opacity: 0.6; transform: translateY(0) rotate(0deg); }
    50% { opacity: 1; transform: translateY(-30px) rotate(180deg); }
}

.floating-hearts {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    background: 
        radial-gradient(circle at 25% 25%, rgba(195, 177, 225, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(150, 251, 196, 0.08) 0%, transparent 60%);
    animation: heartsFloat 18s ease-in-out infinite;
}

@keyframes heartsFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, -25px) scale(1.05); }
}

.container-sweet {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.sweet-navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 245, 247, 0.95);
    backdrop-filter: blur(25px);
    border-bottom: 2px solid rgba(255, 107, 157, 0.1);
    z-index: 1000;
    transition: var(--sweet-transition);
}

.sweet-navbar .container-sweet {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-heart {
    width: 45px;
    height: 45px;
    background: var(--sweet-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--sweet-glow);
    animation: heartPulse 4s ease-in-out infinite;
}

@keyframes heartPulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(10deg); }
}

.navbar-brand h1 a {
    font-size: 1.6rem;
    font-weight: 700;
    background: var(--sweet-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    transition: var(--sweet-transition);
}

.navbar-brand h1 a:hover {
    filter: brightness(1.2);
    text-shadow: 0 0 20px rgba(255, 107, 157, 0.4);
}

.sweet-navigation {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.4);
    padding: 0.5rem;
    border-radius: 30px;
    border: 2px solid rgba(255, 107, 157, 0.1);
}

.nav-item {
    padding: 0.8rem 1.2rem;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    border-radius: 25px;
    transition: var(--sweet-transition);
    position: relative;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--sweet-gradient);
    transition: var(--sweet-transition);
    z-index: -1;
}

.nav-item:hover::before,
.nav-item.active::before {
    left: 0;
}

.nav-item:hover,
.nav-item.active {
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--sweet-glow);
}

.navbar-actions {
    display: flex;
    gap: 1rem;
}

.action-btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--sweet-transition);
    font-family: var(--sweet-font);
}

.action-btn.login {
    background: transparent;
    color: var(--sweet-pink);
    border: 2px solid var(--sweet-pink);
}

.action-btn.register {
    background: var(--sweet-gradient);
    color: white;
    box-shadow: var(--sweet-glow);
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 45px rgba(255, 107, 157, 0.4);
}

.mobile-menu-toggle {
    display: none;
    background: var(--sweet-gradient);
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    cursor: pointer;
}

.sweet-main {
    padding-top: 90px;
    position: relative;
    z-index: 10;
}

.page-header {
    padding: 80px 0 60px;
    text-align: center;
    background: var(--sweet-gradient);
    color: white;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    background: var(--sweet-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--sweet-gradient);
    border-radius: 3px;
}

.section-subtitle {
    text-align: center;
    color: rgba(51, 51, 51, 0.8);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    margin-top: -1rem;
}

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

.content-section.alt-bg {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
}

/* 视频网格 */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.video-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.1);
    border: 2px solid rgba(255, 107, 157, 0.1);
    transition: var(--sweet-transition);
    overflow: hidden;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--sweet-glow);
    border-color: var(--sweet-pink);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--sweet-transition);
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 157, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    transition: var(--sweet-transition);
}

.video-card:hover .play-overlay {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--sweet-pink);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.video-info {
    padding: 1.5rem;
}

.video-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #333;
    line-height: 1.4;
}

.video-desc {
    color: rgba(51, 51, 51, 0.8);
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.creator-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.creator-info img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--sweet-pink);
}

.creator-name {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.video-stats {
    font-size: 0.8rem;
    color: rgba(51, 51, 51, 0.6);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    text-align: right;
}

.video-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
}

.tag.lifestyle { background: var(--sweet-pink); }
.tag.morning { background: var(--sweet-gold); }
.tag.food { background: var(--sweet-coral); }
.tag.tutorial { background: var(--sweet-lavender); }
.tag.travel { background: var(--sweet-sky); }
.tag.japan { background: var(--sweet-mint); }
.tag.diy { background: var(--sweet-peach); }
.tag.creative { background: var(--sweet-pink); }

/* 筛选器 */
.filter-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-tab {
    padding: 0.8rem 2rem;
    border: 2px solid var(--sweet-pink);
    border-radius: 25px;
    background: transparent;
    color: var(--sweet-pink);
    font-weight: 600;
    cursor: pointer;
    transition: var(--sweet-transition);
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--sweet-gradient);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--sweet-glow);
}

/* 工具卡片 */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tool-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.1);
    border: 2px solid rgba(255, 107, 157, 0.1);
    transition: var(--sweet-transition);
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--sweet-gradient);
    transform: scaleX(0);
    transition: var(--sweet-transition);
}

.tool-card:hover::before {
    transform: scaleX(1);
}

.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--sweet-glow);
    border-color: var(--sweet-pink);
}

.tool-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
    animation: toolFloat 4s ease-in-out infinite;
}

@keyframes toolFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.tool-card:hover .tool-icon {
    animation: toolSpin 0.6s ease-in-out;
}

@keyframes toolSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

.tool-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--sweet-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tool-desc {
    color: rgba(51, 51, 51, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tool-btn {
    padding: 0.8rem 2rem;
    background: var(--sweet-gradient);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--sweet-transition);
}

.tool-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.4);
}

/* 创作者卡片 */
.creators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.creator-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.1);
    border: 2px solid rgba(255, 107, 157, 0.1);
    transition: var(--sweet-transition);
}

.creator-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--sweet-glow);
    border-color: var(--sweet-pink);
}

.creator-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--sweet-pink);
    margin: 0 auto 1.5rem;
    display: block;
}

.creator-name-large {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: var(--sweet-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.creator-bio {
    color: rgba(51, 51, 51, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.creator-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 107, 157, 0.1);
    border-bottom: 1px solid rgba(255, 107, 157, 0.1);
}

.creator-stat-item {
    text-align: center;
}

.creator-stat-number {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    background: var(--sweet-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.3rem;
}

.creator-stat-label {
    font-size: 0.8rem;
    color: rgba(51, 51, 51, 0.7);
}

.follow-btn {
    padding: 0.8rem 2.5rem;
    background: var(--sweet-gradient);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--sweet-transition);
    width: 100%;
}

.follow-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.4);
}

/* 表单样式 */
.form-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.15);
    border: 2px solid rgba(255, 107, 157, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 107, 157, 0.2);
    border-radius: 15px;
    font-family: var(--sweet-font);
    font-size: 1rem;
    transition: var(--sweet-transition);
    background: rgba(255, 255, 255, 0.8);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--sweet-pink);
    box-shadow: var(--sweet-glow);
    transform: scale(1.02);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-btn {
    width: 100%;
    padding: 1.2rem;
    background: var(--sweet-gradient);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--sweet-transition);
    box-shadow: var(--sweet-glow);
}

.form-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(255, 107, 157, 0.4);
}

/* 页脚 */
.sweet-footer {
    background: var(--sweet-pink);
    color: white;
    padding: 60px 0 30px;
    margin-top: 100px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-section .section-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
    background: none;
    -webkit-text-fill-color: white;
    text-align: left;
}

.footer-section .section-title::after {
    display: none;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--sweet-transition);
    position: relative;
    padding-left: 1rem;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 2px;
    background: white;
    transform: translateY(-50%);
    transition: var(--sweet-transition);
}

.footer-links a:hover::before {
    width: 8px;
}

.footer-links a:hover {
    color: white;
    transform: translateX(8px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

/* 移动端适配 */
@media (max-width: 1024px) {
    .videos-grid,
    .tools-grid,
    .creators-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .sweet-navbar .container-sweet {
        flex-wrap: wrap;
    }
    
    .sweet-navigation {
        display: none;
        width: 100%;
        flex-direction: column;
        margin-top: 1rem;
    }
    
    .sweet-navigation.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .navbar-actions {
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
    }
    
    .action-btn {
        width: 100%;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .videos-grid,
    .tools-grid,
    .creators-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container-sweet {
        padding: 0 1rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

.fade-in-sweet {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-sweet.visible {
    opacity: 1;
    transform: translateY(0);
}

