:root {
    --bg-main: #02030a;
    --bg-card: #050814;
    --bg-card-soft: #080b18;
    --border-soft: #1f2933;

    --accent: #00b4ff;          
    --accent-soft: #0b4777;

    --text-main: #e5e7eb;
    --text-muted: #9ca3af;

    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Share Tech Mono', monospace;

    --max-content-width: 880px;
    --card-radius: 14px;
}

/* RESET */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    align-items: center;
}

 .background-layer {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at top left, rgba(11, 71, 119, 0.18), transparent 55%),
        radial-gradient(circle at bottom right, rgba(0, 0, 0, 0.5), transparent 60%),
        #02030a;
    opacity: 1;
}

/* LAYOUT */
.content-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--max-content-width);
    padding: 40px 18px 26px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* HEADER */
.neon-header {
    text-align: center;
    margin-bottom: 32px;
}

.dev-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 999px;
    background: #050814;
    border: 1px solid var(--border-soft);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.dev-badge i {
    font-size: 0.9rem;
    color: var(--accent);
}

.cosmic-title {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 700;
    color: #f9fafb;
    letter-spacing: 2px;
    margin-bottom: 6px;
    text-shadow: none;  
}

.cosmic-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 6px;
}

 .profile-module {
    background: var(--bg-card);
    border-radius: var(--card-radius);
    border: 1px solid var(--border-soft);
    padding: 24px 22px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.profile-module:hover {
    transform: translateY(-4px);
    border-color: var(--accent-soft);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.6);
}

.cosmic-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 4px;
    border: 2px solid var(--border-soft);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.8);
}

.about-block {
    text-align: center;
    max-width: 100%;
}

.about-heading {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 8px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f3f4f6;
}

.about-text {
    font-size: 0.98rem;
    color: var(--text-main);
}

.about-text.secondary {
    margin-top: 8px;
    color: var(--text-muted);
}

.neon-highlight {
    color: var(--accent);
    font-weight: 700;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 2px 9px;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    font-size: 0.78rem;
    margin: 0 4px 4px;
    background: #050814;
    color: var(--text-muted);
}

 .code-line {
    margin-top: 12px;
    padding: 9px 10px;
    border-radius: 10px;
    background: #050814;
    border: 1px solid var(--border-soft);
    text-align: left;
    font-size: 0.8rem;
    color: var(--text-muted);
    overflow-x: auto;
}

.code-line code {
    display: block;
    margin-top: 4px;
    font-family: var(--font-body);
    color: var(--accent);
}

/* FOCUS AREAS */
.focus-grid {
    width: 100%;
    margin-bottom: 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 16px;
    grid-column: 1 / -1;
    color: #f9fafb;
}

.neon-glow {
     color: #e5e7eb;
}

.focus-card {
    background: var(--bg-card-soft);
    border-radius: var(--card-radius);
    border: 1px solid var(--border-soft);
    padding: 16px 16px 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
}

.focus-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-soft);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6);
}

.focus-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0b1120;
    margin-bottom: 10px;
    border: 1px solid var(--border-soft);
}

.focus-icon i {
    color: var(--accent);
    font-size: 1.2rem;
}

.focus-title {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #f3f4f6;
}

.focus-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.focus-tags {
    margin-top: 9px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.focus-tags span {
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px dashed var(--border-soft);
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* LINKS */
.links-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.cosmic-link-button {
    display: flex;
    align-items: center;
    text-decoration: none;
    background: #050814;
    color: var(--text-main);
    padding: 16px 16px;
    border-radius: var(--card-radius);
    border: 1px solid var(--border-soft);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    gap: 12px;
}

.cosmic-link-button i {
    font-size: 1.4rem;
    color: var(--accent);
    flex-shrink: 0;
}

.link-text {
    display: flex;
    flex-direction: column;
}

.link-label {
    font-weight: 700;
    font-size: 0.98rem;
}

.link-caption {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

 .cosmic-link-button:hover {
    transform: translateY(-3px);
    border-color: var(--accent-soft);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.65);
}

/* Parallax */
.parallax-card {
    will-change: transform;
    transition: transform 0.12s linear;
}

/* FOOTER */
.cosmic-footer {
    text-align: center;
    margin-top: auto;
    padding: 22px 8px 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-soft);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .cosmic-title {
        font-size: 2.2rem;
    }

    .cosmic-subtitle {
        font-size: 0.95rem;
    }

    .profile-module {
        padding: 20px 16px 18px;
    }

    .links-grid,
    .focus-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .cosmic-title {
        font-size: 1.9rem;
    }

    .cosmic-subtitle {
        font-size: 0.9rem;
    }

    .cosmic-avatar {
        width: 120px;
        height: 120px;
    }

    .section-title {
        font-size: 1.4rem;
    }
}
