@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --bg-dark: #06080b;
  --bg-card: rgba(17, 25, 40, 0.75);
  --accent-primary: #00e5ff;
  --accent-secondary: #7000ff;
  --accent-tertiary: #ff00c8;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --border-color: rgba(255, 255, 255, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);



  --transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  --transition-fast: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}



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

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



::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--glass-border);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  background: var(--bg-dark);
  background-image:
    radial-gradient(circle at 20% 20%, rgba(0, 229, 255, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(112, 0, 255, 0.03) 0%, transparent 40%),
    url('https://www.transparenttextures.com/patterns/dark-matter.png');
  line-height: 1.7;


  overflow-x: hidden;
}

h1,
h2,
h3,
.logo {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

a {
  text-decoration: none;
  color: inherit;
}






.cursor-follower {
  position: fixed;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease-out;
  mix-blend-mode: screen;
}



.blob-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  filter: blur(80px);
}

.blob {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  opacity: 0.4;
  animation: moveBlob 25s infinite alternate;
}

.blob-1 {
  background: var(--accent-primary);
  top: -10%;
  left: -10%;
  animation-delay: 0s;
}

.blob-2 {
  background: var(--accent-secondary);
  bottom: -10%;
  right: -10%;
  animation-duration: 30s;
}

.blob-3 {
  background: var(--accent-tertiary);
  top: 40%;
  right: 20%;
  animation-duration: 20s;
}

@keyframes moveBlob {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(100px, 50px) scale(1.1);
  }

  100% {
    transform: translate(-50px, 150px) scale(0.9);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.reveal,
.section {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(30px);
  transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.revealed,
.section.revealed {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}






.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow:
    0 8px 32px 0 rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);


}



.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  padding: 1rem 8%;
  background: rgba(6, 8, 11, 0.85);
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #fff 0%, var(--accent-primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav {
  display: flex;
  gap: 3rem;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: var(--transition);
}

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

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



.menu-btn {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--accent-primary);
}



.hero {
  min-height: 100vh;
  padding: 0 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
}

.hero-content {
  z-index: 2;
  max-width: 900px;
}

.hero-content h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  line-height: 0.95;
  font-weight: 800;
  margin-bottom: 2rem;
  letter-spacing: -3px;
}

.hero-content h1 span {
  display: block;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 10px;
}

.hero-text {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 3rem;
  font-weight: 400;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 1.1rem 2.8rem;
  border-radius: 100px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 0.85rem;
}

.primary-btn {
  background: linear-gradient(90deg, var(--accent-primary), #00ffff, var(--accent-primary));
  background-size: 200% 100%;
  color: var(--bg-dark);
  box-shadow: 0 20px 40px rgba(0, 229, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.primary-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 229, 255, 0.4);
  animation: shimmer 2s infinite linear;
}

.hero-circle {
  position: absolute;
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  width: 45vw;
  height: 45vw;
  max-width: 800px;
  max-height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.1) 0%, transparent 70%);
  filter: blur(80px);
  z-index: 1;
  animation: float 15s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(-50%) translateX(0) scale(1);
  }

  50% {
    transform: translateY(-55%) translateX(20px) scale(1.05);
  }
}



.section {
  padding: 140px 8%;
  max-width: 1600px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: 5rem;
  letter-spacing: -2px;
  position: relative;
  text-transform: uppercase;
}



@media (min-width: 992px) {
  .section-title::before {
    content: attr(data-text);
    position: absolute;
    top: -40%;
    left: -2%;
    font-size: 1.5em;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
    z-index: -1;
    white-space: nowrap;
  }
}



.about {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 6rem;
  align-items: start;
}

.about-text {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.skills-box {
  background: var(--bg-card);
  padding: 3.5rem;
  border-radius: 40px;
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}

.skills-box:hover {
  border-color: var(--accent-primary);
  transform: scale(1.02);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(0, 229, 255, 0.05);
}

.skills-box h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.skills-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1.5rem;
}

.skills-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  padding: 1.5rem 1rem;
  border-radius: 20px;
  transition: var(--transition);
  text-align: center;
}

.skills-list li:hover {
  background: rgba(0, 229, 255, 0.1);
  color: var(--accent-primary);
  transform: translateY(-5px);
}

.skills-list i {
  color: var(--accent-primary);
  font-size: 1.5rem;
}



.projects {
  background: rgba(255, 255, 255, 0.02);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 3rem;
}

.project-card {
  position: relative;
  padding: 3rem;
  border-radius: 40px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-15px) scale(1.01);
  border-color: var(--accent-primary);
  background: rgba(255, 255, 255, 0.05);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.6),
    0 0 50px rgba(0, 229, 255, 0.15);


}

.project-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.project-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
  line-height: 1.8;
}

