Files
kion-game/frontend/src/components/Header.css
arrelin d64114b08b init
2026-03-20 12:28:33 +03:00

137 lines
2.1 KiB
CSS

.header {
position: sticky;
top: 0;
z-index: 100;
background: rgba(13, 13, 13, 0.95);
backdrop-filter: blur(12px);
border-bottom: 1px solid var(--border);
}
.header-inner {
max-width: 1400px;
margin: 0 auto;
padding: 0 24px;
height: 64px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 32px;
}
.header-left {
display: flex;
align-items: center;
gap: 40px;
}
.logo {
font-size: 22px;
font-weight: 900;
letter-spacing: -0.5px;
color: var(--text);
text-decoration: none;
}
.nav {
display: flex;
align-items: center;
gap: 4px;
}
.nav-item {
padding: 6px 14px;
font-size: 14px;
font-weight: 500;
color: var(--text-muted);
border-radius: 8px;
transition: none;
text-decoration: none;
}
.nav-item.stub {
cursor: default;
}
.nav-games {
color: var(--text);
background: rgba(107, 47, 217, 0.15);
transition: background 0.2s, color 0.2s;
}
.nav-games:hover {
background: rgba(107, 47, 217, 0.3);
color: #fff;
}
.nav-games.active {
background: var(--accent);
color: #fff;
}
.header-right {
display: flex;
align-items: center;
gap: 8px;
}
.icon-btn {
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
background: transparent;
color: var(--text-muted);
border-radius: 8px;
transition: background 0.2s, color 0.2s;
}
.icon-btn:hover {
background: rgba(255,255,255,0.06);
color: var(--text);
}
.promo-btn {
display: flex;
align-items: center;
gap: 6px;
padding: 6px 14px;
background: transparent;
color: var(--text-muted);
font-size: 14px;
font-weight: 500;
border-radius: 8px;
}
.promo-btn.stub {
cursor: default;
}
.degi-pill {
padding: 5px 12px;
background: rgba(255,255,255,0.08);
border-radius: 20px;
font-size: 13px;
font-weight: 600;
color: var(--text-muted);
letter-spacing: 0.3px;
}
.degi-pill.stub {
cursor: default;
}
.login-btn {
padding: 7px 18px;
background: rgba(255,255,255,0.08);
color: var(--text);
font-size: 14px;
font-weight: 500;
border-radius: 8px;
transition: background 0.2s;
}
.login-btn.stub {
cursor: default;
}