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

/* DESIGN SYSTEM & TOKENS */
:root {
    --bg-dark: #06070a;
    --card-bg: rgba(12, 16, 27, 0.5);
    --card-bg-hover: rgba(18, 24, 40, 0.65);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.28);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #475569;
    
    --glow-cyan: #00f2fe;
    --glow-purple: #9d4edd;
    --glow-blue: #3b82f6;
    --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: #020205; /* Pitch space black */
    background-attachment: fixed;
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}



/* 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);
}

/* STARFIELD CANVAS */
#starfield-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
    background-color: transparent;
}

/* CELESTIAL GALAXY BACKDROP */
.galaxy-bg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -3;
    pointer-events: none;
    background: #020205; /* Pitch space black */
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.22;
    pointer-events: none;
    z-index: 1;
    animation: galaxy-drift 22s infinite alternate ease-in-out;
}

.orb-1 {
    top: 10%;
    left: -5%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(157, 78, 221, 0.15) 0%, transparent 80%);
}

.orb-2 {
    bottom: -10%;
    right: -10%;
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.12) 0%, transparent 80%);
    animation-delay: -5s;
    animation-duration: 28s;
}

.orb-3 {
    top: 40%;
    left: 35%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 92, 141, 0.12) 0%, transparent 80%);
    animation-delay: -10s;
    animation-duration: 18s;
}

@keyframes galaxy-drift {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, 40px) scale(1.08); }
    100% { transform: translate(-30px, -20px) scale(0.95); }
}

/* LAYOUT CONTAINER */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
    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;
    /* Clean perspective tilt binding */
    transform: perspective(1000px) rotateX(var(--rotate-x, 0deg)) rotateY(var(--rotate-y, 0deg));
    transform-style: preserve-3d;
    transition: transform 0.15s cubic-bezier(0.25, 1, 0.5, 1), 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 (Full card blueprint mesh) */
.deco-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 14px 14px;
    opacity: 0.5;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.glass-card:hover .deco-dots {
    opacity: 0.95;
}

/* 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: 35px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

/* SIDEBAR PROFILE CARD */
.profile-sidebar {
    height: calc(100vh - 80px);
    position: fixed;
    width: 350px;
    top: 40px;
    align-items: center;
    text-align: center;
    padding: 30px 24px;
    overflow-y: auto;
}

.profile-sidebar::-webkit-scrollbar {
    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: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 24px;
    font-size: 0.8rem;
    font-weight: 500;
}

.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: 130px;
    height: 130px;
    margin-bottom: 20px;
}

.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);
}

.profile-name {
    font-family: 'Martyric', var(--font-sans);
    font-size: 2.7rem;
    font-weight: normal;
    letter-spacing: 0.5px;
    background: linear-gradient(90deg, #00f2fe, #00f5d4, #9d4edd, #ff5c8d, #00f2fe);
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2px;
    animation: cool-text-gradient 6s linear infinite;
    filter: drop-shadow(0 2px 10px rgba(0, 242, 254, 0.25));
    display: inline-block;
    padding: 0 14px; /* prevents slanted A from clipping */
}

.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: 5px 12px;
    border-radius: 8px;
    font-size: 0.72rem;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    margin-bottom: 14px;
    letter-spacing: 0.5px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.02);
}

.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% {
        background-position: 0% center;
        filter: drop-shadow(0 2px 10px rgba(0, 242, 254, 0.35));
    }
    25% {
        filter: drop-shadow(0 2px 10px rgba(0, 245, 212, 0.35));
    }
    50% {
        background-position: 150% center;
        filter: drop-shadow(0 2px 10px rgba(157, 78, 221, 0.35));
    }
    75% {
        filter: drop-shadow(0 2px 10px rgba(255, 92, 141, 0.35));
    }
    100% {
        background-position: 300% center;
        filter: drop-shadow(0 2px 10px rgba(0, 242, 254, 0.35));
    }
}

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

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

.profile-bio {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

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

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

.meta-icon {
    width: 16px;
    height: 16px;
    color: var(--glow-cyan);
}
.social-links {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-top: 15px;
}

.social-btn {
    width: 46px;
    height: 46px;
    border-radius: 14px; /* Sleek Squircle App Icon shape */
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-btn img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Fluid internal radial hover spot glow */
.social-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, var(--social-hover-color) 0%, transparent 80%);
    opacity: 0;
    transform: scale(0.6);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
    z-index: 1;
}

.social-btn:hover {
    border-color: var(--social-hover-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45), 0 0 15px color-mix(in srgb, var(--social-hover-color) 40%, transparent);
}

.social-btn:hover::before {
    opacity: 0.15;
    transform: scale(1.2);
}

.social-btn:hover img {
    transform: scale(1.22) rotate(8deg);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
}

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

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(280px, auto);
    gap: 25px;
}

.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 {
    min-height: 280px;
}

/* BANNER CARD SPECIFIC STYLING */
#banner-card {
    height: 180px;
    min-height: 180px;
    padding: 0;
    overflow: hidden;
}

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

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

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

.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;
    position: relative;
    display: inline-block;
}

.highlight-text::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 4px;
    background: rgba(0, 242, 254, 0.3);
    border-radius: 2px;
    z-index: -1;
}

.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; }

/* VPS TERMINAL & FASTFETCH */
.vps-terminal {
    font-family: var(--font-mono), monospace;
    font-size: 0.8rem;
    line-height: 1.5;
}

.fastfetch-layout {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 20px;
    align-items: center;
    padding: 10px 5px;
}

.fastfetch-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.arch-svg {
    width: 90px;
    height: 90px;
    filter: drop-shadow(0 0 12px rgba(0, 242, 254, 0.6));
    transition: filter 0.4s ease, transform 0.4s ease;
}