.project-link {
  font-weight: 600;
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.project-link i {
  transition: var(--transition);
}

.project-link:hover i {
  transform: translateX(5px);
}



.contact {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact .section-title span {
  background: linear-gradient(90deg, var(--accent-primary), #7000ff, var(--accent-primary));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}

.contact-card {
  padding: 5rem 10%;
  border-radius: 40px;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  animation: floatingCard 6s ease-in-out infinite;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(0, 229, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.contact-info {
  max-width: 700px;
  margin: 0 auto;
}

.contact-text {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 4rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.5rem;
}



.email-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: clamp(1.1rem, 5vw, 1.8rem);
  font-weight: 700;
  color: var(--text-primary);
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition);
}

.email-link i {
  color: var(--accent-primary);
  font-size: 1.4rem;
}

.email-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-primary), #7000ff);
  transition: var(--transition);
}

.email-link:hover {
  color: var(--accent-primary);
  letter-spacing: 1px;
}

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



.social-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.social-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent-primary);
  font-weight: 500;
  opacity: 0.8;
}

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

.social-links a {
  width: 65px;
  height: 65px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--text-primary);
  position: relative;
  transition: var(--transition-fast);
}

.social-links a::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(45deg, var(--accent-primary), #7000ff);
  border-radius: 50%;
  opacity: 0;
  transition: var(--transition-fast);
  z-index: -1;
}

.social-links a:hover {
  transform: translateY(-8px) scale(1.1);
  color: var(--bg-dark);
  border-color: transparent;
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.4);
}

.social-links a:hover::before {
  opacity: 1;
}

.social-links a i {
  transition: var(--transition-fast);
}

.social-links a:hover i {
  transform: scale(1.1);
}



.footer {
  padding: 3rem 8%;
  text-align: center;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.9rem;
}



.section {
  padding: clamp(80px, 15vh, 140px) 8%;
  max-width: 1600px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 800;
  margin-bottom: clamp(2.5rem, 10vw, 5rem);
  letter-spacing: -1.5px;
  position: relative;
  text-transform: uppercase;
  line-height: 1.1;
}



.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 45px;
  height: 45px;
  background: var(--accent-primary);
  color: var(--bg-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 10px 20px rgba(0, 229, 255, 0.3);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}






@media (min-width: 1025px) {
  .nav {
    display: flex !important;
  }

  .menu-btn {
    display: none !important;
  }
}



