#loginItem,
#userDropdown {
    display: none !important
}

body.logged-out #loginItem,
body.logged-in #userDropdown {
    display: flex !important
}

body.logged-in #loginItem,
body.logged-out #userDropdown {
    display: none !important
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    padding: 1rem 0;
    transition: all .3s ease
}

nav.scrolled {
    background: #181818;
    box-shadow: 0 2px 15px #0bd0f34d
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f805a7;
    display: flex;
    align-items: center;
    gap: 10px
}

.logo a {
    text-decoration: none;
    color: #f805a7;
    display: flex;
    align-items: center;
    gap: 10px
}

.logo img {
    width: 50px;
    height: auto
}

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

.nav-links>li {
    position: relative;
    display: flex;
    align-items: center
}

.nav-links>li>a,
.nav-links>li>button {
    display: flex;
    align-items: center;
    padding: .75rem 1.5rem;
    color: #0bd0f3;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all .3s;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    height: 100%
}

.nav-links>li>a:hover,
.nav-links>li>button:hover {
    color: #f805a7;
    background: #f805a71a
}

.dropdown {
    position: relative
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: .3rem
}

.dropdown-toggle:after {
    content: "▼";
    font-size: .7rem;
    transition: transform .3s
}

.dropdown:hover .dropdown-toggle:after {
    transform: rotate(180deg)
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #1a1a1a;
    min-width: 200px;
    box-shadow: 0 4px 12px #00000080;
    border-radius: 0 0 8px 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all .3s;
    padding: .5rem 0
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.dropdown-menu li {
    list-style: none
}

.dropdown-menu a {
    display: block;
    padding: .75rem 1.5rem;
    color: #0bd0f3;
    text-decoration: none;
    transition: all .3s;
    white-space: nowrap;
    font-size: .95rem
}

.dropdown-menu a:hover {
    background: #f805a733;
    color: #f805a7
}

.login-btn {
    background: linear-gradient(135deg, #f805a7, #0bd0f3);
    color: #fff !important;
    border-radius: 20px;
    padding: .6rem 1.5rem !important;
    font-weight: 700;
    transition: all .3s
}

.login-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px #f805a766
}

.login-btn.disabled {
    opacity: .5;
    cursor: not-allowed;
    background: #666
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #0bd0f3;
    font-size: 1.5rem;
    cursor: pointer;
    padding: .5rem;
    transition: all .3s
}

.nav-toggle:hover {
    color: #f805a7
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: #181818;
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease;
        box-shadow: 0 4px 8px #0000004d
    }

    .nav-links.active {
        max-height: 500px
    }

    .nav-toggle {
        display: block;
        z-index: 1001
    }

    .nav-links>li {
        width: 100%;
        display: block;
        border-bottom: 1px solid rgba(11, 208, 243, .1)
    }

    .nav-links>li:last-child {
        border-bottom: none
    }

    .nav-links>li>a,
    .nav-links>li>button {
        display: block;
        width: 100%;
        padding: 1rem 1.5rem;
        text-align: left;
        border-radius: 0
    }

    .dropdown {
        width: 100%
    }

    .dropdown-toggle {
        width: 100%;
        justify-content: space-between
    }

    .dropdown-toggle:after {
        margin-left: auto
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #0f0f0f;
        max-height: 0;
        overflow: hidden;
        border-radius: 0;
        padding: 0;
        transition: max-height .3s ease
    }

    .dropdown.active .dropdown-menu {
        max-height: 300px;
        padding: .5rem 0
    }

    .dropdown-menu a {
        padding-left: 3rem
    }

    .login-btn {
        border-radius: 20px;
        margin: .5rem 1rem;
        text-align: center;
        width: calc(100% - 2rem)
    }

    body.logged-out #loginItem {
        display: block !important
    }

    body.logged-in #loginItem,
    body.logged-out #userDropdown {
        display: none !important
    }

    body.logged-in #userDropdown {
        display: block !important
    }
}

.site-footer {
    background: #181818;
    border-top: 1px solid rgba(11, 208, 243, .2);
    margin-top: auto;
    padding: 2rem 0;
    width: 100%
}

.site-footer .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem
}

.footer-left,
.footer-right {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap
}

