:root {
    --bg-dark: #02060c;
    --q-color: #00f2ff;
    --g-color: #70ff00;
    --text-main: #ffffff;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#gravity-field {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.container {
    position: relative;
    text-align: center;
    z-index: 10;
    padding: 20px;
    pointer-events: none;
    width: 95%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.container * { pointer-events: auto; }

/* --- LOGO SECTION --- */
.logo-box {
    margin-top: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(4rem, 8vw, 12rem);
    font-weight: 800;
    letter-spacing: -6px;
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.q-char { color: var(--q-color); animation: glow-q 3s infinite; }
.i-char { color: #fff; text-shadow: 0 0 20px rgba(255,255,255,0.2); }
.g-char { color: var(--g-color); animation: glow-g 3s infinite 1.5s; }
.o-char { color: #fff; animation: pulse-o 2s infinite; }

.dev-suffix {
    font-size: clamp(1rem, 3vw, 2rem);
    font-weight: 400;
    color: rgba(255,255,255,0.2);
    margin-left: 15px;
    letter-spacing: 2px;
}

h1 {
    display: block !important;
    visibility: visible !important;
    font-size: clamp(1.5rem, 6vw, 3rem);
    font-weight: 900;
    letter-spacing: 12px;
    text-transform: uppercase;
    margin: 2rem 0;
    background: linear-gradient(to bottom, #fff 20%, var(--q-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(0, 242, 255, 0.4));
}

/* --- SOCIAL MATRIX: 1/10 BOTTOM SPACING --- */
.matrix-row {
    margin-top: auto;
    margin-bottom: 10vh;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: none;
}
.matrix-row::-webkit-scrollbar { display: none; }

.social-node {
    position: relative;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    /*background: rgba(0, 242, 255, 0.05);*/
    /*border: 1px solid var(--q-color);*/
    fill: var(--q-color);
    overflow: hidden;
    transition: 0.4s;
    cursor: pointer;
}

.social-node svg { width: 24px; height: 24px; }

.social-node::after {
    content: '';
    position: absolute;
    top: 0;
    left: -200%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 242, 255, 0.5), transparent);
    filter: blur(5px);
    animation: laser-scan 6s linear infinite;
}

@keyframes laser-scan {
    0% { left: -200%; }
    15% { left: 200%; }
    100% { left: 200%; }
}

.social-node:hover {
    background: var(--q-color);
    fill: #000;
    box-shadow: 0 0 35px var(--q-color);
    transform: translateY(-5px);
}

/* --- AGENT OVERLAY --- */
.agent-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 12, 0.95);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100;
    backdrop-filter: blur(10px);
}

#active-icon-box {
    width: 60px;
    height: 60px;
    fill: var(--g-color);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-g 1.5s infinite;
}

#active-icon-box svg { width: 45px; height: 45px; }

.terminal-text {
    color: var(--g-color);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    margin-top: 20px;
}

/* --- FOOTER --- */
footer {
    position: absolute;
    bottom: 30px;
    z-index: 10;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- ANIMATIONS --- */
@keyframes pulse-g {
    0%, 100% { transform: scale(1); opacity: 1; filter: drop-shadow(0 0 5px var(--g-color)); }
    50% { transform: scale(1.2); opacity: 0.8; filter: drop-shadow(0 0 20px var(--g-color)); }
}

@keyframes glow-q { 0%, 100% { text-shadow: 0 0 20px var(--q-color); } 50% { text-shadow: 0 0 60px var(--q-color); } }
@keyframes glow-g { 0%, 100% { text-shadow: 0 0 20px var(--g-color); } 50% { text-shadow: 0 0 60px var(--g-color); } }
@keyframes pulse-o { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }
.dot { width: 6px; height: 6px; background: var(--q-color); border-radius: 50%; animation: blink 1s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
