/* ============================================
   MUSKAN VERMA'S UNIVERSE — PORTFOLIO CSS
   A Space-Themed Immersive Experience
   ============================================ */

/* ===== CSS VARIABLES / DESIGN TOKENS ===== */
:root {
    /* Color Palette - Deep Space */
    --bg-void: #050510;
    --bg-deep: #0a0a1a;
    --bg-nebula: #0d0d2b;

    /* Accent Colors */
    --accent-primary: #7b2ff7;
    --accent-secondary: #00d4ff;
    --accent-tertiary: #ff6bcb;
    --accent-gold: #ffd700;
    --accent-green: #10b981;
    --accent-coral: #ff6b6b;

    /* Gradients */
    --gradient-cosmic: linear-gradient(135deg, #7b2ff7 0%, #00d4ff 50%, #ff6bcb 100%);
    --gradient-aurora: linear-gradient(135deg, #00d4ff 0%, #7b2ff7 100%);
    --gradient-sunset: linear-gradient(135deg, #ff6bcb 0%, #ffd700 100%);
    --gradient-nebula: linear-gradient(135deg, #0d0d2b 0%, #1a0533 50%, #0a1628 100%);

    /* Glass */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-hover: rgba(255, 255, 255, 0.06);

    /* Text */
    --text-primary: #e8e8ff;
    --text-secondary: rgba(232, 232, 255, 0.65);
    --text-muted: rgba(232, 232, 255, 0.4);

    /* Typography */
    --font-display: 'Orbitron', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 120px 0;
    --container-max: 1200px;

    /* Transitions */
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-primary) var(--bg-void);
}

html::-webkit-scrollbar {
    width: 6px;
}

html::-webkit-scrollbar-track {
    background: var(--bg-void);
}

html::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 3px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-void);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--accent-primary);
    color: white;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== CURSOR GLOW ===== */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(123, 47, 247, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    will-change: transform;
}

/* ===== STARFIELD CANVAS ===== */
#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ===== FLOATING PARTICLES ===== */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: floatParticle linear infinite;
    opacity: 0;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(100px) scale(1);
        opacity: 0;
    }
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    transition: all 0.5s var(--transition-smooth);
    transform: translateY(-100%);
    opacity: 0;
}

.nav.visible {
    transform: translateY(0);
    opacity: 1;
}

.nav.scrolled {
    background: rgba(5, 5, 16, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 14px 40px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-cosmic);
    border-radius: 12px;
    color: white;
    letter-spacing: 1px;
}

.nav-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    background: var(--gradient-cosmic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 18px;
    border-radius: 30px;
    transition: all 0.3s var(--transition-smooth);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
    background: rgba(123, 47, 247, 0.15);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--accent-primary);
    border-radius: 50%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s var(--transition-smooth);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== PORTAL ENTRANCE ===== */
.portal-entrance {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    overflow: hidden;
}

.portal-ring-container {
    position: absolute;
    width: 600px;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portal-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
    animation: portalSpin linear infinite;
}

.ring-1 {
    width: 300px;
    height: 300px;
    border-color: rgba(123, 47, 247, 0.3);
    animation-duration: 20s;
}

.ring-2 {
    width: 400px;
    height: 400px;
    border-color: rgba(0, 212, 255, 0.2);
    animation-duration: 30s;
    animation-direction: reverse;
    border-style: dashed;
}

.ring-3 {
    width: 500px;
    height: 500px;
    border-color: rgba(255, 107, 203, 0.15);
    animation-duration: 40s;
}

.ring-4 {
    width: 580px;
    height: 580px;
    border-color: rgba(255, 215, 0, 0.1);
    animation-duration: 50s;
    animation-direction: reverse;
    border-style: dotted;
}

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

.portal-core {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(123, 47, 247, 0.4), transparent 70%);
    animation: portalPulse 3s ease-in-out infinite;
}

.portal-core-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.6), transparent 60%);
    animation: portalPulse 3s ease-in-out infinite reverse;
}

@keyframes portalPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.5); opacity: 1; }
}

