body {
    margin: 0;
    font-family: 'Noto Sans KR', Arial, sans-serif;
    background: #fff;
    color: #222;
}

.main-header {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    padding: 0 0 0 0;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    height: 80px;
    padding: 0 32px;
}
.logo {
    font-weight: bold;
    color: #5a6cf3;
    font-size: 22px;
    line-height: 1.1;
}
.search-box {
    flex: 1;
    display: flex;
    align-items: center;
    margin: 0 40px;
    max-width: 420px;
    background: #fafaff;
    border-radius: 24px;
    border: 1px solid #e5e5e5;
    padding: 0 12px;
}
.search-box input {
    border: none;
    background: transparent;
    font-size: 16px;
    flex: 1;
    padding: 12px 8px;
    outline: none;
}
.search-box button {
    background: none;
    border: none;
    color: #5a6cf3;
    font-size: 18px;
    cursor: pointer;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}
.header-actions .be-writer {
    color: #5a6cf3;
    font-weight: bold;
    text-decoration: none;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.header-actions .divider {
    width: 1px;
    height: 18px;
    background: #e5e5e5;
    margin: 0 8px;
}
.header-actions .customer {
    color: #888;
    font-size: 14px;
    text-decoration: none;
}
.header-actions .login-btn {
    color: #5a6cf3;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    border: 1px solid #5a6cf3;
    border-radius: 16px;
    padding: 4px 16px;
    margin-left: 8px;
}
.header-actions i.fa-table-cells-large {
    color: #bbb;
    font-size: 20px;
    margin-left: 8px;
}
.main-nav {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    padding-top: 18px;
    padding-bottom: 18px;
}
.main-nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 120px;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 48px;
}
.main-nav ul li a {
    color: #888;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border 0.2s;
}
.main-nav ul li a.active {
    color: #5a6cf3;
    border-bottom: 2px solid #5a6cf3;
    font-weight: bold;
}
.main-body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 0 0 0;
}
.carousel-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 32px;
}
.carousel-track {
    display: flex;
    gap: 32px;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
    overflow: hidden;
    width: 100vw;
    max-width: 100vw;
    position: relative;
}
.carousel-item {
    width: 630px;
    height: 300px;
    background: #f5f6f7;
    border-radius: 24px;
    flex-shrink: 0;
    transition: transform 0.3s;
}
.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    display: block;
}
@media (max-width: 900px) {
    .carousel-item {
        width: 90vw;
        max-width: 630px;
        height: 45vw;
        max-height: 300px;
    }
}
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}
.carousel-controls .bar {
    display: block;
    width: 60%;
    height: 2px;
    background: #222;
    margin-right: 16px;
}
.carousel-controls button {
    background: none;
    border: none;
    color: #bbb;
    font-size: 18px;
    cursor: pointer;
    margin: 0 2px;
}
.new-goods-section {
    margin-bottom: 32px;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    font-size: 17px;
    font-weight: bold;
}
.section-header .view-all {
    color: #888;
    font-size: 14px;
    text-decoration: none;
    font-weight: normal;
}
.character-cards {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 8px;
    width: 100%;
    box-sizing: border-box;
    justify-content: space-between;
}
.character-card {
    background: #f5f6f7;
    border-radius: 18px;
    width: 180px;
    min-width: 180px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.character-card .thumb {
    width: 100%;
    height: 100px;
    background: #dbeafe;
    border-radius: 12px;
    margin-bottom: 12px;
}
.character-card .info {
    width: 100%;
}
.character-card .name {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 4px;
}
.character-card .desc {
    color: #888;
    font-size: 13px;
    margin-bottom: 6px;
}
.character-card .badges {
    display: flex;
    gap: 6px;
    margin-bottom: 6px;
}
.badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 12px;
    color: #fff;
    font-weight: bold;
}
.badge.new { background: #5a6cf3; }
.badge.best { background: #5a6cf3; }
.badge.hot { background: #e74c3c; }
.badge.rank { background: #ffd600; color: #222; }
.character-card .actions {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}
.character-card .actions i {
    color: #bbb;
    font-size: 16px;
    cursor: pointer;
}

@media (max-width: 600px) {
    .header-inner {
        flex-direction: column;
        height: auto;
        padding: 12px 8px;
        gap: 10px;
    }
    .logo {
        font-size: 18px;
        text-align: center;
    }
    .search-box {
        margin: 0 0 8px 0;
        max-width: 100%;
        width: 100%;
        font-size: 14px;
        padding: 0 6px;
    }
    .header-actions {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .main-nav ul {
        gap: 12px;
        height: auto;
        flex-wrap: wrap;
        font-size: 14px;
        padding: 0 4px;
    }
    .main-nav ul li a {
        font-size: 14px;
        padding: 6px 0;
    }
    .main-body {
        max-width: 100vw;
        padding: 12px 0 0 0;
    }
    .carousel-section {
        margin-bottom: 16px;
    }
    .carousel-track {
        gap: 8px;
    }
    .carousel-item {
        width: 92vw;
        max-width: 98vw;
        height: 44vw;
        min-width: 220px;
        min-height: 120px;
        max-height: 200px;
    }
    .carousel-controls .bar {
        width: 40vw;
        min-width: 80px;
    }
    .new-goods-section {
        margin-bottom: 16px;
    }
    .section-header {
        font-size: 15px;
        margin-bottom: 10px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .section-header .view-all {
        font-size: 12px;
    }
    .character-cards {
        gap: 8px;
        padding-bottom: 4px;
    }
    .character-card {
        width: 130px;
        min-width: 130px;
        padding: 10px 6px;
        border-radius: 12px;
    }
    .character-card .thumb {
        height: 60px;
        border-radius: 8px;
    }
    .character-card .name {
        font-size: 13px;
    }
    .character-card .desc {
        font-size: 11px;
    }
    .badge {
        font-size: 10px;
        padding: 2px 6px;
        border-radius: 8px;
    }
} 