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

/* Variables */
:root {
  --primary-bg: #000000;
  --secondary-bg: #111111;
  --accent-bg: #1a1a1a;
  --primary-text: #ffffff;
  --secondary-text: #cccccc;
  --accent-text: #999999;
  --border-color: #333333;
  --highlight: #ffffff;
  --blur-bg: rgba(17, 17, 17, 0.9);
  --card-bg: rgba(26, 26, 26, 0.8);
  --cyber-accent: red;
  --cyber-glow: rgba(255, 0, 0, 0.2);
  --neon-border: rgba(255, 0, 0, 0.3);
  --border-radius: 3px;
}

/* Custom selection color */
::-moz-selection {
  color: var(--primary-bg);
  background: var(--cyber-accent);
}

::selection {
  color: var(--primary-bg);
  background: var(--cyber-accent);
}

/* Make text unselectable */
.material-icons,
.prevent-select {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

/* Icons config */
.material-icons {
  vertical-align: middle;
}

@font-face {
  font-family: 'Material Symbols Rounded';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/materialsymbolsrounded/v285/syl0-zNym6YjUruM-QrEh7-nyTnjDwKNJ_190FjpZIvDmUSVOK7BDJ_vb9vUSzq3wzLK-P0J-V_Zs-QtQth3-jOcbTCVpeRL2w5rwZu2rIelXxc.woff2) format('woff2');
}

.material-icons {
  font-family: 'Material Symbols Rounded', serif;
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -moz-font-feature-settings: 'liga';
  -moz-osx-font-smoothing: grayscale;
}

.secondary {
  opacity: 0.6;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--primary-text);
  background-color: var(--primary-bg);
  overflow-x: hidden;
}

/* Section Styles */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-title {
  font-family: "JetBrains Mono", monospace;
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  color: var(--primary-text);
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background: var(--cyber-accent);
}

/* Logo */
.logo {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-text);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.logo::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--cyber-accent);
  box-shadow: 0 0 8px var(--cyber-glow);
}

.logo:hover {
  color: var(--cyber-accent);
}

/* Navbar */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--blur-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--border-color);
}

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

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

.nav-links a {
  text-decoration: none;
  color: var(--secondary-text);
  font-weight: 400;
  font-size: 0.9rem;
  position: relative;
  transition: color 0.3s ease;
  letter-spacing: 1px;
}

.nav-links a:hover {
  color: var(--primary-text);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--cyber-accent);
  transition: width 0.3s ease;
}

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

.mobile-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.mobile-menu span {
  width: 25px;
  height: 2px;
  background: var(--primary-text);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--primary-bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
          90deg,
          transparent 49%,
          rgba(255, 255, 255, 0.02) 50%,
          transparent 51%
  ),
  linear-gradient(
          0deg,
          transparent 49%,
          rgba(255, 255, 255, 0.02) 50%,
          transparent 51%
  );
  background-size: 100px 100px;
  opacity: 0.3;
}

.hero-content {
  max-width: 800px;
  padding: 0 2rem;
  animation: fadeInUp 1s ease;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-family: "JetBrains Mono", monospace;
  font-size: 4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: -1px;
  color: var(--primary-text);
}

.hero h1::after {
  content: "_";
  color: var(--cyber-accent);
  animation: blink 1.5s infinite;
}

.hero .subtitle {
  font-size: 1.3rem;
  color: var(--secondary-text);
  margin-bottom: 2rem;
  font-weight: 300;
}

/* Scroll-down "button" */
.cta-button {
  display: inline-block;
  padding: 0.5rem 2rem;
  background: transparent;
  color: var(--primary-text);
  text-decoration: none;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  transition: all 0.3s ease;
  font-weight: 500;
  letter-spacing: 1px;
  cursor: default;
}

.cta-button:hover {
  opacity: 0.8;
}

/* About me section  */
.about-me {
  background: var(--secondary-bg);
  position: relative;
  padding: 100px;
  border-radius: calc(var(--border-radius) * 2);
}

.about-me h3 {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.8rem;
  color: var(--primary-text);
  margin-bottom: 1.5rem;
  position: relative;
}

.about-me .fact {
  padding: 0 0 0 5px;
  margin: 0;
}

.about-me .fact span {
  margin-right: 5px;
}

.about-me a {
  color: unset;
}

.about-me a:hover {
  text-decoration-color: var(--cyber-accent);
}

/* Added subtle geometric accent to section title */
.about-me h3::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--cyber-accent);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.about-me p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--secondary-text);
  margin-bottom: 1.5rem;
}