.portal-text {
    position: relative;
    z-index: 20;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.portal-subtitle {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--accent-secondary);
    letter-spacing: 4px;
    text-transform: uppercase;
    min-height: 1.5em;
}

.portal-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 900;
    letter-spacing: 6px;
    background: var(--gradient-cosmic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    line-height: 1.2;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from { filter: drop-shadow(0 0 20px rgba(123, 47, 247, 0.3)); }
    to { filter: drop-shadow(0 0 40px rgba(123, 47, 247, 0.6)); }
}

/* Glitch Effect */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--gradient-cosmic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.8;
}

.glitch::before {
    animation: glitch-1 3s infinite linear alternate-reverse;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
}

.glitch::after {
    animation: glitch-2 3s infinite linear alternate-reverse;
    clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
}

@keyframes glitch-1 {
    0%, 94% { transform: translateX(0); }
    95% { transform: translateX(-4px); }
    96% { transform: translateX(4px); }
    97% { transform: translateX(-2px); }
    98%, 100% { transform: translateX(0); }
}

@keyframes glitch-2 {
    0%, 94% { transform: translateX(0); }
    95% { transform: translateX(4px); }
    96% { transform: translateX(-4px); }
    97% { transform: translateX(2px); }
    98%, 100% { transform: translateX(0); }
}

.portal-tagline {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
    font-weight: 400;
}

.portal-btn {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: transparent;
    border: 1px solid rgba(123, 47, 247, 0.5);
    border-radius: 50px;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--transition-smooth);
}

.portal-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-cosmic);
    opacity: 0;
    transition: opacity 0.5s var(--transition-smooth);
    z-index: -1;
}

.portal-btn:hover {
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(123, 47, 247, 0.4);
}

.portal-btn:hover::before {
    opacity: 1;
}

.portal-btn-icon {
    display: flex;
    transition: transform 0.3s var(--transition-smooth);
}

.portal-btn:hover .portal-btn-icon {
    transform: translateX(5px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: fadeInUp 1s ease 2s forwards;
}

.scroll-indicator p {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 13px;
    position: relative;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    100% { top: 24px; opacity: 0; }
}

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

/* ===== WARP OVERLAY ===== */
.warp-overlay {
    position: fixed;
    inset: 0;
    z-index: 9000;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(ellipse at center, transparent 0%, var(--bg-void) 70%);
}

.warp-overlay.active {
    animation: warpEffect 1.5s var(--transition-smooth) forwards;
}

@keyframes warpEffect {
    0% { opacity: 0; }
    30% { opacity: 1; }
    100% { opacity: 0; }
}

.warp-lines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 49.5%,
        rgba(123, 47, 247, 0.1) 49.5%,
        rgba(123, 47, 247, 0.1) 50.5%,
        transparent 50.5%
    );
}

.warp-overlay.active .warp-lines {
    animation: warpLinesMove 1.5s var(--transition-smooth);
}

@keyframes warpLinesMove {
    0% { transform: scaleY(1); }
    50% { transform: scaleY(100); }
    100% { transform: scaleY(1); }
}

/* ===== MAIN CONTENT ===== */
.main-content {
    position: relative;
    z-index: 10;
}

/* ===== SECTION BASE ===== */
.world-section {
    position: relative;
    min-height: 100vh;
    padding: 140px 40px 100px;
    max-width: var(--container-max);
    margin: 0 auto;
    overflow: visible;
}

/* Section Galaxy BG */
.section-galaxy {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.galaxy-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    animation: orbFloat 20s ease-in-out infinite;
}

.galaxy-orb.orb-1 {
    width: 500px;
    height: 500px;
    top: -100px;
    right: -150px;
    background: radial-gradient(circle, var(--accent-primary), transparent);
    animation-delay: 0s;
}

.galaxy-orb.orb-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    background: radial-gradient(circle, var(--accent-secondary), transparent);
    animation-delay: -10s;
}

