/* ========================================
   NAVIGATION - MYCELIA PRIME THEME
   Deep Purple & Bioluminescent Cyan
======================================== */

.main-nav {
    background: rgba(10, 5, 20, 0.95);
    border-bottom: 2px solid rgba(0, 217, 255, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 217, 255, 0.2);
}

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

/* ========================================
   LOGO STYLES
======================================== */

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.site-logo {
    height: 65px;
    width: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.3));
}

.site-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(0, 217, 255, 0.6)) brightness(1.1);
}

/* Alternative logo with text */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: transform 0.3s;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.5));
}

.logo-text {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #00D9FF;
    letter-spacing: 0.1em;
    text-shadow: 0 0 15px rgba(0, 217, 255, 0.6);
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: #00D9FF;
    text-decoration: none;
    letter-spacing: 0.15em;
    transition: all 0.3s;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.4);
}

.logo:hover {
    color: #4ECDC4;
    text-shadow: 0 0 20px rgba(0, 217, 255, 0.8);
}

/* ========================================
   NAVIGATION LINKS
======================================== */

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    color: #B5A6E0;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s;
    position: relative;
    padding-bottom: 5px;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00D9FF, #4ECDC4);
    transition: width 0.3s;
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.6);
}

.nav-links a:hover,
.nav-links a.active {
    color: #00D9FF;
    text-shadow: 0 0 15px rgba(0, 217, 255, 0.6);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* ========================================
   NAVIGATION RANK DISPLAY
======================================== */

.nav-rank-container {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-rank-mini {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(78, 205, 196, 0.05) 100%);
    border: 2px solid rgba(0, 217, 255, 0.3);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.2);
}

.nav-rank-mini:hover {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.2) 0%, rgba(78, 205, 196, 0.1) 100%);
    border-color: rgba(0, 217, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 217, 255, 0.4);
}

.rank-level-badge {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #00D9FF 0%, #4ECDC4 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 217, 255, 0.5);
    flex-shrink: 0;
    border: 2px solid rgba(0, 217, 255, 0.4);
}

.rank-level-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0a0514;
    font-family: 'Lora', serif;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.rank-mini-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 100px;
}

.rank-mini-title {
    font-size: 0.75rem;
    color: #B5A6E0;
    font-weight: 600;
    white-space: nowrap;
    text-transform: capitalize;
}

.rank-mini-progress {
    width: 100%;
    height: 6px;
    background: rgba(0, 217, 255, 0.15);
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid rgba(0, 217, 255, 0.2);
}

.rank-mini-bar {
    height: 100%;
    background: linear-gradient(90deg, #00D9FF 0%, #80D8FF 100%);
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.8);
}

/* ========================================
   MOBILE MENU TOGGLE
======================================== */

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    width: 30px;
    height: 24px;
    flex-shrink: 0;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 30px;
    height: 3px;
    background: #00D9FF;
    border-radius: 3px;
    transition: all 0.3s;
    box-shadow: 0 0 8px rgba(0, 217, 255, 0.6);
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* Animated hamburger when active */
.mobile-menu-toggle.active .hamburger {
    background: transparent;
}

.mobile-menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

