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

/* Disable text selection globally */
* {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Remove mobile tap highlight on interactive elements */
a, button {
  -webkit-tap-highlight-color: transparent;
}

:root {
  --color-primary: 147, 51, 234; /* roxo */
  --color-secondary: 249, 115, 22; /* laranja */
  --color-accent: 34, 197, 94; /* verde */
}

html, body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #000;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: none; /* Hide default cursor on desktop; hidden on mobile via media query */
}

/* Lock scroll only when on Home (toggled via JS) */
html.scroll-locked,
body.scroll-locked {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
  height: 100vh !important;
}

/* Show pointer cursor on clickable elements */
a, button, .nav-item, .social-link, .contact-item, .project-btn, .reset-button-fixed {
  cursor: pointer !important;
}

/* Custom cursor - Crosshair */
.cursor-crosshair {
  position: fixed;
  width: 40px;
  height: 40px;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
}

.cursor-crosshair::before,
.cursor-crosshair::after {
  content: '';
  position: absolute;
  background: rgba(147, 51, 234, 0.8);
  box-shadow: 0 0 10px rgba(147, 51, 234, 0.8), 0 0 20px rgba(147, 51, 234, 0.6);
}

.cursor-crosshair::before {
  left: 50%;
  top: 0;
  width: 2px;
  height: 40px;
  transform: translateX(-50%);
}

.cursor-crosshair::after {
  top: 50%;
  left: 0;
  width: 40px;
  height: 2px;
  transform: translateY(-50%);
}

.cursor-crosshair .center-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(147, 51, 234, 1);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px rgba(147, 51, 234, 1), 0 0 20px rgba(147, 51, 234, 0.8);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

/* Red crosshair when over destroyable letter */
.cursor-crosshair.targeting {
  --crosshair-color: rgba(239, 68, 68, 0.8);
  --crosshair-glow: rgba(239, 68, 68, 0.6);
  --dot-color: rgba(239, 68, 68, 1);
}

.cursor-crosshair.targeting::before,
.cursor-crosshair.targeting::after {
  background: var(--crosshair-color, rgba(239, 68, 68, 0.8));
  box-shadow: 0 0 10px var(--crosshair-color, rgba(239, 68, 68, 0.8)), 0 0 20px var(--crosshair-glow, rgba(239, 68, 68, 0.6));
}

.cursor-crosshair.targeting .center-dot {
  background: var(--dot-color, rgba(239, 68, 68, 1));
  box-shadow: 0 0 10px var(--dot-color, rgba(239, 68, 68, 1)), 0 0 20px var(--crosshair-glow, rgba(239, 68, 68, 0.8));
}

.cursor-crosshair.hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

body {
  overflow: hidden !important;
}

/* Text Gradient */
.text-gradient {
  background: linear-gradient(135deg, #9333ea, #f97316, #22c55e);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Background Mesh */
.bg-mesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: 
    radial-gradient(at 40% 20%, rgba(147, 51, 234, 0.15) 0px, transparent 50%),
    radial-gradient(at 80% 0%, rgba(249, 115, 22, 0.15) 0px, transparent 50%),
    radial-gradient(at 0% 50%, rgba(34, 197, 94, 0.1) 0px, transparent 50%),
    radial-gradient(at 80% 50%, rgba(147, 51, 234, 0.1) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(249, 115, 22, 0.1) 0px, transparent 50%),
    radial-gradient(at 80% 100%, rgba(34, 197, 94, 0.1) 0px, transparent 50%),
    radial-gradient(at 0% 0%, rgba(147, 51, 234, 0.1) 0px, transparent 50%);
}

/* Cursor Glow */
.cursor-glow {
  position: fixed;
  width: 384px;
  height: 384px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.2;
  filter: blur(96px);
  background: radial-gradient(circle, rgba(147, 51, 234, 0.4) 0%, transparent 70%);
  transition: all 0.7s ease-out;
  z-index: 0;
}

/* UFO Container and Image */
.ufo-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000 !important;
  overflow: visible;
}

