/* ===== 個人檔案頁面樣式 ===== */

/* 頂部導航 */
.profile-header {
    background: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px var(--shadow-light);
}

.header-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.page-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.header-actions {
    display: flex;
    gap: 0.5rem;
}

.action-icon {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.action-icon:hover {
    background: var(--bg-secondary);
    color: var(--primary);
}

/* 內容容器 */
.content-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 0;
    background: var(--bg-primary);
    min-height: 100vh;
    width: 100%;
}

/* 個人資訊區塊 - 滿版設計 */
.profile-info-card {
    background: var(--white);
    border-radius: 0;
    margin: 0;
    box-shadow: none;
    overflow: hidden;
    border-bottom: 1px solid var(--border-light);
    padding: 0;
    position: relative;
    width: 100%;
}

.profile-cover {
    display: none;
}

.profile-main {
    padding: 0;
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.profile-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid var(--accent);
    object-fit: cover;
    margin: 0;
    box-shadow: 0 3px 12px var(--shadow-light);
    position: relative;
    flex-shrink: 0;
    background: var(--bg-secondary);
}

.profile-info-section {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    width: 100%;
    padding: 1.25rem 1rem;
    border-bottom: 1px solid var(--border-light);
    box-sizing: border-box;
}

.profile-info-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    min-width: 0;
}

.profile-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
}

.profile-bio {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
}

/* 自我介紹區塊 */
.profile-bio-section {
    padding: 1rem;
    border-bottom: 1px solid var(--border-light);
    margin: 0;
    width: 100%;
}

.profile-stats {
    display: flex;
    gap: 0;
    margin: 0;
    width: 100%;
    justify-content: space-between;
    max-width: 100%;
}

.stat-item {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}

.stat-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

.profile-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    width: 100%;
    padding: 1.25rem 1rem;
    border-bottom: 1px solid var(--border-light);
}

.edit-profile-btn {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    box-shadow: 0 2px 8px var(--shadow-light);
}

.edit-profile-btn:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--shadow-medium);
}

.settings-btn {
    background: var(--white);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px var(--shadow-light);
}

.settings-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: rotate(90deg) scale(1.05);
    box-shadow: 0 4px 12px var(--shadow-medium);
}

/* 追蹤和訊息按鈕樣式 */
.follow-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    box-shadow: 0 2px 8px var(--shadow-light);
}

.follow-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--shadow-medium);
}

.message-btn {
    background: var(--white);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px var(--shadow-light);
}

.message-btn:hover {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
    transform: scale(1.05);
    box-shadow: 0 4px 12px var(--shadow-medium);
}

/* 我的寵物區域 - 美化版 */
.pets-section {
    background: var(--white);
    border-radius: 0;
    margin: 0;
    box-shadow: none;
    overflow: hidden;
    border-bottom: 2px solid var(--border-light);
    position: relative;
}

/* 寵物區塊 - 緊湊版設計 */
.profile-pets-section {
    background: transparent;
    border-radius: 0;
    border: none;
    margin: 0;
    border-bottom: 1px solid var(--border-light);
    background: transparent;
    box-shadow: none;
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 0.75rem 1rem;
}

.section-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-primary);
    position: relative;
}

.section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.add-pet-btn {
    background: var(--primary);
    border: none;
    color: var(--white);
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.add-pet-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* 查看全部按鈕美化 */
.view-all-pets {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(99, 102, 241, 0.3);
    text-decoration: none;
}

.view-all-pets:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
    color: var(--white);
    text-decoration: none;
}

.view-all-pets span {
    position: relative;
    z-index: 1;
}

.view-all-pets i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.view-all-pets:hover i {
    transform: translateX(2px);
}

/* 更多寵物提示 */
.more-pets-indicator {
    background: var(--bg-primary);
    border: 2px dashed var(--primary-light);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.more-pets-indicator:hover {
    background: var(--accent);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.more-pets-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--primary);
    font-weight: 600;
}

.more-pets-content i {
    font-size: 1.2rem;
    background: var(--primary);
    color: var(--white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.more-pets-content span {
    font-size: 0.9rem;
}

.pets-container {
    padding: 0.75rem 1rem;
    background: var(--white);
}

/* 寵物滑動容器 */
.pets-scroll-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.pets-scroll-wrapper {
    display: flex;
    gap: 0.3rem;
    align-items: center;
    padding: 0;
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.pets-scroll-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}



.pet-card {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

.pet-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--shadow-light);
    border-color: var(--primary-light);
}

/* 寵物項目 - 緊湊版 */
.pet-item-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pet-card-compact {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--bg-secondary);
    background: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.pet-card-compact:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-light);
}

.pet-avatar-compact {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.pet-check-indicator {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border: 2px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.pet-check-indicator i {
    color: var(--white);
    font-size: 0.6rem;
    font-weight: bold;
}

.pet-name-compact {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
    transition: color 0.3s ease;
    white-space: nowrap;
    max-width: 50px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pet-item-compact:hover .pet-name-compact {
    color: var(--text-primary);
}

/* 查看全部按鈕 - 緊湊版 */
.view-all-pets-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-all-icon {
    position: relative;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid var(--border-light);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.view-all-icon i {
    color: var(--text-secondary);
    font-size: 0.7rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.view-all-pets-compact:hover .view-all-icon {
    border-color: var(--primary);
    background: transparent;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px var(--shadow-light);
}

.view-all-pets-compact:hover .view-all-icon i {
    color: var(--primary);
    transform: translateX(1px);
}

.view-all-pets-compact span {
    font-size: 0.55rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-align: center;
    transition: color 0.3s ease;
    white-space: nowrap;
    max-width: 35px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.view-all-pets-compact:hover span {
    color: var(--text-primary);
}

.pet-card:last-child {
    margin-bottom: 0;
}

.pet-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
    box-shadow: 0 2px 8px var(--shadow-light);
}

.pet-basic-info {
    flex: 1;
}

.pet-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.pet-breed {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.2rem;
}

.pet-age {
    font-size: 0.7rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.pet-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.health-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #4CAF50;
}

.health-indicator.warning {
    background: #FF9800;
}

.health-indicator.danger {
    background: #f44336;
}

.health-text {
    font-size: 0.7rem;
    color: var(--text-light);
}

.pet-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.detail-item {
    background: var(--white);
    padding: 0.5rem;
    border-radius: 6px;
    text-align: center;
}

.detail-label {
    font-size: 0.6rem;
    color: var(--text-light);
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    font-weight: 500;
}

.detail-value {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

.pet-quick-actions {
    display: flex;
    gap: 0.4rem;
}

.quick-action-btn {
    flex: 1;
    background: var(--white);
    border: 1px solid var(--primary-light);
    color: var(--primary);
    padding: 0.4rem;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
}

.quick-action-btn:hover {
    background: var(--primary);
    color: var(--white);
}

/* Tab 導航 - Instagram風格 */
.content-tabs {
    background: var(--white);
    border-radius: 0;
    padding: 0;
    margin: 0;
    box-shadow: none;
    display: flex;
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

.content-tab {
    flex: 1;
    text-align: center;
    padding: 1rem 0;
    border-radius: 0;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.content-tab.active {
    background: transparent;
    color: var(--text-primary);
}

.content-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.content-tab:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.content-tab.active:hover {
    background: transparent;
    color: var(--text-primary);
}

/* 貼文網格 - Instagram風格 */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-bottom: 0;
}

.post-item {
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.post-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0);
    transition: all 0.3s ease;
}

.post-item:hover::before {
    background: rgba(0,0,0,0.3);
}

.post-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    opacity: 0;
    transition: all 0.3s ease;
    text-align: center;
}

.post-item:hover .post-overlay {
    opacity: 1;
}

.overlay-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
}

/* 影片播放器樣式 - 適用於 Profile 頁面 */
.post-video-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.post-video-container:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.post-video-container:active {
    transform: scale(0.98);
}

.post-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

/* 影片覆蓋層 */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.post-video-container:hover .video-overlay {
    opacity: 1;
}

/* 影片時長顯示 */
.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    z-index: 10;
}

/* 播放圖標 */
.video-play-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.video-play-icon:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

/* Tab 內容 */
.tab-content {
    display: none;
    width: 100%;
    padding: 0.75rem 1rem;
}

.tab-content.active {
    display: block;
}

/* 空狀態 */
.profile-empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-light);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    margin: 1rem 0;
    box-shadow: 0 4px 20px var(--shadow-light);
    position: relative;
    overflow: hidden;
    border: 2px solid var(--border-light);
    width: 100%;
}

.profile-empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-light);
    position: relative;
    z-index: 1;
}

.profile-empty-state h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

.profile-empty-state p {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.start-posting-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    position: relative;
    z-index: 1;
}

.start-posting-btn:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

/* Tab 數量顯示 */
.tab-count {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-left: 0.25rem;
    font-weight: normal;
}

.content-tab.active .tab-count {
    color: var(--primary);
}

