.main-header {
    position: absolute; 
    top: 0; left: 0; width: 100%; height: 80px; padding: 0 40px;
    display: flex; align-items: center; justify-content: space-between;
    background: transparent;
    z-index: 1000;
    transition: background 0.4s ease, padding 0.4s ease, backdrop-filter 0.4s ease, height 0.4s ease;
}
@media (min-width: 769px) { .main-header { padding: 0 60px; } }

.header-left { display: flex; align-items: center; gap: 50px; }
.logo { height: 26px; width: auto; transition: transform 0.3s; }
.logo:hover { transform: scale(1.05); }
@media (max-width: 768px) { .logo { height: 20px; } }

.desktop-nav { display: none; align-items: center; gap: 35px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 769px) { .desktop-nav { display: flex !important; } }

.desktop-nav a { 
    color: var(--phantom-white); 
    text-decoration: none; 
    font-size: 11px; 
    font-weight: 500; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    opacity: 0.7;
    position: relative;
    padding-bottom: 4px;
    transition: opacity 0.0s ease;
}
.desktop-nav a:hover, .desktop-nav a.active { opacity: 1; }
.desktop-nav a::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0%; height: 1px; background: var(--phantom-green);
    transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.desktop-nav a:hover::after, .desktop-nav a.active::after { width: 100%; }

.header-right { position: relative; display: flex; align-items: center; gap: 25px; }

.search-btn-simple { background: transparent; border: none; color: rgba(255,255,255,0.6); font-size: 14px; cursor: pointer; padding: 8px; transition: all 0.3s; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; }
.search-btn-simple:hover { color: var(--phantom-white); transform: scale(1.1);}

.search-container-desktop { display: none; align-items: center; gap: 10px; opacity: 0; transform: translateX(20px); transition: all 0.3s ease; }
.search-container-desktop.active { display: flex; opacity: 1; transform: translateX(0); }
.search-input-desktop { width: 0; padding: 0; background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,0.3); border-radius: 0; color: white; font-size: 12px; font-family: 'Montserrat', sans-serif; font-weight: 300; transition: all 0.3s; opacity: 0; letter-spacing: 1px;}
.search-container-desktop.active .search-input-desktop { width: 180px; padding: 8px 5px; opacity: 1; }
.search-container-desktop.active .search-input-desktop:focus { outline: none; border-color: var(--phantom-green); }

.lang-switch-dropdown { position: relative; display: inline-block; }
@media (max-width: 768px) { .lang-switch-dropdown { display: none !important; } }
.current-lang { background: none; border: none; color: white; font-weight: 500; font-size: 11px; cursor: pointer; display: flex; align-items: center; font-family:"Montserrat",sans-serif; opacity:0.7; transition: all 0.2s; letter-spacing: 1px;}
.current-lang:hover { color: var(--phantom-white); opacity:1;}
.lang-options { position: absolute; top: 100%; right: 0; margin-top: 15px; background: rgba(10,10,10,0.95); border: 1px solid rgba(255,255,255,0.05); border-radius: 4px; display: none; flex-direction: column; min-width: 70px; overflow: hidden; z-index: 100; backdrop-filter: blur(10px);}
.lang-options.show { display: flex; animation: fadeInLang 0.2s ease forwards;}
@keyframes fadeInLang { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
.lang-option { padding: 12px 15px; color: rgba(255,255,255,0.6); font-size: 11px; cursor: pointer; text-align: center; font-weight: 500; transition: all 0.2s; letter-spacing: 1px;}
.lang-option:hover { background: rgba(0,255,153,0.05); color: var(--phantom-green); }
.lang-option.active { color: var(--phantom-green); }

.header-login-btn { background: transparent; color: white; border: 1px solid rgba(255,255,255,0.3); padding: 8px 20px; font-weight: 500; font-size: 11px; letter-spacing: 1px; cursor: pointer; text-decoration: none; opacity: 0.9; border-radius: 30px; transition: all 0.3s; }
.header-login-btn:hover { opacity: 1; border-color: var(--phantom-white); background: rgba(255,255,255,0.1); }
@media (max-width: 768px) { .header-login-btn { display: none !important; } }

.hamburger-menu { display: flex; flex-direction: column; justify-content: space-between; width: 22px; height: 16px; cursor: pointer; z-index: 10001; }
.hamburger-menu span { display: block; width: 100%; height: 1px; background-color: white; transition: all 0.3s ease; }
.hamburger-menu.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-menu.active span:nth-child(2) { opacity: 0; }
.hamburger-menu.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.user-avatar-img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; cursor: pointer; z-index: 10001; transition: all 0.3s ease; border: 1px solid rgba(255,255,255,0.2); }
.user-avatar-img:hover { transform: scale(1.05); border-color: var(--phantom-white); }
.user-avatar-img.active { border-color: var(--phantom-green); }

