:root {
        --brand-red: #FF3B5C;
        --brand-pink: #FF8FA8;
        --bg-light: #FFF5F7;
        --text-dark: #333;
        --text-light: #fff;
        --gradient: linear-gradient(135deg, var(--brand-red), var(--brand-pink));
        --radius-card: 20px;
        --radius-pill: 50px;
    }

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

    body {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
        color: var(--text-dark);
        background-color: var(--bg-light);
        line-height: 1.6;
        overflow-x: hidden;
    }

    a { text-decoration: none; color: inherit; }
    ul { list-style: none; }

    /* Header */
    .site-header {
        position: fixed;
        top: 0; left: 0; right: 0;
        height: 72px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 5%;
        z-index: 1000;
        transition: all 0.3s ease;
        color: #fff;
    }
    .site-header.scrolled {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        color: var(--text-dark);
        box-shadow: 0 2px 10px rgba(255, 59, 92, 0.1);
    }
    .logo-box {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 22px;
        font-weight: bold;
    }
    .logo-box img {
        height: 32px;
    }
    .nav-links {
        display: flex;
        gap: 24px;
        font-weight: 500;
    }
    .nav-actions {
        display: flex;
        align-items: center;
        gap: 16px;
    }
    .search-bar {
        background: rgba(255,255,255,0.2);
        border: 1px solid rgba(255,255,255,0.4);
        padding: 8px 16px;
        border-radius: var(--radius-pill);
        color: #fff;
    }
    .site-header.scrolled .search-bar {
        background: #f0f0f0;
        border-color: transparent;
        color: var(--text-dark);
    }
    .search-bar input {
        background: transparent;
        border: none;
        outline: none;
        color: inherit;
        width: 140px;
    }
    .search-bar input::placeholder { color: inherit; opacity: 0.7; }
    
    .btn-primary {
        background: var(--gradient);
        color: #fff;
        padding: 10px 24px;
        border-radius: var(--radius-pill);
        font-weight: bold;
        box-shadow: 0 4px 12px rgba(255, 59, 92, 0.3);
        transition: transform 0.2s;
        display: inline-block;
    }
    .btn-primary:hover { transform: translateY(-2px); }

    /* Hero */
    .hero-section {
        position: relative;
        height: 90vh;
        min-height: 600px;
        background: #111;
        overflow: hidden;
        display: flex;
        align-items: flex-end;
        padding: 0 5% 80px;
    }
    .hero-bg {
        position: absolute;
        top: 0; left: 0; width: 100%; height: 100%;
        object-fit: cover;
        z-index: 1;
        opacity: 0.8;
    }
    .hero-mask {
        position: absolute;
        bottom: 0; left: 0; width: 100%; height: 60%;
        background: linear-gradient(to top, var(--brand-red), transparent);
        z-index: 2;
    }
    .hero-content {
        position: relative;
        z-index: 3;
        color: #fff;
        max-width: 600px;
    }
    .hero-tag {
        background: #fff; color: var(--brand-red);
        padding: 4px 12px; border-radius: var(--radius-pill);
        font-size: 14px; font-weight: bold; margin-bottom: 12px; display: inline-block;
    }
    .hero-title { font-size: 48px; font-weight: bold; margin-bottom: 16px; line-height: 1.2; }
    .hero-desc { font-size: 18px; margin-bottom: 24px; opacity: 0.9; }
    .badge-group { display: flex; gap: 10px; margin-bottom: 24px; }
    .genre-badge {
        border: 1px solid rgba(255,255,255,0.6);
        padding: 4px 12px; border-radius: var(--radius-pill); font-size: 13px;
    }
    .hero-thumbs {
        position: absolute;
        right: 5%; bottom: 80px;
        display: flex; gap: 16px; z-index: 3;
    }
    .thumb-card {
        width: 100px; height: 140px; border-radius: 10px;
        overflow: hidden; border: 2px solid transparent; cursor: pointer;
        transition: all 0.3s;
    }
    .thumb-card.active { border-color: #fff; transform: scale(1.1); }
    .thumb-card img { width: 100%; height: 100%; object-fit: cover; }

    /* Common Section */
    section { padding: 80px 5%; }
    .bg-white { background: #fff; }
    .bg-pink { background: var(--bg-light); }
    .section-title { font-size: 32px; margin-bottom: 12px; font-weight: bold; color: var(--text-dark); }
    .section-subtitle { color: #666; margin-bottom: 40px; }

    /* Grid */
    .grid-layout {
        display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px;
    }
    .card {
        background: #fff; border-radius: var(--radius-card); overflow: hidden;
        box-shadow: 0 4px 16px rgba(255, 143, 168, 0.1); transition: transform 0.3s;
        position: relative; cursor: pointer;
    }
    .card:hover { transform: translateY(-8px); box-shadow: 0 8px 24px rgba(255, 143, 168, 0.25); }
    .card-img-box { aspect-ratio: 3/4; overflow: hidden; position: relative; }
    .card-img-box img { width: 100%; height: 100%; object-fit: cover; }
    .card-badge {
        position: absolute; top: 10px; left: 10px;
        background: var(--brand-red); color: #fff; padding: 2px 8px; border-radius: 4px;
        font-size: 12px; font-weight: bold;
    }
    .card-info { padding: 16px; }
    .card-title { font-size: 18px; font-weight: bold; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .card-meta { font-size: 13px; color: #888; display: flex; justify-content: space-between; }

    /* Category */
    .category-tags { display: flex; flex-wrap: wrap; gap: 16px; }
    .tag-pill {
        background: #fff; color: var(--brand-red); padding: 8px 20px;
        border-radius: var(--radius-pill); font-size: 15px; font-weight: 500;
        border: 1px solid #ffd1dc; transition: all 0.2s;
    }
    .tag-pill:hover { background: var(--gradient); color: #fff; border-color: transparent; }

    /* Rank */
    .rank-list { display: flex; flex-direction: column; gap: 12px; }
    .rank-item {
        display: flex; align-items: center; background: #fff; padding: 16px;
        border-radius: var(--radius-card); box-shadow: 0 2px 10px rgba(0,0,0,0.03); gap: 20px;
    }
    .rank-num { font-size: 32px; font-weight: bold; color: #ddd; width: 40px; text-align: center; }
    .rank-item:nth-child(-n+3) .rank-num { color: var(--brand-red); }
    .rank-img { width: 60px; height: 80px; border-radius: 8px; object-fit: cover; }
    .rank-info { flex: 1; }
    .rank-title { font-size: 18px; font-weight: bold; margin-bottom: 4px; }
    .rank-genre { font-size: 13px; color: #888; }
    .rank-heat { color: var(--brand-red); font-weight: bold; }

    /* Footer */
    .site-footer { background: #222; color: #aaa; padding: 60px 5% 30px; font-size: 14px; }
    .footer-content { display: flex; flex-wrap: wrap; gap: 40px; margin-bottom: 40px; }
    .footer-col { flex: 1; min-width: 200px; }
    .footer-col h4 { color: #fff; margin-bottom: 16px; font-size: 16px; }
    .footer-col a { display: block; margin-bottom: 10px; color: #aaa; }
    .footer-col a:hover { color: #fff; }
    .footer-bottom { text-align: center; border-top: 1px solid #333; padding-top: 20px; color: #666; }

    /* Responsive */
    @media (max-width: 768px) {
        .nav-links, .search-bar { display: none; }
        .hero-title { font-size: 32px; }
        .hero-thumbs { display: none; }
        .grid-layout { grid-template-columns: repeat(2, 1fr); }
        .section-title { font-size: 24px; }
    }