/* 活動頁面現代化樣式 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    background: #fdeff3;
    color: #432c4d;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff5f8;
    border-radius: 24px;
    margin-top: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

/* Header 樣式 */
header {
    background: #fff5f8;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
}

header h1 {
    font-size: 24px;
    font-weight: bold;
    color: #432c4d;
}

nav a {
    margin: 0 12px;
    text-decoration: none;
    color: #5a3a60;
    font-weight: 500;
}

nav a:hover,
nav a.active {
    color: #693a6d;
}

.btn-primary {
    background: #693a6d;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
}

.btn-primary:hover {
    background: #5a2f5e;
}

/* 頁面標題 */
.page-title {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
    background: #fff5f8;
    border-radius: 16px;
}

.page-title h2 {
    font-size: 28px;
    color: #432c4d;
    margin-bottom: 12px;
}

.page-title p {
    color: #8b6c86;
    font-size: 16px;
}

/* 主要內容區域 */
.main-content {
    background: white;
    display: flex;
    gap: 30px;
    padding: 40px;
}

.party-main {
    flex: 2;
}

.sidebar {
    flex: 1;
    max-width: 400px;
}

/* 活動卡片樣式 */
.box.trendmain {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    transition: all 0.3s;
    cursor: pointer;
}

.box.trendmain:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.box.trendmain dl {
    margin: 0;
}

.box.trendmain dt {
    padding: 0;
    margin: 0;
}

.box.trendmain dd {
    padding: 24px;
    margin: 0;
    position: relative;
}

.party-event-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #f7e2ef, #e8d5e8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b6c86;
    font-size: 18px;
    position: relative;
    background-size: cover;
    background-position: center;
}

.party-event-status {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.party-event-status-upcoming {
    background: rgba(105, 58, 109, 0.2);
    color: #693a6d;
}

.party-event-status-ended {
    background: rgba(139, 108, 134, 0.2);
    color: #8b6c86;
}

.party-countdown {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.party-registered-count {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: #fff5f8;
    color: #693a6d;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.box.trendmain h2 {
    font-size: 20px;
    font-weight: bold;
    color: #432c4d;
    margin-bottom: 12px;
}

.box.trendmain h3 {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    color: #5a3a60;
    font-size: 14px;
}

.box.trendmain h3 b {
    background: #f7e2ef;
    color: #693a6d;
    padding: 6px 12px;
    border-radius: 16px;
    font-weight: normal;
}

.agree {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #8b6c86;
    font-size: 14px;
}

.agree span {
    color: #8b6c86;
}

.agree i {
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s;
    background: #f7e2ef;
    color: #693a6d;
}

.agree i:hover {
    background: #693a6d;
    color: white;
}

/* 側邊欄樣式 */
.sidebar-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.card-title {
    font-size: 18px;
    font-weight: bold;
    color: #432c4d;
    margin-bottom: 20px;
    text-align: center;
}

/* 活動動態 */
.activity-feed {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #fff5f8;
    border-radius: 12px;
    transition: all 0.3s;
}

.activity-item:hover {
    background: #f7e2ef;
    transform: translateX(4px);
}

.activity-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f7e2ef, #e8d5e8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b6c86;
    font-size: 12px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
}

.activity-content {
    flex: 1;
}

.activity-text {
    color: #432c4d;
    font-size: 13px;
    margin-bottom: 4px;
}

.activity-text a {
    color: #693a6d;
    text-decoration: none;
}

.activity-time {
    color: #8b6c86;
    font-size: 11px;
}

.no-activity {
    text-align: center;
    padding: 40px 20px;
    color: #8b6c86;
}

/* 會員網格 */
.members-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.member-card {
    background: #fff5f8;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.member-card:hover {
    background: #f7e2ef;
    transform: translateY(-2px);
}

.member-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, #f7e2ef, #e8d5e8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b6c86;
    font-size: 14px;
    background-size: cover;
    background-position: center;
}

.member-name {
    color: #432c4d;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 4px;
}

.member-info {
    color: #8b6c86;
    font-size: 12px;
    line-height: 1.4;
}

/* 搜索區域 */
.search-section {
    background: #fff5f8;
    border-radius: 12px;
    padding: 20px;
}

.search-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #f0e6f0;
    border-radius: 12px;
    font-size: 14px;
    color: #432c4d;
    background: white;
    transition: border-color 0.3s;
    margin-bottom: 12px;
}

.search-input:focus {
    outline: none;
    border-color: #693a6d;
}

.search-btn {
    width: 100%;
    background: #693a6d;
    color: white;
    border: none;
    border-radius: 24px;
    padding: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 14px;
}

.search-btn:hover {
    background: #5a2f5e;
}

/* 空狀態 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #8b6c86;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-text {
    font-size: 16px;
    line-height: 1.6;
}

/* Footer 樣式 */
footer {
    background: #fff5f8;
    padding: 40px;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 800px;
    margin: 0 auto;
    gap: 40px;
}

.footer-section h5 {
    color: #693a6d;
    margin-bottom: 12px;
    font-size: 16px;
}

.footer-section p {
    color: #8b6c86;
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-section a {
    color: #8b6c86;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #693a6d;
}

.contact-info {
    text-align: center;
}

.phone {
    color: #693a6d;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

.copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e8d5e8;
    color: #a67aa6;
    font-size: 12px;
}

/* 分頁樣式 */
.zeaipagebox {
    text-align: center;
    margin-top: 30px;
}

.pagebox a,
.pagebox span.ed {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    background: #f7e2ef;
    color: #693a6d;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s;
}

.pagebox a:hover,
.pagebox span.ed {
    background: #693a6d;
    color: white;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .container {
        margin: 20px;
        border-radius: 16px;
    }
    
    header {
        padding: 15px 20px;
    }
    
    .page-title {
        padding: 20px;
    }
    
    .page-title h2 {
        font-size: 24px;
    }
    
    .main-content {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }
    
    .party-event-image {
        height: 200px;
    }
    
    .box.trendmain dd {
        padding: 16px;
    }
    
    .box.trendmain h3 {
        flex-direction: column;
        gap: 8px;
    }
    
    .agree {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .members-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    footer {
        padding: 20px;
    }
}

/* 隱藏舊導航 */
.navbox {
    display: none !important;
} 