/* RESET & BASE */
:root {
  /* Neumorphic pastel color palette */
  --color-background: #e6e7ee;
  --color-shadow-dark: #b8b9be;
  --color-shadow-light: #ffffff;
  --color-primary: #5a5b6a;
  --color-secondary: #7b7c8a;
  --color-accent: #44476a;
  --color-text: #44476a;
  --color-text-light: #7b7c8a;
  
  /* Typography */
  --font-primary: 'Manrope', sans-serif;
  --font-secondary: 'Poppins', sans-serif;
  --font-code: 'JetBrains Mono', monospace;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
  --transition-slow: 0.6s ease;
  
  /* Border Radius */
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  
  /* Neumorphic Shadows */
  --shadow-soft-small: 3px 3px 6px var(--color-shadow-dark), -3px -3px 6px var(--color-shadow-light);
  --shadow-soft: 5px 5px 10px var(--color-shadow-dark), -5px -5px 10px var(--color-shadow-light);
  --shadow-soft-large: 10px 10px 20px var(--color-shadow-dark), -10px -10px 20px var(--color-shadow-light);
  
  /* Inset Shadows */
  --shadow-inset-small: inset 2px 2px 5px var(--color-shadow-dark), inset -2px -2px 5px var(--color-shadow-light);
  --shadow-inset: inset 5px 5px 10px var(--color-shadow-dark), inset -5px -5px 10px var(--color-shadow-light);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-secondary);
  color: var(--color-text);
  background-color: var(--color-background);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

a {
  text-decoration: none;
  color: var(--color-primary);
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent);
}

img {
  max-width: 100%;
  height: auto;
}

button {
  cursor: pointer;
  font-family: var(--font-primary);
  background: none;
  border: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--color-text);
}

/* Layout & Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* Utilities */
.hidden {
  display: none !important;
}

/* NOISE OVERLAY */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 600 600' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 9999;
}

/* PARTICLES (Removing for minimalist design) */
#particles-js {
  display: none;
}

/* CURSOR EFFECTS - Updated for neumorphic style */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background-color: var(--color-accent);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: transform 0.1s ease;
}

.cursor-follower {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-accent);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9998;
  transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

/* NAVBAR - Neumorphic Style */
.navbar-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: box-shadow var(--transition-medium), padding var(--transition-medium);
  background-color: var(--color-background);
}

.navbar-container.scrolled {
  box-shadow: var(--shadow-soft);
  padding: 1rem 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  position: relative;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-soft);
  transition: box-shadow var(--transition-medium);
}

.logo:hover {
  box-shadow: var(--shadow-inset);
}

.logo img {
  height: 2.5rem;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all var(--transition-medium);
}

.logo:hover img {
  opacity: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.5rem;
}

.nav-link {
  position: relative;
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-text);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-soft-small);
}

.nav-link:hover {
  color: var(--color-accent);
  box-shadow: var(--shadow-inset-small);
}

.contact-btn {
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-md);
  color: var(--color-text);
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-medium);
}

.contact-btn:hover {
  box-shadow: var(--shadow-inset);
  transform: translateY(-2px);
}

