:root {
  --heading-font: 'Orbitron', sans-serif;
  --subheading-font: 'Rajdhani', sans-serif;
  --body-font: 'Exo 2', sans-serif;

  --h1-size: clamp(2.5rem, 5vw, 4rem);
  --h2-size: clamp(1.8rem, 3.5vw, 3rem);
  --h3-size: clamp(1.5rem, 2.5vw, 1.9rem);
  --body-size: clamp(1rem, 1.2vw, 1.2rem);
  --small-size: clamp(0.875rem, 1vw, 1rem);
}

html {
  scroll-behavior: smooth;
}

#download {
  scroll-margin-top: 250px; 
}

#about {
  scroll-margin-top: 50px;
}

#contact {
  scroll-margin: 300px;
}

body {
  margin: 0;
  padding: 0;
  background-color: #1b1b27;
  color: #fff;
  font-family: var(--body-font);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 100px; 
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #0d0d16; 
  z-index: 1000;
  padding: 10px 0;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 2px 30px black;
  border-radius: 0px 0px 20px 20px;
}

.navbar-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar ul {
  display: flex;
  gap: 20px;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.navbar li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.2s;
  font-family: var(--subheading-font);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.navbar li a:hover {
  color: #f9cb28;
  text-shadow: 0px 0px 10px #f9cb28;
}

.navbar.translucent {
  background-color: rgba(15, 15, 26, 0.7); 
  backdrop-filter: blur(10px); 
  transition: all 0.3s ease-in-out;
}

.nova {
  font-size: 1.8rem;
  font-weight: bold;
  color: #ff4d4d;
  text-shadow: 0px 0px 50px #ff4d4d;
  font-family: var(--heading-font);
  letter-spacing: 1px;
  cursor: pointer;
}

.nova-a {
  text-decoration: none;
}

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

.title {
  font-size: 4rem;
  background: linear-gradient(90deg, #ff4d4d, #f9cb28);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 20px;
  text-shadow: 0 0 15px rgba(255, 77, 77, 0.3);
  font-family: var(--heading-font);
  letter-spacing: 2px;
  font-weight: 700;
}

.subtitle {
  font-size: 1.2rem;
  color: #aaa;
  max-width: 700px;
  margin: 0 auto;
  font-family: var(--subheading-font);
  font-weight: 500;
  letter-spacing: 1px;
}

.features-container {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 80px;
  align-items: center;
}

.lightning-main {
  position: absolute;
  left: 50%;
  top: 0;
  height: 100%;
  width: 4px;
  background: linear-gradient(to bottom, #ff4d4d, #f9cb28);
  transform: translateX(-50%);
  z-index: 0;
  opacity: 0.7;
  filter: blur(1px);
}

.feature-card {
  width: 80%;
  max-width: 600px;
  background: rgba(30, 30, 50, 0.7);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 77, 77, 0.2);
  backdrop-filter: blur(10px);
  overflow: hidden;
  opacity: 0;
  transform: translateX(0);
  transition: all 0.7s ease-out;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff4d4d, #f9cb28);
}

.feature-title {
  font-size: 1.9rem;
  font-variant: small-caps;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #ff4d4d, #f9cb28);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: 'Segoe UI', sans-serif;
  font-weight: 600;
}

.feature-desc {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #ddd;
  font-family: var(--body-font);
  font-weight: 400;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(255, 77, 77, 0.2);
  border: 1px solid rgba(255, 77, 77, 0.4);
}

.feature-card:hover::before {
  height: 5px;
}

.feature-card:nth-child(odd) {
  align-self: flex-start;
}

.feature-card:nth-child(even) {
  align-self: flex-end;
}

.feature-card:nth-child(odd)::after,
.feature-card:nth-child(even)::after {
  content: '';
  position: absolute;
  width: 2px;
  background: linear-gradient(to bottom, #ff4d4d, #f9cb28);
  height: 100px;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  transform-origin: bottom center;
  z-index: 0;
  filter: blur(0.5px);
  animation: sparkFlicker 2s infinite alternate;
}

.feature-card:nth-child(odd)::after {
  transform: translateX(-50%) rotate(-20deg);
  animation-delay: 0.3s;
}

.feature-card:nth-child(even)::after {
  transform: translateX(-50%) rotate(20deg);
  animation-delay: 0.6s;
}

@keyframes sparkFlicker {
  0%, 100% { opacity: 0.3; height: 50px; }
  20% { opacity: 0.7; height: 70px; }
  50% { opacity: 0.9; height: 90px; }
  80% { opacity: 0.5; height: 60px; }
}

.feature-card.from-left {
  transform: translateX(-100px);
}

.feature-card.from-right {
  transform: translateX(100px);
}

.feature-card.show {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .title {
    font-size: 2.5rem;
  }

  .feature-card {
    width: 90%;
    align-self: center !important;
  }

  .feature-card:nth-child(odd)::after,
  .feature-card:nth-child(even)::after {
    display: none;
  }
}

.download {
  font-size: 1.15em;
  padding: 20px;
  margin: 100px;
  text-align: center;
  border-radius: 20px;
  position: relative;
  background: transparent;
  border: none;
  box-shadow: 
    0 0 0 5px transparent,
    0 0 20px #ff4d4d;
  animation: 
    borderGlow 3s ease infinite,
    borderFlow 3s linear infinite;
  font-family: var(--subheading-font);
  font-weight: 500;
}

@keyframes borderFlow {
  0% { 
    box-shadow: 
      0 0 0 5px #ff4d4d,
      0 0 20px #ff4d4d; 
  }
  50% { 
    box-shadow: 
      0 0 0 5px #f9cb28,
      0 0 40px #f9cb28; 
  }
  100% { 
    box-shadow: 
      0 0 0 5px #ff4d4d,
      0 0 20px #ff4d4d; 
  }
}

@keyframes borderGlow {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

.download-btn {
  display: inline-block;
  background-color: #2C2C2C;
  color: white;
  font-size: 1.4em;
  padding: 5px 15px;
  border: 3px solid #ff4d4d;
  border-radius: 15px;
  cursor: pointer;
  transition: 0.2s ease-in-out;
  text-decoration: none;
  margin: 20px;
  font-family: var(--subheading-font);
}

.download-btn:hover {
  transform: scale(1.2);
  box-shadow: 0px 0px 20px #ff4d4d;
  background-color: #ff4d4d;
}

.our-desc {
  margin: 100px 0px 150px;
  font-size: 1.2em;
  text-shadow: 0px 0px 20px white;
  font-family: var(--body-font);
  font-weight: 500;
}

.abtus {
  font-size: 4rem;
  background: linear-gradient(90deg, #ff4d4d, #f9cb28);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
  padding-bottom: 50px;
  text-shadow: 0 0 15px rgba(255, 77, 77, 0.479);
  font-family: 'Share Tech Mono', monospace;
  font-weight: 20px;
}

.abt {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 40px;
  margin: 0 auto;
  max-width: 1200px;
  position: relative;
}

.bijan, .avi {
  width: 80%;
  max-width: 450px;
  background: rgba(30, 30, 50, 0.7);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 77, 77, 0.2);
  backdrop-filter: blur(10px);
  overflow: hidden;
  opacity: 0;
  transform: translateX(0);
  transition: all 0.7s ease-out;
  text-align: center;
}

.bijan::before, .avi::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff4d4d, #f9cb28);
}

.bijan:hover, .avi:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(255, 77, 77, 0.2);
  border: 1px solid rgba(255, 77, 77, 0.4);
  scale: 1;
}

.bijan:hover::before, .avi:hover::before{
  height: 5px;
}

.bijan {
  align-self: flex-start;
  transform: translateX(100px);
}

.avi {
  align-self: flex-end;
  transform: translateX(-100px);
}

.bijan.show, .avi.show{
  opacity: 1;
  transform: translateX(0);
}

.bijan::after, .avi::after{
  content: '';
  position: absolute;
  width: 2px;
  background: linear-gradient(to bottom, #ff4d4d, #f9cb28);
  height: 100px;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  transform-origin: bottom center;
  z-index: 0;
  filter: blur(0.5px);
  animation: sparkFlicker 2s infinite alternate;
}

.bijan::after{
  transform: translateX(-50%) rotate(-20deg);
  animation-delay: 0.3s;
}

.avi::after {
  transform: translateX(-50%) rotate(20deg);
  animation-delay: 0.6s;
}

.about img {
  height: 300px;
  border-radius: 38%;
  margin-bottom: 20px;
  border: 2px solid rgba(255, 77, 77, 0.3);
}

.about {
  text-align: center;
  margin-top: 80px;
}

@media (max-width: 768px) {
  .bijan, .avi {
    width: 90%;
    align-self: center !important;
  }
  .bijan::after, .avi::after {
    display: none;
  }
}

.contact {
  text-align: center;
  margin-top: 200px;
}

.contact-head {
  text-align: center;
  margin: 40px;
  font-size: 4rem;
  background: linear-gradient(90deg, #ff4d4d, #f9cb28);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
  padding-bottom: 50px;
  text-shadow: 0 0 15px rgba(255, 77, 77, 0.479);
}

.links  {
  padding: 10px;
  padding-bottom: 20px;
  margin-top: 80px;
  font-size: 2.1em;
  display: flex;
  justify-content: space-around;
}

.links i {
  color: #ffffff5b;
  transition: all 0.3s ease;
  text-shadow: 1px 1px 10px black;
  padding: 15px;
  border-radius: 25px;
  position: relative;
}

.discord i:hover {
  color: #7289da;
  transform: scale(1.2);
  box-shadow: 0px 0px 20px #7289da;
  border: 2px solid #7289da;
  text-shadow: 0px 0px 10px black;
}

.linkedin i:hover {
  color: #0077B5;
  transform: scale(1.2);
  box-shadow: 0px 0px 20px #0077B5;
  border: 2px solid #0077B5;
  text-shadow: 0px 0px 10px black;
}

.email i:hover {
  color: #FBBC05;
  transform: scale(1.2);
  box-shadow: 0px 0px 20px #FBBC05;
  border: 2px solid #FBBC05;
  text-shadow: 0px 0px 10px black;
}

.insta i:hover {
  color: #b700ff;
  transform: scale(1.2);
  box-shadow: 0px 0px 20px #b700ff;
  border: 2px solid #b700ff;
  text-shadow: 0px 0px 10px black;
}

.git i:hover {
  color: #c9c9c9;
  transform: scale(1.2);
  box-shadow: 0px 0px 20px #c9c9c9;
  border: 2px solid #c9c9c9;
  text-shadow: 0px 0px 10px black;
}

.back {
  width: 140px;
  height: 56px;
  overflow: hidden;
  border: none;
  color: #ff4d4d;
  background: none;
  position: relative;
  padding-bottom: 2em;
  cursor: pointer;
  align-items: center;
}

.back:hover {
  text-shadow: 0px 0px 10px #ff4d4d;
} 

.back a {
  text-decoration: none;
  color: #ff4d4d;
}

.back > a,
.back > i {
  position: absolute;
  width: 100%;
  height: 130%;
  display: flex;
}

.back:before {
  content: "";
  position: absolute;
  height: 2px;
  bottom: 0;
  left: 0;
  width: 100%;
  transform: scaleX(0);
  transform-origin: bottom right;
  background: currentColor;
  transition: transform 0.25s ease-out;
  color: #ffffff;
}

.back:hover:before {
  transform: scaleX(1);
  transform-origin: bottom left;
  box-shadow: 0px 0px 10px #ffffff;
}

.back .clone > *,
.back .text > * {
  opacity: 1;
  font-size: 1.3rem;
  transition: 0.2s;
  margin-left: 4px;
  font-family: var(--subheading-font);
}

.back .clone > * {
  transform: translateY(60px);
}

.back:hover .clone > * {
  opacity: 1;
  transform: translateY(0px);
  transition: all 0.2s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
  text-shadow: 0px 0px 10px #ff4d4d;
}

.back:hover .text > * {
  opacity: 1;
  transform: translateY(-60px);
  transition: all 0.2s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
  text-shadow: 0px 0px 10px #ff4d4d;
}

.back:hover .clone > :nth-child(1) {
  transition-delay: 0.15s;
}

.back:hover .clone > :nth-child(2) {
  transition-delay: 0.2s;
}

.back:hover .clone > :nth-child(3) {
  transition-delay: 0.25s;
}

.back:hover .clone > :nth-child(4) {
  transition-delay: 0.3s;
}

.back i {
  width: 27px;
  right: 0;
  top: 40%;
  transform: translateX(-40%) translateY(-10%) rotate(45deg);
  transition: 0.2s ease-out;
  font-size: 1.8em;
}

.back:hover i {
  transform: translateY(-10%) rotate(0deg);
  text-shadow: 0px 0px 10px #ff4d4d;
}

.why {
  background-color: #0d0b1f;
  border-radius: 5px;
  box-shadow: 0px 0px 5px black;
}

.w-title {
  font-size: 3rem;
  background: linear-gradient(90deg, #ff4d4d, #f9cb28);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 30px 0px 5px 10px;
  text-shadow: 0 0 15px rgba(255, 77, 77, 0.479);
  font-family: 'Share Tech Mono', monospace;
  font-weight: 20px;
}

.w-para {
  padding: 10px;
  line-height: 2;
  font-size: 1.1rem;
}

@media (max-width: 992px) {
  .container, .navbar-content {
    padding: 10px;
  }
  .abt, .features-container {
    flex-direction: column;
    gap: 40px;
  }
  .qr-card {
    width: 90%;
    max-width: 400px;
  }
  .qr-card img {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .qr-card {
    width: 90%;
    max-width: 350px;
    padding: 20px;
  }
  .qr-card img {
    height: 200px;
  }
  .qr-card .feature-title {
    font-size: 1.6rem;
  }
  .qr-card .our-desc {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  html, body {
    overflow-x: hidden;
    width: 100vw;
    margin: 0;
    padding: 0;
    background: #1b1b27;
  }

  .navbar {
    position: static;
    width: 100vw;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 2px 10px #000;
    padding: 0;
    background: #0d0d16;
  }

  .navbar-content {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    width: 100vw;
  }

  .navbar ul {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    width: 100vw;
    padding: 0 5px;
    margin: 0;
    background: transparent;
    border-radius: 0;
    gap: 0;
    justify-content: flex-start;
  }

  .navbar li {
    width: auto;
    min-width: max-content;
    text-align: center;
    margin: 0 2px;
    padding: 0;
    border: none;
  }

  .navbar li a {
    display: block;
    padding: 12px 10px;
    font-size: 1rem;
    border-bottom: none;
    white-space: nowrap;
  }

  .container {
    width: 100vw;
    max-width: 100vw;
    padding: 0 5vw;
    box-sizing: border-box;
  }

  .feature-card, .bijan, .avi{
    width: 100%;
    max-width: 100vw;
    margin: 16px 0;
    padding: 12px 8px;
    box-sizing: border-box;
    border-radius: 10px;
  }

  .abt, .features-container {
    flex-direction: column;
    gap: 16px;
    width: 100vw;
    padding: 0;
    margin: 0;
  }

  img {
    width: 70vw;
    max-width: 200px;
    height: auto;
    margin: 0 auto 10px auto;
    display: block;
    border-radius: 38%;
  }

  .title, .abtus, .contact-head, .w-title {
    font-size: 1.3rem;
    padding: 10px 0;
    word-break: break-word;
    text-align: center;
  }

  .download, .why, .our-desc {
    margin: 18px 0;
    padding: 10px 5px;
    font-size: 1em;
    border-radius: 10px;
  }

  .links {
    flex-direction: row;
    flex-wrap: wrap;
    font-size: 1em;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
  }

  .qr-card {
    width: 100%;
    max-width: 100%;
    margin: 16px 0;
    padding: 15px;
    box-sizing: border-box;
    border-radius: 10px;
  }
  
  .qr-card img {
    width: 80vw;
    max-width: 250px;
    height: auto;
    margin: 10px auto;
  }

  .qr-card .feature-title {
    font-size: 1.4rem;
    margin: 10px 0;
  }

  .qr-card .our-desc {
    font-size: 1em;
    margin: 8px 0;
    padding: 0 5px;
  }

  .support .abtus {
    font-size: 2.5rem;
    padding-bottom: 30px;
  }
}

@media (max-width: 360px) {
  .qr-card {
    padding: 12px;
  }
  
  .qr-card img {
    width: 90vw;
    max-width: 200px;
  }

  .qr-card .feature-title {
    font-size: 1.2rem;
  }

  .qr-card .our-desc {
    font-size: 0.9em;
  }
}

.support {
  text-align: center;
  margin-top: 80px;
}

.qr-card {
  width: 80%;
  max-width: 450px;
  background: rgba(30, 30, 50, 0.7);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 77, 77, 0.2);
  backdrop-filter: blur(10px);
  overflow: hidden;
  opacity: 0;
  transition: all 0.7s ease-out;
  margin: 0 auto;
}

.qr-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff4d4d, #f9cb28);
}

.qr-card:hover {
  box-shadow: 0 15px 35px rgba(255, 77, 77, 0.2);
  border: 1px solid rgba(255, 77, 77, 0.4);
}

.qr-card:hover::before {
  height: 5px;
}

.qr-card.show {
  opacity: 1;
}

.qr-card img {
  height: 300px;
  border-radius: 15px;
  margin-bottom: 20px;
  border: 2px solid rgba(255, 77, 77, 0.3);
}

.qr-card .our-desc {
  margin: 10px 0;
  font-size: 1.2em;
  text-shadow: 0px 0px 20px white;
  font-family: var(--body-font);
  font-weight: 500;
}

@media (max-width: 768px) {
  .qr-card {
    width: 90%;
  }
}

@media (max-width: 480px) {
  .qr-card {
    width: 100%;
    max-width: 100vw;
    margin: 16px 0;
    padding: 12px 8px;
    box-sizing: border-box;
    border-radius: 10px;
  }
  
  .qr-card img {
    width: 70vw;
    max-width: 200px;
    height: auto;
  }
}