.galaxy-orb.orb-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    background: radial-gradient(circle, var(--accent-tertiary), transparent);
    animation-delay: -5s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(15px, 15px) scale(1.05); }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.section-number {
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--accent-primary);
    letter-spacing: 6px;
    display: block;
    margin-bottom: 16px;
    opacity: 0.7;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: 4px;
    background: var(--gradient-cosmic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.section-line {
    width: 60px;
    height: 3px;
    background: var(--gradient-cosmic);
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
}

.section-line::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-secondary);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--accent-secondary);
}

/* ===== GLASS CARD ===== */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.5s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 100%);
    pointer-events: none;
}

.glass-card:hover {
    background: var(--glass-hover);
    border-color: rgba(123, 47, 247, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(123, 47, 247, 0.1);
}

.glass-card-mini {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
    transition: all 0.3s var(--transition-smooth);
}

.glass-card-mini svg {
    color: var(--accent-secondary);
    flex-shrink: 0;
}

/* ===== ABOUT SECTION ===== */
.about-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: start;
}

.about-avatar-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 350px;
}

.avatar-placeholder {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: var(--gradient-cosmic);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.avatar-initials {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    letter-spacing: 4px;
}

.avatar-pulse {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px solid rgba(123, 47, 247, 0.3);
    animation: avatarPulse 3s ease-in-out infinite;
}

@keyframes avatarPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.15); opacity: 0; }
}

.avatar-ring {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 1px dashed rgba(0, 212, 255, 0.3);
    animation: portalSpin 15s linear infinite;
}

/* Orbits */
.avatar-orbits {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    animation: portalSpin linear infinite;
}

.orbit-dot {
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-primary);
}

.orbit-1 {
    width: 240px;
    height: 240px;
    animation-duration: 8s;
}

.orbit-1 .orbit-dot { background: var(--accent-primary); box-shadow: 0 0 10px var(--accent-primary); }

.orbit-2 {
    width: 290px;
    height: 290px;
    animation-duration: 12s;
    animation-direction: reverse;
}

.orbit-2 .orbit-dot { background: var(--accent-secondary); box-shadow: 0 0 10px var(--accent-secondary); }

.orbit-3 {
    width: 340px;
    height: 340px;
    animation-duration: 16s;
}

.orbit-3 .orbit-dot { background: var(--accent-tertiary); box-shadow: 0 0 10px var(--accent-tertiary); }

