  /* Default dark theme */
/* Update the existing root variables */
:root {
    --bg-color: #000000;
    --text-color: #8a8aff;
    --accent-color: #6b65ff;
    --hover-color: #ffffff;
    --card-bg: #1a1a1a;
    --border-color: #2d2d2d;
    --font-mono: 'Fira Code', monospace;
    transition: all 0.3s ease;
    --highlight-color: #FF6B00;
  }
  
  /* Update the light theme overrides */
  :root.light-theme {
    --bg-color: #f8f7ff;
    --text-color: #1a1a1a;
    --card-bg: #ffffff;
    --border-color: #e2e2e2;
    --accent-color: #6b65ff;
    --hover-color: #be9df0;
  }
  
  /* Ensure smooth transitions for theme changes */
  body {
    transition: background-color 0.3s ease, color 0.3s ease;
  }

/* Add smooth transitions for theme changes */
body {
    transition: background-color 0.3s ease, color 0.3s ease;
}

.blog-card, .skill-tag, .nav-link, .social-icon {
    transition: all 0.3s ease;
}
  
  body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
  }
  
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    margin-bottom: 4rem;
    border-bottom: 1px solid #edf2f7;
  }
  
  nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
  }
  
  nav a:hover {
    color: var(--hover-color);
  }
  
 /* Blog list styling */
.blog-list {
    margin-top: 2rem;
  }
  
  .blog-card {
    display: block;
    text-decoration: none;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    border-left: 3px solid transparent;
  }
  
  .blog-card:hover {
    border-left: 3px solid var(--accent-color);
    padding-left: 1rem;
  }
  
  .blog-date {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-family: monospace;
  }
  
  .blog-title {
    color: var(--text-color);
    font-family: monospace;
  }
  
  .blog-content {
    line-height: 1.8;
    font-family: var(--font-mono);
    color: var(--text-color);
  }
  
  .blog-content code {
    background: var(--card-bg);
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-size: 0.9em;
    color: var(--accent-color);
  }
  
  .blog-content pre {
    background: var(--card-bg);
    padding: 1rem;
    overflow-x: auto;
    border: 1px solid var(--border-color);
  }
  

.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 0;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.highlight {
    color: #FF6B00; /* More vibrant orange */
    text-shadow: 0 0 10px rgba(255, 107, 0, 0.5),
                0 0 20px rgba(255, 107, 0, 0.3),
                0 0 30px rgba(255, 107, 0, 0.2);
    position: relative;
    font-family: monospace;
    animation: glow 1.5s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(255, 107, 0, 0.5),
                     0 0 20px rgba(255, 107, 0, 0.3),
                     0 0 30px rgba(255, 107, 0, 0.2);
    }
    to {
        text-shadow: 0 0 20px rgba(255, 107, 0, 0.6),
                     0 0 30px rgba(255, 107, 0, 0.4),
                     0 0 40px rgba(255, 107, 0, 0.3);
    }
}

.subtitle {
    font-size: 1.25rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.social-icon {
    font-size: 1.5rem;
    color: var(--text-color);
    transition: transform 0.2s ease, color 0.2s ease;
}

.social-icon:hover {
    color: var(--hover-color);
    transform: translateY(-3px);
}

.about {
    padding: 4rem 0;
    text-align: center;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.about-text {
    max-width: 600px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.skill-tag {
    background: transparent;
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border: 1px solid var(--accent-color);
    border-radius: 40px;
    font-size: 0.9rem;
    font-family: var(--font-mono);
    opacity: 0.9;
    transition: all 0.2s ease;
}

.skill-tag:hover {
    transform: translateY(-2px);
    opacity: 1;
    background: var(--accent-color);
    color: var(--bg-color);
}

.skill-tag.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Typing effect cursor */
.typing-effect::after {
    content: '|';
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}



  /* Modern Header & Navigation */
  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;  /* Added horizontal padding */
    margin-bottom: 2rem;
    position: sticky;
    top: 0;
    transition: background-color 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 1000;
    width: 100%;          /* Make header full width */
    max-width: 100%;      /* Ensure it stretches fully */
    box-sizing: border-box;
    background: var(--bg-color);  /* Add slight background */
    opacity: 0.95;        /* Make it slightly transparent */
}

.header-content {
    max-width: 1200px;    /* Match container width */
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-color);
    cursor: pointer;
    position: relative;
    display: flex;
    gap: 0;
    transition: gap 0.5s ease;
}

.logo span {
    position: relative;
    transition: all 0.5s ease;
}

.logo span:first-child::after {
    content: 'rince';
    position: absolute;
    left: 100%;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease;
    white-space: nowrap;
}

.logo span:last-child::after {
    content: 'osario';
    position: absolute;
    left: 100%;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease;
    white-space: nowrap;
}

.logo:hover {
    gap: 80px;
}

.logo:hover span:first-child::after,
.logo:hover span:last-child::after {
    opacity: 1;
    transform: translateX(0);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.theme-toggle:hover {
    transform: rotate(45deg);
}

/* Enhanced Hero Section */
.hero {
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(107, 101, 255, 0.1) 0%,
        rgba(0, 0, 0, 0) 70%
    );
    animation: rotate 20s linear infinite;
    z-index: -1;
}

/* Animated Skill Tags */


.skill-tag:hover {
    animation: pulse 1.5s infinite;
}

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

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-color));
    z-index: 1001;
}

.particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.role-carousel {
    height: 30px;
    overflow: hidden;
    margin: 20px 0;
}

.roles {
    height: 30px;
    overflow: hidden;
    margin: 20px 0;
    position: relative;
}

.role {
    display: block;
    opacity: 0;
    position: absolute;
    text-align: center;
    width: 100%;
    color: var(--accent-color);
    font-family: 'Fira Code', monospace;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.role.active {
    opacity: 1;
    transform: translateY(0);
}

.wave {
    display: inline-block;
    animation: wave 4.5s infinite;
    transform-origin: 70% 70%; /* This makes the wave pivot from the bottom right */
}

@keyframes wave {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(14deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(0deg); }
    60% { transform: rotate(0deg); }
    80% { transform: rotate(0deg); }
    90% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}

/*
.role {
    display: block;
    height: 30px;
    animation: carousel 6s infinite;
    color: var(--accent-color);
    font-family: 'Fira Code', monospace;
} 

@keyframes carousel {
    0%, 25% {
        transform: translateY(0);
    }
    26%, 50% {
        transform: translateY(-30px);
    }
    51%, 75% {
        transform: translateY(-60px);
    }
    76%, 100%{
        transform: translateY(-90px)
    }
}*/