:root {
    --navy-bg: #070b14;
    --navy-card: rgba(15, 23, 42, 0.75);
    --neon-blue: #00d2ff;
    --neon-glow: #0084ff;
    --accent-cyan: #06b6d4;
    --accent-purple: #8b5cf6;
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-glass: rgba(255, 255, 255, 0.12);
    --glass-blur: blur(18px);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.65;
    color: var(--text-main);
    background-color: var(--navy-bg);
    background-image: 
        radial-gradient(at 0% 10%, rgba(139, 92, 246, 0.22) 0px, transparent 45%),
        radial-gradient(at 100% 25%, rgba(0, 210, 255, 0.2) 0px, transparent 45%),
        radial-gradient(at 50% 90%, rgba(0, 132, 255, 0.22) 0px, transparent 50%);
    background-attachment: fixed;
    min-height: 100vh;
}

header {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2.5rem 1.5rem 4.5rem;
    text-align: center;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, rgba(7, 11, 20, 0.96) 100%);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-glass);
    overflow: hidden;
}

header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 80%);
    pointer-events: none;
}

header::after {
    content: "";
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 220px;
    background: radial-gradient(ellipse, rgba(0, 210, 255, 0.25) 0%, rgba(139, 92, 246, 0.18) 50%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.header-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-avatar-wrapper {
    position: relative;
    width: 85px;
    height: 85px;
    margin-bottom: 1rem;
}

.hero-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 2px solid var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.4), 0 8px 25px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease;
}

.hero-avatar-wrapper:hover .hero-avatar-img {
    transform: scale(1.05);
}

.avatar-online-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 15px;
    height: 15px;
    background-color: var(--accent-emerald);
    border: 3px solid #070b14;
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-emerald);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.85rem;
    border-radius: 9999px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 0.85rem;
}

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

@keyframes pulse-dot {
    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 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

header h1 {
    font-size: clamp(1.85rem, 4.5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #ffffff;
    margin-bottom: 0.4rem;
    line-height: 1.2;
}

.gradient-name {
    background: linear-gradient(120deg, #ffffff 15%, var(--neon-blue) 70%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 620px;
    margin-bottom: 1.1rem;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.3rem;
}

.tag-pill {
    font-size: 0.75rem;
    font-weight: 500;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
}

.code-terminal {
    width: 100%;
    max-width: 480px;
    background: rgba(10, 15, 29, 0.85);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.6);
    text-align: left;
}

.terminal-bar {
    background: rgba(15, 23, 42, 0.95);
    padding: 0.5rem 0.8rem;
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: 1px solid var(--border-glass);
}

.terminal-dots { 
    display: flex; 
    gap: 5px; 
}

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

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

.terminal-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family: monospace;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.terminal-body {
    padding: 0.85rem 1rem;
    font-family: monospace;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #cbd5e1;
}

.code-keyword { color: #f43f5e; font-weight: 600; }
.code-var { color: var(--accent-purple); }
.code-prop { color: var(--neon-blue); }
.code-string { color: #a7f3d0; }
.prompt-arrow { color: var(--accent-emerald); font-weight: bold; margin-right: 0.4rem; }
.cursor { color: var(--neon-blue); font-weight: bold; animation: blink 1s infinite; }

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

.hero-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2.5rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.3rem;
    border-radius: 9px;
    font-weight: 600;
    font-size: 0.88rem;
    color: #070b14;
    background: linear-gradient(135deg, #ffffff 0%, var(--neon-blue) 100%);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.35);
    transition: all 0.25s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.6);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.3rem;
    border-radius: 9px;
    font-weight: 600;
    font-size: 0.88rem;
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.scroll-down-indicator {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--neon-blue);
    text-decoration: none;
    animation: bounce 2s infinite;
    opacity: 0.8;
}

.scroll-down-indicator svg {
    width: 28px;
    height: 28px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -10px); }
    60% { transform: translate(-50%, -5px); }
}

nav {
    background: rgba(7, 11, 20, 0.88);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-glass);
    padding: 0.85rem 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.25rem;
}

nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.4rem 1.1rem;
    border-radius: 9999px;
    border: 1px solid transparent;
    transition: all 0.25s ease;
}

nav a:hover, nav a:focus {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(0, 210, 255, 0.25));
    border-color: rgba(0, 210, 255, 0.4);
}

main {
    max-width: 840px;
    margin: 3rem auto;
    padding: 0 1.25rem;
}