/* Mobile styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: var(--color-background);
    box-shadow: var(--shadow-soft-small);
    position: absolute;
    right: 20px;
    top: 20px;
    width: 48px;
    height: 48px;
    z-index: 9999;
    border-radius: 10px;
  }
  
  /* Hamburger menu styling */
  .hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 40px;
    height: 30px;
    cursor: pointer;
    z-index: 1000;
    padding: 12px;
    background: var(--color-background);
    border-radius: 8px;
    box-shadow: var(--shadow-soft-small);
  }

  .hamburger-menu span {
    display: block;
    width: 100%;
    height: 4px;
    background-color: var(--color-text);
    border-radius: 4px;
    transition: all 0.3s ease;
    margin: 3px 0;
  }

  /* Hamburger menu animation for the X */
  .hamburger-menu.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }
  
  .hamburger-menu.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger-menu.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }

  body.menu-open {
    overflow: hidden;
  }
  
  .hero {
    padding: 14rem 0 4rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    width: 90%;
    max-width: 400px;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-background);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-soft-large);
    z-index: 1000;
    text-align: center;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  }
  
  .nav-links li {
    width: 100%;
    margin: 8px 0;
    transition: all 0.3s ease;
    transition-delay: calc(0.05s * var(--item-index, 0));
  }
  
  .nav-links li:nth-child(1) { --item-index: 1; }
  .nav-links li:nth-child(2) { --item-index: 2; }
  .nav-links li:nth-child(3) { --item-index: 3; }
  .nav-links li:nth-child(4) { --item-index: 4; }
  
  .nav-link {
    display: block;
    width: 100%;
    text-align: center;
    padding: 15px;
    margin-bottom: 8px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-text);
    background: var(--color-background);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
  }
  
  .nav-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-inset);
  }
  
  .contact-btn {
    width: 100%;
    margin-top: 15px;
    text-align: center;
    padding: 15px;
    font-size: 1.1rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
  }
  
  .contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-inset);
  }
  
  /* Close menu when a nav link is clicked by using the :target pseudo-class */
  .nav-links a[href^="#"]:target ~ #menu-toggle-checkbox {
    display: none;
  }

  .about-hero, .portfolio-hero {
    padding: 14rem 0 4rem;
  }
  
  .about-content h1 {
    font-size: 2.5rem;
  }
}

/* Mobile menu overlay */
body.menu-open::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 900;
  backdrop-filter: blur(3px);
  transition: all 0.3s ease;
}

/* HERO SECTION - Neumorphic Style */
.hero {
  padding: 10rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.hero-content {
  width: 50%;
  padding-right: 2rem;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -1px;
}

.word-wrapper {
  display: inline-block;
  margin-right: 0.5rem;
}

.animated-text-wrapper {
  display: inline-block;
  position: relative;
  padding: 0 0.5rem;
  border-radius: var(--border-radius-sm);
  background: var(--color-background);
  box-shadow: var(--shadow-inset-small);
}

#animated-text {
  color: var(--color-accent);
  font-weight: 700;
}

.text-suffix {
  font-weight: 700;
}

.hero-paragraph {
  font-size: 1.125rem;
  color: var(--color-text-light);
  margin-bottom: 2.5rem;
  max-width: 90%;
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-soft);
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--border-radius-md);
  font-weight: 500;
  transition: all var(--transition-medium);
  font-size: 1rem;
  background: var(--color-background);
}

.btn-primary {
  color: var(--color-text);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  box-shadow: var(--shadow-inset);
  transform: translateY(-3px);
}

.btn-secondary {
  color: var(--color-text-light);
  box-shadow: var(--shadow-inset);
}

.btn-secondary:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}

.hero-visual {
  width: 50%;
  position: relative;
}

/* CODE EDITOR - Neumorphic Style */
.code-editor {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft-large);
  transition: all var(--transition-medium);
  background-color: var(--color-background);
  padding: 1.5rem;
}

.code-editor:hover {
  transform: translateY(-10px);
}

.editor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-inset);
  margin-bottom: 1.5rem;
}

.editor-controls {
  display: flex;
  gap: 0.75rem;
}

.control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: var(--shadow-inset-small);
}

.control.close {
  background-color: var(--color-text-light);
}

.control.minimize {
  background-color: var(--color-text-light);
}

.control.maximize {
  background-color: var(--color-text-light);
}

.editor-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.editor-tab {
  padding: 0.75rem 1.5rem;
  color: var(--color-text-light);
  border-radius: var(--border-radius-md);
  font-size: 0.9rem;
  font-family: var(--font-code);
  transition: all var(--transition-medium);
  cursor: pointer;
  box-shadow: var(--shadow-soft-small);
}

