: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; }

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; }

/* LEGAL BOX (index2 specific) */
.legal-box {
    grid-column: span 2;
    background: rgba(255, 0, 0, 0.02);
    border: 1px solid rgba(255, 77, 77, 0.3);
    padding: 25px;
    border-radius: 12px;
}

/* GAME CONTRIBUTIONS GRID */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 10% 60px 10%;
}

.game-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
}

.game-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.game-img-box {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #111;
    overflow: hidden;
}

.game-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.game-card:hover .game-img-box img { scale: 1.05; }

.game-info { padding: 20px; position: relative; }
.game-info h2 { font-family: 'Syne', sans-serif; font-size: 1.3rem; margin: 10px 0; }
.game-info p { color: var(--text-dim); font-size: 0.85rem; line-height: 1.5; }

/* UTILS FROM INDEX1 */
.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(31, 126, 43, 0.3);
}
.game-contrib-btn:hover { transform: translateY(-5px) scale(1.05); box-shadow: 0 15px 40px rgba(99, 102, 241, 0.5); }

.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(99,102,241,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; z-index: 2; }

@media (max-width: 768px) {
    .about-section { grid-template-columns: 1fr; padding: 40px 5%; }
    .game-grid { grid-template-columns: 1fr; }
}