/* Global Styles */
html {
  scroll-behavior: smooth;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}

body {
  background-color: #131313;
  color: #e5e2e1;
  font-family: 'Inter', sans-serif;
}

/* Layout Effects */
.glass-effect {
  background: rgba(19, 19, 19, 0.8);
  backdrop-filter: blur(20px);
}

.ghost-border {
  border: 1px solid rgba(66, 71, 84, 0.2);
}

/* Technical Grid Background */
.technical-grid {
  background-image: radial-gradient(circle, rgba(173, 198, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Carousel/Achievements Animation */
@keyframes scroll-continuous {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.carousel-scroll {
  animation: scroll-continuous 30s linear infinite;
}

.carousel-item {
  flex-shrink: 0;
  width: auto;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background-color: #201f1f;
  padding: 2rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(66, 71, 84, 0.2);
  max-width: 400px;
  width: 90%;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-option {
  padding: 1rem;
  margin: 0.5rem 0;
  border: 1px solid rgba(77, 142, 255, 0.3);
  border-radius: 0.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.modal-option:hover {
  background-color: rgba(77, 142, 255, 0.1);
  border-color: rgba(77, 142, 255, 0.6);
}

.modal-close {
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: bold;
  color: #e5e2e1;
  float: right;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #adc6ff;
}
