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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #faf8f6;
    overflow-x: hidden;
}

.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);
    color: #c85a54;
    padding: 1rem 0;
    text-align: center;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    height: 80px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.header-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.header-title h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
    font-weight: 600;
    color: #c85a54;
}

/* 汉堡菜单按钮 */
.hamburger {
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    padding: 5px 0;
    transition: all 0.3s ease;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #c85a54;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* 菜单遮罩层 */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 侧边菜单 */
.side-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 320px;
    height: 100%;
    background: linear-gradient(135deg, #c85a54 0%, #a0453f 100%);
    z-index: 1002;
    transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.3);
    transform: translateX(-20px);
}

.side-menu.active {
    left: 0;
    transform: translateX(0);
}

.menu-header {
    padding: 30px 20px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    position: relative;
}

.menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.menu-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.menu-close svg {
    width: 18px;
    height: 18px;
    color: white;
}

.menu-title {
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.menu-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.menu-list {
    padding: 20px 0;
    list-style: none;
}

.menu-item {
    position: relative;
}

.menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.menu-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: #fff;
    padding-left: 25px;
}

.menu-icon {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    opacity: 0.8;
}

.menu-text {
    flex: 1;
    font-size: 1rem;
}

/* 主要内容区域 */
.main-content {
    margin-top: 80px;
    padding: 1rem 0;
}

/* 逐字稿轮播样式 */
.transcript-carousel-section {
    margin-bottom: 0;
}

.transcript-carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.transcript-carousel {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
    min-width: 100%;
    background: linear-gradient(135deg, #c85a54 0%, #a0453f 100%);
    color: white;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.carousel-slide-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.carousel-episode-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.25);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.carousel-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.95rem;
    opacity: 0.95;
}

.carousel-meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.carousel-icon {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.carousel-episode-badge .carousel-icon {
    width: 14px;
    height: 14px;
    margin-right: 0.3rem;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem 0;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: #c85a54;
    transform: scale(1.2);
}

.carousel-more-btn {
    position: absolute;
    bottom: 1.5rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.9);
    color: #2c3e50;
    border: 2px solid rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.carousel-more-btn:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    color: #c85a54;
}

.carousel-more-btn .more-icon {
    width: 16px;
    height: 16px;
    filter: none;
    color: currentColor;
}

/* 轮播导航箭头 */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 1;
    visibility: visible;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* 桌面端悬停效果 */
@media (hover: hover) {
    .carousel-nav {
        opacity: 0;
        visibility: hidden;
    }
    
    .transcript-carousel-container:hover .carousel-nav {
        opacity: 1;
        visibility: visible;
    }
}

.carousel-nav:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-nav.prev {
    left: 1rem;
}

.carousel-nav.next {
    right: 1rem;
}

.carousel-nav svg {
    width: 20px;
    height: 20px;
    color: #2c3e50;
}

.carousel-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-nav:disabled:hover {
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
}

.carousel-loading {
    text-align: center;
    padding: 3rem;
    color: white;
    background: linear-gradient(135deg, #c85a54 0%, #a0453f 100%);
}

.about-section {
    background: white;
    padding: 3rem 0;
    margin-top: 0;
}

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

.about-content h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.about-content p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.contact-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.contact-info h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.8rem 0;
    color: #555;
}

.contact-item a {
    color: #c85a54;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.disclaimer {
    background: #fdf2f1;
    border-left: 4px solid #c85a54;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.disclaimer h4 {
    color: #2c3e50;
    margin-bottom: 0.8rem;
}

.disclaimer p {
    color: #555;
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 0;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .side-menu {
        width: 50%;
        left: -50%;
        border-radius: 0 20px 20px 0;
    }

    .menu-close {
        display: flex;
    }

    .header-title h1 {
        font-size: 1.4rem;
    }

    .carousel-slide {
        padding: 2rem 1.5rem;
    }

    .carousel-title {
        font-size: 1.4rem;
    }

    .carousel-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .carousel-slide::before {
        width: 150px;
        height: 150px;
    }

    .carousel-more-btn {
        bottom: 1rem;
        right: 1rem;
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        min-height: 44px;
        min-width: 80px;
    }

    .carousel-nav {
        width: 35px;
        height: 35px;
    }

    .carousel-nav.prev {
        left: 0.5rem;
    }

    .carousel-nav.next {
        right: 0.5rem;
    }

    .carousel-nav svg {
        width: 18px;
        height: 18px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .side-menu {
        width: 70%;
    }
}

@media (min-width: 1025px) {
    .side-menu {
        width: 320px;
    }
}

@media (max-width: 480px) {
    .carousel-slide {
        padding: 1.5rem 1rem;
    }

    .carousel-title {
        font-size: 1.2rem;
    }

    .carousel-episode-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* 滚动条样式 */
.side-menu::-webkit-scrollbar {
    width: 6px;
}

.side-menu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.side-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.side-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}