/* Tablet landscape - tighter spacing */
@media (max-width: 1200px) {
    .nav-container {
        gap: 1.5rem;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .nav-links a {
        font-size: 0.85rem;
    }
}

/* Tablet - show rank badge only as icon */
@media (max-width: 992px) {
    .nav-container {
        gap: 1rem;
    }
    
    .nav-links {
        gap: 1.25rem;
    }
    
    .rank-mini-info {
        min-width: 80px;
    }
    
    .rank-mini-title {
        font-size: 0.7rem;
    }
}

/* Mobile - hamburger menu */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
        order: 3;
    }
    
    .logo-link {
        order: 1;
    }
    
    .nav-rank-container {
        order: 2;
        padding: 0;
        margin-left: auto;
        margin-right: 1rem;
    }
    
    .nav-links {
        order: 4;
    }
    
    .site-logo {
        height: 50px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    /* Hide rank text on mobile, show only badge */
    .rank-mini-info {
        display: none;
    }
    
    .nav-rank-mini {
        padding: 0.5rem;
    }
    
    .rank-level-badge {
        width: 36px;
        height: 36px;
    }
    
    .rank-level-number {
        font-size: 1.1rem;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(10, 5, 20, 0.98);
        backdrop-filter: blur(10px);
        border-top: 2px solid rgba(0, 217, 255, 0.3);
        border-bottom: 2px solid rgba(0, 217, 255, 0.3);
        box-shadow: 0 10px 40px rgba(0, 217, 255, 0.2);
        flex-direction: column;
        padding: 2rem 0;
        gap: 0;
        opacity: 0;
        transform: translateY(-20px);
        pointer-events: none;
        transition: all 0.3s ease;
        max-height: 0;
        overflow: hidden;
        justify-content: flex-start;
    }
    
    .nav-links.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: all;
        max-height: 500px;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(0, 217, 255, 0.15);
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .nav-links a {
        display: block;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(0, 217, 255, 0.1);
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

@media (max-width: 640px) {
    .nav-container {
        padding: 0.75rem 1rem;
    }
    
    .site-logo {
        height: 45px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .nav-links a {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0.625rem 0.75rem;
        gap: 0.5rem;
    }
    
    .site-logo {
        height: 40px;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .nav-rank-container {
        margin-right: 0.5rem;
    }
    
    .rank-level-badge {
        width: 32px;
        height: 32px;
    }
    
    .rank-level-number {
        font-size: 1rem;
    }
}

/* ========================================
   USERNAME MODAL
======================================== */

.username-modal-content {
    max-width: 500px;
    padding: 2rem;
    background: rgba(10, 5, 20, 0.98);
    border: 2px solid rgba(0, 217, 255, 0.4);
    box-shadow: 0 0 40px rgba(0, 217, 255, 0.3);
}

.username-prompt-header {
    text-align: center;
    margin-bottom: 2rem;
}

.prompt-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 15px rgba(0, 217, 255, 0.6));
}

.username-prompt-header h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: #00D9FF;
    letter-spacing: 0.05em;
    text-shadow: 0 0 20px rgba(0, 217, 255, 0.6);
}

.username-prompt-header p {
    color: #B5A6E0;
    font-size: 1rem;
    line-height: 1.5;
}

.username-input-wrapper {
    margin-bottom: 1.5rem;
}

.username-input-wrapper input {
    width: 100%;
    padding: 1rem;
    background: rgba(26, 11, 46, 0.5);
    border: 2px solid rgba(0, 217, 255, 0.3);
    border-radius: 8px;
    color: #E8E8F0;
    font-size: 1.1rem;
    font-family: 'Lora', serif;
    transition: all 0.3s ease;
}

.username-input-wrapper input:focus {
    outline: none;
    border-color: #00D9FF;
    background: rgba(26, 11, 46, 0.7);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.4);
}

.username-input-wrapper input::placeholder {
    color: rgba(181, 166, 224, 0.4);
}

.username-hint {
    margin-top: 0.5rem;
    color: #6B5B8C;
    font-size: 0.85rem;
}

.username-error {
    margin-top: 0.5rem;
    color: #D32F2F;
    font-size: 0.9rem;
    display: none;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(211, 47, 47, 0.5);
}

.username-privacy {
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #00D9FF;
}

.checkbox-label span {
    color: #E8E8F0;
    font-size: 0.95rem;
}