.ufo-image {
  position: fixed !important;
  width: 192px !important;
  height: 192px !important;
  object-fit: contain;
  z-index: 1000 !important;
  pointer-events: none;
  display: block !important;
  visibility: visible !important;
}

/* Dark Overlay */
.dark-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 40;
}

.dark-overlay.active {
  opacity: 0.95;
}

/* Navigation Sidebar */
.nav-sidebar {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: block;
  opacity: 0;
  transition: opacity 0.8s ease-in;
}

.nav-sidebar.visible {
  opacity: 1;
}

/* Mobile layout for navigation panel */
@media (max-width: 1023px) {
  .nav-sidebar {
    top: 12px;
    bottom: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    z-index: 1000;
  }
  /* force horizontal layout on mobile */
  .nav-sidebar .nav-items {
    display: flex !important;
    flex-direction: row !important;
    gap: 12px !important;
    padding: 10px 12px !important;
    border-radius: 12px !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .nav-item {
    width: 44px;
    height: 44px;
  }
  .nav-progress-line {
    display: none;
  }
  /* push score below the top navbar to avoid overlap on mobile */
  .score-container-fixed {
    top: 74px; /* navbar ~64px + 10px gap */
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    text-align: center;
  }

  /* hide custom crosshair and glow on touch/mobile */
  .cursor-crosshair,
  .cursor-glow {
    display: none !important;
  }
  body, html {
    cursor: auto !important;
  }
  /* ensure all page content starts below the navbar */
  .page {
    padding-top: 120px;
  }
}

.nav-container {
  position: relative;
}

.nav-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  transition: all 0.3s;
  background: rgba(255, 255, 255, 0.05);
  color: #9ca3af;
  cursor: pointer !important;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: scale(1.05);
  cursor: pointer;
}

