/* ===== GLOBAL STYLES ===== */
:root {
    --primary-color: #3b82f6;
    --secondary-color: #1e40af;
    --accent-color: #f59e0b;
    --bg-color: #ffffff;
    --surface-color: #f8fafc;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --border-color: #e5e7eb;
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

html[data-theme="dark"] {
    --bg-color: #0f172a;
    --surface-color: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --border-color: #334155;
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    transition: all 0.3s ease;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--surface-color);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

html[data-theme="dark"] .navbar.scrolled {
    background: rgba(30, 41, 59, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled .nav-content {
    padding: 0.5rem 2rem;
}

.navbar.scrolled .logo {
    font-size: 1rem;
    transform: scale(0.9);
}

html[data-theme="dark"] .navbar {
    background: var(--surface-color); /* Now using a variable */
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-btn, .theme-toggle {
    background: none;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover, .theme-toggle:hover {
    background: var(--surface-color);
    color: var(--text-primary);
}

.nav-btn.active {
    background: var(--primary-color);
    color: white;
}

.theme-toggle {
    background: none;
    border: none;
    padding: 0.5rem;
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background: var(--surface-color);
    color: var(--text-primary);
    transform: rotate(180deg);
}

.theme-toggle i {
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

/* ===== LANDING PAGE ===== */
.landing-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px; /* Account for fixed navbar */
}

.hero-content {
    text-align: center;
    z-index: 2;
}

.main-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(30px);
}

.keyword {
    color: var(--accent-color);
}
.subtitle {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    /* Removed initial opacity and transform, anime.js will handle it. */
    min-height: 1.2em;
}

.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background-color: var(--primary-color);
    margin-left: 2px;
    animation: blink 1s infinite;
}

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

.description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
}

.persona-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.persona-card {
    background: var(--surface-color);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transform: translateY(50px) rotateX(15deg);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.persona-card:hover {
    transform: translateY(-10px) rotateX(0deg) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.persona-card.entered {
    transform: translateY(0) rotateX(0deg);
    opacity: 1;
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.persona-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.persona-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    color: white;
    font-weight: 600;
    font-size: 1.25rem;
}

.persona-card:hover .card-overlay {
    opacity: 0.95;
}

/* ===== BACKGROUND ANIMATION ===== */
.bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.float-element {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    animation: float 20s infinite linear;
    transition: all 0.1s ease;
    cursor: pointer;
}

.float-element:hover {
    opacity: 0.3;
    transform: scale(1.2);
}

.float-element:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.float-element:nth-child(2) { top: 20%; right: 15%; animation-delay: -3s; }
.float-element:nth-child(3) { top: 60%; left: 20%; animation-delay: -6s; }
.float-element:nth-child(4) { bottom: 30%; right: 10%; animation-delay: -9s; }
.float-element:nth-child(5) { bottom: 20%; left: 15%; animation-delay: -12s; }
.float-element:nth-child(6) { top: 40%; right: 25%; animation-delay: -15s; }

@keyframes float {
    from { transform: translateY(0px) rotate(0deg); }
    to { transform: translateY(-20px) rotate(360deg); }
}

/* ===== PATH SECTIONS ===== */
.path-section {
    min-height: 100vh;
    padding: 6rem 0 4rem;
    display: none;
    opacity: 0;
    position: relative;
    overflow: hidden;
}

.path-section.active {
    display: block;
}

.path-section.wipe-transition {
    position: relative;
}

.path-section.wipe-transition::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    z-index: 1;
    transition: left 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.path-section.wipe-transition.wipe-active::before {
    left: 100%;
}

/* ===== RECRUITER PATH ===== */
.path-hero {
    text-align: center;
    margin-bottom: 4rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}

.hero-text h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.hero-text h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 1rem;
    background: var(--surface-color);
    border-radius: 0.5rem;
    min-width: 80px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.highlights-section {
    margin-bottom: 4rem;
}

.highlights-section h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--surface-color);
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
}

.highlight-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.projects-snapshot {
    margin-bottom: 4rem;
}

.projects-snapshot h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.project-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    padding: 2rem;
    background: var(--surface-color);
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

.project-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.project-tags span {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: scale(1);
    display: inline-block;
}

.project-tags span:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    background: var(--secondary-color);
}

.contact-section {
    text-align: center;
    margin-top: 4rem;
}

.download-resume {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    cursor: pointer;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.download-resume:hover {
    transform: translateY(-2px);
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.contact-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--surface-color);
    color: var(--primary-color);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* ===== DEVELOPER PATH ===== */
.dev-header {
    text-align: center;
    margin-bottom: 4rem;
}

.dev-header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.projects-gallery {
    margin-bottom: 4rem;
}

.project-detailed {
    margin-bottom: 2rem;
    background: var(--surface-color);
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.project-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.project-header:hover {
    background: var(--border-color);
}

html[data-theme="dark"] .project-header:hover {
    background: var(--bg-color);
}

.project-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
}

.toggle-icon {
    transition: transform 0.3s ease;
}

.project-header.active .toggle-icon {
    transform: rotate(180deg);
}

.project-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}

.project-content.open {
    max-height: 1000px;
    padding: 0 1.5rem 1.5rem;
}

.project-description {
    margin-bottom: 2rem;
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.code-demo {
    background: var(--bg-color);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.code-demo h4 {
    margin: 0;
    color: var(--primary-color);
}

.copy-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.copy-btn:hover {
    opacity: 1;
    transform: scale(1.1);
    background: var(--secondary-color);
}

.copy-btn.copied {
    background: #10b981;
    animation: copySuccess 0.6s ease;
}

@keyframes copySuccess {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.code-demo pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    font-family: 'Fira Code', monospace;
    line-height: 1.4;
}

.architecture-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    background: var(--bg-color);
    border-radius: 0.5rem;
}

.arch-box {
    padding: 1rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border-radius: 0.5rem;
    font-weight: 600;
}

.arch-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.tech-stack {
    text-align: center;
}

.tech-stack h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: var(--surface-color);
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
}

.tech-item:hover {
    transform: scale(1.05);
}

.tech-item i {
    font-size: 3rem;
    color: var(--primary-color);
}

/* ===== CURIOUS PATH ===== */
.curious-header {
    text-align: center;
    margin-bottom: 4rem;
}

.curious-header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.demo-section {
    display: grid;
    gap: 4rem;
    margin-bottom: 4rem;
}

.demo-item {
    background: var(--surface-color);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
}

.demo-item h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.demo-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.demo-controls input {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    background: var(--bg-color);
    color: var(--text-primary);
    min-width: 200px;
}

.demo-controls button {
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.demo-controls button:hover {
    background: var(--secondary-color);
}

.reset-btn {
    background: #ef4444 !important;
    color: white !important;
}

.reset-btn:hover {
    background: #dc2626 !important;
}

.blockchain-visual {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 1rem;
    min-height: 120px;
    max-width: 100%;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--border-color);
}

.blockchain-visual::-webkit-scrollbar {
    height: 8px;
}

.blockchain-visual::-webkit-scrollbar-track {
    background: var(--border-color);
    border-radius: 4px;
}

.blockchain-visual::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.blockchain-visual::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

.block {
    min-width: 200px;
    padding: 1rem;
    background: var(--bg-color);
    border: 2px solid var(--primary-color);
    border-radius: 0.5rem;
    text-align: center;
    position: relative;
}

.block.genesis {
    background: var(--primary-color);
    color: white;
}

.block::after {
    content: '→';
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-color);
}

