/* © 2026 GioCombo Studios. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&display=swap');

/* Variables */
:root {
    --bg-main: #020410;
    --bg-card: #0d1224;
    --primary: #3b82f6;
    --secondary: #6366f1;
    --accent: #0ea5e9;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.08);
    --glow: 0 0 20px rgba(59, 130, 246, 0.15);
    --font-main: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    background-color: var(--bg-main); color: var(--text-main); 
    font-family: var(--font-main); line-height: 1.6; overflow-x: hidden;
    user-select: none;
}
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* Header & Nav */
.header {
    position: fixed; top: 0; width: 100%;
    background: rgba(2, 4, 16, 0.9); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000; padding: 1rem 0;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 700; display: flex; align-items: center; gap: 10px; color: var(--text-main); }
.logo img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-item { font-size: 0.95rem; font-weight: 500; color: var(--text-muted); position: relative; cursor: pointer; }
.nav-item:hover, .nav-item.active { color: var(--text-main); }
.nav-item::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -4px; left: 0; background: var(--primary); transition: width 0.3s; }
.nav-item:hover::after, .nav-item.active::after { width: 100%; }

.lang-switch {
    display: flex; align-items: center; gap: 10px;
    border: 1px solid var(--border-color); padding: 5px 12px;
    border-radius: 6px; background: rgba(255,255,255,0.02);
}
.lang-opt { opacity: 0.5; transition: 0.3s; display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.85rem; }
.lang-opt:hover, .lang-opt.active { opacity: 1; color: #fff; }
.lang-opt img { width: 16px; height: 16px; display: block; }
.sep { color: var(--text-muted); font-size: 0.8rem; opacity: 0.3; }

.mobile-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

/* Layout */
main { padding-top: 120px; min-height: 100vh; }
main.container { padding-top: 160px; padding-bottom: 80px; } 

/* Footer */
.footer { background: #00020a; padding: 60px 0 30px; border-top: 1px solid var(--border-color); margin-top: auto;}
.footer-content { display: flex; flex-direction: column; align-items: center; gap: 25px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; font-weight: 700; }
.footer-brand img { height: 28px; }
.social-links { display: flex; gap: 20px; }
.social-btn {
    width: 45px; height: 45px; border-radius: 12px; background: var(--bg-card);
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
    border: 1px solid var(--border-color); color: var(--text-muted); transition: 0.3s;
}
.social-btn:hover { background: var(--primary); color: white; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3); }
.copyright { color: #52525b; font-size: 0.9rem; margin-top: 20px; }

/* Global Modals */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(8px);
    z-index: 2000; display: flex; justify-content: center; align-items: center;
    opacity: 0; pointer-events: none; transition: 0.3s;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal-content {
    background: #030303; border: 1px solid #222;
    position: relative; box-shadow: 0 0 40px rgba(0,0,0,0.8);
    transform: translateY(20px); transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-close {
    position: absolute; top: 15px; right: 20px; background: none; border: none;
    color: #fff; font-size: 1.5rem; cursor: pointer; z-index: 10;
}

/* Contact Modal Styles */
.contact-modal-box { width: 90%; max-width: 500px; padding: 20px; border: 1px solid var(--primary); box-shadow: 0 0 30px rgba(59, 130, 246, 0.15); }
.modal-terminal { padding: 20px; font-family: var(--font-mono); color: #ccc; }
.term-title {
    color: var(--accent); font-size: 1.4rem; margin-bottom: 25px;
    text-shadow: 0 0 10px rgba(14, 165, 233, 0.4); text-align: center;
}
.contact-section { margin-bottom: 25px; }
.term-label { display: block; color: #fff; font-weight: 700; margin-bottom: 10px; font-size: 0.9rem; }
.email-box {
    background: rgba(255,255,255,0.05); border: 1px solid var(--border-color);
    padding: 10px 15px; border-radius: 6px; display: flex; justify-content: space-between; align-items: center;
}
.copy-btn {
    background: var(--primary); color: #fff; border: none; padding: 5px 12px;
    border-radius: 4px; cursor: pointer; font-family: var(--font-mono); font-size: 0.8rem;
    transition: 0.3s;
}
.copy-btn:hover { background: var(--secondary); }
.social-grid-modal { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.modal-social-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px; border-radius: 6px; background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color); color: #ccc; font-size: 0.9rem; transition: 0.3s;
}
.modal-social-btn:hover { color: #fff; background: rgba(255,255,255,0.08); }
.modal-social-btn.github:hover { border-color: #fff; }
.modal-social-btn.twitter:hover { border-color: #1da1f2; color: #1da1f2; }
.modal-social-btn.discord:hover { border-color: #5865f2; color: #5865f2; }

/* Global Lightbox */
.lightbox-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95); z-index: 3000;
    display: flex; justify-content: center; align-items: center;
    opacity: 0; pointer-events: none; transition: 0.3s;
    backdrop-filter: blur(10px);
}
.lightbox-overlay.active { opacity: 1; pointer-events: all; }
.lightbox-content { position: relative; max-width: 90%; max-height: 90%; }
.lightbox-content img {
    max-width: 100%; max-height: 85vh; border-radius: 8px;
    border: 1px solid #333; box-shadow: 0 0 50px rgba(0,0,0,0.8);
    transform: scale(0.95); transition: 0.3s;
}
.lightbox-overlay.active .lightbox-content img { transform: scale(1); }
.lightbox-close {
    position: absolute; top: 30px; right: 30px; background: none; border: none;
    color: #fff; font-size: 2rem; cursor: pointer; transition: 0.3s;
}
.lightbox-close:hover { color: var(--accent); transform: rotate(90deg); }
.lightbox-caption {
    text-align: center; color: #fff; margin-top: 15px; font-family: var(--font-mono);
    font-size: 1.1rem; letter-spacing: 1px;
}

/* Icon Alignment */
.tags span i, .card-footer span i { margin-right: 6px; color: var(--accent); }

/* Responsive */
@media (max-width: 768px) {
    .mobile-toggle { display: block; }
    .nav-links {
        position: fixed; top: 70px; left: 0; width: 100%; background: var(--bg-main);
        flex-direction: column; padding: 30px; border-bottom: 1px solid var(--border-color);
        transform: translateY(-150%); transition: 0.4s ease;
    }
    .nav-links.active { transform: translateY(0); }
    .social-grid-modal { grid-template-columns: 1fr; }
    .email-box { flex-direction: column; gap: 10px; }
    .copy-btn { width: 100%; }
}