:root {
    --banana-yellow: #FFD700;
    --banana-hover: #FFC500;
    --leaf-green: #4CAF50;
    --ink-black: #1A1A1A;
    --bg-cream: #FFFDF5;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #EBEBEB;
    --radius-lg: 16px;
    --radius-md: 8px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
    height: 64px;
    display: flex;
    align-items: center;
}

.header-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 800;
    color: var(--ink-black);
}

.brand-logo img {
    height: 32px;
    width: auto;
}

.header-nav {
    display: none;
}

@media (min-width: 768px) {
    .header-nav {
        display: flex;
        gap: 24px;
        font-size: 15px;
        font-weight: 500;
    }
    .header-nav a:hover {
        color: var(--leaf-green);
    }
}

.header-download-btn {
    background-color: var(--banana-yellow);
    color: var(--ink-black);
    padding: 8px 16px;
    border-radius: 24px;
    font-weight: bold;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.2s;
    min-height: 44px;
}

.header-download-btn:hover {
    background-color: var(--banana-hover);
}

.header-download-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Base Layout */
main {
    overflow: hidden;
    padding-bottom: 60px;
}

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

.section-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title::before {
    content: "";
    display: block;
    width: 6px;
    height: 24px;
    background-color: var(--leaf-green);
    border-radius: 4px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 15px;
    margin-top: -16px;
    margin-bottom: 24px;
}

section {
    padding: 48px 0;
}

/* Hero Section */
.hero {
    padding: 20px 0 40px;
    background: linear-gradient(180deg, #FFFDF5 0%, #FFF8E1 100%);
    position: relative;
}

.hero-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (min-width: 1024px) {
    .hero-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.hero-text {
    flex: 1;
    max-width: 500px;
}

.hero h1 {
    font-size: 36px;
    line-height: 1.3;
    font-weight: 900;
    margin-bottom: 16px;
    color: var(--ink-black);
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 48px;
    }
}

.hero-slogan {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 32px;
}

.hero-cta {
    background-color: var(--banana-yellow);
    color: var(--ink-black);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    transition: transform 0.2s, background-color 0.2s;
    min-height: 52px;
}

.hero-cta:hover {
    background-color: var(--banana-hover);
    transform: translateY(-2px);
}

.hero-cta svg {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    fill: currentColor;
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 400px;
    display: flex;
    gap: 16px;
    justify-content: center;
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

@media (min-width: 768px) {
    .hero-visual {
        height: 600px;
    }
}

.cover-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: calc(33.333% - 11px);
}

.cover-col-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: scrollUp 20s linear infinite;
}

.cover-col-down .cover-col-inner {
    animation: scrollDown 20s linear infinite;
}

.cover-item {
    width: 100%;
    aspect-ratio: 9 / 16;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background-color: #eee;
}

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

@keyframes scrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

@keyframes scrollDown {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .cover-col-inner {
        animation: none;
    }
}

/* Shelf Section */
.shelf-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (min-width: 768px) {
    .shelf-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 1024px) {
    .shelf-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.drama-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 12px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
}

.drama-card:hover {
    transform: translateY(-4px);
}

.drama-cover {
    width: 100%;
    aspect-ratio: 9 / 16;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    margin-bottom: 12px;
}

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

.drama-info h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.drama-info p {
    font-size: 13px;
    color: var(--text-light);
}

/* Bestseller Stack */
.bestseller-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 1024px) {
    .bestseller-container {
        flex-direction: row;
        align-items: flex-end;
        gap: 40px;
    }
}

.top1-drama {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 768px) {
    .top1-drama {
        flex-direction: row;
        align-items: center;
    }
}

.top1-cover {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 9 / 16;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    overflow: hidden;
    flex-shrink: 0;
}

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

.top1-info h3 {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 8px;
}

.top1-info p {
    color: var(--text-light);
    font-size: 16px;
}

.other-ranks {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rank-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    padding: 12px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.rank-item img {
    width: 60px;
    aspect-ratio: 9 / 16;
    border-radius: 4px;
    object-fit: cover;
}

.rank-text h4 {
    font-size: 16px;
    font-weight: 700;
}

.rank-text p {
    font-size: 13px;
    color: var(--text-light);
}

/* Update Status */
.update-board {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
@media (min-width: 768px) {
    .update-board {
        grid-template-columns: repeat(3, 1fr);
    }
}

.update-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px dashed #dcdcdc;
}

.update-status {
    font-size: 13px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 12px;
}

.status-ripe { background: #E8F5E9; color: #2E7D32; }
.status-growing { background: #FFF8E1; color: #F57F17; }

.update-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.update-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* Filter Station */
.filter-station {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
}

.filter-group {
    margin-bottom: 16px;
}

.filter-label {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 8px;
    display: block;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-tag {
    background: #F5F5F5;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.filter-tag:hover {
    background: #E8F5E9;
}

.filter-tag.active {
    background: var(--banana-yellow);
    color: var(--ink-black);
    border-color: var(--banana-yellow);
    font-weight: bold;
}

/* Experience & Features */
.feature-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 768px) {
    .feature-list {
        grid-template-columns: 1fr 1fr;
    }
}

.feature-item {
    display: flex;
    gap: 16px;
    background: #fff;
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--leaf-green);
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
}

.feature-text h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.feature-text p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.faq-item summary {
    padding: 16px 20px;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 20px;
    color: var(--text-light);
}

.faq-item[open] summary::after {
    content: "-";
}

.faq-content {
    padding: 0 20px 16px;
    color: var(--text-light);
    font-size: 14px;
}

/* Download Section */
.download-section {
    background-color: var(--ink-black);
    color: #fff;
    text-align: center;
    padding: 64px 20px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    margin-top: 40px;
}

.download-section h2 {
    font-size: 28px;
    margin-bottom: 16px;
    color: #fff;
}

.download-section p {
    color: #ccc;
    margin-bottom: 32px;
}

.download-btn-large {
    background-color: var(--banana-yellow);
    color: var(--ink-black);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 48px;
    border-radius: 30px;
    font-size: 20px;
    font-weight: 900;
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.3);
    transition: background-color 0.2s;
    margin-bottom: 24px;
    min-height: 56px;
}

.download-btn-large:hover {
    background-color: var(--banana-hover);
}

.qr-code {
    width: 120px;
    height: 120px;
    background: #fff;
    margin: 0 auto;
    padding: 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #999;
}

/* Footer */
.site-footer {
    background-color: #f9f9f9;
    padding: 32px 20px;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--text-light);
}

.footer-info {
    font-size: 12px;
    color: #999;
    line-height: 1.8;
}

.footer-info a {
    color: #999;
}

.footer-info a:hover {
    text-decoration: underline;
}

/* Mobile Sticky Bar */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    display: flex;
    justify-content: center;
    z-index: 99;
}

@media (min-width: 768px) {
    .mobile-sticky-bar {
        display: none;
    }
}

.mobile-sticky-bar a {
    background-color: var(--banana-yellow);
    color: var(--ink-black);
    width: 100%;
    max-width: 400px;
    padding: 12px;
    border-radius: 24px;
    font-weight: 800;
    text-align: center;
    font-size: 16px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Utility */
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }