/* New Navigation Bar style - Reference YouTube to MP3 design */
/* Basic style reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Fix black triangle overlay issue */
html, body {
    background-color: #f8f8f8;
    position: relative;
    overflow-x: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Ensure body has no pseudo-element generated triangles */
body::before, body::after,
html::before, html::after {
    display: none !important;
    content: none !important;
}

/* Reset all absolute positioned elements that might cause overlay */
body > * {
    position: relative;
    z-index: 1;
}

/* Ensure all SVG and images display properly */
svg, img {
    display: block;
    max-width: 100%;
    max-height: 100%;
}

/* New Navigation Bar style */
.new-nav {
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 100;
    width: 100%;
    border: none;
    border-width: 0;
    padding: 8px 0;
}

.new-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 0 16px;
}

.new-nav-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.new-nav-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: none;
}

.new-nav-menu-toggle svg {
    width: 24px;
    height: 24px;
    fill: #333;
}

.new-nav-home {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #333;
    width: 24px;
    height: 24px;
    overflow: hidden;
}

.new-nav-home svg {
    width: 24px;
    height: 24px;
    fill: #333;
}

.new-nav-link-wrapper {
    display: flex;
    gap: 16px;
}

.new-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #333;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.new-nav-link:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #FE2C55;
}

.new-nav-link.active {
    color: #FE2C55;
    background: rgba(254, 44, 85, 0.1);
}

.new-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    overflow: hidden;
}

.new-nav-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.new-nav-right {
    display: flex;
    align-items: center;
}

.new-nav-button {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    background-color: #FE2C55;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.new-nav-button:hover {
    background-color: #e62548;
}

.new-nav-button svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Responsive design */
@media (max-width: 768px) {
    .new-nav-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .new-nav-link-wrapper {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        padding: 8px 0;
        z-index: 99;
    }
    
    .new-nav-link-wrapper.active {
        display: flex;
    }
    
    .new-nav-link {
        width: 100%;
        padding: 12px 16px;
        margin: 0;
    }
} 