/* =============================================
   FUN1399 /team 分析團隊頁面專屬樣式
   深色主題 + 金色/橘色點綴
   ============================================= */

/* ---- 變數覆蓋 ---- */
:root {
    --team-bg: #0a0a1a;
    --team-bg-light: #12121f;
    --team-bg-card: #16162a;
    --team-accent-gold: #ffd700;
    --team-accent-orange: #ff6b35;
    --team-text: #e8e8e8;
    --team-text-light: #a0a0b0;
    --team-text-muted: #6a6a7a;
    --team-border: rgba(255,255,255,0.08);
    --team-glow: rgba(255, 107, 53, 0.15);
}

/* ---- Hero 區塊 ---- */
.team-hero {
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 50%, #0f3460 100%);
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 60px 20px 40px;
    text-align: center;
}

.team-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,107,53,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.team-hero .hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--team-accent-orange);
    background: rgba(255,107,53,0.1);
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 24px;
    border: 1px solid rgba(255,107,53,0.2);
}

.team-hero h1 {
    font-size: 64px;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 16px;
    text-shadow: 0 0 40px rgba(255,107,53,0.3);
}

.hero-desc {
    font-size: 18px;
    color: var(--team-text-light);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-desc strong {
    color: var(--team-accent-gold);
    font-weight: 600;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

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

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--team-accent-gold);
    margin-bottom: 4px;
    text-shadow: 0 0 20px rgba(255,215,0,0.3);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--team-text-muted);
    letter-spacing: 1px;
}

.hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff6b35, #ff8f5a);
    color: #fff;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255,107,53,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255,107,53,0.4);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--team-text);
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.2);
}

.btn-outline:hover {
    border-color: var(--team-accent-gold);
    color: var(--team-accent-gold);
    transform: translateY(-2px);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--team-text-muted);
    font-size: 13px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* ---- 團隊介紹 ---- */
.team-intro {
    background: var(--team-bg);
    padding: 80px 20px;
    text-align: center;
}

.team-intro h2 {
    font-size: 32px;
    color: #fff;
    margin-bottom: 24px;
    font-weight: 700;
}

.team-intro p {
    font-size: 17px;
    color: var(--team-text-light);
    line-height: 1.9;
    max-width: 700px;
    margin: 0 auto 24px;
}

.team-intro p strong {
    color: var(--team-accent-gold);
}

.intro-values {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--team-bg-card);
    border-radius: 12px;
    border: 1px solid var(--team-border);
}

.value-icon {
    font-size: 24px;
}

.value-text {
    font-size: 16px;
    color: var(--team-text);
    font-weight: 600;
}

/* ---- 分析師卡片 ---- */
.team-analysts {
    background: var(--team-bg-light);
    padding: 80px 20px;
}

.section-title {
    font-size: 32px;
    color: #fff;
    text-align: center;
    margin-bottom: 12px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--team-text-muted);
    font-size: 16px;
    margin-bottom: 48px;
}

.analysts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.analyst-card {
    background: var(--team-bg-card);
    border-radius: 16px;
    border: 1px solid var(--team-border);
    overflow: hidden;
    transition: all 0.4s ease;
}

.analyst-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,107,53,0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.analyst-header {
    position: relative;
    padding: 30px 30px 0;
    text-align: center;
}

.analyst-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--team-accent-gold);
    box-shadow: 0 0 20px rgba(255,215,0,0.2);
    background: var(--team-bg-light);
}

.analyst-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.analyst-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--team-accent-orange);
    background: rgba(255,107,53,0.1);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255,107,53,0.2);
}

.analyst-body {
    padding: 24px 30px 30px;
    text-align: center;
}

.analyst-name {
    font-size: 24px;
    color: #fff;
    margin-bottom: 4px;
    font-weight: 700;
}

.analyst-title {
    font-size: 14px;
    color: var(--team-accent-orange);
    margin-bottom: 16px;
    font-weight: 500;
}

