/* © 2026 Galaxy Host. All Rights Reserved. by vincent */
header { position: fixed; width: 100%; display: flex; justify-content: center; transition: transform 0.4s ease, opacity 0.4s ease, background-color 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease; z-index: 999; border-bottom: 1px solid transparent; } header.hidden { transform: translateY(-100%) !important; opacity: 0 !important; pointer-events: none !important; } header.scrolled { background-color: rgba(9, 13, 22, .85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255, 255, 255, .07); box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.01); } .header-wrapper { width: 1425px; padding: 25px 30px; display: flex; flex-direction: row; justify-content: space-between; align-items: center; transition: .5s; } header.scrolled .header-wrapper { padding: 15px 30px; } .header-logo { width: 60px; position: relative; z-index: 999; transition: .5s; } .header-logo img { width: 100%; } .header-buttons-container { display: flex; flex-direction: row; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 600; gap: 22px; } .header-button { text-decoration: none; color: #CECECE; position: relative; padding: 4px 0; transition: color .3s, transform .3s, font-weight .3s; cursor: pointer; } .header-button::after { content: ''; position: absolute; right: 0; bottom: -3px; width: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #60A5FA, #3B82F6); transition: width .3s ease; } .header-button:hover { color: #FFFFFF; font-weight: 700; transform: translateY(-1px); } .header-button:hover::after { width: 100%; } .header-button.active { color: #60A5FA; font-weight: 700; } .header-dropdown { position: relative; display: flex; align-items: center; } .header-dropdown-toggle { display: flex; align-items: center; gap: 7px; user-select: none; white-space: nowrap; } .header-dropdown-caret { font-size: 11px; color: #FFFFFF70; transition: transform .3s, color .3s; } .header-dropdown.open .header-dropdown-toggle { color: #FFFFFF; font-weight: 700; } .header-dropdown.open .header-dropdown-caret { transform: rotate(180deg); color: #60A5FA; } .header-dropdown-menu { position: absolute; top: calc(100% + 18px); right: -40px; min-width: 340px; background: rgba(11, 16, 26, .72); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; padding: 10px; backdrop-filter: blur(26px); -webkit-backdrop-filter: blur(26px); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.02); opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .28s ease, transform .28s ease, visibility .28s; z-index: 1001; } .header-dropdown-menu::before { content: ''; position: absolute; top: -7px; right: 54px; width: 14px; height: 14px; background: rgba(11, 16, 26, .72); border-left: 1px solid rgba(255, 255, 255, .12); border-top: 1px solid rgba(255, 255, 255, .12); transform: rotate(45deg); } .header-dropdown.open .header-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); } .header-dropdown-item { display: flex; align-items: center; gap: 14px; padding: 12px 13px; border-radius: 13px; cursor: pointer; transition: background .25s, transform .25s, color .25s; } .header-dropdown-item i { transition: transform .25s; } .header-dropdown-item:hover { background: rgba(59, 130, 246, .13); transform: translateX(-4px); } .header-dropdown-item:hover i { transform: scale(1.15); } .header-dropdown-item-icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 13px; display: flex; align-items: center; justify-content: center; background: rgba(59, 130, 246, .14); border: 1px solid rgba(59, 130, 246, .32); color: #60A5FA; font-size: 19px; transition: .25s; } .header-dropdown-item:hover .header-dropdown-item-icon { background: transparent; color: #60A5FA; border-color: #60A5FA; box-shadow: none; } .header-dropdown-item-text { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; } .header-dropdown-item-name { font-size: 15px; font-weight: 700; color: #FFFFFF; } .header-dropdown-item-desc { font-size: 12px; font-weight: 400; color: #FFFFFF55; line-height: 1.45; } .header-dropdown-item-arrow { font-size: 14px; color: #FFFFFF30; transition: .25s; } .header-dropdown-item:hover .header-dropdown-item-arrow { color: #60A5FA; transform: translateX(-3px); } .header-lang { position: relative; display: flex; align-items: center; } .header-lang-toggle { display: flex; align-items: center; gap: 7px; user-select: none; white-space: nowrap; } .header-lang-toggle .fa-globe { font-size: 14px; color: #60A5FA; } .header-lang-caret { font-size: 10px; color: #FFFFFF70; transition: transform .3s, color .3s; } .header-lang.open .header-lang-caret { transform: rotate(180deg); color: #60A5FA; } .header-lang-menu { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(10px); min-width: 150px; background: rgba(11, 16, 26, .85); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: 8px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.02); opacity: 0; visibility: hidden; transition: opacity .25s ease, transform .25s ease, visibility .25s; z-index: 1002; } .header-lang.open .header-lang-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); } .header-lang-item { padding: 9px 14px; border-radius: 9px; font-size: 14px; font-weight: 600; color: #FFFFFF80; cursor: pointer; transition: .25s; text-align: center; } .header-lang-item:hover { background: rgba(59, 130, 246, .15); color: #FFFFFF; } .header-lang-item.active { color: #60A5FA; font-weight: 700; } .header-lang-mobile { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; } .header-mobile-lang { color: #FFFFFF; font-size: 15px; font-weight: 600; padding: 8px 18px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 10px; cursor: pointer; transition: .25s; } .header-mobile-lang:hover { background: rgba(59, 130, 246, .2); border-color: rgba(59, 130, 246, .5); } .header-mobile-lang.active { color: #60A5FA; border-color: rgba(59, 130, 246, .6); } .header-button-lk { font-size: 16px; font-weight: 600; color: #FFFFFF; width: 160px; height: 50px; display: flex; justify-content: center; align-items: center; background-color: #FFFFFF20; border-radius: 5px; cursor: pointer; transition: .3s; text-decoration: none; } .header-button-lk:hover, .header-mobile-button-lk:hover { background-color: #FFFFFF40; } .header__menu { display: none; position: absolute; right: 30px; } #menu li { text-align: center; margin-bottom: 25px; margin-right: 0; } #menu li a { font-size: 20px; } #menu__toggle { opacity: 0; } .menu__btn { display: flex; align-items: center; position: relative; width: 40px; height: 40px; cursor: pointer; z-index: 2; } .menu__btn > span, .menu__btn > span::before, .menu__btn > span::after { display: block; position: absolute; width: 100%; height: 3px; background-color: #FFFFFF; transition: .3s; } .menu__btn > span::before { content: ''; top: -10px; } .menu__btn > span::after { content: ''; top: 10px; } #menu__toggle:checked ~ .menu__btn > span { transform: rotate(45deg); } #menu__toggle:checked ~ .menu__btn > span::before { top: 0; transform: rotate(0); } #menu__toggle:checked ~ .menu__btn > span::after { top: 0; transform: rotate(90deg); } .header-mobile { width: 100vw; height: 200vh; inset: 0; background-color: #0F0F0F; position: fixed; z-index: 1; left: 100vw; transition: all 0.5s ease; display: flex; flex-direction: column; align-items: center; gap: 70px; } .header-mobile.open { left: 0; } .header-mobile-buttons-container { display: flex; flex-direction: column; align-items: center; margin-top: 150px; gap: 30px; } .header-mobile-button { color: #FFFFFF; font-size: 18px; font-weight: 700; text-decoration: none; cursor: pointer; } .header-mobile-button-lk { font-size: 15px; font-weight: 600; color: #FFFFFF; width: 160px; height: 53px; display: flex; justify-content: center; align-items: center; background-color: #FFFFFF20; border-radius: 5px; cursor: pointer; transition: .3s; text-decoration: none; } .header-mobile-item { display: flex; flex-direction: column; align-items: center; gap: 12px; } .header-mobile-toggle { display: flex; align-items: center; gap: 8px; background: none; border: none; -webkit-user-select: none; user-select: none; } .header-mobile-caret { font-size: 13px; color: #60A5FA; transition: transform .3s ease; } .header-mobile-item.open .header-mobile-caret { transform: rotate(180deg); } .header-mobile-submenu { display: flex; flex-direction: column; gap: 8px; width: min(300px, 84vw); max-height: 0; opacity: 0; overflow: hidden; padding: 0; transition: max-height .4s ease, opacity .3s ease, padding .3s ease; } .header-mobile-submenu.open { max-height: 340px; opacity: 1; padding-top: 6px; } .header-mobile-sublink { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .82); font-size: 15px; font-weight: 600; text-decoration: none; transition: .25s; } .header-mobile-sublink i { width: 20px; text-align: center; font-size: 15px; color: #60A5FA; } .header-mobile-sublink:hover, .header-mobile-sublink:active { background: rgba(59, 130, 246, .2); border-color: rgba(59, 130, 246, .45); color: #FFFFFF; } .header-signup-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 30px; background: linear-gradient(135deg, #3B82F6, #2563EB); color: #FFFFFF; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: .3s; box-shadow: 0 6px 18px rgba(37, 99, 235, .35); } .header-signup-btn:hover { transform: translateY(-2px); color: #FFFFFF; box-shadow: 0 8px 24px rgba(37, 99, 235, .5); } .header-mobile-signup-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: min(300px, 84vw); padding: 14px; border-radius: 12px; background: linear-gradient(135deg, #3B82F6, #2563EB); color: #FFFFFF; font-size: 16px; font-weight: 700; text-decoration: none; transition: .3s; box-shadow: 0 8px 22px rgba(37, 99, 235, .35); } .header-mobile-signup-btn:active { transform: scale(.97); color: #FFFFFF; } .header-auth-btns { display: flex; align-items: center; gap: 10px; } .header-login-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 30px; background: rgba(255, 255, 255, .06); color: #FFFFFF; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: .3s; } .header-login-btn:hover { background: rgba(255, 255, 255, .14); color: #FFFFFF; } .header-mobile-auth { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; } .header-mobile-login-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: min(300px, 84vw); padding: 14px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 12px; background: rgba(255, 255, 255, .06); color: #FFFFFF; font-size: 16px; font-weight: 700; text-decoration: none; transition: .3s; } .header-mobile-login-btn:active { transform: scale(.97); color: #FFFFFF; } .header-user-chip-wrap { position: relative; display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 8px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 30px; background: rgba(255, 255, 255, .06); cursor: pointer; -webkit-user-select: none; user-select: none; transition: .3s; } .header-user-chip-wrap:hover { background: rgba(255, 255, 255, .1); } .header-user-avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex-shrink: 0; } .header-user-avatar-text { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #3B82F6, #2563EB); color: #FFFFFF; font-size: 14px; font-weight: 800; } .header-user-name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #FFFFFF; font-size: 14px; font-weight: 700; } .header-user-caret { font-size: 10px; color: #FFFFFF70; transition: transform .3s; } .header-user-chip-wrap.open .header-user-caret { transform: rotate(180deg); } .header-user-menu { position: absolute; top: calc(100% + 10px); right: 0; min-width: 180px; padding: 8px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; background: rgba(11, 16, 26, .96); box-shadow: 0 8px 24px rgba(0, 0, 0, .22); display: none; z-index: 100; } .header-user-chip-wrap.open .header-user-menu { display: block; } .header-user-menu-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; color: rgba(255, 255, 255, .8); font-size: 14px; font-weight: 600; cursor: pointer; transition: .25s; } .header-user-menu-item:hover { background: rgba(248, 113, 113, .15); color: #F87171; } .header-user-menu-item i { width: 16px; text-align: center; } .header-user-menu-link { text-decoration: none; } .header-user-menu-divider { height: 1px; margin: 6px 4px; background: rgba(255, 255, 255, .1); } .header-mobile-user-chip { display: flex; justify-content: center; } .header-mobile-user-chip .header-user-chip-wrap { padding: 10px 18px 10px 14px; } .header-mobile-user-chip .header-user-menu { right: auto; left: 50%; transform: translateX(-50%); } @media (max-width: 1630px) { .header-wrapper { width: 1160px; } } @media (max-width: 1230px) { .header__menu { display: flex; } .header-buttons-container, .header-button-lk { display: none; } } @media (max-width: 840px) { .header-logo { width: 130px; } } @media (max-width: 840px) { .header-wrapper { padding: 16px 20px; } .header-logo-text img { height: 48px; } .header__menu { right: 20px; } .header-mobile { height: 100vh; height: 100dvh; overflow-y: auto; } .header-mobile-buttons-container { margin-top: 110px; gap: 26px; padding-bottom: 60px; } .header-mobile-button { font-size: 17px; } .header-mobile-lang { padding: 8px 16px; font-size: 14px; } } @media (max-width: 560px) { .header-mobile-buttons-container { margin-top: 100px; gap: 24px; } }