:root {
    --primary: #f1c40f;
    --dark: #0a0a12;
    --card-bg: rgba(255, 255, 255, 0.03);
    --text: #e0e0e0;
}

body { 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 
    margin: 0; 
    padding: 0; 
    background-color: var(--dark); 
    color: var(--text);
    line-height: 1.6;
}

header { 
    padding: 3rem 2rem; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    background: rgba(10, 10, 18, 0.8);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

h1 { margin: 0; color: var(--primary); font-size: 1.8rem; letter-spacing: 2px; text-transform: uppercase; }

.btn { 
    padding: 0.8rem 1.5rem; 
    background-color: var(--primary); 
    color: #000; 
    text-decoration: none; 
    font-weight: 700; 
    border-radius: 8px; 
    cursor: pointer; 
    border: none;
    transition: transform 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.project-card { 
    border: 1px solid rgba(255,255,255,0.05); 
    padding: 2rem; 
    margin: 4rem auto; 
    max-width: 600px; 
    border-radius: 20px; 
    background: var(--card-bg); 
    text-align: center;
}

.project-logo { max-width: 100%; border-radius: 12px; margin-bottom: 1.5rem; }

footer { padding: 3rem; text-align: center; font-size: 0.9rem; color: #555; border-top: 1px solid rgba(255,255,255,0.05); }

/* Modal styling */
.modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); display: flex; align-items: center; justify-content: center; z-index: 1000; }
.modal-content { background: #161625; padding: 2rem; border-radius: 15px; width: 90%; max-width: 400px; text-align: left; }
.close-btn { float: right; cursor: pointer; font-size: 1.5rem; }
input { display: block; width: 100%; margin: 1rem 0; padding: 0.8rem; border-radius: 8px; border: 1px solid #333; background: #0a0a12; color: white; }
#toggle-mode { cursor: pointer; color: var(--primary); font-size: 0.9rem; text-align: center; }
