/* ===== About Window ===== */
.about-window {
    max-width: 500px;
    margin: 0 auto;
}

.window[data-window="about"].maximized .window-content {
    padding: 28px 36px;
}

.window[data-window="about"].maximized .about-window {
    max-width: 980px;
    width: 100%;
}

.window[data-window="about"].maximized .about-details {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media screen and (max-width: 1200px) {
    .window[data-window="about"].maximized .about-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.about-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.about-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    box-shadow: 0 0 30px var(--accent-glow);
}

.about-info h1 {
    font-size: 1.8rem;
    margin-bottom: 4px;
}

.about-tagline {
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.about-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 210, 106, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(0, 210, 106, 0); }
}

.about-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 12px;
    font-size: 0.88rem;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.detail-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.detail-item i {
    color: var(--accent);
}

.detail-item.available {
    border: 1px solid rgba(52, 211, 153, 0.3);
}

.detail-item.available i {
    color: #34d399;
    font-size: 0.55rem;
    animation: pulse-dot 2s ease-in-out infinite;
}

.detail-item.available span {
    color: #34d399;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.about-bio {
    background: rgba(74, 163, 255, 0.04);
    border: 1px solid rgba(74, 163, 255, 0.12);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 3px solid var(--accent);
}

.about-bio h3 {
    font-family: 'JetBrains Mono', monospace;
    color: var(--accent);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.about-bio p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
}

.whoami-line {
    display: block;
}

#whoamiText {
    min-height: 4.8em;
    display: inline;
}

.whoami-cursor {
    margin-left: 2px;
    color: var(--accent-light);
    animation: whoami-blink 1s steps(1, end) infinite;
}

@keyframes whoami-blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.about-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border-radius: 12px;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: all 0.2s cubic-bezier(0.34, 1.4, 0.64, 1);
    white-space: nowrap;
}

.social-btn span {
    font-size: 0.78rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.social-btn:hover {
    transform: translateY(-3px) scale(1.04);
}

/* GitHub */
.social-btn.github {
    background: rgba(36, 41, 46, 0.5);
    color: #aaa;
    border-color: rgba(255,255,255,0.1);
}
.social-btn.github:hover {
    background: #24292e;
    color: #fff;
    border-color: #555;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

/* Root-Me */
.social-btn.rootme {
    background: rgba(198, 40, 40, 0.1);
    color: #ef9a9a;
    border-color: rgba(198, 40, 40, 0.2);
}
.social-btn.rootme:hover {
    background: #c62828;
    color: #fff;
    border-color: #ef5350;
    box-shadow: 0 8px 24px rgba(198, 40, 40, 0.35);
}

/* HackTheBox */
.social-btn.htb {
    background: rgba(159, 239, 0, 0.06);
    color: #9fef00;
    border-color: rgba(159, 239, 0, 0.15);
}
.social-btn.htb:hover {
    background: rgba(159, 239, 0, 0.12);
    color: #9fef00;
    border-color: #9fef00;
    box-shadow: 0 8px 24px rgba(159, 239, 0, 0.18);
}

/* Discord */
.social-btn.discord {
    background: rgba(88, 101, 242, 0.12);
    color: #a5acf7;
    border-color: rgba(88, 101, 242, 0.2);
}
.social-btn.discord:hover {
    background: #5865F2;
    color: #fff;
    border-color: #7289da;
    box-shadow: 0 8px 24px rgba(88, 101, 242, 0.4);
}