/* About Text */
.about-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-greeting {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.highlight {
    background: var(--gradient-cosmic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-description {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.8;
    margin-bottom: 8px;
}

.about-description strong {
    color: var(--text-primary);
    font-weight: 600;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 24px;
    padding-top: 28px;
    border-top: 1px solid var(--glass-border);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    background: var(--gradient-cosmic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-plus {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--accent-secondary);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ===== EDUCATION TIMELINE ===== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--accent-primary), var(--accent-secondary), transparent);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 40px 60px;
}

.timeline-item:nth-child(odd) {
    margin-left: 50%;
    padding-left: 50px;
}

.timeline-item:nth-child(even) {
    text-align: right;
    padding-right: 50px;
}

.timeline-dot {
    position: absolute;
    top: 20px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--bg-void);
    border: 2px solid var(--accent-primary);
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-dot {
    left: -9px;
}

.timeline-item:nth-child(even) .timeline-dot {
    right: -9px;
}

.timeline-dot-inner {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.timeline-dot-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid var(--accent-primary);
    animation: avatarPulse 2s ease-in-out infinite;
}

.timeline-card {
    padding: 30px;
}

.timeline-card:hover {
    transform: translateY(-3px);
}

.timeline-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.timeline-badge.pursuing {
    background: rgba(123, 47, 247, 0.2);
    color: var(--accent-primary);
    border: 1px solid rgba(123, 47, 247, 0.3);
}

.timeline-badge.completed {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.timeline-degree {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.timeline-institution {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
    font-style: italic;
}

.timeline-year {
    font-family: var(--font-display);
    font-size: 0.78rem;
    color: var(--accent-secondary);
    letter-spacing: 2px;
}

.timeline-decoration {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
}

.timeline-item:nth-child(even) .timeline-decoration {
    justify-content: flex-end;
}

.deco-line {
    width: 30px;
    height: 1px;
    background: var(--gradient-cosmic);
}

.deco-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent-primary);
}

/* ===== SKILLS SECTION ===== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.skill-category {
    padding: 35px;
}

.tools-category {
    grid-column: 1 / -1;
}

.skill-category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.skill-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(123, 47, 247, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.skill-category-header h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
}

.skills-bars {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.skill-bar-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.skill-name {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.92rem;
}

.skill-percent {
    font-family: var(--font-display);
    font-size: 0.78rem;
    color: var(--accent-secondary);
    letter-spacing: 1px;
}

.skill-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.skill-bar-fill {
    height: 100%;
    width: 0;
    border-radius: 4px;
    background: var(--bar-color);
    position: relative;
    transition: width 1.5s var(--transition-smooth);
}

.skill-bar-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3));
    border-radius: 0 4px 4px 0;
}

.skill-bar-fill.animated {
    /* width set by JS */
}

/* Tools Grid */
.tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.tool-chip {
    position: relative;
    padding: 12px 24px;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: default;
    transition: all 0.3s var(--transition-smooth);
    overflow: hidden;
}

.tool-chip-glow {
    position: absolute;
    inset: 0;
    background: var(--gradient-cosmic);
    opacity: 0;
    transition: opacity 0.3s var(--transition-smooth);
}

.tool-chip:hover {
    border-color: rgba(123, 47, 247, 0.4);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.tool-chip:hover .tool-chip-glow {
    opacity: 0.1;
}

.tool-chip span {
    position: relative;
    z-index: 1;
}

/* ===== INTERESTS CONSTELLATION ===== */
.interests-constellation {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.constellation-center {
    position: absolute;
    z-index: 5;
}

.center-core {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-cosmic);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    color: white;
    box-shadow: 0 0 40px rgba(123, 47, 247, 0.4);
    animation: centerPulse 3s ease-in-out infinite;
}

@keyframes centerPulse {
    0%, 100% { box-shadow: 0 0 40px rgba(123, 47, 247, 0.4); }
    50% { box-shadow: 0 0 80px rgba(123, 47, 247, 0.6); }
}

.interest-planets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 1000px;
}

.interest-planet {
    padding: 32px;
    text-align: center;
    transition: all 0.5s var(--transition-smooth);
}

.interest-planet:hover {
    transform: translateY(-8px) scale(1.02);
}

.planet-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(123, 47, 247, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent-primary);
    transition: all 0.3s var(--transition-smooth);
}

.interest-planet:hover .planet-icon {
    background: rgba(123, 47, 247, 0.25);
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(123, 47, 247, 0.3);
}

.interest-planet h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.interest-planet p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Make 5 items grid: 3 on top, 2 on bottom centered */
.interest-planet.planet-4,
.interest-planet.planet-5 {
    /* bottom row */
}

/* ===== STRENGTHS SECTION ===== */
.strengths-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.strength-card {
    text-align: center;
    padding: 45px 30px;
}

.strength-card:hover {
    transform: translateY(-8px);
}

.strength-icon-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-secondary);
}

.strength-icon-bg {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.08);
    transition: all 0.3s var(--transition-smooth);
}

.strength-card:hover .strength-icon-bg {
    background: rgba(0, 212, 255, 0.15);
    transform: scale(1.15);
}

.strength-card h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.strength-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.strength-meter {
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
}

.strength-meter-fill {
    height: 100%;
    width: 0;
    border-radius: 2px;
    background: var(--gradient-aurora);
    transition: width 1.5s var(--transition-smooth);
}

