@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;800&family=JetBrains+Mono&display=swap');

/* --- RESET & BASE --- */
body { 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    background: #030303; 
    color: #fff; 
    overflow-x: hidden; 
    cursor: none !important; /* Ascundem cursorul sistemului peste tot */
    margin: 0;
}

/* Forțăm ascunderea cursorului pe orice element interactiv */
a, button, input, textarea, [role="button"] {
    cursor: none !important;
}

.mono { font-family: 'JetBrains Mono', monospace; }

/* --- CURSOR LICHID (MAX Z-INDEX FIX) --- */
#custom-cursor {
    position: fixed;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    /* Valoarea maximă pe 32 de biți pentru a sta peste ORICE */
    z-index: 2147483647; 
    mix-blend-mode: difference;
    will-change: transform;
    border: 0.5px solid rgba(255, 255, 255, 0.2); /* Ajută la vizibilitate pe blur */
}

#cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    background: rgba(16, 185, 129, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 2147483646; 
    filter: blur(10px);
    will-change: transform;
}

/* --- BACKGROUND & PARTICLES --- */
#canvas-container { 
    position: fixed; 
    top: 0; left: 0; 
    width: 100%; height: 100%; 
    z-index: -1; 
    background: radial-gradient(circle at 50% 50%, #0a0a0a 0%, #000 100%); 
}

.particle { 
    position: absolute; 
    background: #10b981; 
    border-radius: 50%; 
    pointer-events: none; 
    opacity: 0.15; 
}

/* --- NAVIGATION --- */
.glass-nav { 
    background: rgba(255, 255, 255, 0.02); 
    backdrop-filter: blur(30px); 
    border: 1px solid rgba(255, 255, 255, 0.05); 
    border-radius: 50px; 
}

/* AVATAR PĂTRAT (INDUSTRIAL STYLE) */
.avatar-square {
    width: 36px;
    height: 36px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.avatar-square:hover {
    border-color: rgba(16, 185, 129, 0.5);
}

/* --- HERO TITLE MAGNETIC --- */
.hero-title-wrapper { 
    display: flex; 
    gap: 0; 
    perspective: 1000px;
    justify-content: center;
    align-items: center;
}

.char {
    display: inline-block;
    font-size: clamp(5rem, 18vw, 15rem);
    font-weight: 800;
    line-height: 0.8;
    letter-spacing: -0.05em;
    background: linear-gradient(180deg, #fff 0%, #333 70%, #111 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.05));
    will-change: transform;
    pointer-events: auto;
}

/* --- SECTIONS & GRID --- */
.section-title {
    font-size: 4rem;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -0.05em;
    margin-bottom: 4rem;
    text-transform: uppercase;
    color: #fff;
}

.horizontal-section { 
    position: relative; 
    width: 100%; 
    height: 100vh;
    overflow: hidden; 
    background: rgba(16, 185, 129, 0.01); 
}

.horizontal-wrapper { 
    display: flex; 
    width: max-content; 
    height: 100%; 
    align-items: center; 
    padding-left: 5vw; 
}

.horizontal-item { 
    width: 45vw; 
    height: 60vh; 
    padding: 0 25px; 
    flex-shrink: 0; 
}

/* --- CARD STYLING --- */
.hot-card { 
    width: 100%; height: 100%; 
    background: rgba(255,255,255,0.01); 
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 32px; 
    overflow: hidden; 
    display: flex; flex-direction: column;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hot-card:hover { 
    transform: translateY(-15px); 
    border-color: #10b981; 
    background: rgba(16, 185, 129, 0.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4); 
}

/* --- OVERLAYS (LOGIN / REGISTER / PASSWORD) --- */
#auth-overlay, #password-overlay { 
    display: none; 
    position: fixed; 
    inset: 0; 
    z-index: 1000000; /* Foarte mare, dar SUB cursor */
    background: rgba(0,0,0,0.9); 
    backdrop-filter: blur(30px); 
    align-items: center; 
    justify-content: center; 
}

/* --- INPUTS & BUTTONS --- */
.input-void {
    background: #000; 
    border: 1px solid #1a1a1a; 
    color: #fff; 
    padding: 16px; 
    border-radius: 12px; 
    outline: none; 
    width: 100%;
    transition: all 0.3s ease;
}

.input-void:focus {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.02);
}

/* Prevenim scroll-ul când pop-up-ul e activ */
.no-scroll {
    overflow: hidden;
}