.block:last-child::after {
    display: none;
}

.stock-display {
    display: flex;
    justify-content: center;
}

.stock-card {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    min-width: 250px;
}

.stock-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.stock-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stock-change {
    font-size: 1.125rem;
}

.stock-change.positive {
    color: #10b981;
}

.stock-change.negative {
    color: #ef4444;
}


.chat-demo {
    background: var(--bg-color);
    border-radius: 0.5rem;
    overflow: hidden;
}

.chat-messages {
    height: 300px;
    overflow-y: auto;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.message {
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    max-width: 80%;
}

.message.user1 {
    background: var(--primary-color);
    color: white;
    margin-left: auto;
}

.message.user2 {
    background: var(--surface-color);
}

.username {
    font-weight: 600;
    margin-right: 0.5rem;
}

.chat-input {
    display: flex;
    padding: 1rem;
}

.chat-input input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem 0 0 0.5rem;
    background: var(--bg-color);
    color: var(--text-primary);
}

.chat-input button {
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 0.5rem 0.5rem 0;
    cursor: pointer;
}

.fun-facts {
    text-align: center;
}

.fun-facts h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.facts-timeline {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.fact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: var(--surface-color);
    border-radius: 1rem;
    max-width: 200px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.fact-item:hover {
    transform: translateY(-10px);
}

.fact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 0 transparent);
}

.fact-item:hover .fact-icon {
    transform: rotate(10deg) scale(1.1);
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
}

.fact-content h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--surface-color);
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-content {
        padding: 1rem;
    }
    
    .persona-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .path-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .highlight-grid,
    .project-cards {
        grid-template-columns: 1fr;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.5rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .demo-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .facts-timeline {
        flex-direction: column;
        align-items: center;
    }
    
    .blockchain-visual {
        flex-direction: column;
        align-items: center;
    }
    
    .block::after {
        content: '↓';
        right: 50%;
        top: 100%;
        transform: translateX(50%);
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }
    
    .persona-card {
        padding: 1.5rem;
    }
    
    .demo-item {
        padding: 1rem;
    }
}

/* ===== ANIMATIONS ===== */
.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.slide-up {
    animation: slideUp 0.6s ease forwards;
}

.scale-in {
    animation: scaleIn 0.4s ease forwards;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes scaleIn {
    from { 
        opacity: 0;
        transform: scale(0.9);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== LOADING ANIMATION ===== */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== EASTER EGG RETRO THEME ===== */
html[data-theme="retro"] {
    --primary-color: #00ff00;
    --secondary-color: #ff00ff;
    --accent-color: #ffff00;
    --bg-color: #000000;
    --surface-color: #1a1a1a;
    --text-primary: #00ff00;
    --text-secondary: #00ffff;
    --border-color: #00ff00;
    --shadow: 0 0 20px #00ff00;
    --shadow-lg: 0 0 40px #00ff00;
}

html[data-theme="retro"] .navbar {
    background: #1a1a1a;
    border-bottom: 2px solid #00ff00;
    box-shadow: 0 0 20px #00ff00;
}

html[data-theme="retro"] .persona-card {
    border: 2px solid #00ff00;
    box-shadow: 0 0 20px #00ff00;
    animation: retroGlow 2s infinite alternate;
}

html[data-theme="retro"] .project-card {
    border: 1px solid #00ff00;
    box-shadow: 0 0 15px #00ff00;
}

html[data-theme="retro"] .float-element {
    animation: retroFloat 3s infinite linear, retroGlow 2s infinite alternate;
    text-shadow: 0 0 10px currentColor;
}

@keyframes retroGlow {
    0% { box-shadow: 0 0 20px #00ff00; }
    100% { box-shadow: 0 0 40px #00ff00, 0 0 60px #00ff00; }
}

@keyframes retroFloat {
    0% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(90deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
    75% { transform: translateY(-10px) rotate(270deg); }
    100% { transform: translateY(0px) rotate(360deg); }
}

