/* ============= BASE ============= */

html {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
html::-webkit-scrollbar { display: none; }

body {
    background-color: #000;
    color: #48ff00;
    font-family: "Handjet", "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
    margin: 0;
    padding: 0;
    overflow-y: auto;
}

h1 {
    text-align: center;
    font-size: 100px;
    margin-top: 40px;
    padding: 35px;
    display: block;
    transition: transform 0.3s ease;
}
h1:hover { color: #aa00ff; transform: scale(1.2); }

p {
    font-size: 35px;
    margin-top: 20px;
    margin-bottom: 100px;
    text-align: center;
    display: block;
    transition: transform 0.3s ease;
}
p:hover { color: #aa00ff; transform: scale(1.2); }

a {
    text-decoration: none;
    color: #48ff00;
    font-size: 20px;
    text-align: center;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 3px #aa00ff; }
    50% { box-shadow: 0 0 10px #aa00ff; }
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ============= TOP BAR ============= */

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,0.95);
    padding: 8px 32px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}
.nav-links li {
    display: inline-block;
    color: #48ff00;
    text-align: center;
    padding: 10px 16px;
    transition: transform 0.3s ease, color 0.3s ease;
    cursor: pointer;
    font-size: 18px;
    font-family: "Handjet", "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
}
.nav-links li:hover { color: #aa00ff; transform: scale(1.2); }
.nav-links a {
    text-decoration: none;
    color: #48ff00;
    letter-spacing: 2px;
    font-size: 18px;
    transition: color 0.3s ease;
    font-family: "Handjet", "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
}
.nav-links a:hover { color: #aa00ff; }

.li-home { padding: 5px 16px; }
.li-home a { display: inline-block; position: relative; text-decoration: none; line-height: 0; }
.li-home img { height: 28px; width: auto; transition: opacity 0.2s ease; }
.li-home .home-hover { position: absolute; top: 0; left: 0; opacity: 0; }
.li-home:hover .home-default { opacity: 0; }
.li-home:hover .home-hover { opacity: 1; }

.user-area {
    display: flex;
    align-items: center;
    gap: 20px;
}
.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(72,255,0,0.1);
    padding: 6px 16px;
    border-radius: 30px;
    transition: all 0.3s ease;
}
.user-info:hover { background: #aa00ff45; }
.user-icon {
    font-size: 20px;
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
}
#userName {
    font-size: 18px;
    letter-spacing: 2px;
    color: #48ff00;
    font-weight: bold;
    font-family: "Handjet", "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
}
#userName:hover { color: #aa00ff; }
.admin-badge-top {
    background: #aa00ff;
    color: #000;
    padding: 2px 10px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
    animation: glow 2s infinite;
    font-family: "Handjet", sans-serif;
}
.btn-logout {
    background: transparent;
    border: 1px dotted #ff4444;
    color: #ff4444;
    font-family: "Handjet", sans-serif;
    font-size: 16px;
    padding: 6px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 30px;
    letter-spacing: 2px;
}
.btn-logout:hover { transform: scale(0.95); background: rgba(255,68,68,0.1); }

/* ============= ONLINE BAR ============= */

.online-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(72,255,0,0.04);
    border-bottom: 1px dotted #1a3300;
    padding: 6px 32px;
    overflow: hidden;
    font-family: "Handjet", sans-serif;
}

.online-label {
    color: #1a5500;
    font-size: 14px;
    white-space: nowrap;
    flex-shrink: 0;
}

.online-ticker-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.online-ticker {
    display: inline-block;
    white-space: nowrap;
    font-size: 16px;
    color: #48ff00;
    animation: ticker-scroll 120s linear infinite;
}

.online-ticker:hover {
    animation-play-state: paused;
}

.online-dot {
    color: #48ff00;
    margin-right: 6px;
    animation: blink 1.5s infinite;
}

@keyframes ticker-scroll {
    0%   { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}