/* 響應式設計 */
@media (max-width: 768px) {
    
    .pet-card-compact {
        width: 52px;
        height: 52px;
    }
    
    .pet-check-indicator {
        width: 18px;
        height: 18px;
    }
    
    .pet-check-indicator i {
        font-size: 0.6rem;
    }
    
    .pet-name-compact {
        font-size: 0.65rem;
        max-width: 52px;
    }
    
    .view-all-icon {
        width: 30px;
        height: 30px;
    }
    
    .view-all-icon i {
        font-size: 0.6rem;
    }
    
    .view-all-pets-compact span {
        font-size: 0.5rem;
        max-width: 30px;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0.75rem;
    }
    
    .header-title {
        font-size: 1.1rem;
    }
    
    .add-pet-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .content-container {
        padding: 0;
        max-width: 100%;
    }
    
    .pet-card {
        padding: 1rem;
    }
    
    .pet-avatar {
        width: 60px;
        height: 60px;
    }
    
    .pet-name {
        font-size: 1rem;
    }
    
    .pet-breed {
        font-size: 0.8rem;
    }
    
    .pet-age {
        font-size: 0.75rem;
    }
    
    .pet-details {
        gap: 0.75rem;
    }
    
    .detail-item {
        padding: 0.5rem;
    }
    
    .detail-label {
        font-size: 0.65rem;
    }
    
    .detail-value {
        font-size: 0.8rem;
    }
    
    .quick-action-btn {
        font-size: 0.7rem;
        padding: 0.4rem;
    }
    
    .card-action-btn {
        font-size: 0.8rem;
        padding: 0.6rem;
    }
    
    .pet-card-compact {
        width: 48px;
        height: 48px;
    }
    
    .pet-check-indicator {
        width: 16px;
        height: 16px;
    }
    
    .pet-check-indicator i {
        font-size: 0.55rem;
    }
    
    .pet-name-compact {
        font-size: 0.6rem;
        max-width: 48px;
    }
    
    .view-all-icon {
        width: 30px;
        height: 30px;
    }
    
    .view-all-icon i {
        font-size: 0.6rem;
    }
    
    .view-all-pets-compact span {
        font-size: 0.5rem;
        max-width: 30px;
    }
}

@media (max-width: 360px) {
    .pet-card-compact {
        width: 35px;
        height: 35px;
    }
    
    .pet-check-indicator {
        width: 14px;
        height: 14px;
    }
    
    .pet-check-indicator i {
        font-size: 0.5rem;
    }
    
    .pet-name-compact {
        font-size: 0.55rem;
        max-width: 35px;
    }
    
    .view-all-icon {
        width: 35px;
        height: 35px;
    }
    
    .view-all-icon i {
        font-size: 0.7rem;
    }
    
    .view-all-pets-compact span {
        font-size: 0.55rem;
        max-width: 35px;
    }
} 

/* ===== 載入更多功能樣式 ===== */

/* 載入更多按鈕容器 */
.load-more-container {
    text-align: center;
    padding: 2rem 1rem;
    margin: 1rem 0;
}

/* 載入更多按鈕 */
.load-more-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(255, 112, 67, 0.3);
}

.load-more-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 112, 67, 0.4);
}

.load-more-btn:active {
    transform: translateY(0);
}

.load-more-btn:disabled {
    background: var(--text-light);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 載入狀態指示器 - 模仿圈圈設計 */
.loading-indicator {
    text-align: center;
    padding: 2rem 1rem;
    margin: 1rem 0;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 2px 8px var(--shadow-light);
    border: 1px solid var(--border-light);
}

.loading-spinner {
    margin-bottom: 1rem;
}

.loading-spinner i {
    font-size: 2rem;
    color: var(--primary);
    animation: spin 1s linear infinite;
}

.loading-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



/* 新載入項目動畫 - 模仿圈圈設計 */
.new-item-animation {
    animation: newItemSlideIn 0.6s ease-out;
}

@keyframes newItemSlideIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 沒有更多貼文提示 - 統一設計 */
.no-more-posts-message {
    text-align: center;
    padding: 2.5rem 1.5rem;
    margin: 1.5rem 0;
    color: var(--text-light);
    width: 100%;
    background: linear-gradient(135deg, var(--white) 0%, #fafbfc 100%);
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(233, 236, 239, 0.6);
    position: relative;
    overflow: hidden;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.no-more-posts-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.02) 0%, rgba(40, 167, 69, 0.01) 100%);
    pointer-events: none;
}

.no-more-posts-icon {
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.no-more-posts-icon i {
    font-size: 2.5rem;
    color: var(--success, #28a745);
    animation: noMorePulse 2s ease-in-out infinite;
}

.no-more-posts-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    letter-spacing: 0.5px;
}

/* Hover 效果 */
.no-more-posts-message:hover {
    opacity: 1;
}

/* 動畫效果 */
@keyframes noMorePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

/* 響應式設計 */
@media (max-width: 768px) {
    .load-more-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }
    
    .loading-spinner i {
        font-size: 1.5rem;
    }
    
    .no-more-posts-message {
        padding: 2rem 1rem;
        margin: 1rem 0;
    }
    
    .no-more-posts-icon i {
        font-size: 2rem;
    }
    
    .no-more-posts-text {
        font-size: 0.9rem;
    }
} 