/* ===== CONTACT SECTION ===== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info h3,
.contact-form-wrapper h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    background: var(--gradient-cosmic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-subtitle {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-link-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.3s var(--transition-smooth);
    cursor: pointer;
}

.contact-link-item:hover {
    background: rgba(123, 47, 247, 0.08);
    border-color: rgba(123, 47, 247, 0.2);
    transform: translateX(5px);
}

.contact-link-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(123, 47, 247, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.contact-link-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 2px;
}

.contact-link-value {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 0 8px;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s var(--transition-smooth);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group label {
    position: absolute;
    left: 0;
    top: 16px;
    font-size: 0.9rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.3s var(--transition-smooth);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -2px;
    font-size: 0.72rem;
    color: var(--accent-primary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-cosmic);
    transition: width 0.4s var(--transition-smooth);
}

.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line {
    width: 100%;
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 36px;
    background: var(--gradient-cosmic);
    border: none;
    border-radius: 14px;
    color: white;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--transition-smooth);
}

.submit-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #ff6bcb, #ffd700);
    opacity: 0;
    transition: opacity 0.4s var(--transition-smooth);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(123, 47, 247, 0.4);
}

.submit-btn:hover::before {
    opacity: 1;
}

.submit-btn-text,
.submit-btn-icon {
    position: relative;
    z-index: 1;
}

.submit-btn-icon {
    display: flex;
    transition: transform 0.3s var(--transition-smooth);
}

.submit-btn:hover .submit-btn-icon {
    transform: translate(3px, -3px);
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    z-index: 10;
    padding: 60px 40px 30px;
    border-top: 1px solid var(--glass-border);
    overflow: hidden;
}

.footer-gradient {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 1px;
    background: var(--gradient-cosmic);
    filter: blur(0);
}

.footer-gradient::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, rgba(123, 47, 247, 0.05), transparent);
}

.footer-content {
    max-width: var(--container-max);
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.9rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-cosmic);
    border-radius: 10px;
    color: white;
}

.footer-brand p {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-copy {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 10px;
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.world-section {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s var(--transition-smooth);
}

.world-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== TYPEWRITER EFFECT ===== */
.typewriter {
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--accent-secondary);
    animation: typeBlink 1s step-end infinite;
    display: inline-block;
}

@keyframes typeBlink {
    from, to { border-color: transparent; }
    50% { border-color: var(--accent-secondary); }
}

/* ===== AVATAR IMAGE ===== */
.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    border-radius: 50%;
}

/* ===== PROJECTS SECTION ===== */
.projects-showcase {
    max-width: 900px;
    margin: 0 auto;
}

.project-card {
    padding: 45px;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 16px;
}

.project-icon-wrap {
    position: relative;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-secondary);
}

.project-icon-bg {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: rgba(0, 212, 255, 0.1);
    transition: all 0.3s var(--transition-smooth);
}

.project-card:hover .project-icon-bg {
    background: rgba(0, 212, 255, 0.2);
    transform: scale(1.1) rotate(5deg);
}

.project-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.project-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.badge-ai {
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.badge-fullstack {
    background: rgba(6, 182, 212, 0.15);
    color: #06b6d4;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.badge-year {
    background: rgba(255, 215, 0, 0.15);
    color: var(--accent-gold);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: var(--gradient-cosmic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-style: italic;
}

.project-highlights {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 30px;
}

.project-highlight-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.highlight-check {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green);
    margin-top: 2px;
}

.project-highlight-item p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

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

.project-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
}

.tech-tag {
    padding: 8px 18px;
    border-radius: 25px;
    background: rgba(123, 47, 247, 0.08);
    border: 1px solid rgba(123, 47, 247, 0.15);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s var(--transition-smooth);
}

.tech-tag:hover {
    background: rgba(123, 47, 247, 0.2);
    border-color: rgba(123, 47, 247, 0.4);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.project-pipeline {
    padding: 28px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
}

.pipeline-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--accent-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pipeline-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pipeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-radius: 14px;
    background: rgba(123, 47, 247, 0.06);
    border: 1px solid rgba(123, 47, 247, 0.1);
    text-align: center;
    min-width: 110px;
    transition: all 0.3s var(--transition-smooth);
}

