.cube-page {
    display: flex;
    gap: 24px;
    margin-top: 16px;
}

.cube-sidebar {
    width: 240px;
    flex-shrink: 0;
}

.sidebar-section {
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

.sidebar-section-title {
    font-size: 11px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.filter-select {
    width: 100%;
    padding: 8px 12px;
    background: #111;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    margin-bottom: 10px;
    cursor: pointer;
}

.filter-select:focus { outline: none; border-color: #f1c40f; }

.filter-input {
    width: 100%;
    padding: 8px 12px;
    background: #111;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    margin-bottom: 10px;
}

.filter-input::placeholder { color: #555; }
.filter-input:focus { outline: none; border-color: #f1c40f; }

.filter-total {
    text-align: center;
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-list li { margin-bottom: 2px; }

.sidebar-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    color: #999;
    text-decoration: none;
    font-size: 13px;
    border-radius: 6px;
    transition: all 0.2s;
}

.sidebar-list a:hover { background: rgba(255,255,255,0.04); color: #ddd; }

.sidebar-list a.active {
    background: rgba(241, 196, 15, 0.1);
    color: #f1c40f;
    font-weight: 600;
}

.sidebar-count {
    background: rgba(59, 130, 246, 0.2);
    color: #5a9cf4;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    min-width: 24px;
    text-align: center;
}

/* Ana icerik */
.cube-main {
    flex: 1;
    min-width: 0;
}

.category-group { margin-bottom: 32px; }

.category-title {
    font-size: 18px;
    font-weight: 700;
    color: #eee;
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 3px solid #f1c40f;
}

.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.recipe-card {
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 16px;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.recipe-card:hover {
    border-color: rgba(241, 196, 15, 0.25);
    background: #1f1f1f;
    transform: translateY(-2px);
}

.recipe-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.recipe-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.recipe-icon img {
    max-width: 40px;
    max-height: 40px;
    object-fit: contain;
    image-rendering: pixelated;
}

.recipe-title {
    font-size: 14px;
    font-weight: 600;
    color: #eee;
    line-height: 1.3;
}

.recipe-npc {
    font-size: 12px;
    color: #777;
    margin-top: 2px;
}

.recipe-materials-label {
    font-size: 10px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.recipe-materials {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.mat-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #111;
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 12px;
    color: #bbb;
}

.mat-chip img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    image-rendering: pixelated;
}

.mat-chip .mat-count {
    color: #777;
    font-size: 11px;
}

.recipe-footer {
    display: flex;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.recipe-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #999;
    background: #111;
    padding: 4px 10px;
    border-radius: 6px;
}

.recipe-stat .yang-val { font-weight: 600; color: #f1c40f; }
.recipe-stat .rate-val { font-weight: 600; color: #2ecc71; }
.recipe-stat .label { color: #666; }

.cube-empty {
    text-align: center;
    padding: 60px 20px;
    color: #555;
}

.cube-empty i {
    font-size: 48px;
    margin-bottom: 12px;
    display: block;
}

@media (max-width: 992px) {
    .cube-page { flex-direction: column; }
    .cube-sidebar { width: 100%; }
}

@media (max-width: 576px) {
    .recipe-grid { grid-template-columns: 1fr; }
}
