:root {
        --c-red: #FF0000;
        --c-orange: #FF7F00;
        --c-yellow: #FFFF00;
        --c-green: #00FF00;
        --c-cyan: #00FFFF;
        --c-blue: #0000FF;
        --c-purple: #8B00FF;
        --c-bg: #ffffff;
        --c-text: #111111;
        --c-gray: #f5f5f5;
        --font-main: 'Helvetica Neue', Helvetica, Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
        --font-mono: 'Courier New', Courier, monospace;
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }
    body { font-family: var(--font-main); color: var(--c-text); background: var(--c-bg); line-height: 1.6; overflow-x: hidden; }
    a { text-decoration: none; color: inherit; }
    ul { list-style: none; }

    /* Header */
    .site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 3px solid transparent; border-image: linear-gradient(to right, var(--c-red), var(--c-orange), var(--c-yellow), var(--c-green), var(--c-cyan), var(--c-blue), var(--c-purple)) 1; display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; }
    .logo-area { display: flex; align-items: center; gap: 10px; }
    .logo-area img { height: 32px; width: auto; }
    .logo-text { font-weight: 900; font-size: 1.2rem; letter-spacing: -0.5px; }
    .header-nav { display: flex; gap: 15px; align-items: center; }
    .header-nav a { font-size: 0.9rem; font-weight: bold; }
    .header-download-btn { background: #000; color: #fff; padding: 10px 20px; border-radius: 4px; font-weight: bold; position: relative; border: 2px solid transparent; background-clip: padding-box; transition: transform 0.2s; display: flex; align-items: center; gap: 8px; }
    .header-download-btn::before { content: ''; position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px; background: linear-gradient(to right, var(--c-red), var(--c-orange), var(--c-yellow), var(--c-green), var(--c-cyan), var(--c-blue), var(--c-purple)); z-index: -1; border-radius: 6px; }
    .header-download-btn:hover { transform: scale(1.05); }

    /* Sections */
    section { padding: 80px 20px; }
    h2 { font-size: 2.5rem; font-weight: 900; letter-spacing: -1px; margin-bottom: 20px; }
    p.section-desc { font-size: 1.1rem; margin-bottom: 40px; max-width: 800px; }

    /* Hero */
    .hero { background: #fff; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; position: relative; }
    .hero-content { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: center; max-width: 1400px; margin: 0 auto; width: 100%; position: relative; z-index: 10; }
    .hero-text h1 { font-size: 3.5rem; font-weight: 900; letter-spacing: -2px; line-height: 1.1; margin-bottom: 20px; }
    .hero-text p { font-size: 1.2rem; color: #555; margin-bottom: 30px; }
    .hero-btns { display: flex; flex-direction: column; gap: 15px; }
    .main-download-btn { display: inline-block; background: #000; color: #fff; text-align: center; padding: 15px 30px; font-size: 1.2rem; font-weight: bold; border-radius: 8px; position: relative; border: 3px solid transparent; background-clip: padding-box; }
    .main-download-btn::before { content: ''; position: absolute; top: -3px; left: -3px; right: -3px; bottom: -3px; background: linear-gradient(45deg, var(--c-red), var(--c-orange), var(--c-yellow), var(--c-green), var(--c-cyan), var(--c-blue), var(--c-purple)); z-index: -1; border-radius: 11px; }
    .secondary-btns { display: flex; gap: 10px; }
    .secondary-btns a { border: 1px solid #ddd; padding: 8px 15px; border-radius: 4px; font-size: 0.9rem; color: #333; flex: 1; text-align: center; }
    
    .hero-visual { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
    .hero-card { aspect-ratio: 3/4; border-radius: 8px; overflow: hidden; position: relative; }
    .hero-card img { width: 100%; height: 100%; object-fit: cover; }
    .hero-card .color-tag { position: absolute; bottom: 0; left: 0; width: 100%; padding: 5px; text-align: center; font-size: 0.8rem; font-weight: bold; color: #fff; }

    /* Prism Section */
    .prism-section { background: #111; color: #fff; text-align: center; }
    .prism-visual { display: flex; justify-content: center; align-items: flex-end; gap: 20px; height: 300px; margin-bottom: 40px; }
    .prism-bar { width: 40px; border-radius: 4px 4px 0 0; transition: height 0.3s; position: relative; }
    .prism-bar span { position: absolute; top: -30px; left: 50%; transform: translateX(-50%); font-weight: bold; font-size: 0.9rem; white-space: nowrap; }

    /* Color Chapters Common */
    .chapter { transition: background 0.5s; position: relative; }
    .chapter h2 { font-size: 3rem; font-weight: 900; line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 15px; }
    .chapter-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin-bottom: 40px; }
    .drama-card { display: flex; flex-direction: column; }
    .drama-cover { aspect-ratio: 3/4; border-radius: 8px; overflow: hidden; margin-bottom: 10px; position: relative; }
    .drama-cover img { width: 100%; height: 100%; object-fit: cover; }
    .drama-info h3 { font-size: 1.1rem; margin-bottom: 5px; }
    .drama-info p { font-size: 0.85rem; opacity: 0.8; }

    /* Chapter Specific Styles */
    .chapter-red { background: var(--c-red); color: #fff; }
    .chapter-red .chapter-grid { grid-template-columns: 2fr 1fr 1fr; }
    .chapter-red .drama-card:first-child { grid-row: span 2; }
    .chapter-red .drama-card:first-child .drama-cover { aspect-ratio: auto; height: 100%; }

    .chapter-orange { background: var(--c-orange); color: #111; }
    .chapter-orange .chapter-grid { display: flex; overflow-x: auto; padding-bottom: 20px; gap: 20px; }
    .chapter-orange .drama-card { min-width: 250px; flex: 0 0 auto; }

    .chapter-yellow { background: var(--c-yellow); color: #111; }
    .chapter-yellow .chapter-grid { grid-template-columns: repeat(3, 1fr); }

    .chapter-green { background: var(--c-green); color: #111; }
    .chapter-green .chapter-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }

    .chapter-cyan { background: var(--c-cyan); color: #111; }
    .chapter-cyan .chapter-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(150px, auto); }
    .chapter-cyan .drama-card { grid-row: span 2; }
    .chapter-cyan .drama-card:nth-child(even) { transform: translateY(30px); }

    .chapter-blue { background: var(--c-blue); color: #fff; }
    .chapter-blue .chapter-grid { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr); gap: 10px; }
    .chapter-blue .drama-card { background: #111; padding: 10px; border-radius: 8px; }

    .chapter-purple { background: var(--c-purple); color: #fff; }
    .chapter-purple .chapter-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }

    /* Footer */
    .site-footer { background: #222; color: #888; padding: 40px 20px; font-size: 0.85rem; text-align: center; }
    .footer-links { margin-bottom: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
    .footer-links a { color: #aaa; }
    .footer-links a:hover { color: #fff; }
    .footer-info { margin-bottom: 10px; }
    .footer-info a { color: #aaa; text-decoration: underline; }
    
    /* About Details */
    details { margin-top: 20px; border-top: 1px solid #333; padding-top: 20px; text-align: left; max-width: 800px; margin-left: auto; margin-right: auto; }
    summary { cursor: pointer; color: #aaa; outline: none; }
    summary::-webkit-details-marker { display: none; }
    .about-content { margin-top: 15px; line-height: 1.8; color: #666; }
    .about-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
    .about-links a { color: #888; text-decoration: underline; }

    @media (max-width: 1024px) {
        .hero-content { grid-template-columns: 1fr; }
        .hero-text h1 { font-size: 2.5rem; }
        .hero-visual { grid-template-columns: repeat(4, 1fr); }
        .chapter-grid { grid-template-columns: repeat(2, 1fr) !important; display: grid !important; }
        .chapter-red .drama-card:first-child { grid-row: span 1; }
        .chapter-red .drama-card:first-child .drama-cover { aspect-ratio: 3/4; height: auto; }
        .chapter-cyan .drama-card:nth-child(even) { transform: none; }
        .header-nav { display: none; }
    }

    @media (max-width: 768px) {
        .hero-visual { grid-template-columns: repeat(2, 1fr); }
        .hero-text h1 { font-size: 2rem; }
        .chapter-grid { grid-template-columns: 1fr !important; }
        .prism-bar { width: 30px; }
        section { padding: 40px 15px; }
        h2 { font-size: 2rem; }
    }