.pipeline-step:hover {
    background: rgba(123, 47, 247, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(123, 47, 247, 0.2);
}

.pipeline-step-icon {
    font-size: 1.8rem;
}

.pipeline-step span {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

.pipeline-step small {
    font-weight: 400;
    color: var(--text-secondary);
    font-size: 0.7rem;
}

.pipeline-arrow {
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    opacity: 0.5;
}

/* ===== CERTIFICATES SECTION ===== */
.certificates-grid {
    max-width: 900px;
    margin: 0 auto;
}

.certificate-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0 !important;
    overflow: hidden;
}

.certificate-card:hover {
    transform: translateY(-5px);
}

.certificate-image-container {
    position: relative;
    overflow: hidden;
    min-height: 300px;
}

.certificate-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition-smooth);
}

.certificate-card:hover .certificate-image {
    transform: scale(1.05);
}

.certificate-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.certificate-details {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cert-badge-row {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.cert-status-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.cert-date-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(0, 212, 255, 0.12);
    color: var(--accent-secondary);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.certificate-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.4;
}

.certificate-issuer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--accent-secondary);
    font-weight: 500;
    font-family: var(--font-heading);
    margin-bottom: 24px;
}

.certificate-skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cert-skill-tag {
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 500;
    transition: all 0.3s var(--transition-smooth);
}

.cert-skill-tag:hover {
    background: rgba(123, 47, 247, 0.1);
    border-color: rgba(123, 47, 247, 0.3);
    color: var(--text-primary);
}

.cert-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: rgba(123, 47, 247, 0.06);
    color: var(--accent-primary);
}

.cert-image-placeholder span {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-avatar-container {
        height: 280px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .interest-planets {
        grid-template-columns: repeat(2, 1fr);
    }

    .strengths-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(5, 5, 16, 0.95);
        backdrop-filter: blur(30px);
        flex-direction: column;
        padding: 100px 30px 40px;
        gap: 4px;
        transition: right 0.4s var(--transition-smooth);
        border-left: 1px solid var(--glass-border);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .world-section {
        padding: 100px 20px 60px;
    }

    .portal-ring-container {
        width: 350px;
        height: 350px;
    }

    .ring-1 { width: 180px; height: 180px; }
    .ring-2 { width: 240px; height: 240px; }
    .ring-3 { width: 300px; height: 300px; }
    .ring-4 { width: 340px; height: 340px; }

    .portal-core { width: 70px; height: 70px; }

    /* Timeline mobile */
    .timeline-line {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        text-align: left !important;
    }

    .timeline-dot {
        left: 11px !important;
        right: auto !important;
    }

    .timeline-decoration {
        justify-content: flex-start !important;
    }

    .interest-planets {
        grid-template-columns: 1fr;
    }

    .strengths-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .glass-card {
        padding: 28px;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .nav {
        padding: 16px 20px;
    }

    /* Projects Mobile */
    .project-card {
        padding: 24px;
    }

    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .project-title {
        font-size: 1.35rem;
    }

    .pipeline-flow {
        flex-direction: column;
        gap: 10px;
    }

    .pipeline-arrow {
        transform: rotate(90deg);
        margin: 4px 0;
    }

    /* Certificates Mobile */
    .certificate-card {
        grid-template-columns: 1fr;
    }

    .certificate-image-container {
        min-height: 220px;
    }

    .certificate-details {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .portal-title {
        letter-spacing: 3px;
    }

    .portal-tagline {
        font-size: 0.9rem;
    }

    .portal-btn {
        padding: 14px 28px;
        font-size: 0.85rem;
    }

    .section-title {
        letter-spacing: 2px;
    }

    .avatar-placeholder {
        width: 130px;
        height: 130px;
    }

    .avatar-initials {
        font-size: 2.5rem;
    }

    .orbit-1 { width: 180px; height: 180px; }
    .orbit-2 { width: 220px; height: 220px; }
    .orbit-3 { width: 260px; height: 260px; }

    .about-stats {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* ===== PRELOADER HIDE ===== */
body.loaded .portal-entrance {
    /* Content becomes interactive */
}

/* ===== UTILITY ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
