:root {
    --accent: #459b24;
    --bg: #050505;
    --card: #0a0a0a;
    --border: #1a1a1a;
    --text-dim: #a0a0a0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: var(--bg); color: white; font-family: 'Inter', sans-serif; overflow-x: hidden; }

/* ==========================================
   LOADING SCREEN STYLES (PRELOADER)
   ========================================== */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.05);
    border-top: 4px solid var(--accent);
    border-radius: 50%;
    margin: 0 auto 20px auto;
    animation: spin 1s linear infinite;
}

.loader-content p {
    font-family: 'Syne', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 3px;
    font-weight: 900;
    text-transform: uppercase;
    color: white;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ==========================================
   RESTUL STILURILOR ORIGINALE
   ========================================== */
header {
    background: rgba(0,0,0,0.95);
    padding: 20px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.brand { font-family: 'Syne', sans-serif; font-size: 24px; font-weight: 900; margin-bottom: 15px; }
.brand span { color: var(--accent); }

/* ABOUT SECTION */
.about-section {
    padding: 60px 10% 20px 10%;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    background: linear-gradient(to bottom, #080808, var(--bg));
}

.about-content h2 { font-family: 'Syne', sans-serif; font-size: 2.5rem; margin-bottom: 20px; }
.about-content h2 span { color: var(--accent); }
.about-content p { color: var(--text-dim); line-height: 1.8; margin-bottom: 15px; font-size: 1rem; }

.skills-box {
    background: #0d0d0d;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--border);
    height: fit-content;
}

.skills-box h3 { font-family: 'Syne', sans-serif; margin-bottom: 20px; color: var(--accent); font-size: 1.2rem; }
.skills-list { list-style: none; }
.skills-list li { 
    margin-bottom: 12px; 
    font-weight: 700; 
    font-size: 0.95rem; 
    display: flex; 
    align-items: center; 
    gap: 10px;
}
.skills-list li span { color: var(--accent); font-size: 1.1rem; }

/* NAV EXTRA BUTTON */
.nav-extra { text-align: center; padding: 40px 0; }
.game-contrib-btn {
    display: inline-block;
    background: var(--accent);
    color: white;
    text-decoration: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 900;
    font-family: 'Syne', sans-serif;
    letter-spacing: 1px;
    transition: 0.4s;
    box-shadow: 0 10px 30px rgba(82, 202, 46, 0.3);
}
.game-contrib-btn:hover { transform: translateY(-5px) scale(1.05); box-shadow: 0 15px 40px rgba(99, 102, 241, 0.5); }

/* GRID & FILTER STYLES */
.filter-bar { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.btn {
    background: #111; border: 1px solid #222; color: #555; padding: 8px 16px; 
    border-radius: 6px; cursor: pointer; text-transform: uppercase; font-weight: 700; font-size: 11px;
}
.btn.active { border-color: var(--accent); color: white; background: rgba(82, 202, 46, 0.1); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 15px; padding: 40px 10%; }
.item { background: var(--card); border: 1px solid var(--border); border-radius: 12px; position: relative; aspect-ratio: 1/1; cursor: pointer; transition: 0.3s; overflow: hidden; }
.item:hover { border-color: var(--accent); }
.img-wrapper { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 15px; }
.img-wrapper img { max-width: 100%; max-height: 100%; object-fit: contain; }
.tag { position: absolute; top: 8px; left: 8px; background: var(--accent); font-size: 9px; font-weight: 800; padding: 3px 7px; border-radius: 4px; }

.modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); display: none; align-items: center; justify-content: center; z-index: 1000; }
.modal img { max-width: 90%; max-height: 90%; object-fit: contain; }

@media (max-width: 768px) {
    .about-section { grid-template-columns: 1fr; padding: 40px 5%; }
}