.nav-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); backdrop-filter: blur(5px); z-index: 9998; display: none; opacity: 0; transition: opacity 0.3s; }
@media (min-width: 769px) { .nav-overlay { display: none !important; } }
.nav-overlay.active { display: block; opacity: 1; }

.nav-panel { position: fixed; top: 0; right: -100%; width: 85%; max-width: 340px; height: 100%; background: #050505; border-left: 1px solid rgba(255,255,255,0.05); z-index: 9999; padding: 0 35px calc(40px + env(safe-area-inset-bottom)); overflow-y: auto; transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1); }
@media (min-width: 769px) { .nav-panel { display: none !important; } }
.nav-panel.open { right: 0; }

.nav-top-bar { display: flex; justify-content: space-between; align-items: center; padding-top: 25px; margin-bottom: 25px; }
.mobile-lang-switch { display: flex; align-items: center; gap: 8px; }
.mobile-lang-switch span { color: rgba(255,255,255,0.3); font-weight: 300; }
.lang-btn { background: transparent; border: none; color: rgba(255,255,255,0.5); font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 500; cursor: pointer; transition: color 0.3s; padding: 0; letter-spacing: 1px; }
.lang-btn:hover { color: var(--phantom-white); }
.lang-btn.active { color: var(--phantom-green); }
.nav-close { font-size: 32px; color: rgba(255,255,255,0.5); cursor: pointer; background: none; border: none; line-height: 1; font-weight: 300; transition: color 0.3s; }
.nav-close:hover { color: var(--phantom-white); }

.nav-section { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.nav-section:last-child { border-bottom: none; }
.nav-link { display: block; padding: 10px 0; color: rgba(255,255,255,0.7); text-decoration: none; font-size: 12px; transition: all 0.3s ease; font-weight: 400; letter-spacing: 2px; text-transform: uppercase; }
.nav-link:hover { color: var(--phantom-white); padding-left: 8px; }

.desktop-dropdown-menu { position: absolute; top: 100%; right: 0; margin-top: 15px; background: rgba(10, 10, 10, 0.95); backdrop-filter: blur(15px); border-radius: 8px; border: 1px solid rgba(255,255,255,0.05); padding: 16px 0; min-width: 220px; z-index: 10001; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.3s ease; }
.desktop-dropdown-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.desktop-dropdown-menu a { display: block; padding: 12px 28px; color: rgba(255,255,255,0.7); text-decoration: none; font-size: 12px; font-weight: 500; letter-spacing: 1px; transition: all 0.2s; }
.desktop-dropdown-menu a:hover { background: rgba(255,255,255,0.05); color: var(--phantom-white); }
.desktop-dropdown-menu .dropdown-divider { height: 1px; background: rgba(255,255,255,0.05); margin: 10px 0; }

footer { text-align: center; padding: 120px 20px 80px; background: #000; border-top: 1px solid rgba(255,255,255,0.03); }
.footer-social { display: flex; justify-content: center; gap: 40px; margin-bottom: 50px; }
.footer-social a { color: rgba(255,255,255,0.3); font-size: 16px; transition: color 0.4s ease; text-decoration: none; }
.footer-social a:hover { color: var(--phantom-white); }
.footer-legal { font-size: 10px; color: rgba(255,255,255,0.4); margin-bottom: 30px; letter-spacing: 2px; text-transform: uppercase; display: flex; justify-content: center; gap: 30px; flex-wrap: wrap;}
.footer-legal a { color: inherit; text-decoration: none; transition: color 0.4s ease; }
.footer-legal a:hover { color: var(--phantom-green); }
.footer-text { font-family: 'Cormorant Garamond', serif; font-size: 14px; color: rgba(255,255,255,0.2); letter-spacing: 4px; font-weight: 300; text-transform: uppercase;}