* { margin: 0; padding: 0; box-sizing: border-box; font-family: "Roboto", Arial, sans-serif; }
body { background-color: #0f0f0f; color: white; overflow-x: hidden; }

/* Botón Break */
.break-button {
    position: fixed; bottom: 20px; right: 20px; z-index: 10000;
    padding: 15px 30px; background: #ff0000; color: white;
    border: none; border-radius: 50px; font-weight: bold; cursor: pointer;
    box-shadow: 0 0 20px rgba(255,0,0,0.4);
}

/* Header */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 16px; height: 56px; position: sticky; top: 0;
    background: #0f0f0f; z-index: 1000;
}
.header-left { display: flex; align-items: center; gap: 16px; }
.logo img { width: 90px;}
.header-center { display: flex; align-items: center; gap: 15px; flex: 0 1 720px; }
.search-box { display: flex; width: 100%; }
.search-box input {
    flex: 1; background: #121212; border: 1px solid #333;
    padding: 8px 16px; border-radius: 40px 0 0 40px; color: white;
}
.search-btn { background: #222; border: 1px solid #333; padding: 0 20px; border-radius: 0 40px 40px 0; color: white; }

/* Layout */
.main-layout { display: flex; }
.sidebar { width: 240px; padding: 12px; height: calc(100vh - 56px); position: sticky; top: 56px; }
.side-item { padding: 10px 12px; border-radius: 10px; cursor: pointer; font-size: 14px; }
.side-item:hover { background: #272727; }
.side-item.active { background: #272727; font-weight: bold; }
hr { border: 0; border-top: 1px solid #333; margin: 12px 0; }
.side-title { padding: 10px 12px; font-size: 16px; font-weight: bold; }

/* Content & Pills */
.content { flex: 1; padding: 0 16px; }
.categories-bar {
    display: flex; gap: 12px; padding: 12px 0; position: sticky;
    top: 56px; background: #0f0f0f; z-index: 900; overflow-x: auto;
}
.pill {
    background: #272727; padding: 6px 12px; border-radius: 8px;
    font-size: 14px; white-space: nowrap; cursor: pointer;
}
.pill.active { background: white; color: black; }

/* Grid de Videos */
.video-grid {
    display: grid; gap: 16px; margin-top: 16px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.video-card { cursor: pointer; width: 100%; }
.thumbnail {
    width: 100%; aspect-ratio: 16/9; border-radius: 12px;
    background-size: cover; background-position: center; margin-bottom: 12px;
}
.video-info { display: flex; gap: 12px; }
.avatar-img { width: 36px; height: 36px; border-radius: 50%; background: #333; }
.text h3 { font-size: 16px; margin-bottom: 4px; line-height: 1.4; }
.text p { font-size: 14px; color: #aaa; }