.privacy-note {
    margin-top: 0.5rem;
    margin-left: 2rem;
    color: #6B5B8C;
    font-size: 0.85rem;
    font-style: italic;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.modal-btn {
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Lora', serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.modal-btn.primary {
    background: linear-gradient(135deg, #00D9FF 0%, #4ECDC4 100%);
    color: #0a0514;
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.4);
}

.modal-btn.primary:hover {
    background: linear-gradient(135deg, #4ECDC4 0%, #00D9FF 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 217, 255, 0.6);
}

.modal-btn.secondary {
    background: rgba(26, 11, 46, 0.5);
    color: #B5A6E0;
    border: 2px solid rgba(0, 217, 255, 0.3);
}

.modal-btn.secondary:hover {
    background: rgba(26, 11, 46, 0.7);
    color: #00D9FF;
    border-color: rgba(0, 217, 255, 0.5);
}

/* Modal overlay */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 5, 20, 0.9);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    z-index: 10001;
    background: rgba(10, 5, 20, 0.95);
    border: 2px solid rgba(0, 217, 255, 0.4);
    border-radius: 12px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
    box-shadow: 0 0 40px rgba(0, 217, 255, 0.3);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for username modal */
@media (max-width: 768px) {
    .username-modal-content {
        padding: 1.5rem;
        max-width: 95%;
    }
    
    .username-prompt-header h2 {
        font-size: 1.5rem;
    }
    
    .prompt-icon {
        font-size: 2.5rem;
    }
    
    .username-input-wrapper input {
        font-size: 1rem;
        padding: 0.875rem;
    }
}

@media (max-width: 480px) {
    .username-modal-content {
        padding: 1.25rem;
    }
    
    .username-prompt-header h2 {
        font-size: 1.25rem;
    }
    
    .username-prompt-header p {
        font-size: 0.9rem;
    }
    
    .prompt-icon {
        font-size: 2rem;
    }
    
    .modal-btn {
        padding: 0.875rem;
        font-size: 0.95rem;
    }
    
    .privacy-note {
        margin-left: 1.5rem;
    }
}

/* ========================================
   AVATAR INPUT SECTION
======================================== */

.avatar-input-wrapper {
    margin-bottom: 1.5rem;
}

.input-label {
    display: block;
    color: #00D9FF;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.4);
}

.avatar-input-wrapper input {
    width: 100%;
    padding: 1rem;
    background: rgba(26, 11, 46, 0.5);
    border: 2px solid rgba(0, 217, 255, 0.3);
    border-radius: 8px;
    color: #E8E8F0;
    font-size: 0.95rem;
    font-family: 'Lora', serif;
    transition: all 0.3s ease;
}

.avatar-input-wrapper input:focus {
    outline: none;
    border-color: #00D9FF;
    background: rgba(26, 11, 46, 0.7);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.4);
}

.avatar-hint {
    margin-top: 0.5rem;
    color: #6B5B8C;
    font-size: 0.85rem;
    line-height: 1.5;
}

.champion-link {
    color: #00D9FF;
    text-decoration: none;
    font-weight: 600;
}

.champion-link:hover {
    text-decoration: underline;
    color: #4ECDC4;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.6);
}

.avatar-preview {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 217, 255, 0.1);
    border: 2px solid rgba(0, 217, 255, 0.3);
    border-radius: 8px;
}

.avatar-preview img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #00D9FF;
    object-fit: cover;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.4);
}

.preview-label {
    color: #00D9FF;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========================================
   CHAMPION AVATAR PICKER
======================================== */

.avatar-picker-wrapper {
    margin-bottom: 1.5rem;
}

.avatar-search-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

.avatar-search-wrapper input {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    background: rgba(26, 11, 46, 0.5);
    border: 2px solid rgba(0, 217, 255, 0.3);
    border-radius: 8px;
    color: #E8E8F0;
    font-size: 0.95rem;
    font-family: 'Lora', serif;
    transition: all 0.3s ease;
}

.avatar-search-wrapper input:focus {
    outline: none;
    border-color: #00D9FF;
    background: rgba(26, 11, 46, 0.7);
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.3);
}

.search-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    pointer-events: none;
    color: #00D9FF;
    opacity: 0.5;
}

/* Selected avatar preview */
.selected-avatar-preview {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 217, 255, 0.1);
    border: 2px solid #00D9FF;
    border-radius: 8px;
    margin-bottom: 1rem;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
}

.selected-avatar-preview img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #00D9FF;
    object-fit: cover;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.5);
}

.selected-avatar-preview span {
    color: #00D9FF;
    font-weight: 600;
    flex: 1;
}

.clear-avatar-btn {
    background: rgba(211, 47, 47, 0.2);
    border: 1px solid rgba(211, 47, 47, 0.5);
    color: #D32F2F;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.clear-avatar-btn:hover {
    background: rgba(211, 47, 47, 0.4);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(211, 47, 47, 0.5);
}

/* Champion grid */
.avatar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
    padding: 1rem;
    background: rgba(26, 11, 46, 0.3);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 8px;
}

/* Custom scrollbar for champion grid */
.avatar-grid::-webkit-scrollbar {
    width: 8px;
}

.avatar-grid::-webkit-scrollbar-track {
    background: rgba(10, 5, 20, 0.3);
    border-radius: 4px;
}

.avatar-grid::-webkit-scrollbar-thumb {
    background: rgba(0, 217, 255, 0.3);
    border-radius: 4px;
}

.avatar-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 217, 255, 0.5);
}

