@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;700&family=Roboto:wght@300;400;700&family=Orbitron:wght@400;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    font-family: 'Roboto', sans-serif;
    background: #050505;
    color: #fff;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

:root {
    --neon-green: #b3ff3a;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(179,255,58,0.2);
    height: 80px;
    top: 0;
    left: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    white-space: nowrap;
}

.target-icon { 
    color: var(--neon-green); 
    margin: 0 5px; 
}

.dm { 
    color: var(--neon-green); 
    font-weight: 400; 
}

.online-block {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.online-container {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(179, 255, 58, 0.2);
    border-radius: 8px;
    padding: 6px 15px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { 
        border-color: rgba(179, 255, 58, 0.15);
        box-shadow: 0 0 10px rgba(179, 255, 58, 0.05);
    }
    50% { 
        border-color: rgba(179, 255, 58, 0.5);
        box-shadow: 0 0 20px rgba(179, 255, 58, 0.15);
    }
}

.online-counter {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
}

.online-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    font-weight: 900;
    color: #b3ff3a;
    text-shadow: 
        0 0 10px rgba(179, 255, 58, 0.8),
        0 0 20px rgba(179, 255, 58, 0.4);
    letter-spacing: 1px;
    min-width: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.online-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 10px;
    color: rgba(179, 255, 58, 0.8);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

nav { flex-shrink: 0; }

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
}

nav ul li a {
    text-decoration: none;
    color: #aaa;
    font-size: 14px;
    font-weight: 700;
    transition: 0.3s;
    position: relative;
    padding-bottom: 4px;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-green);
    transition: width 0.3s;
}

nav ul li a:hover {
    color: var(--neon-green);
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a.active {
    color: var(--neon-green);
}

nav ul li a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.btn-login {
    background: var(--neon-green);
    border: none;
    padding: 8px 20px;
    font-weight: 800;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
    height: 36px;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
    white-space: nowrap;
}

.btn-login:hover {
    background: #9ae02e;
    transform: scale(1.05);
}

.btn-login.logged-in {
    background: #1a1a1a !important;
    border: 1px solid #b3ff3a !important;
    color: #b3ff3a !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 0 5px rgba(179,255,58,0.1);
}

.btn-login.logged-in:hover {
    background: #b3ff3a !important;
    color: #000 !important;
    box-shadow: 0 0 15px rgba(179,255,58,0.4);
}

.burger {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: #fff;
}

.hero {
    min-height: 900px;
    background: url('../images/background.png') no-repeat center/cover;
    background-color: rgba(0,0,0,0.7);
    background-blend-mode: overlay;
    display: flex;
    align-items: center;
    padding: 120px 50px 50px;
}

.hero-container {
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
}

.hero-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.hero-text {
    width: 600px;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 80px;
    line-height: 0.9;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 2px 2px 0 #333;
    margin-bottom: 10px;
    letter-spacing: 3px;
}

.hero-title .dm-highlight {
    color: var(--neon-green);
    text-shadow: 0 0 20px rgba(179,255,58,0.4);
}

.divider {
    width: 500px;
    height: 2px;
    background: var(--neon-green);
    margin: 10px 0 20px 0;
}

.hero-text h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-green);
    font-size: 24px;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-text p {
    color: #ddd;
    margin-bottom: 30px;
    line-height: 1.6;
    font-size: 16px;
}

.hero-buttons {
    display: flex;
    margin-right: 100px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-lime {
    background: var(--neon-green);
    color: #000;
    border: 2px solid var(--neon-green);
    padding: 12px 50px;
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 4px;
    height: 50px;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

.btn-lime:hover {
    background: transparent;
    color: var(--neon-green);
    transform: scale(1.05);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 500px;
    height: 500px;
    position: relative;
}

.ring-1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 420px;
    height: 420px;
    border: 2px solid rgba(179,255,58,0.15);
    border-radius: 50%;
    animation: spinRing 12s linear infinite;
}

.ring-3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 340px;
    height: 340px;
    border: 2px solid rgba(179,255,58,0.05);
    border-radius: 50%;
    border-top-color: rgba(179,255,58,0.3);
    border-right-color: rgba(179,255,58,0.1);
    animation: spinRing 6s linear infinite;
}