.nav-item.active {
  background: linear-gradient(135deg, #9333ea, #f97316, #22c55e);
  color: #fff;
  box-shadow: 0 10px 25px rgba(147, 51, 234, 0.5);
  transform: scale(1.1);
}

.nav-item.active::before {
  content: '';
  position: absolute;
  left: -8px;
  width: 4px;
  height: 32px;
  border-radius: 9999px;
  background: linear-gradient(180deg, #9333ea, #f97316, #22c55e);
}

.nav-icon {
  width: 20px;
  height: 20px;
}

.nav-progress-line {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  z-index: -1;
}

/* Pages */
.page {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 16px;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

.page.active {
  opacity: 1;
  pointer-events: auto;
}

/* Bring only the About page content higher / start below the navbar */
#page-about {
  align-items: flex-start; /* align content to top instead of vertical center */
  padding-top: 90px; /* adjust: smaller = mais para cima, maior = mais para baixo */
  overflow-y: auto;            /* permite rolagem apenas nesta página */
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 1023px) {
  #page-about {
    padding-top: 90px; /* ~10px abaixo da navbar no mobile; ajuste conforme desejar */
    overflow-y: auto;
  }
}

/* Ajustes semelhantes para "Meus Projetos" e "Contato" */
#page-projects,
#page-contact {
  align-items: flex-start;
  padding-top: 90px;           /* empurra conteúdo para baixo da navbar */
  overflow-y: auto;            /* permite rolagem dentro da página */
  -webkit-overflow-scrolling: touch;
}
@import url('');
@media (max-width: 1023px) {
  #page-projects,
  #page-contact {
    padding-top: 90px;
    overflow-y: auto;
  }
}
.page-content {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

/* Home Page */
.home-content {
  text-align: center;
}

.interactive-title-container {
  position: relative;
  margin-bottom: 32px;
}

.title-text {
  font-size: 96px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  cursor: pointer;
  user-select: none;
  position: relative;
  z-index: 10;
}

.title-line {
  display: block;
}

.title-letter,
.subtitle-letter,
.description-letter {
  display: inline-block;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
  cursor: none;
}

/* Subtitle letters inherit gradient from parent */
.subtitle-letter {
  background: linear-gradient(135deg, #d1d5db, #e5e7eb, #d1d5db);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Description letters inherit gradient from parent */
.description-letter {
  background: linear-gradient(135deg, #9ca3af, #d1d5db);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.title-letter.letter-space,
.subtitle-letter.letter-space,
.description-letter.letter-space {
  display: inline-block;
  width: 0.3em;
}

/* Initial Load Animation */
.initial-hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}

.initial-visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease;
}

.show-element {
  opacity: 1 !important;
  visibility: visible !important;
  transition: opacity 0.5s ease !important;
}



.subtitle-section {
  margin-bottom: 48px;
}

.subtitle {
  font-size: 36px;
  font-weight: 300;
  color: #d1d5db;
  margin-bottom: 12px;
}

.description {
  font-size: 20px;
  color: #9ca3af;
  max-width: 672px;
  margin: 0 auto;
}


.social-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  transition: all 0.3s;
  font-weight: 500;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.social-icon {
  width: 20px;
  height: 20px;
}

/* About Page */
.about-content {
  max-width: 896px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-size: 72px;
  font-weight: 900;
  margin-bottom: 16px;
}

.title-underline {
  width: 96px;
  height: 4px;
  margin: 0 auto;
  border-radius: 9999px;
  background: linear-gradient(90deg, #9333ea, #f97316, #22c55e);
}

.about-text-card {
  position: relative;
  margin-bottom: 48px;
}

.about-text-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.2), rgba(249, 115, 22, 0.2), rgba(34, 197, 94, 0.2));
  filter: blur(32px);
  opacity: 0;
  transition: opacity 0.5s;
}

.about-text-card:hover::before {
  opacity: 1;
}

.about-text {
  position: relative;
  padding: 48px;
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 24px;
  line-height: 1.7;
  color: #d1d5db;
  font-weight: 300;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .info-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.info-card {
  position: relative;
  padding: 24px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  transition: all 0.3s;
}

.info-card:hover {
  border-color: rgba(147, 51, 234, 0.5);
}

.info-label {
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 8px;
}

.info-value {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

/* Projects Page */
.projects-content {
  max-width: 1280px;
  margin: 0 auto;
}

.project-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #9ca3af;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
}

.filter-btn.active {
  background: linear-gradient(135deg, #9333ea, #f97316, #22c55e);
  color: #fff;
  border: none;
  box-shadow: 0 10px 25px rgba(147, 51, 234, 0.4);
  transform: scale(1.05);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project-card {
  position: relative;
  display: block;
  padding: 32px;
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  transition: all 0.5s;
  overflow: hidden;
  cursor: default !important;
}

.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s;
}

.project-card:hover {
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.project-title {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.project-description {
  color: #9ca3af;
  margin-bottom: 16px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-tag {
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #d1d5db;
}

/* Premium Project Buttons */
.project-btn {
  padding: 6px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  z-index: 10;
  position: relative;
}

.project-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.project-btn.game, .project-btn.web, .project-btn.blue {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.3);
}

.project-btn.game:hover, .project-btn.web:hover, .project-btn.blue:hover {
  background: rgba(59, 130, 246, 0.3);
  border-color: #60a5fa;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
}

.project-btn.youtube, .project-btn.red {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.3);
}

.project-btn.youtube:hover, .project-btn.red:hover {
  background: rgba(239, 68, 68, 0.3);
  border-color: #f87171;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.2);
}

.project-btn.green {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border-color: rgba(34, 197, 94, 0.3);
}

.project-btn.green:hover {
  background: rgba(34, 197, 94, 0.3);
  border-color: #4ade80;
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.2);
}

/* Contact Page */
.contact-content {
  max-width: 1152px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
  }
}

.contact-card {
  position: relative;
  padding: 48px;
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-card-title {
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 32px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  transition: all 0.3s;
}

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

.contact-item:hover.contact-item:nth-child(1) {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.5);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
}

.contact-icon.green {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
}

.contact-icon.blue {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

.contact-icon.red {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.contact-icon.purple {
  background: rgba(147, 51, 234, 0.2);
  color: #a78bfa;
}

.contact-text {
  color: #d1d5db;
  font-weight: 500;
  transition: color 0.3s;
}

.contact-item:hover .contact-text {
  color: #fff;
}

/* Score Display Fixed at Top Center */
.score-container-fixed {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  pointer-events: none;
}

.score-label {
  font-size: 12px;
  color: #9ca3af;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.score-value {
  font-size: 32px;
  font-weight: 900;
  background: linear-gradient(135deg, #9333ea, #f97316, #22c55e);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  transition: transform 0.2s ease;
}

.score-value.animate {
  transform: scale(1.2);
}

/* Reset Button Fixed at Top Right */
.reset-button-container-fixed {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  pointer-events: none;
}

.reset-button-fixed {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(147, 51, 234, 0.5);
  color: #a78bfa;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 0 20px rgba(147, 51, 234, 0.3);
}

.reset-button-fixed:hover {
  border-color: rgba(147, 51, 234, 0.8);
  background: rgba(147, 51, 234, 0.2);
  color: #c4b5fd;
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(147, 51, 234, 0.6);
}

.reset-button-fixed .reset-icon {
  width: 20px;
  height: 20px;
}

.reset-button-fixed .reset-text {
  display: inline;
}

.version-text {
  font-size: 12px;
  color: #6b7280;
  font-family: 'Courier New', monospace;
  pointer-events: none;
}

/* More colorful and modern text styles */
.subtitle {
  font-size: 36px;
  font-weight: 300;
  background: linear-gradient(135deg, #d1d5db, #e5e7eb, #d1d5db);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.description {
  font-size: 20px;
  color: #9ca3af;
  max-width: 672px;
  margin: 0 auto;
  background: linear-gradient(135deg, #9ca3af, #d1d5db);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-text {
  position: relative;
  padding: 48px;
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 24px;
  line-height: 1.7;
  color: #e5e7eb;
  font-weight: 300;
  background-image: linear-gradient(135deg, rgba(147, 51, 234, 0.1), rgba(249, 115, 22, 0.1), rgba(34, 197, 94, 0.1));
}

.info-value {
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, #9333ea, #f97316, #22c55e);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.project-title {
  font-size: 20px;
  font-weight: 600;
  background: linear-gradient(135deg, #fff, #e5e7eb);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.contact-card-title {
  font-size: 30px;
  font-weight: 700;
  background: linear-gradient(135deg, #9333ea, #f97316, #22c55e);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 32px;
}

/* Responsive */
@media (max-width: 768px) {
  .title-text {
    font-size: 48px;
  }
  
  .section-title {
    font-size: 48px;
  }
  
  .about-text {
    font-size: 18px;
    padding: 32px;
  }

  .score-container-fixed {
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
  }

  .score-value {
    font-size: 18px;
  }

  .reset-button-container-fixed {
    top: 12px;
    right: 12px;
  }

  .reset-button-fixed .reset-text {
    display: none;
  }
}

/* --- Mobile specific layout adjustments --- */
@media (max-width: 1023px) {
  /* Score centered below navbar on mobile */
  .score-container-fixed {
    top: 90px; /* ~10px below navbar */
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    text-align: center;
  }
  .score-label {
    font-size: 10px;
  }
  .score-value {
    font-size: 18px;
    line-height: 1;
  }
  /* Reset button smaller on the right of navbar */
  .reset-button-container-fixed {
    top: 12px;
    right: 12px;
  }
  .reset-button-fixed {
    padding: 6px 10px;
    border-width: 1px;
    font-size: 12px;
  }
  .reset-button-fixed .reset-icon {
    width: 18px;
    height: 18px;
  }
  /* Ensure page content starts 10px below navbar (navbar ~64px height) */
  .page {
    padding-top: 74px; /* 64px navbar + 10px gap */
  }
}