.champion-avatar-option {
    aspect-ratio: 1;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(0, 217, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.champion-avatar-option:hover {
    transform: scale(1.1);
    border-color: rgba(0, 217, 255, 0.6);
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.5);
    z-index: 10;
}

.champion-avatar-option.selected {
    border-color: #00D9FF;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.8);
    transform: scale(1.05);
}

.champion-avatar-option.selected::after {
    content: '✓';
    position: absolute;
    top: 2px;
    right: 2px;
    background: #00D9FF;
    color: #0a0514;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.8);
}

.champion-avatar-option img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.avatar-grid {
    grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    max-height: 250px;
}

@media (max-width: 480px) {
.avatar-grid {
grid-template-columns: repeat(auto-fill, minmax(45px, 1fr));
gap: 0.4rem;
max-height: 200px;
}
.selected-avatar-preview img {
    width: 40px;
    height: 40px;
}
}
/* ========================================
PROFILE + RANK DISPLAY (TOP RIGHT)
======================================== */
.nav-profile-container {
display: flex;
align-items: center;
margin-left: auto;
}
.nav-profile-card {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.75rem 1rem;
background: linear-gradient(135deg, rgba(26, 19, 37, 0.95), rgba(10, 5, 20, 0.95));
border: 2px solid rgba(0, 217, 255, 0.3);
border-radius: 12px;
cursor: default;
transition: all 0.3s ease;
position: relative;
box-shadow: 0 0 20px rgba(0, 217, 255, 0.2);
}
/* Profile Link (clickable part) */
.nav-profile-link {
display: flex;
align-items: center;
gap: 0.75rem;
text-decoration: none;
color: inherit;
transition: all 0.3s ease;
border-radius: 8px;
padding: 0.25rem 0.5rem;
margin: -0.25rem -0.5rem;
flex: 1;
}
.nav-profile-link:hover {
background: rgba(0, 217, 255, 0.1);
}
.nav-profile-link:hover .profile-username {
color: #00D9FF;
text-shadow: 0 0 10px rgba(0, 217, 255, 0.6);
}
/* Notification Bell */
.notification-bell {
position: relative;
cursor: pointer;
padding: 0.5rem;
border-radius: 8px;
transition: all 0.3s ease;
}
.notification-bell:hover {
background: rgba(0, 217, 255, 0.1);
transform: scale(1.1) rotate(15deg);
filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.6));
}
.notification-badge {
position: absolute;
top: -4px;
right: -4px;
background: linear-gradient(135deg, #D32F2F, #C62828);
color: white;
font-size: 11px;
font-weight: 700;
padding: 2px 6px;
border-radius: 10px;
min-width: 18px;
text-align: center;
border: 2px solid #0a0514;
box-shadow: 0 2px 8px rgba(211, 47, 47, 0.6);
animation: pulse 2s infinite;
}
@keyframes pulse {
0%, 100% {
transform: scale(1);
box-shadow: 0 2px 8px rgba(211, 47, 47, 0.6);
}
50% {
transform: scale(1.15);
box-shadow: 0 4px 12px rgba(211, 47, 47, 1);
}
}
/* Settings Button */
.nav-settings-btn {
width: 36px;
height: 36px;
background: rgba(0, 217, 255, 0.1);
border: 2px solid rgba(0, 217, 255, 0.3);
border-radius: 8px;
cursor: pointer;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.nav-settings-btn i {
color: #00D9FF;
font-size: 1rem;
transition: transform 0.3s ease;
}
.nav-settings-btn:hover {
background: rgba(0, 217, 255, 0.2);
border-color: #00D9FF;
box-shadow: 0 4px 15px rgba(0, 217, 255, 0.4);
}
.nav-settings-btn:hover i {
transform: rotate(45deg);
}
.nav-settings-btn:active {
transform: scale(0.95);
}
/* Profile Avatar */
.profile-avatar {
width: 42px;
height: 42px;
border-radius: 50%;
background: linear-gradient(135deg, #00D9FF, #4ECDC4);
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
overflow: hidden;
border: 2px solid rgba(0, 217, 255, 0.5);
flex-shrink: 0;
box-shadow: 0 0 15px rgba(0, 217, 255, 0.4);
}
.nav-avatar-img {
width: 100%;
height: 100%;
object-fit: cover;
}
.nav-avatar-fallback {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
}
/* Profile Info */
.profile-info {
flex: 1;
min-width: 0;
}
.profile-username {
font-weight: 600 !important;
color: #E8E8F0 !important;
font-size: 0.95rem !important;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
transition: all 0.3s ease;
max-width: 120px;
}
.profile-rank-mini {
display: flex;
align-items: center;
gap: 0.5rem;
margin-top: 0.25rem;
}
.rank-progress-bar {
flex: 1;
height: 4px;
background: rgba(0, 217, 255, 0.2);
border-radius: 2px;
overflow: hidden;
}
.rank-progress-fill {
height: 100%;
background: linear-gradient(90deg, #00D9FF, #4ECDC4);
transition: width 0.5s ease;
border-radius: 2px;
box-shadow: 0 0 8px rgba(0, 217, 255, 0.6);
}
.rank-level-text {
font-size: 0.75rem;
color: #00D9FF;
font-weight: 600;
white-space: nowrap;
}
/* ========================================
PROFILE LOCKED & CLAIM STATES
======================================== */
.profile-locked-state {
display: flex;
align-items: center;
gap: 12px;
padding: 8px 16px;
background: linear-gradient(135deg, rgba(50, 50, 60, 0.8), rgba(30, 30, 40, 0.8));
border-radius: 8px;
border: 2px solid rgba(107, 91, 140, 0.3);
}
.locked-icon {
font-size: 28px;
opacity: 0.6;
animation: lockPulse 2s ease-in-out infinite;
filter: drop-shadow(0 0 8px rgba(107, 91, 140, 0.4));
}
@keyframes lockPulse {
0%, 100% { transform: scale(1); opacity: 0.6; }
50% { transform: scale(1.1); opacity: 0.8; }
}
.locked-info {
display: flex;
flex-direction: column;
gap: 2px;
}
.locked-title {
font-weight: 600;
font-size: 0.95rem;
color: #B5A6E0;
}
.locked-subtitle {
font-size: 0.8rem;
color: #6B5B8C;
font-style: italic;
}
.profile-claim-state {
display: flex;
align-items: center;
gap: 12px;
padding: 8px 16px;
background: linear-gradient(135deg, rgba(0, 217, 255, 0.2), rgba(78, 205, 196, 0.2));
border-radius: 8px;
border: 2px solid rgba(0, 217, 255, 0.5);
cursor: pointer;
transition: all 0.3s ease;
animation: claimGlow 2s ease-in-out infinite;
}
.profile-claim-state:hover {
background: linear-gradient(135deg, rgba(0, 217, 255, 0.3), rgba(78, 205, 196, 0.3));
border-color: rgba(0, 217, 255, 0.8);
transform: translateY(-2px);
box-shadow: 0 4px 15px rgba(0, 217, 255, 0.4);
}
@keyframes claimGlow {
0%, 100% { box-shadow: 0 0 0 rgba(0, 217, 255, 0.4); }
50% { box-shadow: 0 0 25px rgba(0, 217, 255, 0.6); }
}
.claim-icon {
font-size: 28px;
animation: sparkle 1.5s ease-in-out infinite;
filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.6));
}
@keyframes sparkle {
0%, 100% { transform: scale(1) rotate(0deg); }
25% { transform: scale(1.2) rotate(-10deg); }
75% { transform: scale(1.2) rotate(10deg); }
}
.claim-info {
display: flex;
flex-direction: column;
gap: 2px;
flex: 1;
}
.claim-title {
font-weight: 700;
font-size: 0.95rem;
color: #00D9FF;
text-shadow: 0 0 15px rgba(0, 217, 255, 0.5);
}
.claim-subtitle {
font-size: 0.8rem;
color: #B5A6E0;
}
.claim-arrow {
font-size: 1.2rem;
color: #00D9FF;
animation: arrowBounce 1s ease-in-out infinite;
}
@keyframes arrowBounce {
0%, 100% { transform: translateX(0); }
50% { transform: translateX(5px); }
}
/* ========================================
NAVIGATION SEPARATORS
======================================== */
.nav-separator {
width: 1px;
height: 24px;
background: linear-gradient(
to bottom,
transparent,
rgba(0, 217, 255, 0.3) 20%,
rgba(0, 217, 255, 0.6) 50%,
rgba(0, 217, 255, 0.3) 80%,
transparent
);
margin: 0 12px;
align-self: center;
pointer-events: none;
}
.nav-links li:has(+ .nav-separator) a:hover,
.nav-links .nav-separator + li a:hover {
text-shadow: 0 0 15px rgba(0, 217, 255, 0.8);
}
@media (max-width: 768px) {
.nav-separator {
display: none;
}
.nav-profile-card .profile-username,
.profile-info .profile-username,
.nav-profile-link .profile-username {
    font-size: 0.85rem !important;
    max-width: 100px;
}

.profile-avatar {
    width: 36px;
    height: 36px;
}

.nav-settings-btn {
    width: 32px;
    height: 32px;
}

.notification-bell {
    padding: 0.25rem;
}

.profile-locked-state,
.profile-claim-state {
    padding: 6px 12px;
    gap: 8px;
}

.locked-icon,
.claim-icon {
    font-size: 24px;
}

.locked-title,
.claim-title {
    font-size: 0.85rem;
}

.locked-subtitle,
.claim-subtitle {
    font-size: 0.75rem;
}
}
@media (max-width: 480px) {
.nav-profile-card .profile-username,
.profile-info .profile-username,
.nav-profile-link .profile-username {
font-size: 0.8rem !important;
max-width: 80px;
}
}
/* ========================================
NOTIFICATION PANEL - MYCELIA PRIME THEME
======================================== */
.notification-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(10, 5, 20, 0.85);
z-index: 9998;
backdrop-filter: blur(4px);
opacity: 0;
animation: fadeIn 0.2s ease forwards;
}
.notification-panel {
position: fixed;
top: 70px;
right: 20px;
width: 420px;
max-height: 650px;
background: linear-gradient(135deg, #0a0514 0%, #1a0b2e 100%);
border: 2px solid #00D9FF;
border-radius: 16px;
box-shadow:
0 12px 48px rgba(10, 5, 20, 0.9),
0 0 30px rgba(0, 217, 255, 0.4),
inset 0 1px 0 rgba(0, 217, 255, 0.2);
z-index: 9999;
display: flex;
flex-direction: column;
animation: slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
overflow: hidden;
}
@keyframes slideIn {
from {
opacity: 0;
transform: translateY(-20px) scale(0.95);
}
to {
opacity: 1;
transform: translateY(0) scale(1);
}
}
.notification-panel-header {
display: flex;
flex-direction: column;
padding: 20px 20px 16px 20px;
border-bottom: 2px solid rgba(0, 217, 255, 0.3);
background: linear-gradient(180deg, rgba(0, 217, 255, 0.08) 0%, transparent 100%);
position: relative;
}
.notification-panel-header::after {
content: '';
position: absolute;
bottom: -2px;
left: 20px;
right: 20px;
height: 2px;
background: linear-gradient(90deg, transparent, #00D9FF, transparent);
opacity: 0.5;
}
.notification-panel-header h3 {
margin: 0;
font-family: 'Cinzel', serif;
font-size: 20px;
font-weight: 700;
color: #00D9FF;
letter-spacing: 0.05em;
text-shadow: 0 0 20px rgba(0, 217, 255, 0.6);
}
.notification-panel-header .close-btn {
position: absolute;
top: 16px;
right: 16px;
background: rgba(0, 217, 255, 0.1);
border: 1px solid rgba(0, 217, 255, 0.3);
color: #00D9FF;
font-size: 20px;
cursor: pointer;
padding: 0;
width: 32px;
height: 32px;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s ease;
}
.notification-panel-header .close-btn:hover {
background: rgba(0, 217, 255, 0.2);
border-color: #00D9FF;
transform: scale(1.1) rotate(90deg);
box-shadow: 0 0 15px rgba(0, 217, 255, 0.6);
}
.notification-tabs {
display: flex;
gap: 4px;
margin-top: 12px;
border-bottom: 1px solid rgba(0, 217, 255, 0.2);
overflow-x: auto;
scrollbar-width: none;
}
.notification-tabs::-webkit-scrollbar {
display: none;
}
.notif-tab {
background: transparent;
border: none;
color: rgba(181, 166, 224, 0.6);
padding: 10px 16px;
cursor: pointer;
font-family: 'Lora', serif;
font-size: 13px;
font-weight: 600;
transition: all 0.2s ease;
border-bottom: 2px solid transparent;
display: flex;
align-items: center;
gap: 6px;
white-space: nowrap;
position: relative;
}
.notif-tab:hover {
color: rgba(0, 217, 255, 0.8);
background: rgba(0, 217, 255, 0.05);
}
.notif-tab.active {
color: #00D9FF;
border-bottom-color: #00D9FF;
}
.notif-tab.active::after {
content: '';
position: absolute;
bottom: -2px;
left: 0;
right: 0;
height: 2px;
background: #00D9FF;
box-shadow: 0 0 10px rgba(0, 217, 255, 0.8);
}
.tab-badge {
background: #D32F2F;
color: white;
font-size: 10px;
font-weight: 700;
padding: 2px 6px;
border-radius: 10px;
min-width: 18px;
text-align: center;
}
.notification-panel-content {
flex: 1;
overflow-y: auto;
padding: 12px;
max-height: 540px;
}
.notification-panel-content::-webkit-scrollbar {
width: 8px;
}
.notification-panel-content::-webkit-scrollbar-track {
background: rgba(10, 5, 20, 0.3);
border-radius: 4px;
}
.notification-panel-content::-webkit-scrollbar-thumb {
background: rgba(0, 217, 255, 0.3);
border-radius: 4px;
transition: background 0.2s ease;
}
.notification-panel-content::-webkit-scrollbar-thumb:hover {
background: rgba(0, 217, 255, 0.5);
}
.notification-empty {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 80px 20px;
text-align: center;
color: #6B5B8C;
}
.notification-empty span {
font-size: 48px;
margin-bottom: 16px;
opacity: 0.3;
}
.notification-empty p {
margin: 0;
font-family: 'Lora', serif;
font-size: 15px;
color: rgba(181, 166, 224, 0.4);
line-height: 1.6;
}
.notification-empty p:first-of-type {
font-weight: 600;
color: rgba(181, 166, 224, 0.6);
margin-bottom: 8px;
}
.notification-item {
background: rgba(0, 217, 255, 0.03);
border: 1px solid rgba(0, 217, 255, 0.2);
border-radius: 10px;
padding: 14px;
margin-bottom: 10px;
cursor: pointer;
transition: all 0.2s ease;
position: relative;
overflow: hidden;
}
.notification-item::before {
content: '';
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: 3px;
background: transparent;
transition: background 0.2s ease;
}
.notification-item:hover {
background: rgba(0, 217, 255, 0.08);
border-color: rgba(0, 217, 255, 0.4);
transform: translateX(4px);
box-shadow: -4px 0 15px rgba(0, 217, 255, 0.2);
}
.notification-item:hover::before {
background: linear-gradient(180deg, #00D9FF, #4ECDC4);
box-shadow: 0 0 10px rgba(0, 217, 255, 0.6);
}
.notification-item.unread {
background: rgba(0, 217, 255, 0.1);
border-color: rgba(0, 217, 255, 0.4);
}
.notification-item.unread::before {
background: linear-gradient(180deg, #00D9FF, #4ECDC4);
}
.notification-item-header {
display: flex;
align-items: flex-start;
gap: 10px;
margin-bottom: 8px;
}
.notification-item-icon {
font-size: 22px;
line-height: 1;
flex-shrink: 0;
filter: drop-shadow(0 0 8px rgba(0, 217, 255, 0.4));
}
.notification-item-message {
flex: 1;
font-family: 'Lora', serif;
font-size: 14px;
font-weight: 600;
color: #E8E8F0;
line-height: 1.4;
}
.notification-item-detail {
font-family: 'Lora', serif;
font-size: 13px;
color: #B5A6E0;
margin: 8px 0;
line-height: 1.5;
}
.notification-item-footer {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 10px;
gap: 8px;
}
.notification-item-time {
font-size: 11px;
color: #6B5B8C;
font-weight: 500;
}
.notification-item-cta {
background: linear-gradient(135deg, #00D9FF 0%, #4ECDC4 100%);
color: #0a0514;
border: none;
padding: 7px 14px;
border-radius: 6px;
font-family: 'Cinzel', serif;
font-size: 12px;
font-weight: 700;
cursor: pointer;
transition: all 0.2s ease;
text-transform: uppercase;
letter-spacing: 0.05em;
box-shadow: 0 2px 10px rgba(0, 217, 255, 0.4);
}
.notification-item-cta:hover {
transform: scale(1.05) translateY(-1px);
box-shadow: 0 4px 15px rgba(0, 217, 255, 0.6);
background: linear-gradient(135deg, #4ECDC4 0%, #00D9FF 100%);
}
.notification-item-cta:active {
transform: scale(0.98);
}
.notification-item-cta:disabled {
cursor: not-allowed !important;
opacity: 0.4 !important;
background: rgba(100, 100, 100, 0.3) !important;
box-shadow: none !important;
}
.notification-item-cta:disabled:hover {
transform: none !important;
}
.cta-loading {
font-size: 11px;
opacity: 0.7;
}
.notification-item-dismiss {
background: none;
border: none;
color: rgba(232, 232, 240, 0.3);
font-size: 18px;
cursor: pointer;
padding: 4px 8px;
transition: all 0.2s ease;
border-radius: 4px;
line-height: 1;
}
.notification-item-dismiss:hover {
color: #D32F2F;
background: rgba(211, 47, 47, 0.1);
transform: scale(1.2);
}
.message-item {
border-left: 3px solid #7B68EE;
}
.message-item:hover::before {
background: linear-gradient(180deg, #7B68EE, #6495ED);
}
.unread-badge {
background: #D32F2F;
color: white;
font-size: 11px;
font-weight: 700;
padding: 3px 8px;
border-radius: 12px;
white-space: nowrap;
}
.notification-count {
position: absolute;
top: -4px;
right: -4px;
background: #D32F2F;
color: white;
font-size: 0.7rem;
font-weight: 700;
padding: 2px 6px;
border-radius: 10px;
min-width: 18px;
text-align: center;
}
.notification-expand {
margin-top: 8px;
background: rgba(0, 217, 255, 0.15);
border: 1px solid rgba(0, 217, 255, 0.3);
color: #00D9FF;
padding: 6px 12px;
border-radius: 4px;
font-size: 0.75rem;
cursor: pointer;
transition: all 0.2s ease;
}
.notification-expand:hover {
background: rgba(0, 217, 255, 0.25);
box-shadow: 0 0 10px rgba(0, 217, 255, 0.3);
}
/* Responsive */
@media (max-width: 768px) {
.notification-panel {
width: calc(100% - 32px);
right: 16px;
left: 16px;
top: 60px;
max-height: calc(100vh - 80px);
}
.notification-panel-header h3 {
    font-size: 18px;
}

.notif-tab {
    font-size: 12px;
    padding: 8px 12px;
}
}
@media (max-width: 480px) {
.notification-panel {
width: calc(100% - 16px);
right: 8px;
left: 8px;
top: 56px;
border-radius: 12px;
}
.notification-panel-header {
    padding: 16px;
}

.notification-item {
    padding: 12px;
}

.notification-item-cta {
    font-size: 11px;
    padding: 6px 10px;
}
}
@keyframes slideDown {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.notification-item {
animation: slideDown 0.3s ease;
}
.notification-item:nth-child(2) { animation-delay: 0.05s; }
.notification-item:nth-child(3) { animation-delay: 0.1s; }
.notification-item:nth-child(4) { animation-delay: 0.15s; }
.notification-item:nth-child(5) { animation-delay: 0.2s; }
/* Champion Pack Theming (Jinx example) */
.notification-panel[data-champion-pack="jinx"] {
border-color: rgba(255, 105, 180, 0.8);
box-shadow:
0 12px 48px rgba(10, 5, 20, 0.9),
0 0 30px rgba(255, 105, 180, 0.6),
0 0 50px rgba(255, 105, 180, 0.2);
}
.notification-panel[data-champion-pack="jinx"] .notification-panel-header h3 {
color: #ff69b4;
text-shadow: 0 0 25px rgba(255, 105, 180, 0.8);
}
.notification-item[data-from-champion="jinx"]::before {
background: linear-gradient(180deg, #ff69b4, #ff1493);
box-shadow: 0 0 15px rgba(255, 105, 180, 0.8);
}
.notification-item[data-from-champion="jinx"] .notification-item-cta {
background: linear-gradient(135deg, #ff69b4, #ff1493);
color: #ffffff;
box-shadow: 0 2px 12px rgba(255, 105, 180, 0.6);
}
.notification-item[data-from-champion="jinx"] .notification-item-cta:hover {
background: linear-gradient(135deg, #ff1493, #c71585);
box-shadow: 0 4px 16px rgba(255, 105, 180, 0.8);
}