.analyst-bio {
    font-size: 15px;
    color: var(--team-text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.analyst-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}

.tag {
    font-size: 12px;
    color: var(--team-text-muted);
    background: rgba(255,255,255,0.05);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid var(--team-border);
}

.analyst-quote {
    font-style: italic;
    color: var(--team-text-light);
    font-size: 14px;
    line-height: 1.7;
    padding: 16px 20px;
    border-left: 3px solid var(--team-accent-gold);
    background: rgba(255,215,0,0.03);
    border-radius: 0 8px 8px 0;
    margin-bottom: 20px;
    text-align: left;
}

.analyst-links {
    margin-bottom: 20px;
}

.link-article {
    color: var(--team-accent-gold);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.3s;
}

.link-article:hover {
    opacity: 0.8;
}

.analyst-social {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-social {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid var(--team-border);
    color: var(--team-text-light);
    background: rgba(255,255,255,0.03);
}

.btn-social:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.btn-social.line:hover {
    border-color: #00b900;
    color: #00b900;
}

.btn-social.ig:hover {
    border-color: #e4405f;
    color: #e4405f;
}

/* ---- 精選文章 ---- */
.team-articles {
    background: var(--team-bg);
    padding: 80px 20px;
}

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

.article-item {
    padding: 28px 32px;
    background: var(--team-bg-card);
    border-radius: 12px;
    border: 1px solid var(--team-border);
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.article-item:hover {
    border-color: rgba(255,107,53,0.2);
    transform: translateX(4px);
}

.article-item:last-child {
    margin-bottom: 0;
}

.article-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid;
    letter-spacing: 0.3px;
}

.article-badge.mlb {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.08);
    border-color: rgba(96, 165, 250, 0.25);
}

.article-badge.soccer {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.08);
    border-color: rgba(74, 222, 128, 0.25);
}

.article-badge.nba {
    color: #fb923c;
    background: rgba(251, 146, 60, 0.08);
    border-color: rgba(251, 146, 60, 0.25);
}

.article-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    align-items: center;
}

.article-author {
    font-size: 13px;
    color: var(--team-accent-gold);
    font-weight: 600;
}

.article-tag {
    font-size: 11px;
    color: var(--team-text-muted);
    background: rgba(255,255,255,0.05);
    padding: 3px 10px;
    border-radius: 12px;
}

.article-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.article-item h3 a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.article-item h3 a:hover {
    color: var(--team-accent-orange);
}

.article-item p {
    font-size: 15px;
    color: var(--team-text-light);
    line-height: 1.7;
}

/* ---- 為什麼選擇我們 ---- */
.team-why {
    background: var(--team-bg-light);
    padding: 80px 20px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.why-item {
    text-align: center;
    padding: 40px 30px;
    background: var(--team-bg-card);
    border-radius: 16px;
    border: 1px solid var(--team-border);
    transition: all 0.3s ease;
}

.why-item:hover {
    border-color: rgba(255,107,53,0.2);
    transform: translateY(-4px);
}

.why-icon {
    font-size: 40px;
    margin-bottom: 20px;
    display: block;
}

.why-item h3 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 12px;
    font-weight: 700;
}

.why-item p {
    font-size: 15px;
    color: var(--team-text-light);
    line-height: 1.8;
}

/* ---- FAQ ---- */
.team-faq {
    background: var(--team-bg);
    padding: 80px 20px;
}

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

