/* Navigation */
.main-nav {
    background: white;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo h1 {
    color: #667eea;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1rem; /* Removed the 15% reduction */
}

.nav-link:hover,
.nav-link.active {
    background: #667eea;
    color: white;
}

/* Hide current page link on mobile only */
@media only screen and (max-width: 768px) {
    .nav-link.current-page {
        display: none;
    }

    /* Reduce spacing between menu items by 20% on mobile */
    .nav-links {
        gap: 1.6rem; /* Reduced from 2rem (20% reduction) */
    }

    /* Prevent Webwallet from being highlighted or underlined on mobile */
    .nav-link[href*="theecoin-webwallet"]:hover,
    .nav-link[href*="theecoin-webwallet"].active {
        background: transparent;
        color: #333;
        text-decoration: none;
    }
}

/* Mobile Responsive */
@media only screen and (min-width: 481px) and (max-width: 768px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .logo h1 {
        font-size: 1.6rem;
    }
    
    .nav-links {
        gap: 0.8rem; /* Reduced from 1rem (20% reduction) */
    }
    
    .nav-links > * {
        margin-left: 0.8rem;
    }
    
    .nav-link {
        font-size: 1.0625rem; /* 15% smaller than original 1.25rem */
        padding: 0.3rem 0.6rem;
    }
}

@media only screen and (min-width: 361px) and (max-width: 480px) {
    .nav-container {
        padding: 1rem 1rem;
    }
    
    .logo h1 {
        font-size: 1.4rem;
    }
    
    .nav-links {
        gap: 0.64rem; /* Reduced from 0.8rem (20% reduction) */
    }
    
    .nav-links > * {
        margin-left: 0.6rem;
    }
    
    .nav-link {
        font-size: 0.929688rem; /* 15% smaller than original 1.09375rem */
        padding: 0.25rem 0.5rem;
    }
}

@media only screen and (max-width: 360px) {
    .nav-container {
        padding: 1rem 0.8rem;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .nav-links {
        gap: 0.48rem; /* Reduced from 0.6rem (20% reduction) */
    }
    
    .nav-links > * {
        margin-left: 0.4rem;
    }
    
    .nav-link {
        font-size: 0.863281rem; /* 15% smaller than original 1.015625rem */
        padding: 0.2rem 0.4rem;
    }
} 