@media (max-width: 1024px) {
  .header {
    padding: 1.5rem 5%;
  }

  .header.scrolled {
    padding: 1rem 5%;
  }

  .about,
  .contact-card {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .contact-card {
    padding: 4rem 6%;
    text-align: center;
  }

  .contact-info .section-title {
    margin: 0 auto 2rem;
  }

  .contact-text {
    margin: 0 auto;
  }

  .contact-details {
    align-items: center;
  }

  .section {
    padding: 80px 5%;
  }

  .about-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
  }



  .menu-btn {
    display: block !important;
    z-index: 1001;
  }

  .nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(4, 6, 9, 0.98);
    backdrop-filter: blur(80px) saturate(180%);
    -webkit-backdrop-filter: blur(80px) saturate(180%);
    flex-direction: column;
    justify-content: center;
    padding: 10vh 12%;
    z-index: 1000;
  }

  .nav.active {
    display: flex !important;
  }

  .nav-header {
    margin-bottom: 5rem;
    opacity: 0;
    filter: blur(10px);
    transform: translateY(15px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    transition-delay: 0.1s;
  }

  .nav.active .nav-header {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    position: relative;
    padding-left: 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.02);
  }

  .nav-links a {
    position: relative;
    font-size: 0.85rem;
    /* Ultra-Minimalist Scale */
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 1rem;
    letter-spacing: 8px;
    /* Technical spacing */
    opacity: 0;
    filter: blur(15px);
    transform: translateX(20px);
    transition: all 0.9s cubic-bezier(0.23, 1, 0.32, 1);
    white-space: nowrap;
  }



  .nav-links a::after {
    content: attr(data-link);
    position: absolute;
    left: 4.5rem;
    color: var(--accent-primary);
    opacity: 0;
    filter: blur(4px);
    transform: translateX(10px);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
    font-size: 0.85rem;
  }

  .nav-links a:hover::after,
  .nav-links a:active::after {
    opacity: 0.3;
    filter: blur(0);
    transform: translateX(20px);
  }

  .nav.active .nav-links a {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
    letter-spacing: 8px;
  }

  .nav-links a:nth-child(1) {
    transition-delay: 0.2s;
  }

  .nav-links a:nth-child(2) {
    transition-delay: 0.3s;
  }

  .nav-links a:nth-child(3) {
    transition-delay: 0.4s;
  }

  .nav-links a:nth-child(4) {
    transition-delay: 0.5s;
  }

  .nav-idx {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;


    font-weight: 500;
    color: var(--accent-primary);
    opacity: 0.5;
    letter-spacing: 1px;
  }

  .nav-footer {
    margin-top: auto;
    opacity: 0;
    filter: blur(10px);
    transform: translateY(15px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    transition-delay: 0.6s;
  }

  .nav.active .nav-footer {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }

  .nav-social {
    display: flex;
    gap: 1.2rem;
  }

  .nav-social a {
    font-size: 1rem;
    /* Micro-scale social */
    color: var(--text-secondary);
    opacity: 0.6;
    transition: var(--transition-fast);
  }

  .nav-social a:hover {
    color: var(--accent-primary);
    opacity: 1;
  }

  .hero-content {
    align-items: center;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .hero-content h1 {
    font-size: clamp(2.5rem, 10vw, 4rem);
    margin-bottom: 1.5rem;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
  }

  .hero-btns {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 1rem;
  }

  .btn {
    width: auto;
    min-width: 220px;
    max-width: 100%;
    padding: 1rem 2rem;
    justify-content: center;
  }
}

/* Specifically for Mobile (768px and below) */
@media (max-width: 768px) {
  body {
    background-image: none;
    background-color: var(--bg-dark);
  }

  .blob-container,
  .hero-circle,
  .cursor-follower {
    display: none !important;
  }

  .section-title {
    margin-bottom: 3rem;
    text-align: center;
  }

  .section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  /* Contact Mobile Refinements */
  .contact-card {
    padding: 3rem 1.2rem;
    /* Slightly tighter for ultra-small screens */
    border-radius: 30px;
    animation: floatingCard 8s ease-in-out infinite;
    max-width: 100%;
    margin-top: 2rem;
    overflow: hidden;
    /* Prevent inner animation clipping */
  }

  .contact-text {
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
  }

  .contact-details {
    gap: 2rem;
  }

  .email-link {
    flex-direction: column;
    font-size: 0.75rem;
    /* Ultra-Micro Elite Scale */
    letter-spacing: 1.5px;
    gap: 1.2rem;
    padding: 1.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    width: 100%;
    max-width: 100%;
    text-align: center;
    backdrop-filter: blur(5px);
    word-break: normal;
    overflow-wrap: break-word;
  }

  .email-link i {
    font-size: 1.2rem;
    background: rgba(0, 229, 255, 0.08);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }

  .social-links {
    gap: 1rem;
  }

  .social-links a {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .skills-box {
    padding: 8%;
    border-radius: 30px;
  }

  .skills-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .skills-list li {
    padding: 1.2rem 0.5rem;
    border-radius: 16px;
    font-size: 0.85rem;
  }

  .project-grid {
    grid-template-columns: 1fr;
    /* Force 1-column on mobile to prevent overflow */
    gap: 2rem;
  }

  .project-card {
    width: 100%;
    padding: 2.5rem;
    border-radius: 32px;
    text-align: center;
  }

  .project-link {
    justify-content: center;
  }

  .section,
  .contact {
    padding: 60px 4%;
  }

  .hero-content h1 {
    font-size: clamp(1.8rem, 12vw, 3.5rem);
  }
}

/* Small Smartphone Tuning (480px) */
@media (max-width: 480px) {

  .section,
  .contact {
    padding: 50px 4%;
  }

  .hero-content h1 {
    font-size: 2.4rem;
  }

  .hero-text {
    font-size: 1.05rem;
  }

  .email-link i {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    font-size: 1.2rem;
  }

  .social-links a {
    width: 55px;
    height: 55px;
    font-size: 1.3rem;
  }
}

/* Tiny Device Fixes (320px) */
@media (max-width: 340px) {

  .section,
  .contact {
    padding: 40px 15px;
  }

  .header {
    padding: 1rem 15px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.5rem;
    letter-spacing: -1px;
  }

  .btn {
    width: 100%;
    max-width: 100%;
  }

  .skills-list {
    grid-template-columns: 1fr;
  }
}

@keyframes autoShimmer {
  0% {
    transform: translateX(-150%) skewX(-25deg);
  }

  50% {
    transform: translateX(150%) skewX(-25deg);
  }

  100% {
    transform: translateX(150%) skewX(-25deg);
  }
}

@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
  }

  50% {
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.5);
  }
}

@media (max-width: 768px) {

  .btn:active,
  .nav-links a:active,
  .social-links a:active,
  .email-link:active,
  .project-card:active {
    transform: scale(0.96) !important;
    transition: transform 0.1s ease;
  }

  .glass::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(to right,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent);
    transform: skewX(-25deg);
    animation: autoShimmer 6s infinite ease-in-out;
    pointer-events: none;
  }

  .primary-btn {
    animation: pulseGlow 4s infinite ease-in-out;
  }
}

@media (hover: none) {
  .magnetic {
    transform: none !important;
  }
}