/* ===== 基本重置與變數 ===== */
:root {
    --primary-color: #971230;
    --primary-light: #c41e4a;
    --primary-dark: #7a0f28;
    --secondary-color: #f8e0e6;
    --accent-color: #971230;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #fff9fa;
    --bg-dark: #971230;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(151, 18, 48, 0.08);
    --shadow-hover: 0 8px 30px rgba(151, 18, 48, 0.15);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== 導航列 ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
    background: rgba(201, 168, 108, 0.1);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* ===== 首頁橫幅 ===== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center top;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slideshow .slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(151, 18, 48, 0.75) 0%, rgba(196, 30, 74, 0.65) 50%, rgba(232, 90, 126, 0.55) 100%);
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    z-index: 2;
}

.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 3;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -50px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    left: -50px;
    animation-delay: 2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 40%;
    right: 10%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-tagline {
    font-size: 0.9rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    animation: fadeInUp 1s ease backwards;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 10px;
    animation: fadeInUp 1s ease 0.1s backwards;
}

.hero-subtitle {
    font-size: 1.5rem;
    letter-spacing: 8px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.3s backwards;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.4s backwards;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
    display: block;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 1s ease 0.5s backwards;
}

.btn-primary {
    padding: 15px 40px;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    padding: 15px 40px;
    background: transparent;
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: fadeInUp 1s ease 0.6s backwards;
    z-index: 10;
}

.scroll-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255, 255, 255, 0.6);
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: rotate(45deg) translateY(0);
    }
    40% {
        transform: rotate(45deg) translateY(10px);
    }
    60% {
        transform: rotate(45deg) translateY(5px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== 通用區塊樣式 ===== */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 20px auto 0;
}

/* ===== 個人簡介 ===== */
.about {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: start;
}

.about-image {
    position: sticky;
    top: 100px;
}

.image-placeholder {
    background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1rem;
    aspect-ratio: 3/4;
    border: 2px dashed #ddd;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    flex-direction: column;
    padding: 15px;
    background: var(--bg-color);
    border-radius: 8px;
}

.info-item .label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.info-item .value {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
}

.bio {
    color: var(--text-light);
    line-height: 1.9;
    text-align: justify;
}

/* ===== 作品列表 ===== */
.works {
    background: var(--bg-color);
}

.works-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.work-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.work-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.work-card.hidden {
    display: none;
}

.work-image .image-placeholder {
    aspect-ratio: 16/10;
    border-radius: 0;
}

.work-image img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
}

.work-info {
    padding: 20px;
}

.work-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.work-year {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.work-role,
.work-type {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

/* ===== 相片集 ===== */
.gallery {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item .image-placeholder {
    aspect-ratio: 1;
    transition: var(--transition);
}

.gallery-item:hover .image-placeholder {
    filter: brightness(1.1);
}

.gallery-item .large {
    aspect-ratio: 1;
}

.gallery-note {
    text-align: center;
    margin-top: 30px;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== 粉絲專區 ===== */
.fans {
    background: linear-gradient(135deg, #971230 0%, #c41e4a 50%, #e85a7e 100%);
    color: var(--white);
}

.fans .section-title {
    color: var(--white);
}

.fans .section-title::after {
    background: var(--accent-color);
}

.fans-content {
    max-width: 1000px;
    margin: 0 auto;
}

.fans-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.fans-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.fans-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.fans-card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.fans-card h3 {
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.fans-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.fans-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.color-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 8px;
}

.color-swatch {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.color-name {
    font-size: 1.3rem;
    font-weight: 600;
}

.fans-community {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
}

.fans-community h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--accent-color);
}

.community-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.community-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.community-link:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.community-icon {
    font-size: 1.2rem;
}

/* ===== 最新動態 ===== */
.news {
    background: var(--bg-color);
}

.news-list {
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    padding: 30px;
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-hover);
}

.news-link {
    display: flex;
    gap: 30px;
    text-decoration: none;
    color: inherit;
}

.news-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    padding: 15px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 8px;
}

.news-date .day {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.news-date .month {
    font-size: 0.85rem;
    margin-top: 5px;
}

.news-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.news-content p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== 頁尾 ===== */
.footer {
    background: var(--bg-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.footer-info p {
    color: rgba(255, 255, 255, 0.6);
}

.footer-social h4 {
    margin-bottom: 15px;
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ===== 響應式設計 ===== */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 280px 1fr;
        gap: 40px;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 10px;
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 3rem;
        letter-spacing: 5px;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        letter-spacing: 4px;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 30px;
        width: 200px;
        text-align: center;
    }

    .scroll-indicator {
        display: none;
    }

    .floating-shape {
        opacity: 0.5;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        position: static;
        max-width: 300px;
        margin: 0 auto;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fans-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .community-links {
        flex-direction: column;
        align-items: center;
    }

    .news-item {
        flex-direction: column;
        gap: 15px;
    }

    .news-date {
        flex-direction: row;
        gap: 10px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 15px 20px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .works-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .fans-info-grid {
        grid-template-columns: 1fr;
    }

    .fans-card {
        padding: 25px 15px;
    }

    .fans-community {
        padding: 25px 15px;
    }

    .community-link {
        padding: 12px 20px;
        width: 100%;
        justify-content: center;
    }
}
