:host {
    --ion-background-color: #f4f5f8;
}

.header-section {
    width: 100%;
    height: 180px;
    overflow: hidden;

    ion-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.features-section {
    display: flex;
    justify-content: space-between;
    padding: 16px;
    gap: 12px;

    .feature-button {
        flex: 1;
        height: 100px;
        margin: 0;
        --background: #ffffff;
        --background-activated: #f5f5f5;
        --border-radius: 20px;
        --box-shadow: none;

        .button-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
            gap: 8px;
        }

        .icon-wrapper {
            width: 48px;
            height: 48px;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;

            &.light-blue {
                background: #e3f2fd;
            }

            &.light-pink {
                background: #fce4ec;
            }

            &.light-purple {
                background: #f3e5f5;
            }

            ion-icon {
                font-size: 24px;
                color: #333;
            }
        }

        span {
            font-size: 14px;
            color: #333;
            font-weight: 500;
        }
    }
}

.stories-section {
    padding: 0 16px 16px;

    ion-card {
        margin: 0;
        border-radius: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);

        .card-header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px;

            ion-card-title {
                font-size: 18px;
                font-weight: 600;
                margin: 0;
            }
        }
    }

    .story-card {
        background: white;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);

        ion-img {
            aspect-ratio: 3/4;
            object-fit: cover;
        }

        .story-info {
            padding: 12px;

            h3 {
                margin: 0;
                font-size: 14px;
                font-weight: 500;
                color: #333;
            }

            p {
                margin: 4px 0 0;
                font-size: 12px;
                color: #666;
            }
        }
    }

    .empty-state {
        text-align: center;
        padding: 32px 16px;

        ion-icon {
            font-size: 48px;
            color: #999;
            margin-bottom: 16px;
        }

        h3 {
            margin: 0 0 8px;
            font-size: 16px;
            color: #333;
        }

        p {
            margin: 0;
            font-size: 14px;
            color: #666;
        }
    }
}

// 响应式调整
@media (max-width: 320px) {
    .features-section {
        .feature-button {
            height: 90px;

            .icon-wrapper {
                width: 40px;
                height: 40px;

                ion-icon {
                    font-size: 20px;
                }
            }

            span {
                font-size: 12px;
            }
        }
    }
}