body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

header {
    background-color: #fff;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    height: 56px;
}

.header-left {
    display: flex;
    align-items: center;
}

.menu-btn {
    background: none;
    border: none;
    font-size: 20px;
    margin-right: 24px;
    cursor: pointer;
}

.logo h1 {
    color: #ff0000;
    margin: 0;
    font-size: 24px;
}

.search {
    display: flex;
    flex: 1;
    max-width: 600px;
    margin: 0 40px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #ccc;
}

.search input {
    flex: 1;
    padding: 10px 16px;
    border: none;
    outline: none;
}

.search button {
    padding: 10px 16px;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.search button svg {
    width: 28px;
    height: 28px;
}

.header-right {
    display: flex;
    gap: 16px;
}

.header-right button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.top-nav {
    background-color: #fff;
    border-bottom: 1px solid #e5e5e5;
}

.top-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

.top-nav li {
    margin: 0 8px;
}

.top-nav a {
    text-decoration: none;
    color: #606060;
    padding: 12px 16px;
    display: block;
    border-bottom: 2px solid transparent;
}

.top-nav a.active {
    color: #000;
    border-bottom-color: #000;
}

.chip-bar {
    background-color: #fff;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e5e5e5;
}

.arrow-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #606060;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-btn:hover {
    background-color: #f0f0f0;
    border-radius: 50%;
}

.chips-container {
    flex: 1;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.chips-container::-webkit-scrollbar {
    display: none;
}

.chip {
    background: none;
    border: none;
    padding: 8px 16px;
    border-radius: 16px;
    font-size: 14px;
    color: #606060;
    cursor: pointer;
    white-space: nowrap;
    border: 1px solid #e5e5e5;
}

.chip:hover {
    background-color: #f0f0f0;
}

.chip.active {
    background-color: #000;
    color: #fff;
}

main {
    display: flex;
    padding: 16px;
}

.sidebar {
    width: 240px;
    background-color: #fff;
    padding: 12px 0;
    margin-right: 24px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar li {
    margin: 0;
}

.sidebar a {
    text-decoration: none;
    color: #606060;
    padding: 12px 24px;
    display: block;
    font-size: 14px;
}

.sidebar a:hover {
    background-color: #f0f0f0;
}

.content {
    flex: 1;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.video {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    cursor: pointer;
}

.video img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.video-info {
    padding: 12px;
}

.video-info h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    line-height: 1.4;
}

.video-info p {
    margin: 4px 0;
    font-size: 14px;
    color: #606060;
}

.right-sidebar {
    width: 300px;
    background-color: #fff;
    padding: 16px;
    margin-left: 24px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.right-sidebar h3 {
    margin-top: 0;
    font-size: 18px;
}

.trending-video {
    display: flex;
    margin-bottom: 12px;
}

.trending-video img {
    width: 120px;
    height: 68px;
    margin-right: 12px;
    border-radius: 4px;
}

.trending-video h4 {
    margin: 0 0 4px 0;
    font-size: 14px;
    line-height: 1.3;
}

.trending-video p {
    margin: 0;
    font-size: 12px;
    color: #606060;
}

footer {
    text-align: center;
    padding: 16px;
    background-color: #fff;
    margin-top: 24px;
    border-top: 1px solid #e5e5e5;
}