/* ABOUT SECTION */
.about-section {
    padding: 100px 20px;
    background-color: var(--bg-primary);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: auto;
    z-index: 2;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    background-image: radial-gradient(var(--border-color) 1.5px, transparent 0);
    background-size: 32px 32px;
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
    opacity: 0.6;
    pointer-events: none;
}

.about-split {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    width: 100%;
}

.about-left {
    flex: 1;
    min-width: 300px;
}

.about-left .section-title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    text-align: left;
    color: var(--text-primary);
    letter-spacing: -1.5px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--badge-bg);
    padding: 8px 18px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
}

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

@keyframes status-pulse {
    0% { box-shadow: 0 0 0 0 rgba(163, 230, 53, 0.5); }
    70% { box-shadow: 0 0 0 6px rgba(163, 230, 53, 0); }
    100% { box-shadow: 0 0 0 0 rgba(163, 230, 53, 0); }
}

.about-right {
    flex: 1.5;
    width: 100%;
}

.code-window {
    background-color: var(--bg-card);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.code-window:hover {
    border-color: var(--border-hover);
}

.window-header {
    background-color: var(--bg-secondary);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.window-dots {
    display: flex;
    gap: 8px;
}

.window-dots .dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.dot.red { background-color: #ef4444; }
.dot.yellow { background-color: #f59e0b; }
.dot.green { background-color: #10b981; }

.window-title {
    color: var(--text-secondary);
    font-size: 13px;
    font-family: var(--font-mono);
    flex-grow: 1;
    text-align: center;
    margin-right: 44px;
    font-weight: 500;
}

.window-body {
    padding: 24px;
    overflow-x: auto;
}

.window-body pre {
    margin: 0;
}

.window-body code {
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-primary);
    letter-spacing: 0;
}

.keyword { color: #f43f5e; font-weight: 500; }
.class-name { color: var(--accent); }
.function { color: #38bdf8; }
.variable { color: #f4f4f5; }
.string { color: #fbbf24; }

/* DISCORD LANYARD CARD */
.discord-card {
    margin-top: 24px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 320px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.discord-card:hover {
    border-color: var(--accent);
    box-shadow: var(--card-shadow-hover);
}

.discord-user-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.discord-avatar-container {
    position: relative;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.discord-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    border: 2px solid var(--border-color);
    object-fit: cover;
    display: block;
}

.discord-status-dot {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--bg-card);
    transition: background-color 0.3s ease;
}

.discord-status-dot.online { background-color: #22c55e; }
.discord-status-dot.idle { background-color: #eab308; }
.discord-status-dot.dnd { background-color: #ef4444; }
.discord-status-dot.offline { background-color: #64748b; }

.discord-user-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.discord-name-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.discord-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.discord-tag {
    font-size: 10px;
    color: var(--text-secondary);
    background-color: var(--bg-secondary);
    padding: 1px 5px;
    border-radius: 4px;
    font-family: var(--font-mono);
    line-height: 1.2;
}

.discord-custom-status {
    font-size: 12px;
    color: var(--text-secondary);
    font-style: italic;
    word-break: break-word;
    border-left: 2px solid var(--accent);
    padding-left: 8px;
    margin-top: 2px;
}

/* Activity section */
.discord-activity {
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.discord-activity-art {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    object-fit: cover;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.discord-activity-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.discord-activity-title {
    font-size: 10px;
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.discord-activity-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.discord-activity-state {
    font-size: 11px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Skeleton animation */
.discord-card .skeleton-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(-90deg, var(--bg-secondary) 0%, var(--border-color) 50%, var(--bg-secondary) 100%);
    background-size: 400% 400%;
    animation: pulse-skeleton 1.5s ease-in-out infinite;
}

.discord-card .skeleton-text {
    height: 12px;
    border-radius: 4px;
    background: linear-gradient(-90deg, var(--bg-secondary) 0%, var(--border-color) 50%, var(--bg-secondary) 100%);
    background-size: 400% 400%;
    animation: pulse-skeleton 1.5s ease-in-out infinite;
}

.discord-card .skeleton-text.short { width: 80px; }
.discord-card .skeleton-text.long { width: 140px; margin-top: 6px; }