.cat-img {
    width: 400px;
    height: 400px;
    background: url('../images/cat.png') no-repeat center/contain;
    filter: drop-shadow(0 0 20px rgba(179,255,58,0.4));
    animation: float 4s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes spinRing {
    from { transform: translate(-50%,-50%) rotate(0deg); }
    to { transform: translate(-50%,-50%) rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: linear-gradient(135deg, #0a0a0a 0%, #111111 100%);
    border: 1px solid rgba(179, 255, 58, 0.3);
    border-radius: 12px;
    padding: 40px 35px;
    width: 400px;
    max-width: 95%;
    position: relative;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(179, 255, 58, 0.05);
}

.modal-content h2 {
    font-family: 'Orbitron', sans-serif;
    text-align: center;
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.input-group {
    margin-bottom: 22px;
}

.input-group label {
    display: block;
    color: #888;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.input-group input {
    width: 100%;
    padding: 0 16px;
    background: #070707;
    border: 1px solid #222;
    color: #fff;
    border-radius: 6px;
    font-size: 15px;
    font-family: 'Roboto', sans-serif;
    height: 48px;
    transition: all 0.3s;
}

.input-group input:focus {
    border-color: var(--neon-green);
    background: #090909;
    outline: none;
    box-shadow: 0 0 15px rgba(179, 255, 58, 0.15);
}

.close {
    position: absolute;
    top: 16px;
    right: 20px;
    color: #444;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.2s;
}

.close:hover {
    color: #ff4444;
    transform: rotate(90deg);
}

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 45px !important;
}

.toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #444;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s;
}

.toggle-password:hover {
    color: var(--neon-green);
}

footer {
    position: relative;
    text-align: center;
    padding: 30px;
    background: #000;
    border-top: 1px solid #1a1a1a;
    color: #555;
    font-size: 13px;
    z-index: 1;
    margin-top: auto;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    justify-content: center;
}

.social-icons a {
    color: #aaa;
    font-size: 24px;
    transition: 0.3s;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(179, 255, 58, 0.2);
    text-decoration: none !important;
}

.social-icons a:hover {
    color: var(--neon-green);
    border-color: var(--neon-green);
    box-shadow: 0 0 20px rgba(179, 255, 58, 0.3);
    transform: scale(1.1);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: var(--neon-green);
}

::-webkit-scrollbar-thumb:hover {
    background: #9ae02e;
}

@media (max-width: 850px) {
    header {
        padding: 15px 20px;
        height: auto;
        min-height: 70px;
        flex-wrap: wrap;
    }
    
    .logo {
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .logo-text {
        font-size: 24px;
    }
    
    .online-container {
        padding: 4px 10px;
        gap: 6px;
    }
    
    .online-number {
        font-size: 14px;
    }
    
    .online-label {
        font-size: 8px;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(0,0,0,0.98);
        padding: 20px;
        z-index: 999;
    }
    
    nav ul.active {
        display: flex;
    }
    
    .burger {
        display: block;
    }
    
    .hero {
        padding-top: 100px;
        text-align: center;
        min-height: 700px;
    }
    
    .hero-text {
        width: 100%;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .divider {
        width: 100%;
        max-width: 300px;
        margin: 10px auto;
    }
    
    .hero-buttons {
        justify-content: center;
        margin-right: 0;
    }
    
    .hero-image {
        width: 100%;
        height: 300px;
        margin-top: 30px;
    }
    
    .ring-1 {
        width: 250px;
        height: 250px;
    }
    
    .ring-3 {
        width: 200px;
        height: 200px;
    }
    
    .cat-img {
        width: 200px;
        height: 200px;
    }
}