.editor-tab.active {
  color: var(--color-text);
  box-shadow: var(--shadow-inset-small);
}

.editor-tab:hover:not(.active) {
  transform: translateY(-2px);
}

.run-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--transition-medium);
  box-shadow: var(--shadow-soft);
}

.run-button:hover {
  box-shadow: var(--shadow-inset);
}

.editor-body {
  position: relative;
  height: 400px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-inset);
  overflow: hidden;
  padding: 0.5rem;
}

.code-panel {
  display: none;
  height: 100%;
  position: relative;
}

.code-panel.active {
  display: flex;
}

.line-numbers {
  display: flex;
  flex-direction: column;
  padding: 1rem 0.5rem;
  color: var(--color-text-light);
  font-family: var(--font-code);
  font-size: 0.85rem;
  text-align: right;
  user-select: none;
}

.code {
  flex: 1;
  padding: 1rem;
  font-family: var(--font-code);
  font-size: 0.85rem;
  color: var(--color-text);
  line-height: 1.5;
  overflow-x: auto;
  white-space: pre;
}

/* Code Syntax Highlighting - Monochromatic */
.comment { color: var(--color-text-light); font-style: italic; }
.keyword { color: var(--color-text); font-weight: bold; }
.class-name { color: var(--color-text); text-decoration: underline; }
.property { color: var(--color-text); }
.function { color: var(--color-accent); }
.string { color: var(--color-text-light); }
.preprocessor { color: var(--color-text); }

/* SECTION COMMON STYLES */
section {
  padding: 6rem 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.75rem 2rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-soft);
  max-width: fit-content;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: auto;
}

.section-description {
  font-size: 1.125rem;
  color: var(--color-text-light);
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-inset);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content, .hero-visual {
    width: 100%;
    padding-right: 0;
  }
  
  .hero .container {
    flex-direction: column;
  }
  
  .hero {
    padding: 8rem 0 4rem;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  .hero-content {
    margin-bottom: 3rem;
  }
  
  .editor-body {
    height: 350px;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 14px;
  }
  
  .editor-body {
    height: 250px;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .btn {
    width: 100%;
  }
  
  .hero {
    padding: 16rem 0 4rem;
  }
  
  .about-hero, .portfolio-hero {
    padding: 16rem 0 4rem;
  }
  
  .about-content h1 {
    font-size: 2rem;
  }
  
  .profile-image {
    width: 250px;
    height: 250px;
  }
  
  /* Fix for section titles centering on mobile */
  .section-title {
    left: 0;
    right: 0;
    transform: none;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: fit-content;
    max-width: 90%;
    white-space: normal;
    font-size: 2rem;
    padding: 0.75rem 1.5rem;
    line-height: 1.2;
  }
  
  /* Ensure section descriptions are also centered */
  .section-description {
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  
  /* Specific fixes for story, projects, and blog section titles */
  .story .section-title,
  .projects .section-title,
  .blog .section-title {
    position: relative;
    display: block;
    width: 100%;
    max-width: 90%;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
  }
}

/* ABOUT PAGE STYLES */
.about-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.about-hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.about-content {
  width: 50%;
}

.about-content h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.about-tagline {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--color-text);
}

.about-paragraph {
  font-size: 1.125rem;
  color: var(--color-text-light);
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-inset);
  line-height: 1.7;
}

.about-social {
  display: flex;
  gap: 1.25rem;
}

.about-visual {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-image {
  position: relative;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  box-shadow: var(--shadow-soft-large);
  overflow: hidden;
}

.about-profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  opacity: 0.9;
  transition: opacity var(--transition-medium);
}

.about-profile-img:hover {
  opacity: 1;
}

.profile-shadow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

/* Biography Section */
.biography {
  padding: 6rem 0;
  position: relative;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.bio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.bio-card {
  background-color: var(--color-background);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-medium);
  height: 100%;
  display: flex;
  flex-direction: column;
  opacity: 1 !important;
  visibility: visible !important;
}