.footer-left p {
    color: #b0b0b0;
    font-size: .9rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px
}

.footer-left a {
    color: #f805a7;
    text-decoration: none;
    font-weight: 600;
    transition: color .3s
}

.footer-left a:hover {
    color: #0bd0f3
}

.footer-left img {
    height: 25px;
    width: auto
}

.footer-link {
    color: #0bd0f3;
    text-decoration: none;
    font-size: .9rem;
    transition: color .3s
}

.footer-link:hover {
    color: #f805a7
}

@media (max-width: 768px) {
    .site-footer {
        padding: 1.5rem 0
    }

    .site-footer .container {
        padding: 0 1rem
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: .75rem
    }

    .footer-left,
    .footer-right {
        justify-content: center
    }

    .footer-left p,
    .footer-left a {
        font-size: .85rem
    }

    .footer-left img {
        height: 20px
    }

    .footer-link {
        font-size: .85rem
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 1.25rem 0
    }

    .footer-left p,
    .footer-left a,
    .footer-link {
        font-size: .8rem
    }

    .footer-left img {
        height: 18px
    }
}

:root {
    --color-primary-pink: #f805a7;
    --color-primary-cyan: #0bd0f3;
    --color-dark-900: #0a0a0a;
    --color-dark-800: #111111;
    --color-dark-700: #1a1a1a;
    --color-dark-600: #222222;
    --color-text-primary: #ffffff;
    --color-text-secondary: #b0b0b0;
    --color-text-muted: #666666
}

html {
    scroll-behavior: smooth
}

body {
    background-color: var(--color-dark-900);
    color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: Inter, system-ui, -apple-system, sans-serif
}

a {
    color: var(--color-primary-pink);
    transition: color .15s ease
}

a:hover {
    color: var(--color-primary-cyan)
}

:focus-visible {
    outline: 2px solid var(--color-primary-cyan);
    outline-offset: 2px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .75rem 1.5rem;
    font-weight: 500;
    border-radius: .5rem;
    transition: all .2s ease
}

.btn-primary {
    background-color: var(--color-primary-pink);
    color: #fff
}

.btn-primary:hover {
    opacity: .9;
    box-shadow: 0 10px 15px -3px #0000001a
}

.btn-secondary {
    background-color: var(--color-dark-600);
    color: #fff;
    border: 1px solid var(--color-dark-600)
}

.btn-secondary:hover {
    background-color: var(--color-dark-700)
}

.btn-outline {
    border: 2px solid var(--color-primary-pink);
    color: var(--color-primary-pink);
    background: transparent
}

.btn-outline:hover {
    background-color: var(--color-primary-pink);
    color: #fff
}

.card {
    background-color: var(--color-dark-800);
    border-radius: .75rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px #0000001a
}

.card-hover {
    transition: transform .3s ease
}

.card-hover:hover {
    transform: translateY(-.25rem);
    box-shadow: 0 20px 25px -5px #0000001a
}

.input {
    width: 100%;
    padding: .75rem 1rem;
    background-color: var(--color-dark-700);
    border: 1px solid var(--color-dark-600);
    border-radius: .5rem;
    color: #fff
}

.input::-moz-placeholder {
    color: #6b7280
}

.input::placeholder {
    color: #6b7280
}

.input:focus {
    border-color: var(--color-primary-cyan);
    box-shadow: 0 0 0 1px var(--color-primary-cyan);
    outline: none
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: .25rem .75rem;
    border-radius: 9999px;
    font-size: .875rem;
    font-weight: 500
}

.badge-live {
    background-color: #ef4444;
    color: #fff;
    animation: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite
}

.badge-offline {
    background-color: #4b5563;
    color: #d1d5db
}

.gradient-text {
    background-image: linear-gradient(to right, var(--color-primary-pink), var(--color-primary-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.gradient-bg {
    background-image: linear-gradient(to bottom right, #f805a733, #0bd0f333)
}

.glass {
    background-color: #ffffff0d;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .1)
}

.animate-fade-in {
    animation: fadeIn .3s ease-out
}

.animate-slide-up {
    animation: slideUp .4s ease-out
}

@keyframes fadeIn {
    0% {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes pulse {

    0%,
    to {
        opacity: 1
    }

    50% {
        opacity: .5
    }
}