.arch-svg:hover {
    filter: drop-shadow(0 0 22px rgba(0, 242, 254, 0.9));
    transform: scale(1.05);
}

.fastfetch-specs {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.user-host {
    color: var(--glow-cyan);
    font-weight: 700;
}

.at-symbol {
    color: var(--text-muted);
}

.vps-node {
    color: var(--glow-purple);
    font-weight: 700;
}

.spec-separator {
    color: var(--text-muted);
    letter-spacing: -1px;
}

.spec-item {
    color: var(--text-primary);
}

.spec-key {
    color: var(--glow-cyan);
    font-weight: 600;
}

.spec-value {
    color: var(--text-secondary);
}

/* 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;
}

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

/* STATS CARD */
.stats-content {
    justify-content: space-around;
    align-items: center;
}

.stat-box {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: 2.6rem;
    font-weight: 800;
    background: linear-gradient(90deg, #ffffff 30%, var(--glow-color, #ff5c8d) 50%, #ffffff 70%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    filter: drop-shadow(0 0 15px color-mix(in srgb, var(--glow-color, #ff5c8d) 20%, transparent));
    transition: background-position 0.6s ease;
}

#stats-card:hover .stat-number {
    animation: stat-number-flow 2.5s linear infinite;
}

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

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

.stat-divider {
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

/* 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%;
    transform: perspective(1000px) rotateX(var(--rotate-x, 0deg)) rotateY(var(--rotate-y, 0deg));
    transform-style: preserve-3d;
    transition: transform 0.15s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
}

.project-item:not(:hover) {
    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;
}

.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: flex;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
    overflow-x: auto;
    scrollbar-width: none;
}

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

.tab-label {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: var(--transition-smooth);
    user-select: none;
    white-space: nowrap;
}

.tab-label:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.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;
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--glow-color, rgba(0, 242, 254, 0.35));
    box-shadow: 0 0 15px color-mix(in srgb, var(--glow-color, #00f2fe) 15%, transparent);
}

#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.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.pill-icon {
    width: 14px;
    height: 14px;
    color: var(--glow-cyan);
    transition: var(--transition-smooth);
}

.skill-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--skill-color, rgba(255, 255, 255, 0.3));
    box-shadow: 0 0 20px var(--skill-color, rgba(255, 255, 255, 0.05)), inset 0 0 10px rgba(255, 255, 255, 0.02);
    transform: translateY(-3px);
    color: #ffffff;
}

.skill-pill:hover .pill-icon {
    color: var(--skill-color, var(--glow-cyan));
    filter: drop-shadow(0 0 8px var(--skill-color));
}

/* 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; }

/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
    .container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .profile-sidebar {
        position: relative;
        top: 0;
        width: 100%;
        height: auto;
    }
    
    .main-content-wrapper {
        grid-column: auto;
    }
    
    .bento-grid {
        grid-column: auto;
    }
}

@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .col-span-3 {
        grid-column: span 2;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .bento-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .col-span-2, .col-span-3 {
        grid-column: span 1;
    }
    
    .projects-grid,
    .repos-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .container {
        padding: 16px 10px;
        gap: 16px;
    }
    
    .card-content {
        padding: 20px 16px;
    }
    
    .terminal-box {
        padding: 12px 16px;
    }
    
    #banner-card {
        height: 120px;
        min-height: 120px;
    }
}

@media (max-width: 500px) {
    .profile-name {
        font-size: 2.2rem;
    }
    .profile-sidebar {
        padding: 30px 20px;
    }
}

/* ── CONNECT BUTTONS ──────────────────────────────────────────────── */
.connect-subtitle {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.55;
    margin-bottom: 16px;
    opacity: 0.8;
}

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

.connect-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.connect-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: var(--btn-accent, #00f2fe);
    opacity: 0.08;
    border-radius: 14px;
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.connect-btn:hover::before {
    width: 100%;
}

.connect-btn:hover {
    border-color: color-mix(in srgb, var(--btn-accent, #00f2fe), transparent 65%);
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.05);
}

.connect-btn > svg:first-child {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: var(--btn-accent, #00f2fe);
    opacity: 0.85;
    transition: opacity 0.3s, transform 0.3s;
    position: relative;
    z-index: 1;
}

.connect-btn:hover > svg:first-child {
    opacity: 1;
    transform: scale(1.12);
}

.connect-btn-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.connect-btn-label {
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-primary);
}

.connect-btn-handle {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.01em;
    transition: color 0.3s;
}

.connect-btn:hover .connect-btn-handle {
    color: var(--text-secondary);
}

.connect-btn-arrow {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--text-muted);
    opacity: 0;
    transform: translate(-6px, 6px);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    z-index: 1;
}

.connect-btn:hover .connect-btn-arrow {
    opacity: 0.7;
    transform: translate(0, 0);
    color: var(--btn-accent, #00f2fe);
}

/* Instagram gradient icon */
.connect-btn--insta > svg:first-child {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.connect-btn--insta:hover::before {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

/* ── 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: 5px;
    right: 5px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 3px solid #020205; /* Matches body dark backdrop */
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.main-status-dot.online { background-color: #23a55a; }
.main-status-dot.idle { background-color: #f0b232; }
.main-status-dot.dnd { background-color: #f23f43; }
.main-status-dot.offline { background-color: #80848e; }

.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: -1px;
    right: -1px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 2px solid #070a13; /* Matches sidebar card background */
    z-index: 3;
}

.discord-status-dot.online { background-color: #23a55a; }
.discord-status-dot.idle { background-color: #f0b232; }
.discord-status-dot.dnd { background-color: #f23f43; }
.discord-status-dot.offline { background-color: #80848e; }

.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;
}


