@font-face {
    font-family: 'Martyric';
    src: url('../fonts/Martyric_PersonalUse.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Minecraft';
    src: url('../fonts/Minecraft.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* DESIGN SYSTEM & TOKENS */
:root {
    --bg-dark: #000000;
    --card-bg: rgba(10, 14, 22, 0.72);
    --card-bg-hover: rgba(14, 20, 34, 0.85);
    --border-color: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(59, 130, 246, 0.28);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #475569;
    
    --glow-cyan: #00f2fe;
    --glow-purple: #9d4edd;
    --glow-blue: #3b82f6;
    --glow-royal: #2563eb;
    --glow-white: #ffffff;
    
    --font-sans: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --font-display: 'Outfit', sans-serif;
    
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/* RESET & CORE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: var(--font-sans);
}

body, button, input, select, textarea {
    font-family: inherit;
}

pre, code, kbd, samp, .font-mono {
    font-family: var(--font-mono), monospace;
}

h1, h2, h3, h4, h5, h6, .profile-name, .stat-number, .project-title {
    font-family: var(--font-display);
}

body {
    background-color: #08090d;
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: clip;
    position: relative;
    line-height: 1.6;
}

/* WALLPAPER BACKGROUND */
.site-bg-layer {
    position: fixed;
    inset: -30px;
    background-image: 
        linear-gradient(180deg, rgba(8, 10, 15, 0.42) 0%, rgba(5, 6, 10, 0.62) 100%),
        url('../images/site_bg.jpg?v=mesa_bg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: blur(8px);
    transform: scale(1.03);
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}



/* CUSTOM SCROLLBAR */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* DISABLED OVERLAYS & NO-DOTS */
#starfield-canvas,
.galaxy-bg,
.cyber-grid-overlay,
.ambient-spotlight,
.deco-dots {
    display: none !important;
}

/* LAYOUT CONTAINER */
.container {
    max-width: 1680px;
    width: 95%;
    margin: 0 auto;
    padding: 25px 0 25px calc(340px + 24px);
    display: block;
    position: relative;
    z-index: 1;
}

/* GLASS CARD STYLES */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
    display: flex;
    flex-direction: column;
}



/* PREMIUM INTERNAL CARD DECORATIONS */
.card-decorations {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
    border-radius: inherit;
}

/* 1. Dot-Matrix Grid Accent (Disabled: No dots) */
.deco-dots {
    display: none !important;
}

.glass-card:hover .deco-dots {
    display: none !important;
}

/* 2. Internal Color-Coded Ambient Glow Orb */
.deco-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, color-mix(in srgb, var(--glow-color-1, #00f2fe) 12%, transparent), transparent 70%);
    bottom: -80px;
    right: -80px;
    filter: blur(12px);
    opacity: 0.45;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

.glass-card:hover .deco-glow {
    transform: scale(1.2) translate(-10px, -10px);
    opacity: 0.8;
}

.glass-card:not(:hover) {
    /* Smooth recovery animation on mouseleave */
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
}

/* Rotating dual-color border animation (meets in circle & spins) */
.shine-border {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: conic-gradient(
        from var(--angle), 
        var(--glow-color-1, #00f2fe) 0%, 
        transparent 20%, 
        var(--glow-color-2, #ff5c8d) 50%, 
        transparent 70%, 
        var(--glow-color-1, #00f2fe) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 5;
}

.glass-card:hover .shine-border {
    opacity: 1;
    animation: spin-border 3.6s linear infinite;
}

@keyframes spin-border {
    to {
        --angle: 360deg;
    }
}

/* Color-coded internal hover glow spotlight overlay (follows mouse) */
.glass-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        380px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
        color-mix(in srgb, var(--glow-color, #00f2fe) 7%, transparent),
        transparent 50%
    );
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

/* Dynamic card hover glows using the local var(--glow-color) */
.glass-card:hover {
    background: var(--card-bg-hover);
    border-color: transparent; /* Remove static container border on hover so only shine-border is active */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), 0 0 35px color-mix(in srgb, var(--glow-color, #00f2fe) 12%, transparent);
}

.glass-card:hover::after {
    opacity: 1;
}

/* CARD INNER CONTENT CONTAINER */
.card-content {
    padding: 22px 26px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

/* SIDEBAR PROFILE CARD — fixed to viewport, never moves */
.profile-sidebar {
    position: fixed;
    top: 25px;
    left: max(2.5vw, calc(50vw - min(840px, 47.5vw)));
    width: 340px;
    height: calc(100vh - 50px);
    max-height: calc(100vh - 50px);
    align-items: center;
    text-align: center;
    padding: 16px 16px 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: none !important;
    z-index: 10;
}

.profile-sidebar::-webkit-scrollbar {
    display: none;
    width: 0px;
}

.sidebar-glow-light {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--glow-cyan), var(--glow-white), var(--glow-blue), transparent);
    box-shadow: 0 0 20px var(--glow-cyan);
    border-radius: 0 0 100% 100%;
}

.status-badge-container {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 10px;
    font-size: 0.74rem;
    font-weight: 500;
    flex-shrink: 0;
}

.status-pulse {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.status-text {
    color: #a7f3d0;
}

.avatar-wrapper {
    position: relative;
    width: 104px;
    height: 104px;
    margin-bottom: 8px;
}

.avatar-ring-shine {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--glow-cyan), transparent, var(--glow-white), transparent, var(--glow-purple));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotate 12s linear infinite;
}

@keyframes rotate {
    to { transform: rotate(360deg); }
}

.profile-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.05);
    background-color: rgba(255, 255, 255, 0.02);
}

.main-avatar-decoration {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    pointer-events: none;
    z-index: 3;
}

/* When a Discord avatar decoration is active, hide default rotating shine ring & borders */
.avatar-wrapper.has-decor .avatar-ring-shine {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    animation: none !important;
}

.avatar-wrapper.has-decor .profile-avatar {
    border-color: transparent !important;
    box-shadow: none !important;
}

.profile-name {
    font-family: 'Martyric', var(--font-sans);
    font-size: 2.5rem;
    font-weight: normal;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #ffffff 0%, #00f2fe 40%, #00d2ff 70%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2px;
    animation: cool-text-gradient 5s ease infinite;
    filter: drop-shadow(0 2px 8px rgba(0, 242, 254, 0.5));
    display: inline-block;
    padding: 0 12px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.alias-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 3px 10px;
    border-radius: 8px;
    font-size: 0.72rem;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.02);
    cursor: pointer;
    user-select: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.alias-tag:hover {
    background: rgba(37, 99, 235, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.alias-copy-hint {
    display: inline-flex;
    align-items: center;
    color: var(--text-muted);
    margin-left: 4px;
    transition: all 0.2s ease;
}

.alias-copy-hint .copy-icon {
    width: 12px;
    height: 12px;
}

.alias-tag:hover .alias-copy-hint {
    color: var(--glow-cyan);
    transform: scale(1.15);
}

.alias-label {
    color: var(--text-muted);
    font-weight: 700;
}

.alias-value {
    color: var(--glow-cyan);
    font-weight: 600;
    text-shadow: 0 0 8px rgba(0, 242, 254, 0.3);
}

@keyframes cool-text-gradient {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

.profile-title {
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 10px;
}

.typewriter-cursor {
    display: inline-block;
    color: var(--glow-cyan);
    font-weight: 300;
    margin-left: 2px;
    animation: blink-cursor 0.9s infinite;
}

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

.divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: 10px 0;
}

.profile-bio {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 10px;
}

.profile-meta {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.meta-icon {
    width: 16px;
    height: 16px;
    color: var(--glow-cyan);
}

.live-time-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px 12px;
    border-radius: 100px;
    letter-spacing: 0.3px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
}

.live-time-pill:hover {
    background: rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.3);
    color: #f8fafc;
}

.live-dot {
    width: 6.5px;
    height: 6.5px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    animation: live-pulse 2s infinite ease-in-out;
}

@keyframes live-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
        box-shadow: 0 0 6px #22c55e;
    }
    50% {
        transform: scale(1.25);
        opacity: 1;
        box-shadow: 0 0 12px #22c55e, 0 0 18px rgba(34, 197, 94, 0.5);
    }
}
.social-links {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 10px;
}

.social-btn {
    width: 41px;
    height: 41px;
    border-radius: 12px; /* Premium Squircle App Icon shape */
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.18), inset 0 -1px 1px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

/* Glass specular top highlight */
.social-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 18%;
    right: 18%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    pointer-events: none;
    z-index: 3;
}

.social-btn img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    z-index: 2;
    position: relative;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

/* MAIN CONTENT COLUMN */
.main-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 290px;
    gap: 20px;
}

.col-span-2 {
    grid-column: span 2;
}

.col-span-3 {
    grid-column: span 3;
}

.row-span-1 {
    grid-row: span 1;
}

/* BENTO CARD GENERAL STYLING */
.bento-card {
    position: relative;
}

/* BANNER CARD SPECIFIC STYLING */
#banner-card {
    height: 210px;
    min-height: 210px;
    padding: 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 40px -10px rgba(157, 78, 221, 0.25);
}

.banner-image-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.profile-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: none;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

#banner-card:hover .profile-banner-img {
    transform: scale(1.02);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.flex-header {
    justify-content: space-between;
    width: 100%;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--glow-color, var(--glow-cyan));
    background: color-mix(in srgb, var(--glow-color, #00f2fe) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--glow-color, #00f2fe) 18%, transparent);
    padding: 5px 12px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
    box-shadow: 0 0 10px color-mix(in srgb, var(--glow-color, #00f2fe) 8%, transparent);
    text-transform: uppercase;
}

.tag-pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--glow-color, var(--glow-cyan));
    border-radius: 50%;
    box-shadow: 0 0 8px var(--glow-color, var(--glow-cyan));
    animation: tag-pulse 2s infinite ease-in-out;
}

@keyframes tag-pulse {
    0%, 100% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
}

.card-header-icon {
    width: 22px;
    height: 22px;
    color: var(--glow-color, var(--glow-cyan));
    filter: drop-shadow(0 0 8px var(--glow-color, rgba(0, 242, 254, 0.3)));
    transition: transform 0.4s ease;
}

.glass-card:hover .card-header-icon {
    transform: scale(1.15) rotate(-5deg);
}

.card-header h2 {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    background: linear-gradient(90deg, #ffffff 30%, var(--glow-color, var(--glow-cyan)) 50%, #ffffff 70%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background-position 0.6s ease;
}

.glass-card:hover .card-header h2 {
    animation: card-title-flow 3s linear infinite;
}

@keyframes card-title-flow {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* ABOUT CARD */
.about-text {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* REPOS GRID */
.repos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 6px;
}

/* Skeleton shimmer while loading */
.repo-skeleton {
    height: 110px;
    border-radius: var(--radius-md);
    background: linear-gradient(90deg,
        rgba(255,255,255,0.03) 25%,
        rgba(255,255,255,0.07) 50%,
        rgba(255,255,255,0.03) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite ease-in-out;
}

@keyframes skeleton-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Live repo cards */
.repo-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: border-color 0.35s ease, background 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
    opacity: 0;
    animation: repo-fadein 0.5s ease forwards;
}

@keyframes repo-fadein {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.repo-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 242, 254, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 12px rgba(0, 242, 254, 0.1);
}

.repo-card-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.repo-card-name svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    color: var(--glow-cyan);
    opacity: 0.7;
}

.repo-card-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.45;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.repo-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.repo-lang-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}

.repo-card-lang {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.repo-card-stat {
    display: flex;
    align-items: center;
    gap: 4px;
}

.repo-card-stat svg {
    width: 12px;
    height: 12px;
}

/* Responsive: 2 cols on medium, 1 on small */
@media (max-width: 900px) {
    .repos-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 650px) {
    .repos-grid { grid-template-columns: 1fr; }
}

.highlight-text {
    color: var(--text-primary);
    font-weight: 600;
}

.terminal-box {
    background: rgba(5, 7, 12, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 18px 24px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    position: relative;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.8);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.terminal-dot.red { background: #ef4444; }
.terminal-dot.yellow { background: #eab308; }
.terminal-dot.green { background: #22c55e; }

.terminal-title {
    margin-left: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.terminal-code {
    overflow-x: auto;
    color: #e2e8f0;
}

.terminal-code code::after {
    content: '_';
    animation: blink-cursor 1.1s step-end infinite;
    color: var(--glow-cyan);
    font-weight: bold;
}

@keyframes blink-cursor {
    from, to { opacity: 0; }
    50% { opacity: 1; }
}

.code-keyword { color: #f43f5e; }
.code-string { color: #10b981; }
.code-number { color: #f59e0b; }

/* TERMINAL CODE STYLING */

/* Progress bar inside specs */
.stat-progress-bar {
    width: 100%;
    max-width: 160px;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    overflow: hidden;
    margin-top: 4px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.progress-fill {
    height: 100%;
    border-radius: 100px;
    box-shadow: 0 0 8px currentColor;
    transition: width 0.6s ease;
}

/* TERMINAL HEADER ACTIVE BADGE */
.terminal-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}

.terminal-badge {
    margin-left: auto;
    font-size: 0.62rem;
    font-weight: 700;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 2px 8px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.06em;
}

.terminal-badge-pulse {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 6px #22c55e;
    animation: live-pulse 2s infinite ease-in-out;
}

/* TERMINAL INTERACTIVE COMMAND BAR & CLI OUTPUT */
.terminal-interactive-zone {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.terminal-chips {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.chips-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-weight: 600;
}

.term-chip {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
}

.term-chip:hover {
    background: rgba(37, 99, 235, 0.22);
    border-color: rgba(59, 130, 246, 0.5);
    color: #93c5fd;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.25);
}

.term-chip:active {
    transform: translateY(0);
}

.term-chip.term-chip-reset {
    color: var(--text-muted);
    border-style: dashed;
}

.term-chip.term-chip-reset:hover {
    color: #f87171;
    border-color: rgba(248, 113, 113, 0.4);
    background: rgba(239, 68, 68, 0.1);
    box-shadow: 0 3px 10px rgba(239, 68, 68, 0.2);
}

.terminal-cli-output {
    margin-top: 12px;
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    line-height: 1.55;
    animation: fadeInCli 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.terminal-cli-output.hidden {
    display: none;
}

@keyframes fadeInCli {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.cli-prompt-line {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.cli-user {
    color: #22c55e;
    font-weight: 700;
}

.cli-command {
    color: #38bdf8;
    font-weight: 600;
}

.cli-cursor {
    color: #38bdf8;
    animation: blink-cursor 0.8s infinite;
}

.cli-response-body {
    color: #cbd5e1;
    white-space: pre-wrap;
    font-size: 0.74rem;
    line-height: 1.6;
}

.cli-response-body a {
    color: var(--glow-cyan);
    text-decoration: underline;
}

@media (max-width: 500px) {
    .fastfetch-layout {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
        justify-items: center;
    }
    .fastfetch-specs {
        align-items: center;
    }
}

/* ABOUT ME + WIN11 TERMINAL (COL-SPAN-2) */
.about-card-content {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    padding: 22px 24px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.about-narrative-col {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-terminal-col {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* STANDALONE STATS CARD (COLUMN 3) */
.stats-card {
    height: 100%;
}

.stats-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 22px 24px;
    box-sizing: border-box;
}

.stats-card-content .card-header {
    margin-bottom: 8px;
}

.stats-items-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    flex: 1;
    gap: 12px;
    padding: 8px 0;
}

.stats-card .stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
    user-select: none;
}

.stats-card .stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #ffffff 35%, #ff5c8d 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
    filter: drop-shadow(0 2px 8px rgba(255, 92, 141, 0.25));
}

.stats-card .stat-label {
    font-size: 0.72rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    line-height: 1.35;
    text-align: center;
}

.stats-card .stat-divider {
    width: 36px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.about-narrative-col .card-header {
    margin-bottom: 12px;
}

.about-narrative-col .about-text {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* ABOUT ME CLEAN & CONNECTED STYLING */
.about-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 9px;
    border-radius: 100px;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.25);
    color: var(--glow-cyan);
    font-size: 0.72rem;
    font-weight: 600;
    font-family: var(--font-mono);
}

.about-narrative-col .about-text {
    font-size: 0.94rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 18px;
}

.about-narrative-col .about-name {
    color: #ffffff;
    font-weight: 600;
}

/* 3 Connected Specialty Badges (Clean 3-column Grid) */
.about-specialties {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.specialty-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.8rem;
    font-weight: 500;
    color: #cbd5e1;
    cursor: default;
    user-select: none;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.specialty-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.specialty-item.bot-item:hover {
    border-color: rgba(99, 102, 241, 0.35);
    background: rgba(99, 102, 241, 0.06);
}

.specialty-item.panel-item:hover {
    border-color: rgba(56, 189, 248, 0.35);
    background: rgba(56, 189, 248, 0.06);
}

.specialty-item.mc-item:hover {
    border-color: rgba(74, 222, 128, 0.35);
    background: rgba(74, 222, 128, 0.06);
}

.specialty-item .specialty-ico {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.bot-item .specialty-ico { color: #818cf8; }
.panel-item .specialty-ico { color: #38bdf8; }
.mc-item .specialty-ico { color: #4ade80; }

/* Quick Meta Line */
.about-quick-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.74rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.quick-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.quick-meta-bullet {
    color: rgba(255, 255, 255, 0.2);
}

.meta-ico {
    width: 13px;
    height: 13px;
    color: var(--glow-cyan);
}

.status-live-text {
    color: #22c55e;
    font-weight: 500;
}

.status-live-text .meta-ico {
    color: #22c55e;
}

/* CLEAN DEVELOPER CODE WINDOW */
.code-window {
    background: rgba(6, 9, 18, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.05);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.code-window:hover {
    border-color: rgba(0, 242, 254, 0.28);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 18px rgba(0, 242, 254, 0.08);
}

.code-window-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 14px;
    background: rgba(255, 255, 255, 0.025);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.window-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.window-dots .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.code-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 10px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tab-file-ico {
    width: 12px;
    height: 12px;
    color: var(--glow-cyan);
}

.code-status-pill {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

.code-window-body {
    padding: 14px 18px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    line-height: 1.65;
    overflow-x: auto;
}

.code-window-body pre {
    margin: 0;
    font-family: inherit;
}

.code-window-body code {
    font-family: inherit;
    white-space: pre;
}

.code-comment { color: #64748b; font-style: italic; }
.code-keyword { color: #f43f5e; font-weight: 600; }
.code-var { color: #f1f5f9; }
.code-prop { color: #38bdf8; }
.code-string { color: #34d399; }
.code-num { color: #f59e0b; }

.about-terminal-col .terminal-box {
    margin-top: 0;
}

/* PROJECTS SECTION */
.flex-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-tag {
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.25);
    color: var(--glow-cyan);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 10px;
}

.project-item {
    position: relative;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    height: 100%;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
}

.project-inner {
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

/* White/Cool border glow for projects */
.project-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: radial-gradient(
        250px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
        rgba(255, 255, 255, 0.22),
        transparent 50%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 5;
}

/* Dynamic background glow spotlight for project items */
.project-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        300px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
        rgba(0, 242, 254, 0.08),
        transparent 50%
    );
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.project-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 120%, rgba(30, 41, 59, 0) 30%, rgba(0, 242, 254, 0.04) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.project-item:hover {
    border-color: color-mix(in srgb, var(--proj-glow-color, #00f2fe) 40%, transparent);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.45), 
                0 0 20px color-mix(in srgb, var(--proj-glow-color, #00f2fe) 20%, transparent);
}

.project-item:hover::before,
.project-item:hover::after {
    opacity: 1;
}

.project-item:hover .project-glow {
    opacity: 1;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.project-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--glow-cyan);
}

.project-icon i {
    width: 18px;
    height: 18px;
}

.project-badge {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
}

.project-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.project-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.5;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.project-tags span {
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--tag-bg, rgba(255, 255, 255, 0.03));
    border: 1px solid color-mix(in srgb, var(--tag-color, rgba(255, 255, 255, 0.05)) 25%, transparent);
    color: var(--tag-color, var(--text-secondary));
    padding: 4px 10px;
    border-radius: 6px;
    transition: var(--transition-smooth);
}

.project-tags span:hover {
    background: color-mix(in srgb, var(--tag-color) 15%, transparent);
    border-color: var(--tag-color);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px color-mix(in srgb, var(--tag-color) 20%, transparent);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
    margin-top: auto;
    width: fit-content;
}

.project-link i {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.project-link:hover {
    color: var(--glow-cyan);
}

.project-link:hover i {
    transform: translate(2px, -2px);
}

/* PROJECTS EMPTY STATE */
.projects-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 65px 20px;
    text-align: center;
    color: var(--text-secondary);
    border: 1px dashed rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.01);
    gap: 14px;
    width: 100%;
}

.projects-empty-state p {
    font-size: 0.95rem;
    font-weight: 500;
}

.empty-icon {
    width: 32px;
    height: 32px;
    color: var(--glow-color, var(--glow-cyan));
    filter: drop-shadow(0 0 8px var(--glow-color, rgba(0, 242, 254, 0.3)));
    animation: pulse-slow 3s infinite ease-in-out;
}

@keyframes pulse-slow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.06); }
}

/* SKILLS CARD & PURE CSS TABS SYSTEM */
.skills-tab-system {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.tab-radio-input {
    display: none;
}

.skills-tabs-nav {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(13, 17, 28, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 4px;
    width: fit-content;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.45);
    margin-bottom: 6px;
}

.skills-tabs-nav::-webkit-scrollbar {
    display: none;
}

.tab-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 15px;
    border-radius: 8px;
    font-size: 0.81rem;
    font-weight: 500;
    color: #94a3b8;
    cursor: pointer;
    background: transparent;
    border: 1px solid transparent;
    transition: color 0.2s ease, background 0.2s ease;
    user-select: none;
    white-space: nowrap;
}

.tab-label .tab-icon {
    width: 14px;
    height: 14px;
    opacity: 0.65;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.tab-label:hover {
    color: #f1f5f9;
    background: rgba(255, 255, 255, 0.04);
}

.tab-label:hover .tab-icon {
    opacity: 0.9;
}

.skills-tab-panes {
    display: flex;
    flex-direction: column;
}

.tab-pane {
    display: none;
    flex-wrap: wrap;
    gap: 10px;
    animation: fadeInTab 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Checked Radio Toggles */
#tab-frontend:checked ~ .skills-tabs-nav label[for="tab-frontend"],
#tab-backend:checked ~ .skills-tabs-nav label[for="tab-backend"],
#tab-languages:checked ~ .skills-tabs-nav label[for="tab-languages"] {
    color: #ffffff;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

#tab-frontend:checked ~ .skills-tabs-nav label[for="tab-frontend"] .tab-icon,
#tab-backend:checked ~ .skills-tabs-nav label[for="tab-backend"] .tab-icon,
#tab-languages:checked ~ .skills-tabs-nav label[for="tab-languages"] .tab-icon {
    opacity: 1;
    color: #38bdf8;
}

#tab-frontend:checked ~ .skills-tab-panes .pane-frontend { display: flex; }
#tab-backend:checked ~ .skills-tab-panes .pane-backend { display: flex; }
#tab-languages:checked ~ .skills-tab-panes .pane-languages { display: flex; }

.skill-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 7px 15px;
    border-radius: 10px;
    font-size: 0.84rem;
    font-weight: 500;
    color: #cbd5e1;
    cursor: default;
    user-select: none;
}

.pill-icon {
    width: 14px;
    height: 14px;
    color: #94a3b8;
}

/* CONNECT/CONTACT CARD */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-group label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-group input,
.input-group textarea {
    background: rgba(5, 7, 12, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--glow-white);
    background: rgba(5, 7, 12, 0.8);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.06);
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    border: none;
    border-radius: var(--radius-md);
    padding: 14px;
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.btn-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.submit-btn:hover {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.25);
    background: #ffffff;
    transform: scale(1.01);
}

.submit-btn:hover .btn-arrow {
    transform: translateX(4px);
}

.form-feedback {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-md);
    padding: 16px;
    color: #34d399;
    font-size: 0.9rem;
    font-weight: 500;
    animation: fadeIn 0.4s ease forwards;
}

.feedback-icon {
    width: 20px;
    height: 20px;
}

.hidden {
    display: none !important;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

/* STAGGERED ENTRANCE ANIMATIONS (PURE CSS) */
@keyframes revealCard {
    from {
        opacity: 0;
        filter: blur(12px) brightness(0.85);
    }
    to {
        opacity: 1;
        filter: blur(0px) brightness(1);
    }
}

.glass-card {
    opacity: 0;
    animation: revealCard 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.profile-sidebar {
    animation-delay: 0.05s;
}

#about-card { animation-delay: 0.15s; }
#stats-card { animation-delay: 0.25s; }
#projects-card { animation-delay: 0.35s; }
#skills-card { animation-delay: 0.45s; }
#contact-card { animation-delay: 0.55s; }
#arcade-card { animation-delay: 0.65s; }

/* Legacy responsive rules removed in favor of unified bottom responsive suite */

/* ── CONNECT BUTTONS ──────────────────────────────────────────────── */
/* ── CONNECT BUTTONS ──────────────────────────────────────────────── */
.connect-subtitle {
    color: var(--text-secondary);
    font-size: 0.84rem;
    line-height: 1.5;
    margin-bottom: 16px;
    letter-spacing: -0.1px;
}

.connect-buttons {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.connect-btn {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 10px 14px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.065);
    text-decoration: none;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    user-select: none;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.25s ease,
                border-color 0.25s ease,
                box-shadow 0.25s ease;
}

/* Glowing left indicator line */
.connect-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 25%;
    bottom: 25%;
    width: 3px;
    background: var(--btn-accent, #00f2fe);
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transform: scaleY(0.4);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.connect-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(90deg, color-mix(in srgb, var(--btn-accent, #00f2fe) 9%, rgba(255, 255, 255, 0.03)) 0%, rgba(255, 255, 255, 0.015) 100%);
    border-color: color-mix(in srgb, var(--btn-accent, #00f2fe) 40%, rgba(255, 255, 255, 0.12));
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 16px color-mix(in srgb, var(--btn-accent, #00f2fe) 15%, transparent);
}

.connect-btn:hover::before {
    opacity: 1;
    top: 15%;
    bottom: 15%;
    transform: scaleY(1);
    box-shadow: 0 0 10px var(--btn-accent, #00f2fe);
}

/* Glass squircle icon container */
.connect-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--btn-accent, #00f2fe) 12%, rgba(255, 255, 255, 0.03));
    border: 1px solid color-mix(in srgb, var(--btn-accent, #00f2fe) 25%, rgba(255, 255, 255, 0.07));
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.25s ease,
                border-color 0.25s ease,
                box-shadow 0.25s ease;
}

.connect-svg {
    width: 18px;
    height: 18px;
    color: var(--btn-accent, #00f2fe);
    filter: drop-shadow(0 0 6px color-mix(in srgb, var(--btn-accent, #00f2fe) 40%, transparent));
    transition: transform 0.25s ease;
}

.connect-btn:hover .connect-icon-box {
    transform: scale(1.08);
    background: color-mix(in srgb, var(--btn-accent, #00f2fe) 20%, rgba(255, 255, 255, 0.05));
    border-color: color-mix(in srgb, var(--btn-accent, #00f2fe) 50%, transparent);
    box-shadow: 0 0 14px color-mix(in srgb, var(--btn-accent, #00f2fe) 35%, transparent);
}

/* Text layout */
.connect-btn-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.connect-btn-label {
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: -0.2px;
    color: #f1f5f9;
    line-height: 1.25;
    transition: color 0.2s ease;
}

.connect-btn-handle {
    font-size: 0.72rem;
    font-family: var(--font-mono);
    color: #94a3b8;
    letter-spacing: 0.2px;
    transition: color 0.25s ease;
}

.connect-btn:hover .connect-btn-label {
    color: #ffffff;
}

.connect-btn:hover .connect-btn-handle {
    color: var(--btn-accent, #00f2fe);
}

/* Modern circular arrow capsule */
.connect-arrow-box {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
    margin-left: auto;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.connect-btn-arrow {
    width: 13px;
    height: 13px;
    color: #64748b;
    transition: all 0.25s ease;
}

.connect-btn:hover .connect-arrow-box {
    background: color-mix(in srgb, var(--btn-accent, #00f2fe) 20%, rgba(255, 255, 255, 0.06));
    border-color: color-mix(in srgb, var(--btn-accent, #00f2fe) 45%, transparent);
}

.connect-btn:hover .connect-btn-arrow {
    color: #ffffff;
    transform: translate(1.5px, -1.5px);
}

/* ── SHINOBI ARCADE RETRO GAME STYLING ──────────────────────────────── */
.arcade-card-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.arcade-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-top: 10px;
}

.arcade-screen-container {
    background: #020306;
    border: 2px solid rgba(57, 255, 20, 0.15);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(57, 255, 20, 0.05);
    position: relative;
}

.arcade-screen-header {
    background: rgba(12, 16, 27, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
}

.screen-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.indicator-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #39ff14;
    box-shadow: 0 0 8px #39ff14;
}

.indicator-dot.blinking {
    animation: beacon-blink 1.2s infinite ease-in-out;
}

@keyframes beacon-blink {
    0%, 100% { opacity: 0.3; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.15); }
}

.arcade-stats-hud {
    display: flex;
    gap: 16px;
    font-size: 0.82rem;
    font-weight: 700;
}

.hud-item {
    color: var(--text-secondary);
}

.hud-val {
    margin-left: 2px;
}

.text-neon-green {
    color: #39ff14;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

.text-neon-pink {
    color: #ff5c8d;
    text-shadow: 0 0 10px rgba(255, 92, 141, 0.5);
}

.text-neon-cyan {
    color: #00f2fe;
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

/* The Gameplay Board */
.game-board {
    height: 380px;
    position: relative;
    background-color: #03050a;
    /* Grid blueprint canvas */
    background-image: 
        linear-gradient(rgba(57, 255, 20, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(57, 255, 20, 0.02) 1px, transparent 1px);
    background-size: 24px 24px;
    overflow: hidden;
    user-select: none;
    cursor: crosshair;
}

/* CRT Screen scanline overlay simulation */
.game-board::after {
    content: " ";
    display: block;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 4;
    background-size: 100% 4px, 6px 100%;
    pointer-events: none;
    opacity: 0.45;
}

#game-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color: transparent;
    cursor: crosshair;
}

/* Floating target */
.game-target {
    position: absolute;
    width: 65px;
    height: 65px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 80%);
    border: 2px dashed rgba(57, 255, 20, 0.45);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    outline: none;
    padding: 0;
    margin: 0;
    transition: transform 0.1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.1), inset 0 0 10px rgba(57, 255, 20, 0.1);
    animation: target-float 1.8s ease-in-out infinite alternate;
}

.game-target img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    pointer-events: none;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

@keyframes target-float {
    from { transform: translateY(0px) rotate(0deg); }
    to { transform: translateY(-6px) rotate(8deg); }
}

.game-target:hover {
    transform: scale(1.15);
    border-color: #39ff14;
    border-style: solid;
    box-shadow: 0 0 25px rgba(57, 255, 20, 0.4), inset 0 0 15px rgba(57, 255, 20, 0.25);
}

.game-target:active {
    transform: scale(0.9);
}

/* Target speech bubbles */
.game-bubble {
    position: absolute;
    background: rgba(12, 16, 27, 0.95);
    border: 1px solid rgba(57, 255, 20, 0.5);
    color: #39ff14;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.72rem;
    font-family: var(--font-mono);
    font-weight: 600;
    pointer-events: none;
    z-index: 5;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5), 0 0 10px rgba(57, 255, 20, 0.2);
    white-space: nowrap;
    transform: translate(-50%, 0);
    transition: opacity 0.2s ease;
}

.game-bubble-arrow {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(57, 255, 20, 0.5);
}

/* Game Over and Start screens */
.arcade-overlay-screen {
    position: absolute;
    inset: 0;
    background: rgba(4, 6, 12, 0.92);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
    padding: 20px;
    font-family: var(--font-sans);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.arcade-cabinet-deco {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.deco-title {
    font-family: 'Martyric', var(--font-sans);
    font-size: 2.5rem;
    background: linear-gradient(90deg, #39ff14, #00f2fe, #39ff14);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(57, 255, 20, 0.2);
    animation: flow-gradient 4s linear infinite;
}

@keyframes flow-gradient {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.deco-subtitle {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.arcade-play-btn {
    background: linear-gradient(135deg, #39ff14 0%, #00f2fe 100%);
    border: none;
    border-radius: var(--radius-md);
    padding: 14px 28px;
    color: #03050a;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 0 25px rgba(57, 255, 20, 0.35);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.5px;
}

.arcade-play-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 35px rgba(0, 242, 254, 0.55);
}

.arcade-play-btn:active {
    transform: translateY(1px);
}

.play-icon {
    width: 18px;
    height: 18px;
}

/* Game Over screen details */
.game-over-title {
    font-family: 'Martyric', var(--font-sans);
    font-size: 3.5rem;
    color: #ff5c8d;
    text-shadow: 0 0 30px rgba(255, 92, 141, 0.5);
    animation: gameover-flicker 2s infinite alternate;
}

@keyframes gameover-flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { opacity: 1; filter: drop-shadow(0 0 20px rgba(255, 92, 141, 0.5)); }
    20%, 24%, 55% { opacity: 0.6; filter: none; }
}

.game-over-stats {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 16px 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: var(--font-mono);
}

.go-stat-row {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.go-val {
    font-weight: 700;
    margin-left: 6px;
}

/* Controls Panel Styling */
.arcade-controls-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 22px 18px;
}

.control-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.control-section h3 {
    font-size: 0.72rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 800;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.control-section-icon {
    width: 12px;
    height: 12px;
}

/* Lives Panel */
.hearts-container {
    display: flex;
    gap: 8px;
}

.heart-icon {
    width: 22px;
    height: 22px;
    transition: all 0.3s ease;
}

.heart-active {
    color: #ef4444;
    fill: #ef4444;
    filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.7));
}

.heart-lost {
    color: var(--text-muted);
    fill: transparent;
    opacity: 0.3;
    transform: scale(0.85);
}

/* Scores Box */
.high-score-box {
    background: rgba(5, 7, 12, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-family: var(--font-mono);
}

.high-score-val {
    font-size: 1.15rem;
    font-weight: 700;
    color: #00f2fe;
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

/* Difficulty dropdown selection wrapper */
.difficulty-select-wrapper {
    position: relative;
}

.arcade-select {
    width: 100%;
    background: rgba(5, 7, 12, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    color: var(--text-primary);
    font-size: 0.82rem;
    font-family: inherit;
    cursor: pointer;
    outline: none;
    transition: var(--transition-smooth);
}

.arcade-select:focus {
    border-color: #39ff14;
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.15);
}

/* Avatar character list grid */
.avatar-select-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.avatar-select-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    padding: 8px;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-select-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.avatar-select-btn.active {
    background: rgba(57, 255, 20, 0.08);
    border-color: #39ff14;
    box-shadow: 0 0 12px rgba(57, 255, 20, 0.2);
}

/* Action button (mute toggle) */
.arcade-action-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.arcade-action-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.control-icon {
    width: 14px;
    height: 14px;
}

/* Screen shake animation (miss target) */
.screen-shake {
    animation: shake 0.35s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-3px, 1px, 0); }
    40%, 60% { transform: translate3d(3px, -1px, 0); }
}

/* Mutiplier trigger combo flash overlay */
.combo-flash-effect {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 5;
    animation: flash-fade 0.5s ease-out forwards;
}

@keyframes flash-fade {
    0% { opacity: 0; transform: scale(0.9); }
    30% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; }
}

/* Fire pulse animation for score text on combos */
.fire-pulse {
    animation: fire-glow 1s infinite alternate;
}

@keyframes fire-glow {
    from {
        color: #ff5c8d;
        text-shadow: 0 0 8px rgba(255, 92, 141, 0.6), 0 0 15px rgba(255, 92, 141, 0.3);
    }
    to {
        color: #ffbe0b;
        text-shadow: 0 0 12px rgba(255, 190, 11, 0.8), 0 0 20px rgba(255, 190, 11, 0.4);
    }
}

/* Responsive grid stacking overrides for game board */
@media (max-width: 900px) {
    .arcade-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .game-board {
        height: 320px;
    }
}

@media (max-width: 500px) {
    .deco-title {
        font-size: 2rem;
    }
    
    .game-board {
        height: 260px;
    }
    
    .game-target {
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }
}

/* ── DISCORD LANYARD RICH PRESENCE STYLING ──────────────────────────── */
.main-status-dot {
    position: absolute;
    bottom: 3px;
    right: 3px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #000000; /* Fills slit and cutout with solid black */
    box-shadow: 0 0 0 4px #000000; /* Circular cutout mask cutting through overlapping thorns cleanly */
}

.main-status-dot.online {
    background-color: #23a55a;
}

.main-status-dot.idle {
    background-image: url('../icons/idle.png');
}

.main-status-dot.dnd {
    background-image: url('../icons/dnd.png');
}

.main-status-dot.offline {
    background-image: url('../icons/offline.png');
}

.discord-presence-container {
    width: 100%;
    margin: 4px 0;
}

.discord-presence-card {
    background: rgba(30, 20, 42, 0.45);
    border: 1px solid rgba(157, 78, 221, 0.2);
    border-radius: var(--radius-md);
    padding: 14px;
    box-shadow: 0 8px 32px 0 rgba(15, 10, 25, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-align: left;
    transition: all 0.3s ease;
    width: 100%;
}

.discord-presence-card:hover {
    border-color: rgba(157, 78, 221, 0.45);
    box-shadow: 0 8px 32px 0 rgba(157, 78, 221, 0.15);
}

/* Hover Status Tooltip Card on Profile Picture */
.status-tooltip {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 260px;
    background: rgba(18, 12, 27, 0.95);
    border: 1px solid rgba(157, 78, 221, 0.35);
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
}

.status-tooltip::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: rgba(18, 12, 27, 0.95);
    border-left: 1px solid rgba(157, 78, 221, 0.35);
    border-top: 1px solid rgba(157, 78, 221, 0.35);
    z-index: -1;
}

.avatar-wrapper:hover .status-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.rpc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.68rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    font-family: var(--font-mono);
}

.rpc-logo-svg {
    width: 16px;
    height: 16px;
    display: block;
}

.rpc-body {
    display: flex;
    gap: 12px;
    align-items: center;
}

.rpc-assets {
    position: relative;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.rpc-large-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.rpc-small-img-container {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #1e192a;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #1a1324;
    overflow: hidden;
}

.rpc-small-img-container.play-badge {
    padding-left: 1px; /* Align play triangle */
}

.rpc-small-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rpc-details {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.rpc-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rpc-name {
    font-size: 0.76rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rpc-state {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rpc-timer-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-size: 0.72rem;
    color: #23a55a;
    font-weight: 600;
    font-family: var(--font-mono);
}

.rpc-timer-icon {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    display: block;
}

.rpc-options {
    color: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
}

.rpc-progress-container {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-mono);
}

.rpc-progress-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 2px;
    overflow: hidden;
}

.rpc-progress-fill {
    height: 100%;
    background: #ffffff;
    width: 0%;
    transition: width 1s linear;
}

/* Discord Profile Card Header Layout */
.discord-user-header {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    position: relative;
    text-align: left;
}

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

.discord-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1;
}

.discord-avatar-decoration {
    position: absolute;
    top: -4px;
    left: -4px;
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    pointer-events: none;
    z-index: 2;
}

.discord-status-dot {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    z-index: 3;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #000000;
    box-shadow: 0 0 0 2.5px #070a13;
}

.discord-status-dot.online {
    background-color: #23a55a;
}

.discord-status-dot.idle {
    background-image: url('../icons/idle.png');
}

.discord-status-dot.dnd {
    background-image: url('../icons/dnd.png');
}

.discord-status-dot.offline {
    background-image: url('../icons/offline.png');
}

.discord-user-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    text-align: left;
}

.discord-username {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 1.25;
}

.discord-status-text {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.35;
}

.discord-custom-status {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 8px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    text-align: left;
    width: 100%;
    line-height: 1.45;
}

.discord-custom-status .status-emoji {
    width: 14px;
    height: 14px;
    object-fit: contain;
    margin-top: 1px;
    flex-shrink: 0;
}

.discord-custom-status .custom-status-text {
    word-break: break-word;
    white-space: normal;
}

/* RPC divider and section layout */
.rpc-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 10px 0;
    width: 100%;
}

.rpc-activity-section {
    width: 100%;
    text-align: left;
}

.rpc-header-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
    font-family: var(--font-mono);
}

/* ── SIDEBAR PAGE NAVIGATION ────────────────────────────────────────── */
.sidebar-nav {
    display: flex;
    width: 100%;
    gap: 12px;
    margin: 18px 0;
    justify-content: center;
}

.nav-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
    flex: 1;
    justify-content: center;
    cursor: pointer;
}

.nav-link-btn .nav-icon {
    width: 15px;
    height: 15px;
    stroke-width: 2.2;
    transition: var(--transition-smooth);
}

.nav-link-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.12);
    transform: translateY(-2px);
}

.nav-link-btn.active {
    color: #ffffff;
    background: rgba(0, 242, 254, 0.1);
    border-color: var(--glow-cyan);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.nav-link-btn.active .nav-icon {
    color: var(--glow-cyan);
    filter: drop-shadow(0 0 5px var(--glow-cyan));
}

/* ── BIOGRAPHY RICH TEXT STYLING ────────────────────────────────────── */
.about-content-card {
    min-height: 100%;
    transform: none !important;
}

.about-content-card:hover {
    transform: none !important;
}

.bio-intro-section {
    margin-bottom: 35px;
}

.bio-section {
    margin-bottom: 40px;
    position: relative;
}

.bio-section:last-child {
    margin-bottom: 10px;
}

.bio-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bio-title-icon {
    width: 20px;
    height: 20px;
    color: var(--glow-cyan);
    filter: drop-shadow(0 0 5px var(--glow-cyan));
}

.bio-p {
    font-size: 0.96rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 16px;
    text-align: justify;
}

.bio-p:last-of-type {
    margin-bottom: 0;
}

.bio-highlight {
    color: #ffffff;
    font-weight: 600;
    position: relative;
    background: linear-gradient(120deg, rgba(0, 242, 254, 0.15) 0%, rgba(157, 78, 221, 0.15) 100%);
    padding: 2px 6px;
    border-radius: 4px;
    border-left: 2px solid var(--glow-cyan);
}

.bio-quote {
    background: rgba(255, 255, 255, 0.015);
    border-left: 3px solid var(--glow-purple);
    padding: 16px 20px;
    margin: 24px 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.bio-quote-text {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-primary);
    font-style: italic;
}

.bio-quote-author {
    display: block;
    margin-top: 8px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 700;
}

/* FLOATING GLASS TOAST NOTIFICATION */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast-item {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(10, 14, 26, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(59, 130, 246, 0.35);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(37, 99, 235, 0.25);
    padding: 12px 20px;
    border-radius: 12px;
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 0.86rem;
    font-weight: 500;
    transform: translateY(20px);
    opacity: 0;
    animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast-item.toast-out {
    animation: toastSlideOut 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast-icon {
    display: flex;
    align-items: center;
    color: #22c55e;
}

@keyframes toastSlideIn {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes toastSlideOut {
    to {
        transform: translateY(15px);
        opacity: 0;
    }
}

/* ── DEVELOPER JOURNEY / TIMELINE ────────────────────────────────────── */
.timeline-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 6px;
}

.timeline-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.35s ease, 
                background 0.35s ease, 
                box-shadow 0.35s ease;
}

/* Staggered entrance reveal animation */
#journey-card .timeline-card {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
}

#journey-card.animate-in .timeline-card {
    animation: timeline-card-reveal 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#journey-card.animate-in .timeline-card:nth-child(1) {
    animation-delay: 0.08s;
}

#journey-card.animate-in .timeline-card:nth-child(2) {
    animation-delay: 0.22s;
}

#journey-card.animate-in .timeline-card:nth-child(3) {
    animation-delay: 0.36s;
}

@keyframes timeline-card-reveal {
    0% {
        opacity: 0;
        transform: translateY(28px) scale(0.96);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.timeline-card:hover {
    transform: translateY(-6px) scale(1.015);
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(0, 242, 254, 0.38);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 24px rgba(0, 242, 254, 0.14);
}

.timeline-card.active-card {
    background: linear-gradient(180deg, rgba(0, 242, 254, 0.035) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-color: rgba(0, 242, 254, 0.25);
}

.timeline-card.active-card:hover {
    border-color: rgba(0, 242, 254, 0.6);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 242, 254, 0.22);
}

.timeline-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.timeline-meta-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.timeline-icon-box {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.timeline-card:hover .timeline-icon-box {
    transform: scale(1.12) rotate(4deg);
    border-color: rgba(0, 242, 254, 0.5);
    box-shadow: 0 4px 14px rgba(0, 242, 254, 0.25);
}

.timeline-card:hover .timeline-icon {
    color: #00f2fe;
}

.timeline-icon {
    width: 16px;
    height: 16px;
    color: #94a3b8;
    transition: color 0.25s ease;
}

.timeline-icon-box.active-icon-box {
    background: rgba(0, 242, 254, 0.1);
    border-color: rgba(0, 242, 254, 0.35);
}

.timeline-icon-box.active-icon-box .timeline-icon {
    color: #00f2fe;
}

.timeline-year {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 700;
    color: #00f2fe;
    letter-spacing: 0.3px;
}

.timeline-badge {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.timeline-badge.live-badge {
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    border-color: rgba(34, 197, 94, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.live-dot-mini {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 6px #22c55e;
    animation: livePulse 2s infinite ease-in-out;
}

.timeline-title {
    font-size: 1.02rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 8px;
    line-height: 1.35;
}

.timeline-desc {
    font-size: 0.82rem;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 16px;
    flex: 1;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}

.timeline-tag {
    font-size: 0.72rem;
    font-family: var(--font-mono);
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #cbd5e1;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.timeline-tag:hover {
    background: rgba(0, 242, 254, 0.1);
    border-color: rgba(0, 242, 254, 0.3);
    color: #00f2fe;
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .timeline-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ==========================================================================
   MINECRAFT COBALT BAR (FLAT SOLID GREY, NO EFFECTS)
   ========================================================================== */
#minecraft-card.mc-cobalt-card {
    position: relative !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #11141a !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: none !important;
    transform: none !important;
    transition: border-color 0.2s ease !important;
}

#minecraft-card.mc-cobalt-card::before,
#minecraft-card.mc-cobalt-card::after,
#minecraft-card.mc-cobalt-card .shine-border {
    display: none !important;
}

#minecraft-card.mc-cobalt-card:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Zoomed, cut, and subtly blurred background layer */
.mc-card-bg-layer {
    position: absolute;
    inset: -8px;
    background: url('../images/mc_card_bg.jpg') center 45% / cover no-repeat;
    transform: scale(1.35);
    filter: blur(1.5px) brightness(0.68) saturate(1.1);
    pointer-events: none;
    z-index: 1;
}

/* Semi-transparent dark overlay for perfect text contrast */
.mc-card-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg, 
        rgba(14, 18, 24, 0.8) 0%, 
        rgba(15, 20, 28, 0.55) 50%, 
        rgba(14, 18, 24, 0.8) 100%
    );
    pointer-events: none;
    z-index: 2;
}

.mc-cobalt-content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center; /* Center horizontally aligned content */
    justify-content: space-between;
    padding: 0 28px 0 24px;
    gap: 24px;
    min-height: 105px;
}

.mc-cobalt-left {
    display: flex;
    align-items: flex-end; /* Sits flush with bottom */
    gap: 20px;
    min-width: 0;
    align-self: stretch; /* Stretches to bottom edge so bust touches bottom */
}

.mc-bust-wrapper {
    position: relative;
    width: 92px;
    height: 92px;
    flex-shrink: 0;
    display: flex;
    align-items: flex-end; /* Sits flush against the bottom edge */
    justify-content: center;
    overflow: visible;
}

.mc-cobalt-bust {
    width: 98px;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5));
    margin-bottom: 0;
}

.mc-cobalt-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    min-width: 0;
    align-self: center;
    padding: 12px 0;
}

.mc-cobalt-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.mc-cobalt-title {
    font-family: 'Minecraft', monospace;
    font-size: 2.15rem; /* Significantly bigger */
    font-weight: 400;
    color: #00b4d8;
    margin: 0;
    letter-spacing: 0.05em;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.7);
    line-height: 1.15;
}

.mc-java-tag {
    font-size: 0.74rem;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 5px;
    background: rgba(0, 180, 216, 0.12);
    border: 1px solid rgba(0, 180, 216, 0.28);
    color: #38bdf8;
    letter-spacing: 0.02em;
}

.mc-cobalt-sub {
    font-size: 0.9rem;
    color: #8c9ba5;
    margin: 0;
    line-height: 1.3;
}

.mc-uuid-copy-inline {
    cursor: pointer;
    transition: color 0.2s ease;
}

.mc-uuid-copy-inline code {
    font-family: var(--font-mono);
    color: #94a3b8;
    font-size: 0.84rem;
}

.mc-uuid-copy-inline:hover code {
    color: #38bdf8;
}

.mc-cobalt-actions {
    display: flex;
    align-items: center;
    align-self: center; /* PERFECTLY CENTERED VERTICALLY IN THE CARD */
    gap: 12px;
    flex-shrink: 0;
    padding: 0;
    margin: 0;
}

.cobalt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 7px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
}

.cobalt-btn-primary {
    background: #0088a8;
    color: #ffffff;
    border: 1px solid #009ec4;
}

.cobalt-btn-primary:hover {
    background: #009ec4;
    color: #ffffff;
}

.cobalt-btn-secondary {
    background: #232730;
    color: #e2e8f0;
    border: 1px solid #333945;
}

.cobalt-btn-secondary:hover {
    background: #2c323e;
    border-color: #454d5d;
    color: #ffffff;
}

.cobalt-btn.btn-copied {
    border-color: #00b4d8 !important;
    color: #38bdf8 !important;
}

.cobalt-btn .btn-ico {
    width: 15px;
    height: 15px;
}

/* ==========================================================================
   RESPONSIVE DESIGN: PC, TABLET & MOBILE PERFECTION
   ========================================================================== */

/* Universal Overflow & Layout Protection */
html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
    position: relative;
    -webkit-text-size-adjust: 100%;
}

*, *::before, *::after {
    box-sizing: border-box !important;
}

/* ── LAPTOPS & MEDIUM SCREENS (1025px - 1360px) ────────────────────────── */
@media (max-width: 1360px) {
    .container {
        padding-left: calc(310px + 20px);
        width: 96%;
    }

    .profile-sidebar {
        width: 310px;
        left: max(2vw, calc(50vw - min(756px, 48vw)));
    }

    .bento-grid {
        grid-template-columns: 1fr 1fr 260px;
        gap: 16px;
    }

    .about-card-content {
        gap: 16px;
        padding: 20px;
    }
}

/* ── TABLETS & IPADS (769px - 1024px) ───────────────────────────────────── */
@media (max-width: 1024px) {
    .container {
        display: flex !important;
        flex-direction: column !important;
        max-width: 860px !important;
        width: 92% !important;
        margin: 0 auto !important;
        padding: 20px 0 40px !important;
        gap: 20px !important;
    }

    .profile-sidebar {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        position: static !important;
        top: auto !important;
        width: 100% !important;
        padding: 26px 20px !important;
        transform: none !important;
        transform-style: flat !important;
        overflow: visible !important;
    }

    .profile-sidebar:hover {
        transform: none !important;
    }

    .main-content-wrapper {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 18px !important;
    }

    .bento-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 16px !important;
        width: 100% !important;
    }

    .col-span-2,
    .col-span-3 {
        grid-column: 1 / -1 !important;
    }

    .about-card-content {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
        padding: 20px !important;
    }

    .stats-card-content {
        padding: 20px !important;
    }

    .stats-items-wrapper {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: space-around !important;
        gap: 16px !important;
    }

    .timeline-container {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    #journey-card .timeline-card {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ── MOBILE PHONES (<= 768px) ────────────────────────────────────────────── */
@media (max-width: 768px) {
    /* 1. Page Container & Layout */
    .container {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 14px 14px 40px !important;
        gap: 14px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    .site-bg-layer {
        inset: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        filter: blur(8px) !important;
        transform: none !important;
    }

    /* 2. Profile Sidebar Card (Clean, Compact, Touch-Friendly) */
    .profile-sidebar {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        position: static !important;
        top: auto !important;
        width: 100% !important;
        padding: 20px 16px !important;
        transform: none !important;
        transform-style: flat !important;
        overflow: hidden !important;
        border-radius: var(--radius-md) !important;
        box-sizing: border-box !important;
    }

    .profile-sidebar:hover {
        transform: none !important;
    }

    .status-badge-container {
        margin-bottom: 12px !important;
        padding: 5px 12px !important;
        font-size: 0.74rem !important;
    }

    .avatar-wrapper {
        width: 96px !important;
        height: 96px !important;
        margin: 0 auto 10px !important;
    }

    .profile-avatar {
        border-width: 2px !important;
    }

    .main-avatar-decoration,
    .discord-avatar-decoration {
        transform: scale(0.95) !important;
    }

    .profile-name {
        font-size: 1.85rem !important;
        padding: 0 4px !important;
        letter-spacing: 0px !important;
        line-height: 1.1 !important;
        margin-bottom: 2px !important;
    }

    .alias-tag {
        font-size: 0.7rem !important;
        padding: 4px 10px !important;
        margin-bottom: 8px !important;
    }

    .profile-title {
        font-size: 0.84rem !important;
        margin-bottom: 4px !important;
    }

    .divider {
        margin: 12px auto !important;
        width: 100% !important;
    }

    .profile-bio {
        font-size: 0.82rem !important;
        margin-bottom: 10px !important;
        line-height: 1.5 !important;
        padding: 0 4px !important;
    }

    .profile-meta {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 6px !important;
        width: 100% !important;
    }

    .meta-item {
        font-size: 0.76rem !important;
    }

    .live-time-pill {
        font-size: 0.74rem !important;
        padding: 4px 12px !important;
        max-width: 100% !important;
        white-space: nowrap !important;
    }

    .social-links {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px !important;
        margin-top: 14px !important;
        width: 100% !important;
    }

    .social-btn {
        width: 38px !important;
        height: 38px !important;
        border-radius: 10px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .social-btn img {
        width: 19px !important;
        height: 19px !important;
    }

    /* 3. Main Content & Bento Stack */
    .main-content-wrapper {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 14px !important;
    }

    .bento-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
        width: 100% !important;
    }

    .bento-card,
    .col-span-2,
    .col-span-3,
    .col-span-1 {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: var(--radius-md) !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .card-content {
        padding: 16px 14px !important;
    }

    /* 4. Minecraft Card (Cobalt Style) */
    .mc-cobalt-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 14px !important;
        gap: 12px !important;
        min-height: auto !important;
    }

    .mc-cobalt-left {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .mc-bust-wrapper {
        width: 52px !important;
        height: 52px !important;
        flex-shrink: 0 !important;
    }

    .mc-cobalt-bust {
        width: 56px !important;
        height: auto !important;
    }

    .mc-cobalt-info {
        display: flex !important;
        flex-direction: column !important;
        gap: 2px !important;
        min-width: 0 !important;
        flex: 1 !important;
        padding: 0 !important;
    }

    .mc-cobalt-title {
        font-size: 1.4rem !important;
        line-height: 1.15 !important;
    }

    .mc-cobalt-sub {
        font-size: 0.72rem !important;
    }

    .mc-cobalt-actions {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        width: 100% !important;
        padding: 0 !important;
    }

    .cobalt-btn {
        width: 100% !important;
        padding: 9px 12px !important;
        font-size: 0.8rem !important;
        height: 40px !important;
        justify-content: center !important;
    }

    /* 5. About Me Card */
    .about-card-content {
        display: flex !important;
        flex-direction: column !important;
        padding: 16px 14px !important;
        gap: 16px !important;
    }

    .about-narrative-col,
    .about-terminal-col {
        width: 100% !important;
        min-width: 0 !important;
    }

    .about-text {
        font-size: 0.86rem !important;
        line-height: 1.6 !important;
    }

    .about-specialties {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)) !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .specialty-item {
        padding: 8px 12px !important;
        font-size: 0.76rem !important;
        justify-content: flex-start !important;
    }

    .about-quick-meta {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px 10px !important;
        font-size: 0.74rem !important;
        align-items: center !important;
    }

    .code-window {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: var(--radius-sm) !important;
    }

    .code-window-body {
        padding: 12px 14px !important;
        font-size: 0.72rem !important;
        line-height: 1.5 !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .code-window-body pre,
    .code-window-body code {
        white-space: pre-wrap !important;
        word-break: break-word !important;
    }

    /* 6. Stats Card */
    .stats-card-content {
        padding: 16px 14px !important;
    }

    .stats-items-wrapper {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-around !important;
        width: 100% !important;
        padding: 8px 0 !important;
        gap: 4px !important;
    }

    .stats-card .stat-box {
        flex: 1 !important;
        text-align: center !important;
        min-width: 0 !important;
    }

    .stats-card .stat-number {
        font-size: 1.45rem !important;
        line-height: 1.1 !important;
        margin-bottom: 4px !important;
    }

    .stats-card .stat-label {
        font-size: 0.62rem !important;
        letter-spacing: 0.03em !important;
        line-height: 1.25 !important;
    }

    .stats-card .stat-divider {
        display: block !important;
        width: 1px !important;
        height: 28px !important;
        background: rgba(255, 255, 255, 0.12) !important;
        flex-shrink: 0 !important;
    }

    /* 7. Skills & Technologies Tabs (No Overflow, Perfectly Proportioned) */
    .skills-tabs-nav {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        width: 100% !important;
        box-sizing: border-box !important;
        gap: 3px !important;
        padding: 3px !important;
        border-radius: 10px !important;
        background: rgba(13, 17, 28, 0.75) !important;
        overflow: hidden !important;
    }

    .tab-label {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 0.7rem !important;
        padding: 7px 4px !important;
        white-space: nowrap !important;
        text-align: center !important;
        gap: 4px !important;
        min-width: 0 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .tab-label .tab-icon {
        width: 12px !important;
        height: 12px !important;
        flex-shrink: 0 !important;
    }

    .tab-pane {
        gap: 6px !important;
        display: flex !important;
        flex-wrap: wrap !important;
    }

    .skill-pill {
        font-size: 0.72rem !important;
        padding: 5px 9px !important;
    }

    /* 8. Repositories Grid */
    .repos-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .repo-card {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 14px !important;
    }

    /* 9. Developer Journey */
    .timeline-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .timeline-card,
    #journey-card .timeline-card {
        width: 100% !important;
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        box-sizing: border-box !important;
        padding: 16px 14px !important;
    }

    .timeline-title {
        font-size: 0.95rem !important;
    }

    .timeline-desc {
        font-size: 0.8rem !important;
        line-height: 1.55 !important;
        margin-bottom: 12px !important;
    }

    .timeline-tags {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 5px !important;
    }

    /* 10. Toasts on Mobile */
    .toast-container {
        left: 14px !important;
        right: 14px !important;
        bottom: 14px !important;
    }

    .toast-item {
        font-size: 0.78rem !important;
        padding: 10px 14px !important;
        width: 100% !important;
        justify-content: center !important;
    }
}

/* ── SMALL PHONES (<= 420px) ────────────────────────────────────────────── */
@media (max-width: 420px) {
    .container {
        padding: 12px 12px 36px !important;
        gap: 12px !important;
    }

    .tab-label .tab-icon {
        display: none !important;
    }

    .tab-label {
        font-size: 0.68rem !important;
        padding: 6px 2px !important;
    }

    .profile-name {
        font-size: 1.75rem !important;
    }

    .mc-cobalt-title {
        font-size: 1.3rem !important;
    }

    .stats-card .stat-number {
        font-size: 1.35rem !important;
    }

    .stats-card .stat-label {
        font-size: 0.58rem !important;
    }

    .social-btn {
        width: 36px !important;
        height: 36px !important;
    }
}