.bio-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-inset);
}

.bio-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-soft);
  color: var(--color-text);
  font-size: 1.5rem;
}

.bio-card:hover .bio-icon {
  box-shadow: var(--shadow-inset);
}

.bio-title {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--color-text);
}

.bio-text {
  color: var(--color-text-light);
  line-height: 1.6;
  flex: 1;
}

/* Timeline Section */
.timeline {
  padding: 6rem 0;
  position: relative;
  background-color: var(--color-background);
}

.timeline-container {
  margin-top: 4rem;
  position: relative;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, 
    transparent, 
    var(--color-shadow-dark),
    var(--color-shadow-dark),
    transparent);
  transform: translateX(-50%);
}

.timeline-item {
  margin-bottom: 4rem;
  position: relative;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 24px;
  height: 24px;
  background-color: var(--color-background);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: var(--shadow-soft);
  z-index: 2;
}

.timeline-date {
  width: 20%;
  padding: 1rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: center;
  box-shadow: var(--shadow-soft);
  border-radius: var(--border-radius-md);
  background-color: var(--color-background);
  align-self: flex-start;
}

.timeline-content {
  width: 40%;
  padding: 2rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-soft);
  background-color: var(--color-background);
}

.timeline-content h3 {
  margin-bottom: 1rem;
  color: var(--color-text);
}

.timeline-content p {
  color: var(--color-text-light);
  line-height: 1.6;
}

/* Gallery Section */
.gallery {
  padding: 6rem 0;
  position: relative;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.gallery-item {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-medium);
  position: relative;
  height: 250px;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-soft-large);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all var(--transition-medium);
}

.gallery-item:hover img {
  opacity: 1;
}

/* Responsive styles for About page */
@media (max-width: 992px) {
  .about-hero .container {
    flex-direction: column;
    gap: 3rem;
  }
  
  .about-content,
  .about-visual {
    width: 100%;
  }
  
  .bio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .timeline-date {
    width: 25%;
  }
  
  .timeline-content {
    width: 50%;
  }
}

@media (max-width: 768px) {
  .about-content h1 {
    font-size: 3rem;
  }
  
  .about-tagline {
    font-size: 1.5rem;
  }
  
  .bio-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline-container::before {
    left: 2rem;
  }
  
  .timeline-item {
    flex-direction: column;
    padding-left: 4rem;
  }
  
  .timeline-item:nth-child(odd) {
    flex-direction: column;
  }
  
  .timeline-dot {
    left: 2rem;
  }
  
  .timeline-date,
  .timeline-content {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .about-content h1 {
    font-size: 2.5rem;
  }
  
  .profile-image {
    width: 250px;
    height: 250px;
  }
}

/* Animation for reveal-on-scroll elements */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  visibility: visible !important;
}

.reveal-on-scroll.revealed {
  opacity: 1 !important;
  transform: translateY(0);
  visibility: visible !important;
}

/* Animation for typing effect in About page */
#animated-about-text {
  display: inline-block;
  color: var(--color-accent);
  font-weight: 700;
  min-width: 10ch;
  /* This ensures the container doesn't resize during typing */
  border-right: 2px solid var(--color-accent);
  padding-right: 5px;
  animation: blink-caret 0.75s step-end infinite;
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: var(--color-accent) }
}

/* Hide custom cursor */
.cursor, .cursor-follower {
  display: none !important;
}

/* Adding styles for the run buttons */
.mobile-run-button {
    display: none;
    width: 60px;
    height: 60px;
    margin: 1.5rem auto 0;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-medium);
}

.mobile-run-button:active {
    box-shadow: var(--shadow-inset);
    transform: scale(0.95);
}

/* Media query for mobile devices */
@media screen and (max-width: 768px) {
    .desktop-run-button {
        display: none;
    }
    
    .mobile-run-button {
        display: flex;
    }
} 