:root {
        --paper: #ffffff;
        --ink: #0a0a0a;
        --red: #e8341c;
        --gray: #767676;
        --line: #0a0a0a;
        --line-light: #d6d6d6;
        --font: 'Helvetica Neue', Helvetica, Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    }

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

    body {
        background-color: var(--paper);
        color: var(--ink);
        font-family: var(--font);
        line-height: 1.5;
        -webkit-font-smoothing: antialiased;
        overflow-x: hidden;
    }

    a {
        color: var(--ink);
        text-decoration: none;
    }

    ul {
        list-style: none;
    }

    img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
        background-color: #0a0a0a;
    }

    .container {
        width: 100%;
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 20px;
    }

    /* Masthead */
    .masthead {
        border-bottom: 4px solid var(--line);
        padding-top: 15px;
        margin-bottom: 20px;
    }

    .masthead-top {
        display: flex;
        justify-content: space-between;
        font-size: 12px;
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 20px;
    }

    .masthead-title {
        font-size: 84px;
        font-weight: 700;
        letter-spacing: -4px;
        line-height: 1;
        display: flex;
        align-items: baseline;
        margin-bottom: 10px;
    }

    .masthead-title span.dot {
        color: var(--red);
        margin: 0 5px;
    }

    .masthead-bottom {
        display: flex;
        justify-content: space-between;
        font-size: 14px;
        font-weight: bold;
        border-top: 1px solid var(--line);
        padding: 8px 0;
    }

    /* Nav */
    .main-nav {
        position: sticky;
        top: 0;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        z-index: 100;
        height: 42px;
        display: flex;
        align-items: center;
    }

    .nav-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        height: 100%;
        overflow-x: auto;
        white-space: nowrap;
    }

    .nav-links {
        display: flex;
        font-size: 14px;
        font-weight: bold;
    }

    .nav-links a {
        padding: 0 15px;
        border-right: 1px solid var(--line-light);
        line-height: 42px;
        transition: color 0.2s;
    }

    .nav-links a:hover {
        color: var(--red);
    }

    .nav-download {
        background: var(--ink);
        color: var(--paper) !important;
        padding: 0 20px;
        height: 100%;
        display: flex;
        align-items: center;
        font-size: 14px;
        font-weight: bold;
    }

    .nav-download:hover {
        background: var(--red);
    }

    /* Sections */
    section {
        padding: 40px 0;
        border-bottom: 1px solid var(--line);
    }

    .section-header {
        border-bottom: 1px solid var(--line);
        padding-bottom: 10px;
        margin-bottom: 20px;
        display: flex;
        align-items: baseline;
    }

    .section-num {
        color: var(--red);
        font-size: 14px;
        font-weight: bold;
        margin-right: 15px;
    }

    .section-title {
        font-size: 28px;
        font-weight: bold;
        letter-spacing: -1px;
    }

    /* Hero */
    .hero {
        border-bottom: none;
        padding-bottom: 0;
    }

    .kicker {
        color: var(--red);
        font-size: 16px;
        font-weight: bold;
        margin-bottom: 15px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .hero-title {
        font-size: 86px;
        font-weight: 700;
        letter-spacing: -6px;
        line-height: 1.05;
        margin-bottom: 20px;
    }

    .hero-title .red-line {
        color: var(--red);
    }

    .tag-band {
        border-top: 3px solid var(--line);
        border-bottom: 3px solid var(--line);
        padding: 15px 0;
        font-size: 24px;
        font-weight: bold;
        margin-bottom: 30px;
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        align-items: center;
    }

    .tag-band span {
        color: var(--gray);
        font-weight: normal;
    }

    .hero-cols {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        padding-bottom: 40px;
    }

    .hero-lead {
        font-size: 18px;
        line-height: 1.6;
    }

    .hero-lead p {
        margin-bottom: 15px;
    }

    .btn-download {
        display: inline-block;
        font-size: 20px;
        font-weight: bold;
        color: var(--ink);
        border-bottom: 2px solid var(--ink);
        padding-bottom: 5px;
        margin-top: 10px;
    }

    .btn-download:hover {
        color: var(--red);
        border-color: var(--red);
    }

    .hero-box h3 {
        font-size: 16px;
        font-weight: bold;
        margin-bottom: 10px;
        color: var(--gray);
    }
    
    .hero-box ul li {
        font-size: 14px;
        margin-bottom: 8px;
        padding-bottom: 8px;
        border-bottom: 1px solid var(--line-light);
    }

    /* Genres */
    .genre-list {
        width: 100%;
    }

    .genre-item {
        display: flex;
        align-items: center;
        border-bottom: 1px solid var(--line-light);
        padding: 15px 0;
    }

    .genre-num {
        color: var(--red);
        font-size: 24px;
        font-weight: bold;
        width: 60px;
    }

    .genre-img {
        width: 72px;
        height: 96px;
        margin-right: 20px;
        flex-shrink: 0;
    }

    .genre-info {
        flex-grow: 1;
    }

    .genre-name {
        font-size: 20px;
        font-weight: bold;
    }

    .genre-code {
        font-size: 12px;
        color: var(--gray);
        font-weight: bold;
    }

    /* Steps */
    .steps-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .step-item {
        border-left: 1px solid var(--line);
        padding-left: 20px;
    }
    
    .step-item:first-child {
        border-left: none;
        padding-left: 0;
    }

    .step-num {
        font-size: 14px;
        font-weight: bold;
        color: var(--red);
        margin-bottom: 10px;
    }

    .step-img {
        width: 100%;
        aspect-ratio: 16/10;
        margin-bottom: 15px;
    }

    .step-title {
        font-size: 20px;
        font-weight: bold;
        margin-bottom: 10px;
    }

    /* Ranking Table */
    .table-responsive {
        width: 100%;
        overflow-x: auto;
    }

    .ranking-table {
        width: 100%;
        border-collapse: collapse;
        text-align: left;
        min-width: 600px;
    }

    .ranking-table th {
        border-bottom: 2px solid var(--line);
        padding: 10px 0;
        font-size: 14px;
        color: var(--gray);
    }

    .ranking-table td {
        border-bottom: 1px solid var(--line-light);
        padding: 15px 0;
        vertical-align: middle;
    }

    .rank-no {
        font-size: 24px;
        font-weight: bold;
        width: 50px;
    }

    .rank-poster {
        width: 60px;
        height: 80px;
        margin-right: 15px;
    }

    .rank-title {
        font-size: 18px;
        font-weight: bold;
    }

    .rank-heat {
        width: 200px;
    }

    .heat-bar-bg {
        width: 100%;
        height: 8px;
        background: var(--line-light);
        margin-top: 5px;
    }

    .heat-bar {
        height: 100%;
        background: var(--line);
    }

    .heat-bar.top3 {
        background: var(--red);
    }

    /* Library */
    .filter-bar {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 20px;
    }

    .filter-btn {
        background: transparent;
        border: 1px solid var(--line);
        padding: 5px 15px;
        font-size: 14px;
        font-weight: bold;
        cursor: pointer;
        font-family: var(--font);
        color: var(--ink);
    }

    .filter-btn.active {
        background: var(--ink);
        color: var(--paper);
    }

    .library-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .lib-card {
        border-bottom: 1px solid var(--line-light);
        padding-bottom: 10px;
        position: relative;
    }

    .lib-img {
        width: 100%;
        aspect-ratio: 2/3;
        margin-bottom: 10px;
        border: 1px solid var(--line-light);
    }

    .lib-badge {
        position: absolute;
        top: 5px;
        left: 5px;
        background: var(--ink);
        color: var(--paper);
        font-size: 12px;
        font-weight: bold;
        padding: 2px 6px;
    }

    /* Wish List */
    .wish-table {
        width: 100%;
        border-collapse: collapse;
    }

    .wish-table td {
        border-bottom: 1px solid var(--line-light);
        padding: 15px 0;
        vertical-align: middle;
    }

    .wish-check {
        width: 30px;
        font-size: 20px;
        cursor: pointer;
        color: var(--gray);
        user-select: none;
    }

    .wish-check.joined {
        color: var(--red);
    }

    .wish-cover {
        width: 40px;
        height: 55px;
        margin-right: 15px;
    }

    .wish-title {
        font-size: 16px;
        font-weight: bold;
    }

    .wish-progress {
        width: 150px;
    }

    .wish-count {
        font-size: 12px;
        color: var(--gray);
        margin-bottom: 5px;
        text-align: right;
    }

    .wish-bar-bg {
        width: 100%;
        height: 4px;
        background: var(--line-light);
    }

    .wish-bar {
        height: 100%;
        background: var(--ink);
    }

    /* Features */
    .features-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-item {
        border-top: 1px solid var(--line);
        padding-top: 15px;
    }

    .feature-num {
        font-size: 36px;
        font-weight: bold;
        color: var(--red);
        line-height: 1;
        margin-bottom: 10px;
    }

    .feature-title {
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 5px;
    }

    .feature-desc {
        font-size: 14px;
        color: var(--gray);
    }

    /* Reviews */
    .reviews-header {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
    }

    .score-big {
        font-size: 64px;
        font-weight: bold;
        line-height: 1;
        margin-right: 20px;
    }

    .score-desc {
        font-size: 14px;
        color: var(--gray);
        font-weight: bold;
    }

    .reviews-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .review-item {
        font-size: 14px;
        line-height: 1.6;
    }

    .review-item::before {
        content: '📌 ';
        font-size: 12px;
    }

    /* Download Section */
    .download-section {
        background: var(--ink);
        color: var(--paper);
        padding: 40px 20px;
        text-align: center;
        border-bottom: none;
    }

    .download-section h2 {
        font-size: 32px;
        font-weight: bold;
        letter-spacing: -1px;
        margin-bottom: 20px;
    }

    .download-section a {
        display: inline-block;
        background: var(--red);
        color: var(--paper);
        font-size: 24px;
        font-weight: bold;
        padding: 15px 40px;
    }

    .download-section a:hover {
        background: #c42511;
    }

    /* Footer */
    .site-footer {
        padding: 40px 20px 20px;
        font-size: 12px;
        color: var(--gray);
    }

    .footer-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 30px;
        border-bottom: 1px solid var(--line-light);
        padding-bottom: 20px;
    }

    .footer-col h4 {
        color: var(--ink);
        font-size: 14px;
        margin-bottom: 10px;
    }

    .footer-col p {
        margin-bottom: 5px;
    }

    .footer-bottom {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
        text-transform: uppercase;
    }

    details {
        margin-top: 15px;
        width: 100%;
    }

    summary {
        cursor: pointer;
        display: inline-block;
        color: var(--ink);
        outline: none;
    }
    
    summary::-webkit-details-marker {
        display: none;
    }

    .about-content {
        margin-top: 10px;
        line-height: 1.8;
    }
    
    .about-content a {
        color: var(--gray);
        margin-right: 10px;
        text-decoration: underline;
    }
    
    .about-content a:hover {
        color: var(--ink);
    }

    /* Breakpoints */
    @media (min-width: 768px) {
        .hero-cols {
            grid-template-columns: 2fr 1fr 1fr;
        }
        
        .hero-box {
            padding-left: 20px;
            border-left: 1px solid var(--line);
        }

        .steps-grid {
            grid-template-columns: repeat(3, 1fr);
        }

        .library-grid {
            grid-template-columns: repeat(4, 1fr);
        }

        .features-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .reviews-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .footer-grid {
            grid-template-columns: repeat(4, 1fr);
        }

        .footer-bottom {
            flex-direction: row;
            align-items: center;
        }
    }

    @media (min-width: 1024px) {
        .library-grid {
            grid-template-columns: repeat(6, 1fr);
        }

        .features-grid {
            grid-template-columns: repeat(4, 1fr);
        }

        .reviews-grid {
            grid-template-columns: repeat(3, 1fr);
        }
    }