.faq-item {
    background: var(--team-bg-card);
    border-radius: 12px;
    border: 1px solid var(--team-border);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item[open] {
    border-color: rgba(255,107,53,0.2);
}

.faq-item summary {
    padding: 20px 24px;
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.faq-item summary:hover {
    background: rgba(255,255,255,0.02);
}

.faq-item summary::after {
    content: '+';
    font-size: 24px;
    color: var(--team-accent-orange);
    font-weight: 300;
    transition: transform 0.3s;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px 20px;
}

.faq-answer p {
    font-size: 15px;
    color: var(--team-text-light);
    line-height: 1.8;
}

/* ---- 聯繫我們 ---- */
.team-contact {
    background: linear-gradient(135deg, #0f3460 0%, #1a1a2e 50%, #0a0a1a 100%);
    padding: 80px 20px;
    text-align: center;
}

.contact-content h2 {
    font-size: 32px;
    color: #fff;
    margin-bottom: 16px;
}

.contact-content > p {
    font-size: 17px;
    color: var(--team-text-light);
    margin-bottom: 48px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto 40px;
}

.contact-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--team-border);
    border-radius: 16px;
    padding: 36px 24px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: rgba(255,107,53,0.3);
    transform: translateY(-4px);
    background: rgba(255,255,255,0.05);
}

.contact-icon {
    font-size: 36px;
    margin-bottom: 16px;
    display: block;
}

.contact-item h3 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 8px;
}

.contact-item p {
    font-size: 14px;
    color: var(--team-text-muted);
    margin-bottom: 20px;
}

.contact-note {
    background: rgba(255,215,0,0.05);
    border: 1px solid rgba(255,215,0,0.1);
    border-radius: 12px;
    padding: 16px 24px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-note p {
    font-size: 14px;
    color: var(--team-text-light);
    margin: 0;
}

/* ---- 免責聲明 ---- */
.team-disclaimer {
    background: var(--team-bg-light);
    padding: 48px 20px;
    border-top: 1px solid var(--team-border);
}

.disclaimer-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.disclaimer-content h3 {
    font-size: 16px;
    color: var(--team-text-muted);
    margin-bottom: 16px;
    font-weight: 600;
}

.disclaimer-content p {
    font-size: 13px;
    color: var(--team-text-muted);
    line-height: 1.8;
    margin-bottom: 8px;
}

/* ---- Footer ---- */
.footer {
    background: var(--team-bg);
    padding: 40px 20px;
    border-top: 1px solid var(--team-border);
}

.footer-content {
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--team-text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--team-text-light);
}

.footer-copy {
    font-size: 13px;
    color: var(--team-text-muted);
}

/* ---- Header 調整 ---- */
.header .nav a.active {
    color: var(--team-accent-orange);
    font-weight: 600;
}

/* ---- RWD 響應式 ---- */
@media (max-width: 768px) {
    .team-hero h1 {
        font-size: 32px;
    }
    
    .hero-desc {
        font-size: 16px;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .analysts-grid,
    .why-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .team-intro h2,
    .section-title,
    .contact-content h2 {
        font-size: 26px;
    }
    
    .intro-values {
        flex-direction: column;
        align-items: center;
    }
    
    .analyst-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-outline {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-scroll {
        display: none;
    }
    
    .team-hero {
        min-height: auto;
        padding: 100px 20px 60px;
    }
}

@media (max-width: 480px) {
    .team-hero h1 {
        font-size: 28px;
    }
    
    .analyst-avatar {
        width: 100px;
        height: 100px;
    }
    
    .analyst-body {
        padding: 20px 24px 24px;
    }
    
    .article-item {
        padding: 20px 24px;
    }
    
    .why-item {
        padding: 30px 20px;
    }
}

/* ---- 動畫效果 ---- */
.analyst-card,
.article-item,
.why-item,
.contact-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.analyst-card:nth-child(1) { animation-delay: 0.1s; }
.analyst-card:nth-child(2) { animation-delay: 0.2s; }
.analyst-card:nth-child(3) { animation-delay: 0.3s; }
.article-item:nth-child(1) { animation-delay: 0.1s; }
.article-item:nth-child(2) { animation-delay: 0.2s; }
.article-item:nth-child(3) { animation-delay: 0.3s; }
.why-item:nth-child(1) { animation-delay: 0.1s; }
.why-item:nth-child(2) { animation-delay: 0.2s; }
.why-item:nth-child(3) { animation-delay: 0.3s; }
.contact-item:nth-child(1) { animation-delay: 0.1s; }
.contact-item:nth-child(2) { animation-delay: 0.2s; }
.contact-item:nth-child(3) { animation-delay: 0.3s; }

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


