/* TV Navigation Styles (Desktop Only) */

.tv-navigation {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: var(--spacing-xl) 0;
}

.tv-nav-viewport {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.tv-nav-track {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    width: 100%;
}

.tv-nav-item {
    position: absolute;
    top: 50%;
    left: 0;
    right: auto;
    width: 100%;
    margin-top: -30px; /* Half of approximate item height */
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
    pointer-events: auto;
    transform-origin: left center;
}

.tv-nav-item-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 16px 24px;
    margin: 0;
    max-width: none;
    background: transparent;
    border: none;
    border-radius: 0;
    color: var(--color-text-secondary);
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    width: 100%;
    cursor: pointer;
    transition: color 0.3s ease;
    user-select: none;
    transform-origin: left center;
}

/* Active/Centered Item */
.tv-nav-item.tv-nav-active .tv-nav-item-content {
    color: var(--color-primary);
}

.tv-nav-item.tv-nav-active .tv-nav-title {
    font-size: 18px;
    font-weight: 700;
}

/* Content Items (clickable) */
.tv-content-item:hover {
    color: var(--color-text-primary);
}

.tv-content-item:active {
    transform: scale(0.98);
}

/* Header Items (non-clickable separators) */
.tv-nav-header .tv-header-content {
    cursor: default;
    opacity: 0.6;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 12px 24px;
}

.tv-nav-icon {
    font-size: 20px;
}

.tv-nav-title {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: font-size 0.3s ease;
}

/* Scroll indicator - Removed gradients */

/* Keyboard hint */
.tv-navigation-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 12px;
    color: var(--color-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.6;
}

.tv-navigation-hint i {
    font-size: 16px;
}

/* Hide on mobile */
@media (max-width: 768px) {
    .tv-navigation {
        display: none;
    }
}

/* Dark Mode */
[data-theme="dark"] .tv-nav-item.tv-nav-active .tv-nav-item-content {
    color: var(--color-primary);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .tv-nav-item,
    .tv-nav-item-content {
        transition: none;
    }
}

/* Focus visible for accessibility */
.tv-nav-item-content:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