.journey-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.highlight-item {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.highlight-item:hover {
  border-color: var(--neon-border);
}

.highlight-number {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent-text);
  display: block;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.highlight-item:hover .highlight-number {
  color: var(--cyber-accent);
}

.highlight-label {
  font-size: 0.8rem;
  color: var(--secondary-text);
}

/* Projects section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.project-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--neon-border);
}

.project-image {
  height: 180px;
  background: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--secondary-text);
  transition: all 0.3s ease;
}

.project-card:hover .project-image {
  color: var(--cyber-accent);
}


.project-content {
  padding: 0.3rem 1.5rem 1.5rem;
}

.project-languages {
  color: var(--accent-text);
  font-size: 0.8rem;
  margin-bottom: 0.9rem;
}

.project-title {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
  color: var(--primary-text);
}

.project-description {
  color: var(--secondary-text);
  line-height: 1.6;
  font-size: 0.9rem;
}

/* Skills section */
.skills {
  background: var(--secondary-bg);
  border-radius: var(--border-radius);
}

.skills h3 {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.8rem;
  color: var(--primary-text);
  margin-bottom: 1.5rem;
  position: relative;
}

/* Added subtle geometric accent to section title */
.skills h3::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--cyber-accent);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.skills h4 {
  font-size: 1.6rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.skill-item {
  text-align: center;
  padding: 2rem;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.skill-item:hover {
  transform: translateY(-30px);
  border-color: var(--neon-border);
}

.skill-item:hover .skill-icon span {
  color: var(--cyber-accent);
}

.skill-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  background: var(--accent-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: 1px solid var(--border-color);
}

.skill-icon span {
  transition: all 0.3s ease;
}

.skill-icon span[skill="high"] {
  color: var(--highlight);
}

.skill-icon span[skill="middle"] {
  color: var(--accent-text);
}

.skill-icon span[skill="low"] {
  color: var(--border-color);
}

.skill-name {
  font-family: "JetBrains Mono", monospace;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
  color: var(--primary-text);
}

.skill-description {
  color: var(--secondary-text);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Song section */
.song-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  margin-top: 3rem;
  text-align: center;
}

.songs-intro {
  text-align: center;
  max-width: 600px;
}

.songs-intro h3 {
  color: var(--primary-text);
  font-family: "JetBrains Mono", monospace;
  font-size: 1.5rem;
  margin-bottom: 1rem;

}

.songs-intro p {
  color: var(--secondary-text);
  font-size: 1rem;
  line-height: 1.6;
}

.songs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 800px;
}

.song {
  display: flex;
  align-items: center;
  padding: 1.2rem;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  text-decoration: none;
  color: var(--primary-text);
  transition: all 0.3s ease;
}

.song:hover {
  transform: translateY(-3px);
  border-color: var(--neon-border);
}

.song:hover .platform-icon {
  color: var(--cyber-accent);
}

.song-icon {
  width: 50px;
  height: 50px;
  background: var(--accent-bg);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-text);
  margin-right: 1rem;
  font-size: 1.2rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.song-info h4 {
  font-family: "JetBrains Mono", monospace;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.song-info h6 {
  font-weight: 500;
  letter-spacing: 1px;
  padding-left: 15px;
  position: relative;
}

/* Added subtle geometric accent to section title */
.song-info h6::before {
  content: "";
  position: absolute;
  left: -0.5px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--accent-text);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.song-info p {
  color: var(--secondary-text);
  font-size: 0.8rem;
}

/* Contact section */
.contact-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  margin-top: 3rem;
}

.contact-intro {
  text-align: center;
  max-width: 600px;
}

.contact-intro h3 {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-text);
}

.contact-intro p {
  color: var(--secondary-text);
  font-size: 1rem;
  line-height: 1.6;
}

.social-platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 800px;
}

.platform-link {
  display: flex;
  align-items: center;
  padding: 1.2rem;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  text-decoration: none;
  color: var(--primary-text);
  transition: all 0.3s ease;
}

.platform-link:hover {
  transform: translateY(-3px);
  border-color: var(--neon-border);
}

.platform-link:hover .platform-icon {
  color: var(--cyber-accent);
}

.platform-icon {
  width: 50px;
  height: 50px;
  background: var(--accent-bg);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-text);
  margin-right: 1rem;
  font-size: 1.2rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.platform-info h4 {
  font-family: "JetBrains Mono", monospace;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.platform-info h6 {
  font-weight: 500;
  letter-spacing: 1px;
  padding-left: 15px;
  position: relative;
}

/* Added subtle geometric accent to section title */
.platform-info h6::before {
  content: "";
  position: absolute;
  left: -0.5px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--accent-text);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.platform-info p {
  color: var(--secondary-text);
  font-size: 0.8rem;
}

/* Footer */
.footer {
  background: var(--primary-bg);
  color: var(--primary-text);
  text-align: center;
  padding: 3rem 0;
  border-top: 1px solid var(--border-color);
}

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

.footer-social-link {
  width: 40px;
  height: 40px;
  background: var(--secondary-bg);
  color: var(--secondary-text);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.footer-social-link:hover {
  color: var(--cyber-accent);
  border-color: var(--neon-border);
}

.footer p {
  color: var(--secondary-text);
  font-size: 0.9rem;
}

/*  Added subtle blink animation for cursor effect */
@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

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

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive design */
@media (max-width: 768px) {
  .nav-links {
    z-index: 100;
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 2rem;
    transition: left 0.3s ease;
    background-color: #0000009a;
  }

  .nav-links.active {
    left: 0;
  }

  .mobile-menu {
    display: flex;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero .subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .social-platforms {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3rem 1rem;
  }

  .about-me {
      padding: 40px;
  }
}