section {
    background: var(--navy-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 2.2rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

h2 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 0.75rem;
    margin-bottom: 1.75rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

h2::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 1.3rem;
    background: linear-gradient(180deg, var(--neon-blue), var(--accent-purple));
    border-radius: 4px;
    box-shadow: 0 0 10px var(--neon-blue);
}

h3 {
    font-size: 1.2rem;
    color: var(--neon-blue);
    margin-bottom: 0.6rem;
}

.profile-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

@media (min-width: 680px) {
    .profile-wrapper {
        flex-direction: row;
        align-items: center;
    }
}

.glow-card-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.id-card {
    position: relative;
    width: 250px;
    height: 350px;
    border-radius: 26px;
    overflow: hidden;
    border: 2px solid var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.45), 0 0 45px rgba(0, 132, 255, 0.2), 0 20px 40px rgba(0, 0, 0, 0.7);
    background-color: #0b1329;
    transition: transform 0.3s ease;
}

.id-card:hover {
    transform: translateY(-4px);
}

.card-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    background: linear-gradient(180deg, rgba(7, 11, 20, 0) 40%, rgba(7, 11, 20, 0.75) 65%, rgba(0, 60, 140, 0.95) 100%);
}

.name-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.25rem;
}

.user-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
}

.verified-icon {
    width: 18px;
    height: 18px;
    color: var(--neon-blue);
    flex-shrink: 0;
}

.user-role {
    font-size: 0.78rem;
    line-height: 1.35;
    color: #e2e8f0;
    margin-bottom: 0.75rem;
}

.card-action-bar {
    display: flex;
    align-items: center;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.card-stats {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--neon-blue);
}

.bio-text p {
    color: #e2e8f0;
    margin-bottom: 0.9rem;
}

.profile-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-glass);
}

@media (min-width: 768px) {
    .profile-detail-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.detail-card {
    background: rgba(10, 15, 29, 0.6);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(12px);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.detail-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 210, 255, 0.35);
}

.detail-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-glass);
}

.detail-header h3 {
    font-size: 1.05rem;
    color: #ffffff;
    margin-bottom: 0;
}

.detail-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
}

.detail-icon svg {
    width: 18px;
    height: 18px;
}

.org-icon {
    background: rgba(0, 210, 255, 0.12);
    color: var(--neon-blue);
    border: 1px solid rgba(0, 210, 255, 0.3);
}

.feat-icon {
    background: rgba(245, 158, 11, 0.12);
    color: var(--accent-amber);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.timeline-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.timeline-item {
    position: relative;
    padding-left: 1rem;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.timeline-item:hover {
    border-left-color: var(--neon-blue);
}

.item-head {
    display: flex;
    flex-direction: column;      
    align-items: flex-start;    
    gap: 0.35rem;               
    margin-bottom: 0.45rem;      
}

.item-role {
    font-size: 0.88rem;
    font-weight: 700;
    color: #f1f5f9;
}

.item-badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.15rem 0.55rem;
    border-radius: 9999px;
    background: rgba(0, 210, 255, 0.12);
    border: 1px solid rgba(0, 210, 255, 0.3);
    color: var(--neon-blue);
}

.feat-badge {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.3);
    color: var(--accent-amber);
}

.item-desc {
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.table-responsive {
    overflow-x: auto;
    margin-top: 1rem;
    border-radius: 12px;
    border: 1px solid var(--border-glass);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

caption {
    font-weight: 600;
    font-size: 0.95rem;
    text-align: left;
    color: var(--neon-blue);
    background: rgba(15, 23, 42, 0.9);
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid var(--border-glass);
    letter-spacing: 0.2px;
}

th, td {
    border: 1px solid var(--border-glass);
    padding: 0.9rem 1.1rem;
    text-align: left;
}

thead th {
    background: linear-gradient(90deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.9));
    color: #ffffff;
    font-weight: 600;
}

tbody tr:nth-child(even) {   
    background: rgba(255, 255, 255, 0.02);
}

tbody tr:hover {
    background: rgba(0, 210, 255, 0.08);
}

tbody td:nth-child(3) {
    font-weight: 600;
    color: #ffffff;
}

tbody tr td:last-child {
    font-weight: 600;
}

tbody tr:not(:last-child) td:last-child {
    color: var(--accent-emerald);
}

tbody tr:last-child td:last-child {
    color: var(--accent-amber);
}

tfoot {
    background: rgba(15, 23, 42, 0.95);
    font-weight: 700;
    color: var(--accent-purple);
}

.social-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #ffffff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.social-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.github-btn:hover { background: rgba(255, 255, 255, 0.15); border-color: #fff; transform: translateY(-3px); }
.linkedin-btn:hover { background: rgba(10, 102, 194, 0.3); border-color: #0a66c2; transform: translateY(-3px); }
.instagram-btn:hover { background: rgba(225, 48, 108, 0.25); border-color: #e1306c; transform: translateY(-3px); }
.email-btn:hover { background: rgba(6, 182, 212, 0.25); border-color: var(--neon-blue); transform: translateY(-3px); }

footer {
    background: rgba(7, 11, 20, 0.95);
    border-top: 1px solid var(--border-glass);
    color: var(--text-muted);
    text-align: center;
    padding: 2.5rem 1rem;
    font-size: 0.9rem;
    margin-top: 3rem;
}