* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  scroll-behavior: smooth;
  /* font-family: "Poppins", sans-serif; */
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  transition: all 0.2s ease-in-out;
}

html {
  font-size: 60%;
  overflow-x: hidden;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes glow {

  0%,
  100% {
    box-shadow: 0 0 25px var(--main-color);
  }

  50% {
    box-shadow: 0 0 50px var(--main-color);
  }
}

@keyframes subtleFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

:root {
  --bg-color: #060606;
  --second-bg-color: #0b0b0c;
  --text-color: #ffffff;
  --main-color: #7c786c;
  --secondary-color: #5c5b53;
  --accent-color: #a19d8e;
  --selina-color: #bc7f4c;
  --selina-hover-color: #fad0a3;
  --main-color-rgb: 124, 121, 108;
  --text-color-rgb: 255, 255, 255;
  --gradient: linear-gradient(135deg, var(--main-color), var(--secondary-color));
  --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --header-height: 4.5rem;

  --discord-color: #5865F2;
  --discord-hover: #4752C4;
  --discord-light: rgba(88, 101, 242, 0.2);
  --success-color: #43B581;
  --warning-color: #FAA61A;
  --danger-color: #ED4245;
  --pink-color: #EB459E;
  --youtube-color: #ff0000;
  --instagram-color: #e1306c;
  --tiktok-color: #000000;
  --twitter-color: #1da1f2;
  --twitch-color: #8956FB;
  --spotify-color: #1DB954;
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

[data-theme="midnight"] {
  --bg-color: #000000;
  --second-bg-color: #0F0E13;
  --text-color: white;
  --main-color: #23395B;
  --secondry-color: #161925;
  /* --gradient: linear-gradient(90deg, var(--main-color), var(--secondry-color)); */
  --gradient: var(--main-color);
}

body {
  background: var(--bg-color);
  color: var(--text-color);
}

.header {
    position: fixed;
    width: 95%;
    max-width: 1400px;
    left: 50%;
    transform: translateX(-50%);
    top: 2rem;
    z-index: 999;
    
    /* Glassmorphism Effect */
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    
    /* Floating Container Styling */
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 
                0 2px 8px rgba(0, 0, 0, 0.2);
    
    /* Layout */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    transition: all 0.3s ease;
}

.menu-toggle {
    display: none;
}

#menu-icon {
  font-size: 3.6rem;
  color: var(--main-color);
  display: none;
}

.logo {
  font-size: 2.4rem;
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  /* color: var(--text-color); */
  font-weight: 800;
  cursor: pointer;
  /* transition: 0.3s ease; */
  background-size: 200% 200%;
  animation: gradientFlow 5s ease infinite;
}

.logo:hover {
  transform: scale(1.1);
}

span {
  color: var(--main-color);
}

.navbar {
  display: flex;
  gap: 2rem;
  z-index: 1000;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: rgba(255, 255, 255, 0.7);
}

section {
  min-height: 100vh;
  padding: 10rem 12%;
}

.home {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 8rem 6% 4rem;
  overflow: hidden;
  background: radial-gradient(circle at 20% 80%, rgba(var(--main-color-rgb), 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(var(--secondary-color), 0.1) 0%, transparent 50%);
}

.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--main-color);
  border-radius: 50%;
  opacity: 0.6;
  animation: particleFloat 15s infinite linear;
}

.particle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 20s;
}

.particle:nth-child(2) {
  top: 60%;
  left: 20%;
  animation-delay: -5s;
  animation-duration: 25s;
}

.particle:nth-child(3) {
  top: 40%;
  left: 70%;
  animation-delay: -10s;
  animation-duration: 18s;
}

.particle:nth-child(4) {
  top: 80%;
  left: 80%;
  animation-delay: -15s;
  animation-duration: 22s;
}

.particle:nth-child(5) {
  top: 30%;
  left: 50%;
  animation-delay: -8s;
  animation-duration: 16s;
}

.particle:nth-child(6) {
  top: 70%;
  left: 60%;
  animation-delay: -12s;
  animation-duration: 28s;
}

.particle:nth-child(7) {
  top: 10%;
  left: 90%;
  animation-delay: -3s;
  animation-duration: 24s;
}

.particle:nth-child(8) {
  top: 90%;
  left: 30%;
  animation-delay: -18s;
  animation-duration: 19s;
}

@keyframes particleFloat {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}

.geometric-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.geo-shape {
  position: absolute;
  opacity: 0.1;
  animation: geometricFloat 20s infinite ease-in-out;
}

.geo-circle {
  width: 200px;
  height: 200px;
  border: 2px solid var(--main-color);
  border-radius: 50%;
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.geo-triangle {
  width: 0;
  height: 0;
  border-left: 75px solid transparent;
  border-right: 75px solid transparent;
  border-bottom: 130px solid rgba(var(--main-color-rgb), 0.3);
  bottom: 20%;
  left: 15%;
  animation-delay: -7s;
}

.geo-square {
  width: 120px;
  height: 120px;
  border: 2px solid var(--secondary-color);
  transform: rotate(45deg);
  top: 60%;
  right: 25%;
  animation-delay: -14s;
}

@keyframes geometricFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-20px) rotate(90deg);
  }
  50% {
    transform: translateY(-40px) rotate(180deg);
  }
  75% {
    transform: translateY(-20px) rotate(270deg);
  }
}

.home-content {
  margin-top: 32px;
  z-index: 2;
  position: relative;
}

.text-reveal {
  overflow: hidden;
}

.gradient-heading {
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 900;
  background: linear-gradient(
    135deg, 
    var(--main-color) 0%, 
    var(--secondary-color) 25%, 
    #ffffff 50%, 
    var(--secondary-color) 75%, 
    var(--main-color) 100%
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
  margin-bottom: 2rem;
  animation: gradientShift 8s ease-in-out infinite, slideUpFade 1s ease;
  letter-spacing: -0.02em;
  position: relative;
}

.immortal-text {
  position: relative;
  display: inline-block;
  animation: immortalGlow 3s ease-in-out infinite;
}

.immortal-text::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
  opacity: 0;
  animation: sparkleEffect 4s ease-in-out infinite;
  pointer-events: none;
}

.heading-decoration {
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--main-color), transparent);
  border-radius: 2px;
  animation: decorationGrow 2s ease-out 0.5s both;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes immortalGlow {
  0%, 100% { filter: brightness(1) drop-shadow(0 0 5px rgba(var(--main-color-rgb), 0.5)); }
  50% { filter: brightness(1.3) drop-shadow(0 0 20px rgba(var(--main-color-rgb), 0.8)); }
}

@keyframes sparkleEffect {
  0%, 90%, 100% { opacity: 0; transform: scale(0.8); }
  45%, 55% { opacity: 1; transform: scale(1.1); }
}

@keyframes decorationGrow {
  from { width: 0; }
  to { width: 100px; }
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.typewriter {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  margin: 2rem 0;
  position: relative;
}

.role-switch {
  background: linear-gradient(45deg, var(--main-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  animation: typewriterPulse 2s ease-in-out infinite;
}

.role-switch::after {
  content: "|";
  position: absolute;
  right: -8px;
  color: var(--main-color);
  animation: cursorBlink 1s infinite;
  font-weight: 100;
}

/* Language Toggle Styles */
.desktop-language {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(var(--main-color-rgb), 0.1);
  border: 1px solid rgba(var(--main-color-rgb), 0.3);
  padding: 0.8rem 1.2rem;
  border-radius: 0.5rem;
  color: var(--text-color);
  font-size: 1.4rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.desktop-language:hover {
  background: rgba(var(--main-color-rgb), 0.2);
  border-color: var(--main-color);
  transform: translateY(-2px);
}

.mobile-language-toggle {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-language-toggle button {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(var(--main-color-rgb), 0.1);
  border: 1px solid rgba(var(--main-color-rgb), 0.3);
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  color: var(--text-color);
  font-size: 1.6rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  justify-content: center;
}

.mobile-language-toggle button:hover {
  background: rgba(var(--main-color-rgb), 0.2);
  border-color: var(--main-color);
}

/* RTL Support */
[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .header {
  flex-direction: row-reverse;
}

[dir="rtl"] .navbar a {
  margin-left: 0;
  margin-right: 4rem;
}

[dir="rtl"] .home {
  grid-template-columns: 1fr 1.2fr;
}

[dir="rtl"] .home-content {
  text-align: right;
}

[dir="rtl"] .social-buttons {
  justify-content: flex-end;
}

[dir="rtl"] .cta-group {
  justify-content: flex-end;
}

[dir="rtl"] .about-container {
  direction: rtl;
}

[dir="rtl"] .about-img-container {
  order: 2;
}

[dir="rtl"] .about-content-tabs {
  order: 1;
}

[dir="rtl"] .skills-container {
  direction: rtl;
}

[dir="rtl"] .projects-container {
  direction: rtl;
}

[dir="rtl"] .contact-container {
  direction: rtl;
}

[dir="rtl"] .blog-container {
  direction: rtl;
}

/* RTL Specific Adjustments */
[dir="rtl"] .floating-icon-1 {
  left: auto;
  right: -20px;
}

[dir="rtl"] .floating-icon-2 {
  left: auto;
  right: 20px;
}

[dir="rtl"] .floating-icon-3 {
  left: 20px;
  right: auto;
}

[dir="rtl"] .floating-icon-4 {
  left: -20px;
  right: auto;
}

[dir="rtl"] .experience-badge {
  left: auto;
  right: -20px;
}

[dir="rtl"] .visitor-counter {
  left: auto;
  right: 2rem;
}

[dir="rtl"] .scroll-indicator {
  left: auto;
  right: 50%;
  transform: translateX(50%);
}

/* Arabic Font Support */
[dir="rtl"] * {
  font-family: 'Tajawal', 'Cairo', 'Amiri', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Mobile RTL Adjustments */
@media (max-width: 768px) {
  [dir="rtl"] .navbar a {
    margin-right: 0;
    text-align: right;
  }
  
  [dir="rtl"] .home {
    grid-template-columns: 1fr;
    text-align: right;
  }
  
  [dir="rtl"] .hero-image {
    order: -1;
  }
}

@keyframes typewriterPulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.3); }
}

@keyframes cursorBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.tagline {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: rgba(var(--text-color-rgb), 0.9);
  max-width: 500px;
  line-height: 1.8;
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease 0.3s both;
}

.tagline-highlight {
  color: var(--main-color);
  font-weight: 600;
  position: relative;
}

.tagline-highlight::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--main-color), transparent);
  opacity: 0.6;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin: 3rem 0;
  animation: fadeInUp 1s ease 0.6s both;
}

.social-btn {
  position: relative;
  width: 55px;
  height: 55px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: var(--main-color);
  border: 2px solid rgba(var(--main-color-rgb), 0.3);
  background: rgba(var(--main-color-rgb), 0.05);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

.social-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s ease;
}

.social-btn:hover::before {
  left: 100%;
}

.social-tooltip {
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  background: var(--second-bg-color);
  color: var(--text-color);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 500;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
  border: 1px solid rgba(var(--main-color-rgb), 0.3);
}

.social-tooltip::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid var(--second-bg-color);
}

.hover-ripple {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
  border-radius: 18px;
  transform: scale(0);
  opacity: 0;
  transition: all 0.4s ease;
}

.social-btn:hover {
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.social-btn:hover .social-tooltip {
  transform: translateX(-50%) scale(1);
  opacity: 1;
}

.social-btn:hover .hover-ripple {
  transform: scale(1);
  opacity: 1;
}

.social-btn.youtube:hover {
  border-color: var(--youtube-color);
  color: var(--youtube-color);
  box-shadow: 0 15px 35px rgba(255, 0, 0, 0.3);
}

.social-btn.instagram:hover {
  border-color: var(--instagram-color);
  color: var(--instagram-color);
  box-shadow: 0 15px 35px rgba(225, 48, 108, 0.3);
}

.social-btn.discord:hover {
  border-color: var(--discord-color);
  color: var(--discord-color);
  box-shadow: 0 15px 35px rgba(88, 101, 242, 0.3);
}

.social-btn.spotify:hover {
  border-color: var(--spotify-color);
  color: var(--spotify-color);
  box-shadow: 0 15px 35px var(--spotify-color);
}

.social-btn.github:hover {
  border-color: #ffffff;
  color: #ffffff;
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.3);
}

.social-btn.tiktok:hover {
  border-color: #ffffff;
  color: #ffffff;
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.3);
}

.social-btn.twitter:hover {
  border-color: var(--twitter-color);
  color: var(--twitter-color);
  box-shadow: 0 15px 35px rgba(29, 161, 242, 0.3);
}

.social-btn.twitch:hover {
  border-color: var(--twitch-color);
  color: var(--twitch-color);
  box-shadow: 0 15px 35px rgba(137, 86, 251, 0.3);
}

.cta-group {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.9s both;
}

.enhanced-btn {
  position: relative;
  padding: 1.6rem 3rem;
  border-radius: 16px;
  font-weight: 700;
  font-size: 1.7rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  overflow: hidden;
  border: 2px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn {
  /* display: inline-block;
  padding: 1rem 3rem;
  background: var(--gradient);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 25px var(--main-color);
  border-radius: 3rem;
  font-size: 1.8rem;
  color: black;
  border: 2px solid transparent;
  font-weight: 600;
  transition: 0.3s ease-in-out; */

  background: rgba(var(--main-color-rgb), 0.1);
  color: var(--main-color);
  border: 2px solid rgba(var(--main-color-rgb), 0.3);
  padding: 1.2rem 2.4rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  text-align: center;
  gap: 0.8rem;
  transition: all 0.3s ease;

  i {
    font-size: 1.8rem;
  }

  &.discord-cta {
    background: linear-gradient(45deg, var(--discord-color), #7983f5);
    color: white;
    box-shadow: 0 4px 20px rgba(var(--discord-color-rgb), 0.3);

    &:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 25px rgba(var(--discord-color-rgb), 0.4);
    }
  }

  &:hover {
    background: rgba(var(--main-color-rgb), 0.2);
    transform: translateY(-2px);
  }
}

/* .btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px var(--main-color),
    0 0 50px var(--main-color);
} */

.btn-group a:nth-of-type(2) {
  background: transparent;
  color: var(--main-color);
  border: 2px solid var(--main-color);
  box-shadow: 0 0 25px var(--main-color);
}

.btn-group a:nth-of-type(2):hover {
  box-shadow: 0 0 25px var(--main-color);
  background-color: var(--main-color);
  color: black;
}

.btn-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 16px;
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}

.enhanced-btn:hover .btn-shine {
  left: 100%;
}

.enhanced-btn i {
  font-size: 2rem;
  transition: transform 0.3s ease;
  z-index: 2;
}

.enhanced-btn span {
  z-index: 2;
  position: relative;
}

.enhanced-btn:hover {
  transform: translateY(-4px) scale(1.05);
}

.enhanced-btn:hover i {
  transform: scale(1.2) rotate(5deg);
}

/* Discord CTA */
.discord-cta {
  background: linear-gradient(135deg, var(--discord-color), #4752c4);
  color: white;
  box-shadow: 0 8px 25px rgba(88, 101, 242, 0.3);
}

.discord-cta .btn-bg {
  background: linear-gradient(135deg, #4752c4, #3c4aae);
}

.discord-cta:hover {
  box-shadow: 0 15px 40px rgba(88, 101, 242, 0.5);
}

.discord-cta:hover .btn-bg {
  opacity: 1;
}

/* Projects CTA */
.projects-cta {
  background: rgba(var(--main-color-rgb), 0.1);
  color: var(--main-color);
  border-color: rgba(var(--main-color-rgb), 0.4);
  backdrop-filter: blur(10px);
}

.projects-cta .btn-bg {
  background: rgba(var(--main-color-rgb), 0.3);
}

.projects-cta:hover {
  border-color: var(--main-color);
  box-shadow: 0 15px 40px rgba(var(--main-color-rgb), 0.3);
}

.projects-cta:hover .btn-bg {
  opacity: 1;
}

/* Commission CTA */
.commission-cta {
  background: rgba(var(--accent-color), 0.1);
  color: var(--accent-color);
  border-color: rgba(var(--accent-color), 0.4);
  backdrop-filter: blur(10px);
}

.commission-cta .btn-bg {
  background: rgba(var(--accent-color), 0.3);
}

.commission-cta:hover {
  border-color: var(--accent-color);
  box-shadow: 0 15px 40px rgba(var(--accent-color), 0.3);
}

.commission-cta:hover .btn-bg {
  opacity: 1;
}

/* Enhanced Hero Image */
.hero-image {
  position: relative;
  perspective: 1000px;
  z-index: 2;
  animation: fadeInRight 1s ease 0.5s both;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.image-wrapper {
  position: relative;
  width: min(35vw, 450px);
  height: min(35vw, 450px);
  margin: 0 auto;
}

/* Animated Border */
.image-border {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--main-color), var(--secondary-color), var(--main-color));
  animation: rotateBorder 4s linear infinite;
  z-index: 1;
}

.image-border::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  background: var(--bg-color);
  border-radius: 50%;
  z-index: 2;
}

@keyframes rotateBorder {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Profile Container */
.profile-container {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  z-index: 3;
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  z-index: 4;
  /* animation: profileFloat 6s ease-in-out infinite; */
  filter: grayscale(20%) contrast(110%) brightness(1.1);
  transition: all 0.4s ease;
}

.profile-img:hover {
  filter: grayscale(0%) contrast(120%) brightness(1.2);
  transform: scale(1.05);
}

.profile-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2) 0%, transparent 50%);
  border-radius: 50%;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.profile-container:hover .profile-overlay {
  opacity: 1;
}

@keyframes profileFloat {
  0%, 100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-15px) rotate(1deg);
  }
}

/* Floating Icons */
.floating-icon {
  position: absolute;
  width: 40px;
  height: 40px;
  background: rgba(var(--main-color-rgb), 0.2);
  border: 2px solid var(--main-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--main-color);
  backdrop-filter: blur(10px);
  animation: floatingIcon 8s ease-in-out infinite;
  z-index: 6;
}

.floating-icon-1 {
  top: 10%;
  right: 15%;
  animation-delay: 0s;
}

.floating-icon-2 {
  bottom: 20%;
  right: 10%;
  animation-delay: -2s;
}

.floating-icon-3 {
  top: 15%;
  left: 10%;
  animation-delay: -4s;
}

.floating-icon-4 {
  bottom: 15%;
  left: 15%;
  animation-delay: -6s;
}

@keyframes floatingIcon {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.7;
  }
  25% {
    transform: translateY(-10px) rotate(90deg);
    opacity: 1;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 0.8;
  }
  75% {
    transform: translateY(-10px) rotate(270deg);
    opacity: 1;
  }
}

/* Enhanced Glow Effects */
.primary-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, var(--main-color) 0%, transparent 70%);
  opacity: 0.15;
  filter: blur(40px);
  z-index: 0;
  animation: primaryGlow 4s ease-in-out infinite;
}

.secondary-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, var(--secondary-color) 0%, transparent 60%);
  opacity: 0.1;
  filter: blur(60px);
  z-index: 0;
  animation: secondaryGlow 6s ease-in-out infinite reverse;
}

.orbital-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130%;
  height: 130%;
  border: 1px solid rgba(var(--main-color-rgb), 0.3);
  border-radius: 50%;
  z-index: 1;
  animation: orbitalRotate 20s linear infinite;
}

.orbital-ring::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--main-color);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--main-color);
}

@keyframes primaryGlow {
  0%, 100% {
    opacity: 0.1;
    transform: translate(-50%, -50%) scale(0.95);
  }
  50% {
    opacity: 0.2;
    transform: translate(-50%, -50%) scale(1.05);
  }
}

@keyframes secondaryGlow {
  0%, 100% {
    opacity: 0.05;
    transform: translate(-50%, -50%) scale(0.9);
  }
  50% {
    opacity: 0.15;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

@keyframes orbitalRotate {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Enhanced Visitor Counter */
.enhanced-counter {
  position: absolute;
  bottom: 3rem;
  right: 3rem;
  background: rgba(var(--main-color-rgb), 0.1);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(var(--main-color-rgb), 0.3);
  border-radius: 20px;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  animation: slideInUp 1s ease 1.2s both;
  min-width: 200px;
  position: relative;
  overflow: hidden;
}

.counter-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(var(--main-color-rgb), 0.1), transparent);
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.enhanced-counter:hover .counter-glow {
  opacity: 1;
}

.counter-icon {
  position: relative;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(var(--main-color-rgb), 0.2);
  border: 2px solid var(--main-color);
}

.counter-icon i {
  font-size: 2.4rem;
  color: var(--main-color);
  z-index: 2;
}

.icon-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--main-color);
  animation: iconPulseEffect 2s ease-out infinite;
}

@keyframes iconPulseEffect {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.counter-content h4 {
  font-size: 1.4rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.counter-number {
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(45deg, var(--main-color), var(--secondary-color));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-family: 'Courier New', monospace;
  margin-bottom: 1rem;
  animation: numberCount 0.8s ease-out;
}

@keyframes numberCount {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.counter-stats {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.2rem;
  color: rgba(var(--text-color-rgb), 0.8);
}

.stat-item i {
  font-size: 1.4rem;
  color: var(--main-color);
  width: 16px;
}

/* Counter Animation Lines */
.counter-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  border-radius: 20px;
  overflow: hidden;
}

.line {
  position: absolute;
  background: linear-gradient(90deg, transparent, var(--main-color), transparent);
  opacity: 0.6;
}

.line-1 {
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  animation: lineMove1 3s ease-in-out infinite;
}

.line-2 {
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--main-color), transparent);
  animation: lineMove2 3s ease-in-out infinite 1s;
}

.line-3 {
  bottom: 0;
  right: 0;
  width: 100%;
  height: 1px;
  animation: lineMove3 3s ease-in-out infinite 2s;
}

@keyframes lineMove1 {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

@keyframes lineMove2 {
  0%, 100% { transform: translateY(-100%); }
  50% { transform: translateY(100%); }
}

@keyframes lineMove3 {
  0%, 100% { transform: translateX(100%); }
  50% { transform: translateX(-100%); }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Database Status */
.db-status {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success-color);
  box-shadow: 0 0 10px var(--success-color);
  animation: statusBlink 2s infinite;
}

@keyframes statusBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.db-status.error {
  background: #ED4245;
  box-shadow: 0 0 10px #ED4245;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  animation: scrollIndicatorFade 1s ease 1.5s both;
  z-index: 10;
}

.scroll-text {
  font-size: 1.2rem;
  color: rgba(var(--text-color-rgb), 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.scroll-arrow {
  width: 30px;
  height: 50px;
  border: 2px solid rgba(var(--main-color-rgb), 0.5);
  border-radius: 25px;
  position: relative;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-arrow::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--main-color);
  border-radius: 50%;
  animation: scrollDot 2s ease-in-out infinite;
}

.scroll-arrow i {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.6rem;
  color: var(--main-color);
  animation: scrollChevron 2s ease-in-out infinite;
}

@keyframes scrollIndicatorFade {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

@keyframes scrollDot {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.3; transform: translateX(-50%) translateY(20px); }
  100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes scrollChevron {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .home {
    grid-template-columns: 1fr 0.8fr;
    gap: 3rem;
  }
  
  .image-wrapper {
    width: min(40vw, 350px);
    height: min(40vw, 350px);
  }
}

@media (max-width: 992px) {
  .home {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 8rem 4% 6rem;
    gap: 5rem;
  }
  
  .image-wrapper {
    width: min(60vw, 400px);
    height: min(60vw, 400px);
    margin-top: 3rem;
  }
  
  .cta-group {
    justify-content: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .enhanced-counter {
    position: relative;
    bottom: auto;
    right: auto;
    margin: 4rem auto 0;
    max-width: 350px;
  }
  
  .scroll-indicator {
    display: none;
  }
}

@media (max-width: 768px) {
  .home {
    padding: 12rem 6% 6rem;
    gap: 4rem;
  }
  
  .gradient-heading {
    font-size: clamp(3rem, 8vw, 5rem);
  }
  
  .typewriter {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
  }
  
  .tagline {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
  }
  
  .social-btn {
    width: 50px;
    height: 50px;
    font-size: 2rem;
  }
  
  .enhanced-btn {
    padding: 1.4rem 2.5rem;
    font-size: 1.5rem;
  }
  
  .cta-group {
    flex-direction: column;
    align-items: center;
  }
  
  .enhanced-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .image-wrapper {
    width: min(70vw, 300px);
    height: min(70vw, 300px);
  }
  
  .floating-icon {
    width: 35px;
    height: 35px;
    font-size: 1.6rem;
  }
  
  .enhanced-counter {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 2rem;
  }
  
  .counter-stats {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .home {
    padding: 10rem 4% 4rem;
  }
  
  .particles-container {
    display: none;
  }
  
  .geometric-bg {
    opacity: 0.5;
  }
  
  .social-links {
    gap: 1rem;
  }
  
  .social-btn {
    width: 45px;
    height: 45px;
    font-size: 1.8rem;
  }
  
  .floating-icon {
    display: none;
  }
  
  .enhanced-counter {
    min-width: auto;
    width: 90%;
  }
  
  .counter-stats {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Accessibility & Performance */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .particle,
  .geometric-bg,
  .floating-icon,
  .orbital-ring,
  .counter-lines {
    display: none;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .home {
    background: var(--bg-color);
  }
  
  .gradient-heading {
    background: var(--text-color);
    -webkit-background-clip: text;
    background-clip: text;
  }
  
  .social-btn,
  .enhanced-btn {
    border-width: 3px;
  }
}

.loading-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
  background: var(--bg-color);
  position: relative;
  z-index: 1000;
}

.loading-indicator p {
  font-size: 1.8rem;
  color: var(--main-color);
  margin-top: 2rem;
  text-align: center;
  max-width: 400px;
}

.spinner {
  width: 80px;
  height: 80px;
  position: relative;
}

.spinner-inner {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 5px solid transparent;
  border-top: 5px solid var(--main-color);
  border-radius: 50%;
  animation: spin 1.5s linear infinite;
}

.spinner-inner::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border: 5px solid transparent;
  border-top: 5px solid rgba(var(--main-color-rgb), 0.7);
  border-radius: 50%;
  animation: spin 2s linear infinite reverse;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.progress-bar {
  width: 300px;
  height: 8px;
  background: rgba(var(--main-color-rgb), 0.1);
  border-radius: 4px;
  margin-top: 2rem;
  overflow: hidden;
  position: relative;
}

.progress {
  width: 0%;
  height: 100%;
  background: var(--main-color);
  border-radius: 4px;
  animation: progress-pulse 2s infinite;
  transition: width 0.5s ease;
}

@keyframes progress-pulse {
  0% {
    opacity: 0.8;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.8;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.about {
  padding: 10rem 6%;
  background: var(--second-bg-color);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--main-color);
  opacity: 0.05;
  top: -150px;
  left: -150px;
  z-index: 0;
}

.about::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--main-color);
  opacity: 0.05;
  bottom: -100px;
  right: -100px;
  z-index: 0;
}

.about-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.about-header {
  text-align: center;
  margin-bottom: 5rem;
}

.about-header h2 {
  font-size: 5rem;
  margin-bottom: 3rem;
  display: inline-block;
  background: linear-gradient(45deg, var(--text-color), var(--main-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.about-header h2::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 4px;
  background: var(--main-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.tab-navigation {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.tab-btn {
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1.8rem;
  font-weight: 600;
  padding: 1rem 2rem;
  cursor: pointer;
  position: relative;
  transition: all 0.3s;
  opacity: 0.7;
}

.tab-btn::after {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  background: var(--main-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: width 0.3s;
  border-radius: 2px;
}

.tab-btn.active {
  opacity: 1;
}

.tab-btn.active::after {
  width: 50%;
}

.tab-btn:hover {
  opacity: 1;
}

.about-content-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 5rem;
}

.about-img-container {
  flex: 0 0 350px;
  position: relative;
}

.about-img-container img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
  transition: 0.4s ease-in-out;
  border: 5px solid rgba(255, 255, 255, 0.1);
}

.about-img-container img:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px var(--main-color),
    0 0 50px rgba(0, 0, 0, 0.3);
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--main-color);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 187, 212, 0.7);
  }

  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(0, 187, 212, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 187, 212, 0);
  }
}

.experience-badge .years {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.experience-badge .text {
  font-size: 1.2rem;
  color: #fff;
  text-align: center;
  line-height: 1.2;
}

.about-content-tabs {
  flex: 1;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-text {
  margin-bottom: 3rem;
}

.about-text p {
  font-size: 1.8rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.about-text p span {
  color: var(--main-color);
  font-weight: 600;
}

.personal-info {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-item {
  display: flex;
  align-items: center;
}

.info-item .label {
  font-weight: 600;
  color: var(--main-color);
  margin-right: 0.5rem;
  font-size: 1.6rem;
}

.info-item .value {
  font-size: 1.6rem;
}

.info-item .available {
  color: #4CAF50;
  position: relative;
  padding-left: 15px;
}

.info-item .available::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: #4CAF50;
  border-radius: 50%;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.info-item .not-available {
  color: #942911;
  position: relative;
  padding-left: 15px;
}

.info-item .not-available::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: #942911;
  border-radius: 50%;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.skill-section {
  margin-bottom: 3rem;
}

.skill-section h3 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.skill-section h3::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background: var(--main-color);
  bottom: -5px;
  left: 0;
  border-radius: 2px;
}

.skill-bars {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.skill-bar {
  width: 100%;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  font-size: 1.6rem;
}

.skill-progress-bg {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--main-color), var(--secondary-color));
  border-radius: 10px;
  position: relative;
  width: 10%;
  transition: width 1s ease;
}

.tech-stack {
  margin-bottom: 3rem;
}

.tech-stack h3 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.tech-stack h3::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background: var(--main-color);
  bottom: -5px;
  left: 0;
  border-radius: 2px;
}

.tech-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.tech-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: all 0.3s;
}

.tech-icon:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.1);
}

.tech-icon i {
  font-size: 3rem;
  color: var(--main-color);
  margin-bottom: 0.5rem;
}

.tech-icon span {
  font-size: 1.2rem;
}

.cta-buttons {
  display: flex;
  gap: 2rem;
}

.timeline {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  width: 2px;
  background: var(--main-color);
  top: 0;
  bottom: 0;
  left: 20px;
  margin-left: -1px;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 50px;
}

.timeline-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  left: 12px;
  background: var(--main-color);
  border-radius: 50%;
  z-index: 1;
}

.timeline-date {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--main-color);
  margin-bottom: 0.5rem;
}

.timeline-content {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.timeline-content p {
  font-size: 1.6rem;
  line-height: 1.6;
}

@media (max-width: 991px) {
  .about-content-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .about-img-container {
    margin-bottom: 4rem;
  }

  .about-header h2 {
    font-size: 4rem;
  }

  .tab-btn {
    font-size: 1.6rem;
    padding: 0.8rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .social-icons {
    justify-content: center;
    align-items: center;
  }

  .personal-info {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 1.5rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .tech-icons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .about-header h2 {
    font-size: 3.5rem;
  }

  .tab-navigation {
    flex-direction: column;
    gap: 1rem;
  }

  .tab-btn {
    width: 100%;
  }

  .about-img-container {
    flex: 0 0 100%;
  }

  .experience-badge {
    width: 100px;
    height: 100px;
  }
}

::-webkit-scrollbar {
  width: 20%;
}

::-webkit-scrollbar-thumb {
  background-color: var(--main-color);
}

::-webkit-scrollbar-track {
  background-color: var(--bg-color);
}

.heading {
  text-align: center;
  font-size: 6rem;
  margin: 5rem 0;
}

/* Enhanced Skills Section with Modern Animations and Effects */
.services {
  position: relative;
  min-height: 100vh;
  padding: 10rem 12%;
  overflow: hidden;
  background: 
    radial-gradient(circle at 20% 80%, rgba(var(--main-color-rgb), 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(var(--secondary-color), 0.15) 0%, transparent 50%),
    linear-gradient(135deg, rgba(var(--bg-color), 0.9) 0%, rgba(var(--second-bg-color), 0.95) 100%);
}

/* Enhanced Particles with More Dynamic Movement */
.services .particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.services .particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: linear-gradient(45deg, var(--main-color), var(--secondary-color));
  border-radius: 50%;
  opacity: 0.8;
  animation: enhancedParticleFloat 20s infinite linear;
  box-shadow: 0 0 10px rgba(var(--main-color-rgb), 0.5);
}

.services .particle:nth-child(1) {
  top: 15%;
  left: 8%;
  animation-delay: 0s;
  animation-duration: 25s;
}

.services .particle:nth-child(2) {
  top: 65%;
  left: 15%;
  animation-delay: -8s;
  animation-duration: 30s;
}

.services .particle:nth-child(3) {
  top: 35%;
  left: 75%;
  animation-delay: -15s;
  animation-duration: 22s;
}

.services .particle:nth-child(4) {
  top: 85%;
  left: 85%;
  animation-delay: -22s;
  animation-duration: 28s;
}

.services .particle:nth-child(5) {
  top: 25%;
  left: 45%;
  animation-delay: -12s;
  animation-duration: 18s;
}

.services .particle:nth-child(6) {
  top: 75%;
  left: 55%;
  animation-delay: -18s;
  animation-duration: 32s;
}

@keyframes enhancedParticleFloat {
  0% {
    transform: translateY(0) rotate(0deg) scale(0.8);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    transform: translateY(-50vh) rotate(180deg) scale(1.2);
    opacity: 1;
  }
  90% {
    opacity: 0.8;
    transform: scale(0.9);
  }
  100% {
    transform: translateY(-100vh) rotate(360deg) scale(0.6);
    opacity: 0;
  }
}

/* Enhanced Geometric Background with More Shapes */
.services .geometric-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.services .geo-shape {
  position: absolute;
  opacity: 0.15;
  animation: enhancedGeometricFloat 25s infinite ease-in-out;
}

.services .geo-circle {
  width: 250px;
  height: 250px;
  border: 3px solid var(--main-color);
  border-radius: 50%;
  top: 8%;
  right: 8%;
  animation-delay: 0s;
  box-shadow: 0 0 30px rgba(var(--main-color-rgb), 0.3);
}

.services .geo-triangle {
  width: 0;
  height: 0;
  border-left: 90px solid transparent;
  border-right: 90px solid transparent;
  border-bottom: 150px solid rgba(var(--main-color-rgb), 0.4);
  bottom: 15%;
  left: 10%;
  animation-delay: -10s;
  filter: drop-shadow(0 0 20px rgba(var(--main-color-rgb), 0.3));
}

.services .geo-square {
  width: 140px;
  height: 140px;
  border: 3px solid var(--secondary-color);
  transform: rotate(45deg);
  top: 55%;
  right: 20%;
  animation-delay: -20s;
  box-shadow: 0 0 25px rgba(var(--secondary-color), 0.3);
}

@keyframes enhancedGeometricFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  25% {
    transform: translateY(-30px) rotate(90deg) scale(1.1);
  }
  50% {
    transform: translateY(-60px) rotate(180deg) scale(0.9);
  }
  75% {
    transform: translateY(-30px) rotate(270deg) scale(1.05);
  }
}

/* Enhanced Container */
.services .container {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
}

/* Enhanced Section Header with Animated Elements */
.services .section-header {
  text-align: center;
  margin-bottom: 8rem;
  position: relative;
}

.services .section-header::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--main-color), transparent);
  border-radius: 2px;
  animation: headerLineGlow 3s ease-in-out infinite;
}

.services .section-header::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
  border-radius: 1px;
  animation: headerLineGlow 3s ease-in-out infinite 1.5s;
}

@keyframes headerLineGlow {
  0%, 100% {
    opacity: 0.5;
    transform: translateX(-50%) scaleX(0.8);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scaleX(1.2);
  }
}

.services .gradient-heading {
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 900;
  background: linear-gradient(
    135deg, 
    var(--main-color) 0%, 
    var(--secondary-color) 25%, 
    #ffffff 50%, 
    var(--secondary-color) 75%, 
    var(--main-color) 100%
  );
  background-size: 400% 400%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
  margin-bottom: 2rem;
  animation: enhancedGradientShift 10s ease-in-out infinite, slideUpFade 1s ease;
  letter-spacing: -0.02em;
  position: relative;
  filter: drop-shadow(0 0 20px rgba(var(--main-color-rgb), 0.3));
}

@keyframes enhancedGradientShift {
  0%, 100% { background-position: 0% 50%; }
  25% { background-position: 100% 50%; }
  50% { background-position: 50% 100%; }
  75% { background-position: 100% 0%; }
}

.services .section-subtitle {
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: rgba(var(--text-color-rgb), 0.9);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  animation: slideUpFade 1s ease 0.3s both;
  position: relative;
}

.services .tagline-highlight {
  color: var(--main-color);
  font-weight: 600;
  position: relative;
  animation: textGlow 2s ease-in-out infinite;
}

@keyframes textGlow {
  0%, 100% {
    text-shadow: 0 0 5px rgba(var(--main-color-rgb), 0.5);
  }
  50% {
    text-shadow: 0 0 15px rgba(var(--main-color-rgb), 0.8);
  }
}

/* Enhanced Services Container with Staggered Animation */
.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 5rem;
  margin-top: 8rem;
  perspective: 1000px;
}

/* --- Redesigned Skills Section --- */
.skills-section {
  position: relative;
  padding: 10rem 12%;
  background: var(--bg-color);
  overflow: hidden;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  margin-top: 5rem;
}

.skill-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 3rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(10px);
}

.skill-card:hover {
  transform: translateY(-10px);
  border-color: var(--main-color);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(var(--main-color-rgb), 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.skill-card:hover .card-glow {
  opacity: 1;
}

.skill-icon {
  width: 60px;
  height: 60px;
  background: rgba(var(--main-color-rgb), 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: all 0.3s;
}

.skill-icon i {
  font-size: 2.5rem;
  color: var(--main-color);
}

.skill-card:hover .skill-icon {
  background: var(--main-color);
  transform: rotate(10deg);
}

.skill-card:hover .skill-icon i {
  color: var(--bg-color);
}

.skill-content h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.skill-content p {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
}

.skill-tag {
  padding: 0.5rem 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-size: 1.2rem;
  color: var(--main-color);
  transition: all 0.3s;
}

.skill-card:hover .skill-tag {
  border-color: rgba(var(--main-color-rgb), 0.3);
  background: rgba(var(--main-color-rgb), 0.05);
}

.skill-stats {
  margin-top: auto;
}

.stat-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.stat-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  overflow: hidden;
}

.stat-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--main-color), var(--secondary-color));
  border-radius: 100px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.skill-card:hover .stat-fill {
  transform: scaleX(1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .skills-section {
    padding: 8rem 6%;
  }
  .skills-grid {
    grid-template-columns: 1fr;
  }
}

.discord-community {
  background-color: var(--second-bg-color);
  padding: 8rem 8%;
  position: relative;
  overflow: hidden;
}

.discord-community::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(88, 101, 242, 0.15), transparent 60%);
  pointer-events: none;
}

.discord-community::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(235, 69, 158, 0.1), transparent 70%);
  pointer-events: none;
}

.community-header {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
}

.community-header::after {
  content: '';
  position: absolute;
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 15rem;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--discord-color), transparent);
}

.community-tagline {
  font-size: 1.8rem;
  color: var(--text-color);
  opacity: 0.8;
  margin-top: 1rem;
}

.community-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5rem;
}

.community-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  width: 100%;
}

.stat-card {
  background-color: var(--bg-color);
  border-radius: 2rem;
  padding: 2.5rem 2rem;
  text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, transparent, var(--main-color), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stat-card:hover {
  border-color: var(--main-color);
  transform: translateY(-12px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card i {
  font-size: 5rem;
  color: var(--main-color);
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.stat-card:hover i {
  transform: scale(1.2);
  animation: iconPulse 1s infinite alternate;
}

@keyframes iconPulse {
  0% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1.3);
  }
}

.stat-card h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.stat-card p {
  font-size: 3rem;
  font-weight: bold;
  color: var(--main-color);
  margin-bottom: 1rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.stat-card:hover p {
  transform: scale(1.1);
  color: var(--discord-color);
}

.stat-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.2rem;
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-weight: 600;
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.stat-card:hover .stat-badge {
  transform: translateY(-5px) scale(1.05);
}

.stat-badge.online {
  background-color: var(--success-color);
  color: white;
  box-shadow: 0 0 10px rgba(67, 181, 129, 0.5);
}

.stat-badge.hot {
  background-color: var(--danger-color);
  color: white;
  box-shadow: 0 0 10px rgba(237, 66, 69, 0.5);
}

.stat-progress {
  margin-top: 1.5rem;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  height: 1rem;
  position: relative;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  border-radius: 1rem;
  background: linear-gradient(90deg, var(--main-color), var(--discord-color));
  transition: width 1.5s cubic-bezier(0.19, 1, 0.22, 1);
  position: relative;
  overflow: hidden;
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  animation: progress-shine 2s infinite;
}

@keyframes progress-shine {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.stat-progress span {
  position: absolute;
  right: 0;
  top: 1.2rem;
  font-size: 1.2rem;
  color: var(--text-color);
  opacity: 0.7;
}

.game-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.game-icons i {
  font-size: 2.5rem;
  color: var(--text-color);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.game-icons i:hover {
  color: var(--main-color);
  opacity: 1;
  transform: scale(1.2) rotate(5deg);
}

.stat-trend {
  margin-top: 1.5rem;
  height: 4rem;
  width: 100%;
}

.server-tags {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.tag {
  background-color: var(--discord-light);
  color: var(--discord-color);
  padding: 0.5rem 1.2rem;
  border-radius: 2rem;
  font-size: 1.2rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.tag:hover {
  background-color: var(--discord-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(88, 101, 242, 0.3);
}

/* projects section */

.projects {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.projects::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--main-color);
  opacity: 0.05;
  top: -150px;
  left: -150px;
  z-index: 0;
}

.projects::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--main-color);
  opacity: 0.05;
  bottom: -100px;
  right: -100px;
  z-index: 0;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.heading {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.heading span {
  color: var(--main-color);
}

.section-subtitle {
  color: #a0a0a0;
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

.projects-filter {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #c5c5c5;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--main-color);
  color: var(--bg-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(var(--main-color-rgb), 0.25);
}

/* Projects Section - Redesigned to match Home/Contact style */

.projects {
  position: relative;
  min-height: 100vh;
  padding: 10rem 6% 8rem;
  background: var(--bg-color);
  overflow: hidden;
  background: radial-gradient(circle at 20% 80%, rgba(var(--main-color-rgb), 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(var(--secondary-color), 0.1) 0%, transparent 50%);
}

/* Background Elements */
.projects::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--main-color);
  opacity: 0.05;
  top: -200px;
  left: -200px;
  z-index: 0;
  animation: float 6s ease-in-out infinite;
}

.projects::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--secondary-color);
  opacity: 0.05;
  bottom: -150px;
  right: -150px;
  z-index: 0;
  animation: float 8s ease-in-out infinite reverse;
}

/* Particles Container */
.projects .particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.projects .particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--main-color);
  border-radius: 50%;
  opacity: 0.6;
  animation: particleFloat 15s infinite linear;
}

.projects .particle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 20s;
}

.projects .particle:nth-child(2) {
  top: 60%;
  left: 20%;
  animation-delay: -5s;
  animation-duration: 25s;
}

.projects .particle:nth-child(3) {
  top: 40%;
  left: 70%;
  animation-delay: -10s;
  animation-duration: 18s;
}

.projects .particle:nth-child(4) {
  top: 80%;
  left: 80%;
  animation-delay: -15s;
  animation-duration: 22s;
}

.projects .particle:nth-child(5) {
  top: 30%;
  left: 50%;
  animation-delay: -8s;
  animation-duration: 16s;
}

.projects .particle:nth-child(6) {
  top: 70%;
  left: 60%;
  animation-delay: -12s;
  animation-duration: 28s;
}

/* Geometric Background */
.projects .geometric-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.projects .geo-shape {
  position: absolute;
  opacity: 0.1;
  animation: geometricFloat 20s infinite ease-in-out;
}

.projects .geo-circle {
  width: 150px;
  height: 150px;
  border: 2px solid var(--main-color);
  border-radius: 50%;
  top: 15%;
  right: 15%;
  animation-delay: 0s;
}

.projects .geo-triangle {
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 100px solid rgba(var(--main-color-rgb), 0.3);
  bottom: 25%;
  left: 20%;
  animation-delay: -7s;
}

.projects .geo-square {
  width: 100px;
  height: 100px;
  border: 2px solid var(--secondary-color);
  transform: rotate(45deg);
  top: 65%;
  right: 30%;
  animation-delay: -14s;
}

/* Container */
.projects .container {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
}

/* Section Header */
.projects .section-header {
  text-align: center;
  margin-bottom: 6rem;
  position: relative;
  z-index: 2;
}

.projects .gradient-heading {
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 900;
  background: linear-gradient(
    135deg, 
    var(--main-color) 0%, 
    var(--secondary-color) 25%, 
    #ffffff 50%, 
    var(--secondary-color) 75%, 
    var(--main-color) 100%
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
  margin-bottom: 2rem;
  animation: gradientShift 8s ease-in-out infinite, slideUpFade 1s ease;
  letter-spacing: -0.02em;
  position: relative;
}

.projects .gradient-heading::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, var(--main-color), transparent);
  border-radius: 2px;
  animation: decorationGrow 2s ease-out 0.5s both;
}

.projects .section-subtitle {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: rgba(var(--text-color-rgb), 0.9);
  max-width: 600px;
  line-height: 1.8;
  margin: 0 auto 3rem;
  animation: fadeInUp 1s ease 0.3s both;
}

/* Filter Buttons */
.projects-filter {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease 0.6s both;
}

.filter-btn {
  position: relative;
  padding: 1.2rem 2.5rem;
  background: rgba(var(--main-color-rgb), 0.1);
  border: 2px solid rgba(var(--main-color-rgb), 0.3);
  color: var(--text-color);
  border-radius: 12px;
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-transform: uppercase;
  letter-spacing: 1px;
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s ease;
}

.filter-btn:hover::before {
  left: 100%;
}

.filter-btn:hover,
.filter-btn.active {
  background: rgba(var(--main-color-rgb), 0.2);
  border-color: var(--main-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--main-color-rgb), 0.3);
}

.filter-btn.active {
  background: var(--main-color);
  color: var(--bg-color);
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease 0.9s both;
}

/* Project Cards */
.project-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.3s; }
.project-card:nth-child(3) { animation-delay: 0.5s; }
.project-card:nth-child(4) { animation-delay: 0.7s; }

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(145deg,
      rgba(var(--main-color-rgb), 0.05),
      transparent,
      rgba(var(--secondary-color), 0.05));
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
  border-radius: 20px;
}

.project-card:hover {
  transform: translateY(-15px) scale(1.02);
  border-color: rgba(var(--main-color-rgb), 0.5);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.project-card:hover::before {
  opacity: 1;
}

/* Project Image Container */
.project-img-container {
  position: relative;
  height: 250px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.project-img {
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center;
  transition: all 0.8s ease;
  filter: brightness(0.9) contrast(1.1);
  position: relative;
}

.project-card:hover .project-img {
  filter: brightness(1.1) contrast(1.2);
  transform: scale(1.05);
}

.project-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  z-index: 1;
}

/* Project Overlay */
.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 3;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-quick-actions {
  display: flex;
  gap: 1.5rem;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.project-card:hover .project-quick-actions {
  transform: translateY(0);
}

.quick-action-btn {
  width: 55px;
  height: 55px;
  border-radius: 18px;
  background: rgba(var(--main-color-rgb), 0.9);
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.quick-action-btn:hover {
  transform: translateY(-5px) scale(1.1);
  background: var(--main-color);
  box-shadow: 0 15px 35px rgba(var(--main-color-rgb), 0.4);
}

.quick-action-btn.disabled {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  cursor: not-allowed;
}

.quick-action-btn.disabled:hover {
  transform: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Status Badge */
.status-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(76, 175, 80, 0.9);
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 20px;
  z-index: 4;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: badgePulse 3s ease-in-out infinite;
}

.status-badge.coming-soon {
  background: rgba(var(--main-color-rgb), 0.9);
}

.status-badge.demo {
  background: rgba(255, 193, 7, 0.9);
  color: #000;
}

.status-badge.beta {
  background: rgba(156, 39, 176, 0.9);
}

/* Project Content */
.project-content {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
  z-index: 2;
}

.project-title {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  color: var(--main-color);
  font-weight: 800;
  letter-spacing: 0.5px;
  position: relative;
  display: inline-block;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  line-height: 1.2;
}

.project-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 50px;
  height: 4px;
  background: linear-gradient(90deg, var(--main-color), rgba(var(--main-color-rgb), 0.3));
  border-radius: 4px;
  transition: width 0.4s ease;
}

.project-card:hover .project-title::after {
  width: 100%;
}

.project-description {
  color: rgba(var(--text-color-rgb), 0.8);
  margin-bottom: 2.5rem;
  font-size: 1.5rem;
  line-height: 1.7;
  flex-grow: 1;
  font-weight: 400;
}

/* Project Features */
.project-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.project-features::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--main-color-rgb), 0.3), transparent);
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(var(--text-color-rgb), 0.8);
  font-size: 1.3rem;
  background: rgba(var(--main-color-rgb), 0.1);
  padding: 0.8rem 1.4rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  border: 1px solid rgba(var(--main-color-rgb), 0.2);
  backdrop-filter: blur(5px);
}

.feature:hover {
  background: rgba(var(--main-color-rgb), 0.2);
  color: var(--text-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(var(--main-color-rgb), 0.2);
}

.feature i {
  color: var(--main-color);
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}

.feature:hover i {
  transform: scale(1.2);
}

/* Project Actions */
.project-actions {
  display: flex;
  gap: 1.5rem;
  margin-top: auto;
}

.add-button {
  background: rgba(var(--main-color-rgb), 0.1);
  border: 2px solid rgba(var(--main-color-rgb), 0.3);
  color: var(--text-color);
  font-size: 1.5rem;
  border-radius: 12px;
  padding: 1.4rem 2.5rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
  flex: 1;
  backdrop-filter: blur(10px);
}

.add-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--main-color), rgba(var(--main-color-rgb), 0.8));
  transition: left 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: -1;
}

.add-button:hover {
  color: var(--bg-color);
  border-color: var(--main-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(var(--main-color-rgb), 0.3);
}

.add-button:hover::before {
  left: 0;
}

.add-button.primary {
  background: linear-gradient(45deg, var(--main-color), rgba(var(--main-color-rgb), 0.8));
  color: var(--bg-color);
  border-color: var(--main-color);
}

.add-button.primary::before {
  background: linear-gradient(90deg, rgba(var(--main-color-rgb), 0.9), var(--main-color));
}

.add-button.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(var(--text-color-rgb), 0.5);
}

.add-button.disabled span {
  color: rgba(var(--text-color-rgb), 0.5);
}

.add-button.disabled:hover {
  transform: none;
  box-shadow: none;
}

.add-button.disabled::before {
  display: none;
}

.add-button i {
  font-size: 1.8rem;
  transition: transform 0.3s ease;
}

.add-button span {
  color: var(--bg-color);
  transition: transform 0.3s ease;
}

.add-button:hover i {
  transform: scale(1.1);
}

/* Animations */
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes decorationGrow {
  from { width: 0; }
  to { width: 120px; }
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.9; }
}

@keyframes particleFloat {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}

@keyframes geometricFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-20px) rotate(90deg);
  }
  50% {
    transform: translateY(-40px) rotate(180deg);
  }
  75% {
    transform: translateY(-20px) rotate(270deg);
  }
}

/* Mobile Responsiveness */
@media (max-width: 1200px) {
  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
  }
}

@media (max-width: 992px) {
  .projects {
    padding: 8rem 4% 6rem;
  }
  
  .projects-filter {
    gap: 1.5rem;
    margin-bottom: 4rem;
  }
  
  .filter-btn {
    padding: 1rem 2rem;
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .projects {
    padding: 6rem 4% 4rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .project-img-container {
    height: 200px;
  }
  
  .project-content {
    padding: 2.5rem 2rem;
  }
  
  .project-title {
    font-size: 2rem;
  }
  
  .project-description {
    font-size: 1.4rem;
  }
  
  .projects-filter {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .filter-btn {
    width: 100%;
    max-width: 300px;
  }
  
  .project-actions {
    flex-direction: column;
  }
  
  .add-button {
    padding: 1.2rem 2rem;
    font-size: 1.4rem;
  }
  
  .quick-action-btn {
    width: 50px;
    height: 50px;
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .projects {
    padding: 5rem 3% 3rem;
  }
  
  .project-content {
    padding: 2rem 1.5rem;
  }
  
  .feature {
    font-size: 1.2rem;
    padding: 0.6rem 1.2rem;
  }
  
  .projects .geo-circle,
  .projects .geo-triangle,
  .projects .geo-square {
    display: none;
  }
  
  .projects .particle {
    display: none;
  }
}

/* Accessibility and Performance */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .projects .particle,
  .projects .geometric-bg {
    display: none;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .project-card {
    border-width: 2px;
  }
  
  .filter-btn,
  .add-button {
    border-width: 3px;
  }
}

/* ===== COUNTDOWN STYLES - ADD TO YOUR MAIN CSS FILE ===== */

/* Coming Soon Overlay Styles */
.coming-soon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    border-radius: 20px 20px 0 0;
}

.coming-soon-content {
    text-align: center;
    color: var(--text-color, #ffffff);
    padding: 2rem;
}

.coming-soon-icon {
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.coming-soon-icon i {
    font-size: 4rem;
    color: var(--main-color, #79756c);
    animation: clockTick 2s ease-in-out infinite;
}

.clock-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, var(--main-color, #79756c) 0%, transparent 70%);
    opacity: 0.3;
    border-radius: 50%;
    animation: glowPulse 3s ease-in-out infinite;
}

.countdown-container h4 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--main-color, #79756c);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-timer {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.time-unit {
    background: rgba(var(--main-color-rgb, 121, 117, 108), 0.2);
    border-radius: 8px;
    padding: 1rem 0.8rem;
    min-width: 50px;
    border: 1px solid rgba(var(--main-color-rgb, 121, 117, 108), 0.4);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    text-align: center;
}

.time-unit.expired {
    opacity: 0.5;
    background: rgba(255, 255, 255, 0.1);
}

.time-unit.urgent {
    background: rgba(237, 66, 69, 0.3);
    border-color: rgba(237, 66, 69, 0.6);
    animation: urgentPulse 1s ease-in-out infinite;
}

.time-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--main-color, #79756c);
    font-family: 'Courier New', monospace;
    line-height: 1;
}

.time-label {
    display: block;
    font-size: 1rem;
    color: rgba(var(--text-color-rgb, 255, 255, 255), 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.2rem;
    font-weight: 500;
}

.time-separator {
    font-size: 2rem;
    color: var(--main-color, #79756c);
    font-weight: 700;
    animation: separatorBlink 2s ease-in-out infinite;
    line-height: 1;
    display: flex;
    align-items: center;
}

.countdown-finished {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: rgba(76, 175, 80, 0.2);
    border-radius: 12px;
    border: 2px solid rgba(76, 175, 80, 0.6);
}

.countdown-finished i {
    font-size: 3rem;
    color: #4CAF50;
    animation: rocketLaunch 1s ease-in-out infinite;
}

.released-text {
    font-size: 2rem;
    font-weight: 700;
    color: #4CAF50;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: rgba(var(--text-color-rgb, 255, 255, 255), 0.7);
}

.coming-soon-text h4 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    color: var(--main-color, #79756c);
    font-weight: 700;
}

.coming-soon-text p {
    font-size: 1.5rem;
    color: rgba(var(--text-color-rgb, 255, 255, 255), 0.8);
    font-style: italic;
}

/* Countdown Animations */
@keyframes clockTick {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(15deg);
    }
    75% {
        transform: rotate(-15deg);
    }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes urgentPulse {
    0%, 100% {
        background: rgba(237, 66, 69, 0.3);
        border-color: rgba(237, 66, 69, 0.6);
    }
    50% {
        background: rgba(237, 66, 69, 0.5);
        border-color: rgba(237, 66, 69, 0.8);
    }
}

@keyframes separatorBlink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

@keyframes rocketLaunch {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Mobile Responsiveness for Countdown */
@media (max-width: 768px) {
    .countdown-timer {
        gap: 0.3rem;
    }
    
    .time-unit {
        padding: 0.8rem 0.6rem;
        min-width: 45px;
    }
    
    .time-value {
        font-size: 1.6rem;
    }
    
    .time-separator {
        font-size: 1.8rem;
    }
    
    .countdown-container h4 {
        font-size: 1.6rem;
    }
    
    .coming-soon-icon i {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .countdown-timer {
        gap: 0.2rem;
    }
    
    .time-unit {
        padding: 0.6rem 0.4rem;
        min-width: 40px;
    }
    
    .time-value {
        font-size: 1.4rem;
    }
    
    .time-label {
        font-size: 0.9rem;
    }
    
    .time-separator {
        font-size: 1.6rem;
    }
}

/* Fix for potential z-index issues */
.project-card .coming-soon-overlay {
    z-index: 10;
}

.project-card .countdown {
    position: relative;
    z-index: 11;
}

/* Ensure text is visible */
.countdown * {
    color: inherit;
}

.time-unit .time-value {
    color: var(--main-color, #79756c) !important;
}

.time-unit .time-label {
    color: rgba(var(--text-color-rgb, 255, 255, 255), 0.7) !important;
}

/* .projects {
  padding: 100px 12%;
  background: var(--bg-color);
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.project-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
  border: 2px solid transparent;
  animation: fadeIn 1s ease;
  animation-fill-mode: both;
}

.project-card.selina{
  border: 1px solid var(--selina-color);
}

.project-card:nth-child(1) { animation-delay: 0.2s; }
.project-card:nth-child(2) { animation-delay: 0.4s; }
.project-card:nth-child(3) { animation-delay: 0.6s; }
.project-card:nth-child(4) { animation-delay: 0.8s; }

.project-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  border-color: var(--main-color);
}
.project-card.selina:hover {
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  border-color: var(--selina-hover-color);
}

.project-img {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.project-img img {
  transition: transform 0.5s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card:hover .project-img img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-links a {
  display: inline-block;
  padding: 10px 20px;
  margin: 0 10px;
  background: var(--main-color);
  color: var(--bg-color);
  border-radius: 5px;
  font-size: 1.6rem;
  transition: 0.3s ease;
}

.demo-link.selina {
  display: inline-block;
  padding: 10px 20px;
  margin: 0 10px;
  background: var(--selina-hover-color);
  color: var(--bg-color);
  border-radius: 5px;
  font-size: 1.6rem;
  transition: 0.3s ease;
}

.project-links a:hover {
  transform: scale(1.1);
}

.project-info {
  padding: 20px;
}

.project-info h3 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: var(--text-color);
}

.project-info p {
  font-size: 1.6rem;
  color: var(--text-color);
  margin-bottom: 15px;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-stack span {
  padding: 5px 15px;
  background: var(--main-color);
  color: var(--accent-color);
  border-radius: 20px;
  font-size: 1.4rem;
}

.tech-stack-span-selina{
  padding: 5px 15px;
  background: var(--bg-color);
  color: var(--selina-hover-color);
  border-radius: 20px;
  font-size: 1.4rem;
}

.projects-filter {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.filter-btn {
  padding: 10px 20px;
  background: transparent;
  border: 2px solid var(--main-color);
  color: var(--text-color);
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.6rem;
  transition: 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--main-color);
  color: var(--bg-color);
} */

@media (max-width: 768px) {
  .home-content {
    text-align: center;
    align-items: center;
  }

  .btn-group {
    flex-direction: column;
  }

  .services-container,
  .projects-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .projects-container {
    grid-template-columns: 1fr;
  }

  .projects-filter {
    flex-wrap: wrap;
  }
}

.testimonials {
  background-color: var(--bg-color);
  padding: 10rem 12%;
}

.testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.testimonial-card {
  background: var(--second-bg-color);
  border-radius: 15px;
  padding: 2rem;
  border: 2px solid transparent;
  transition: 0.3s ease;
}

.testimonial-card:hover {
  border-color: var(--main-color);
  transform: translateY(-10px);
}

.testimonial-content p {
  font-size: 1.6rem;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  font-size: 1.8rem;
  color: var(--text-color);
}

.testimonial-author span {
  font-size: 1.4rem;
  color: var(--main-color);
}

/*  */

.projects-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  background: transparent;
  border: 2px solid var(--main-color);
  color: var(--text-color);
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--main-color);
  color: var(--bg-color);
}

.discord-widget {
  --discord-blurple: #5865f2;
  --discord-blurple-hover: #4752c4;
  --discord-green: #3ba55c;
  --discord-greyple: #99aab5;
  --discord-dark: #2b2d31;

  margin: 4rem auto;
  padding: 0 12%;
  max-width: 1400px;
}

.widget-container {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: start;
}

.custom-widget {
  background: var(--discord-dark);
  border-radius: 1.5rem;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  animation: slideUpFade 0.6s ease;
}

.server-header {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
}

.server-icon-container {
  position: relative;
  flex-shrink: 0;
}

.server-icon {
  width: 100px;
  height: 100px;
  border-radius: 25%;
  object-fit: cover;
  border: 3px solid var(--discord-blurple);
  box-shadow: 0 4px 20px rgba(88, 101, 242, 0.2);
}

.boost-level {
  position: absolute;
  bottom: -10px;
  right: -10px;
  background: linear-gradient(45deg, #ff73fa, #9b59b6);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.server-meta {
  flex: 1;
}

.server-name {
  color: white;
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.server-status {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.4rem;
  color: var(--discord-greyple);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #747f8d;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    opacity: 0.4;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.4;
  }
}

.server-stats {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  transition: transform 0.2s ease;
}

.stat-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
}

.stat-item i {
  font-size: 2rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-item.online i {
  color: var(--discord-green);
}

.stat-item.members i {
  color: var(--discord-blurple);
}

.stat-item.channels i {
  color: var(--discord-greyple);
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  display: block;
}

.stat-label {
  font-size: 1.4rem;
  color: var(--discord-greyple);
  display: block;
}

.join-button {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  justify-content: center;
  padding: 1.5rem;
  background: var(--discord-blurple);
  color: white;
  border-radius: 1rem;
  font-size: 1.6rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.join-button:hover {
  background: var(--discord-blurple-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(88, 101, 242, 0.3);
}

.discord-frame {
  border: none;
  width: 100%;
  height: 500px;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .widget-container {
    grid-template-columns: 1fr;
  }

  .server-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .server-status {
    justify-content: center;
  }

  .server-icon {
    width: 80px;
    height: 80px;
  }
}

.footer {
  background: var(--second-bg-color);
  padding: 4rem 0 2rem;
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--main-color);
  font-size: 24px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-icons a:hover {
  background: var(--main-color);
  color: var(--text-color);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(var(--main-color-rgb), 0.3);
}

/* YouTube */
.social-icons a:nth-child(1):hover {
  background: #ff0000;
}

/* Instagram */
.social-icons a:nth-child(2):hover {
  background: #e1306c;
}

/* Discord */
.social-icons a:nth-child(3):hover {
  background: #7289da;
}

/* Twitter */
.social-icons a:nth-child(4):hover {
  background: #1da1f2;
}

/* Twitch */
.social-icons a:nth-child(5):hover {
  background: #9146ff;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
  list-style: none;
  margin-bottom: 2rem;
}

.footer-nav li a {
  font-size: 1.8rem;
  color: var(--text-color);
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.footer-nav li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--main-color);
  transition: width 0.3s ease;
}

.footer-nav li a:hover {
  color: var(--main-color);
}

.footer-nav li a:hover::after {
  width: 100%;
}

.copyright {
  font-size: 1.4rem;
  color: rgba(var(--text-color-rgb), 0.7);
  text-align: center;
  position: relative;
  padding-top: 2rem;
  width: 100%;
}

.copyright::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 500px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--main-color-rgb), 0.3), transparent);
}

.copyright span {
  color: var(--main-color);
  font-weight: 600;
}

.footer::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='rgba(35, 36, 35, 1)' fill-opacity='1' d='M0,160L48,181.3C96,203,192,245,288,261.3C384,277,480,267,576,240C672,213,768,171,864,165.3C960,160,1056,192,1152,197.3C1248,203,1344,181,1392,170.7L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  background-repeat: no-repeat;
}

/* Responsive design */
@media (max-width: 768px) {
  .footer-nav {
    gap: 2rem;
  }

  .social-icons {
    gap: 1.5rem;
  }

  .social-icons a {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }

  .footer-nav li a {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .footer-nav {
    flex-direction: column;
    gap: 1.5rem;
  }

  .social-icons {
    gap: 1rem;
  }

  .copyright {
    font-size: 1.3rem;
  }
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient);
  z-index: 1000;
  transform-origin: left;
}

.theme-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--main-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  transition: 0.3s ease;
}

.theme-toggle:hover {
  transform: scale(1.1);
}

@media(max-width:1024px) {
  #menu-icon {
    display: block;
  }

  .navbar {
    position: absolute;
    top: 100%;
    right: 0;
    width: 50%;
    padding: 1rem 3rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-left: 2px solid var(--main-color);
    border-bottom: 2px solid var(--main-color);
    border-bottom-left-radius: 2rem;
    z-index: 99;
    display: none;
  }

  .navbar a {
    display: block;
    font-size: 2rem;
    margin: 3rem 0;
    color: var(--text-color);
  }

  .navbar.active {
    display: block;
  }

  .home {
    flex-direction: column-reverse;
    margin: 5rem 0;
    gap: 5rem;
  }

  .home-content {
    align-items: center;
    text-align: center;
  }

  .home-img img {
    width: 52vw;
  }

  .about {
    flex-direction: column-reverse;
    text-align: center;
  }

  .about h2 {
    text-align: center;
    margin: 2rem 0;
  }

  .about-img {
    width: 52vw;
  }

  .contact form {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .home-content h1 {
    font-size: 6rem;
  }

  .service-box {
    height: auto;
    min-height: 400px;
  }

  .contact form {
    width: 100%;
  }
}

/* Language Toggle Button */
#language-toggle {
  background: transparent;
  border: 2px solid var(--main-color);
  color: var(--text-color);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: 0.3s ease;
}

#language-toggle:hover {
  background: var(--main-color);
  color: var(--bg-color);
}

#language-toggle i {
  font-size: 1.8rem;
}

/* Mobile Navigation Styles */
#menu-icon {
  font-size: 3.6rem;
  color: var(--main-color);
  display: none;
  cursor: pointer;
  position: relative;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 1001;
}

#menu-icon:hover {
  transform: scale(1.1);
  color: var(--main-color);
}

#menu-icon i {
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

#menu-icon.active i {
  transform: rotate(180deg);
}

#menu-icon.active {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#close-menu {
  display: none;
  font-size: 3.6rem;
  color: var(--main-color);
  background: rgba(var(--main-color-rgb), 0.1);
  border: 2px solid rgba(var(--main-color-rgb), 0.3);
  border-radius: 50%;
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 1002;
  opacity: 0;
  transform: scale(0.8) rotate(90deg);
}

#close-menu:hover {
  background: rgba(var(--main-color-rgb), 0.2);
  border-color: var(--main-color);
  transform: scale(1.1) rotate(0deg);
}

#close-menu.active {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* Menu Backdrop Overlay */
.menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.menu-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.navbar {
  display: flex;
  gap: 2rem;
}

/* Hide menu header on desktop */
.menu-header {
  display: none;
}

/* Desktop navbar - keep it as flex row, no mobile styles */
@media (min-width: 1025px) {
  .navbar {
    position: static !important;
    right: auto !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    backdrop-filter: none !important;
    padding: 0 !important;
    z-index: auto !important;
    transform: none !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    overflow: visible !important;
    border: none !important;
    box-shadow: none !important;
  }

  .navbar.active {
    position: static !important;
    right: auto !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    backdrop-filter: none !important;
    padding: 0 !important;
    z-index: auto !important;
    transform: none !important;
  }

  .navbar::before {
    display: none !important;
  }

  .navbar a {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    margin: 0 !important;
    padding: 0.5rem 1rem !important;
    font-size: 1.6rem !important;
    display: block !important;
    flex-direction: row !important;
    gap: 0 !important;
    border: none !important;
    background: transparent !important;
  }

  .navbar a i {
    display: none !important;
  }

  .navbar a span {
    display: inline !important;
  }

  .menu-backdrop {
    display: none !important;
  }
}

.navbar a {
  position: relative;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--text-color);
  margin: 1rem 0;
  padding: 0.5rem 1rem;
  border-bottom: 2px solid transparent;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.navbar a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar a:hover {
  border-bottom: 2px solid var(--main-color);
  color: var(--main-color);
}

/* Show/Hide Menu for Mobile */
@media (max-width: 1024px) {
  .header {
    width: 92%;
    top: 1.5rem;
    border-radius: 1.2rem;
    padding: 1.5rem 3rem;
  }

  .menu-toggle {
        display: block;
        background: none;
        border: none;
        color: #fff;
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 1001;
    }
  
  #menu-icon {
    display: block;
    /* Show hamburger menu */
  }

  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    background: var(--bg-color);
    padding: 8rem 2rem 3rem;
    gap: 0.5rem;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    visibility: hidden;
    transform: translateX(100%);
  }

  .navbar.active {
    visibility: visible;
  }

  /* Custom Scrollbar for Menu */
  .navbar::-webkit-scrollbar {
    width: 6px;
  }

  .navbar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
  }

  .navbar::-webkit-scrollbar-thumb {
    background: rgba(var(--main-color-rgb), 0.3);
    border-radius: 10px;
    transition: background 0.3s ease;
  }

  .navbar::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--main-color-rgb), 0.5);
  }

  .navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(var(--main-color-rgb), 0.1), transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
  }

  .navbar.active {
    transform: translateX(0);
  }

  .navbar.active::before {
    opacity: 1;
  }

  .menu-header {
    display: block;
    width: 100%;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateX(-30px);
  }

  .navbar.active .menu-header {
    animation: slideInFromLeft 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.05s forwards;
  }

  .menu-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--main-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--main-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .menu-divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--main-color), transparent);
    border-radius: 2px;
  }

  .navbar a {
    position: relative;
    padding: 1.2rem 1.5rem;
    border-radius: 1rem;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
    transform: translateX(-30px);
    margin: 0.5rem 0;
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 1.2rem;
  }

  .navbar a i {
    font-size: 2.2rem;
    transition: all 0.3s ease;
    color: rgba(var(--main-color-rgb), 0.6);
  }

  .navbar a span {
    flex: 1;
  }

  .navbar.active a {
    animation: slideInFromLeft 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
  }

  .navbar.active a:nth-child(1) { animation-delay: 0.1s; }
  .navbar.active a:nth-child(2) { animation-delay: 0.15s; }
  .navbar.active a:nth-child(3) { animation-delay: 0.2s; }
  .navbar.active a:nth-child(4) { animation-delay: 0.25s; }
  .navbar.active a:nth-child(5) { animation-delay: 0.3s; }
  .navbar.active a:nth-child(6) { animation-delay: 0.35s; }
  .navbar.active a:nth-child(7) { animation-delay: 0.4s; }

  .navbar a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(var(--main-color-rgb), 0.2), transparent);
    transition: left 0.5s ease;
  }

  .navbar a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--main-color), var(--secondary-color));
    transition: width 0.3s ease;
  }
  
  .navbar a:hover {
    background: rgba(var(--main-color-rgb), 0.1);
    border-color: rgba(var(--main-color-rgb), 0.3);
    color: var(--main-color);
    transform: translateX(10px) scale(1.02);
    box-shadow: 0 5px 20px rgba(var(--main-color-rgb), 0.2);
  }

  .navbar a:hover i {
    color: var(--main-color);
    transform: scale(1.2);
  }

  .navbar a:hover::before {
    left: 100%;
  }

  .navbar a:hover::after {
    width: 100%;
  }

  .navbar a:active {
    transform: translateX(5px) scale(0.98);
  }

  #close-menu {
    display: flex;
  }

  #close-menu.active {
    display: flex;
  }

  @keyframes slideInFromLeft {
    from {
      opacity: 0;
      transform: translateX(-30px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
}

/* Mobile Language Toggle */
.mobile-language-toggle {
  display: none;
  margin-top: auto;
  padding: 2rem;
}

#mobile-language-toggle {
  width: 100%;
  background: transparent;
  border: 2px solid var(--main-color);
  color: var(--text-color);
  padding: 1rem;
  border-radius: 5px;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

#desktop-language-toggle {
  /* width: 100%; */
  background: transparent;
  border: 2px solid var(--main-color);
  color: var(--text-color);
  padding: 1rem;
  border-radius: 5px;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
}

@media (max-width: 1024px) {
  #desktop-language-toggle {
    display: none;
  }

  .mobile-language-toggle {
    display: block;
  }
}

@media (min-width: 1025px) {
  .mobile-language-toggle {
    display: none;
  }

  .desktop-language {
    display: flex;
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.discord-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(15px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.discord-modal.active {
  display: flex;
  opacity: 1;
  animation: modalFadeIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
  }

  to {
    opacity: 1;
    backdrop-filter: blur(15px);
  }
}

.modal-content {
  background: var(--second-bg-color);
  border-radius: 24px;
  overflow: hidden;
  width: min(95%, 650px);
  /* Increased width for desktop */
  max-height: 90vh;
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  transform: translateY(30px) scale(0.95);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.discord-modal.active .modal-content {
  transform: translateY(0) scale(1);
}

.server-banner {
  height: 220px;
  /* Increased height */
  background: linear-gradient(135deg, var(--main-color), var(--secondary-color));
  /* background: url('../assets/banner.jpg'); */
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 50px;
  transition: all 0.3s ease;
}

.server-banner.has-banner {
  background-blend-mode: overlay;
}

.server-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.1) 0%,
      rgba(0, 0, 0, 0.6) 100%);
  z-index: 1;
}

.server-icon {
  width: 120px;
  /* Increased size */
  height: 120px;
  border-radius: 50%;
  border: 6px solid var(--second-bg-color);
  object-fit: cover;
  position: absolute;
  bottom: -60px;
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.4),
    0 0 0 2px rgba(255, 255, 255, 0.1);
  z-index: 2;
  transition: all 0.3s ease;
}

.server-icon:hover {
  transform: scale(1.05);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 0 2px var(--main-color);
}

.server-info {
  padding: 80px 40px 40px;
  /* Increased padding */
  text-align: center;
}

.server-info h3 {
  font-size: 2.8rem;
  /* Increased font size */
  margin-bottom: 1.2rem;
  color: var(--text-color);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text-color), rgba(255, 255, 255, 0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.server-info p {
  font-size: 1.7rem;
  /* Increased font size */
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.server-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  /* Increased gap */
  margin: 3rem 0;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.7rem;
  /* Increased font size */
  font-weight: 600;
  transition: all 0.3s ease;
}

.stat:hover {
  transform: translateY(-2px);
}

.stat i {
  font-size: 2.8rem;
  /* Increased icon size */
  color: var(--main-color);
  margin-bottom: 1rem;
  padding: 1rem;
  background: rgba(var(--main-color-rgb), 0.1);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.stat:hover i {
  background: rgba(var(--main-color-rgb), 0.2);
  transform: scale(1.1);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.join-btn {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  background: linear-gradient(135deg, #5865f2, #4752c4);
  color: white;
  padding: 1.6rem 3rem;
  /* Increased padding */
  border-radius: 16px;
  font-size: 1.9rem;
  /* Increased font size */
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin-top: 1.5rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(88, 101, 242, 0.3);
}

.join-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.join-btn:hover::before {
  left: 100%;
}

.join-btn:hover {
  background: linear-gradient(135deg, #4752c4, #3c4aae);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 35px rgba(88, 101, 242, 0.4);
}

.join-btn:active {
  transform: translateY(-2px) scale(1.02);
}

.join-btn i {
  font-size: 2.2rem;
  transition: all 0.3s ease;
}

.join-btn:hover i {
  transform: scale(1.2);
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 2.8rem;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  width: 50px;
  /* Increased size */
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.close-modal:hover {
  color: var(--main-color);
  background: rgba(0, 0, 0, 0.6);
  transform: rotate(90deg) scale(1.1);
  border-color: var(--main-color);
}

/* Loading animation */
@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.loading {
  animation: pulse 1.5s ease-in-out infinite;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
  .header {
    width: 90%;
    top: 1rem;
    border-radius: 1rem;
    padding: 1.2rem 2rem;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  }
    
  .navbar {
    right: 5%;
    left: 5%;
    padding: 1.2rem;
  }

  .modal-content {
    width: min(95%, 450px);
    margin: 20px;
  }

  .server-banner {
    height: 180px;
  }

  .server-icon {
    width: 100px;
    height: 100px;
    bottom: -50px;
  }

  .server-info {
    padding: 70px 25px 30px;
  }

  .server-info h3 {
    font-size: 2.4rem;
  }

  .server-info p {
    font-size: 1.5rem;
  }

  .server-stats {
    gap: 2.5rem;
    padding: 1.5rem;
  }

  .stat {
    font-size: 1.5rem;
  }

  .stat i {
    font-size: 2.4rem;
    width: 50px;
    height: 50px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 1.2rem;
  }

  .join-btn {
    padding: 1.4rem 2.5rem;
    font-size: 1.7rem;
  }

  .close-modal {
    width: 45px;
    height: 45px;
    top: 15px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .header {
    width: 94%;
    top: 0.8rem;
    border-radius: 0.8rem;
    padding: 1rem 1.5rem;
  }
    
  .navbar {
    right: 3%;
    left: 3%;
    padding: 1rem;
    gap: 0.8rem;
  }
    
  .navbar a {
    padding: 0.7rem 0.8rem;
    font-size: 0.95rem;
  }

  .modal-content {
    width: 95%;
    margin: 10px;
  }

  .server-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .stat {
    flex-direction: row;
    gap: 1rem;
  }

  .stat i {
    margin-bottom: 0;
  }
}

/* Desktop enhancements */
@media (min-width: 1200px) {
  .modal-content {
    width: min(90%, 750px);
    /* Even larger on big screens */
  }

  .server-banner {
    height: 250px;
  }

  .server-icon {
    width: 140px;
    height: 140px;
    bottom: -70px;
  }

  .server-info {
    padding: 90px 50px 50px;
  }

  .server-info h3 {
    font-size: 3.2rem;
  }

  .server-info p {
    font-size: 1.8rem;
  }

  .server-stats {
    gap: 5rem;
  }

  .join-btn {
    padding: 1.8rem 3.5rem;
    font-size: 2rem;
  }
}

/* Enhanced Desktop Styles */

/* Enhanced Geometric Shapes */
.geo-hexagon {
  width: 100px;
  height: 100px;
  background: rgba(var(--main-color-rgb), 0.2);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  top: 30%;
  left: 80%;
  animation-delay: -10s;
}

.geo-diamond {
  width: 80px;
  height: 80px;
  background: rgba(var(--secondary-color), 0.2);
  transform: rotate(45deg);
  border-radius: 10px;
  bottom: 40%;
  right: 5%;
  animation-delay: -5s;
}

/* Animated Background Grid */
.grid-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.1;
}

.grid-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, var(--main-color), transparent);
}

.grid-vertical {
  width: 1px;
  height: 100%;
  left: 30%;
  animation: gridPulse 4s ease-in-out infinite;
}

.grid-horizontal {
  width: 100%;
  height: 1px;
  top: 60%;
  animation: gridPulse 4s ease-in-out infinite 2s;
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.1; }
  50% { opacity: 0.3; }
}

/* Floating Code Elements */
.code-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.code-snippet {
  position: absolute;
  font-family: 'Courier New', monospace;
  font-size: 1.4rem;
  color: var(--main-color);
  opacity: 0.7;
  animation: codeFloat 20s infinite ease-in-out;
}

.code-1 {
  top: 15%;
  right: 20%;
  animation-delay: 0s;
}

.code-2 {
  bottom: 25%;
  left: 10%;
  animation-delay: -7s;
}

.code-3 {
  top: 70%;
  right: 15%;
  animation-delay: -14s;
}

.code-bracket {
  color: var(--accent-color);
}

.code-string {
  color: var(--secondary-color);
}

@keyframes codeFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.7;
  }
  25% {
    transform: translateY(-20px) rotate(2deg);
    opacity: 0.9;
  }
  50% {
    transform: translateY(-10px) rotate(-1deg);
    opacity: 0.5;
  }
  75% {
    transform: translateY(-30px) rotate(1deg);
    opacity: 0.8;
  }
}

/* Enhanced Text Animations */
.text-reveal-container {
  margin-bottom: 3rem;
}

.word-animate {
  display: inline-block;
  animation: wordSlideUp 1s ease calc(var(--delay)) both;
}

@keyframes wordSlideUp {
  from {
    opacity: 0;
    transform: translateY(50px) rotateX(90deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

.subtitle-container {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 2rem 0;
  animation: fadeInUp 1s ease 0.8s both;
}

.subtitle-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--main-color), transparent);
  animation: lineGrow 2s ease 1s both;
}

.subtitle-text {
  font-size: 1.6rem;
  color: rgba(var(--text-color-rgb), 0.8);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes lineGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Enhanced Tagline */
.enhanced-tagline {
  font-size: clamp(1.6rem, 2.8vw, 2rem);
  line-height: 1.6;
  margin-bottom: 4rem;
}

/* Hero Stats Section */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin: 4rem 0;
  padding: 2rem 0;
  animation: fadeInUp 1s ease 1.2s both;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 900;
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.2rem;
  color: rgba(var(--text-color-rgb), 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(var(--main-color-rgb), 0.3);
}

/* Enhanced Social Links */
.enhanced-social {
  margin: 4rem 0;
  animation: fadeInUp 1s ease 1.4s both;
}

.social-label {
  font-size: 1.4rem;
  color: rgba(var(--text-color-rgb), 0.8);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.social-buttons {
  display: flex;
  gap: 1.5rem;
}

.social-btn {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  color: var(--main-color);
  border: 2px solid rgba(var(--main-color-rgb), 0.3);
  background: rgba(var(--main-color-rgb), 0.05);
  backdrop-filter: blur(15px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

.social-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.social-btn:hover .social-bg {
  opacity: 1;
}

.social-buttons i:hover {
  color: var(--text-color);
}

/* .social-btn.youtube .social-bg {
  background: linear-gradient(135deg, var(--youtube-color), #ff4444);
}

.social-btn.instagram .social-bg {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-btn.discord .social-bg {
  background: linear-gradient(135deg, var(--discord-color), #4752c4);
}

.social-btn.tiktok .social-bg {
  background: linear-gradient(135deg, #000000, #333333);
}

.social-btn.twitter .social-bg {
  background: linear-gradient(135deg, var(--twitter-color), #0d8bd9);
}

.social-btn.twitch .social-bg {
  background: linear-gradient(135deg, var(--twitch-color), #8956FB);
} */

/* Enhanced CTA Buttons */
.enhanced-cta {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin: 4rem 0;
  animation: fadeInUp 1s ease 1.6s both;
}

.primary-btn {
  background: linear-gradient(135deg, var(--main-color), var(--secondary-color));
  color: white;
  border: none;
  box-shadow: 0 10px 30px rgba(var(--main-color-rgb), 0.3);
  position: relative;
  overflow: hidden;
}

.secondary-btn {
  background: rgba(var(--accent-color), 0.1);
  color: var(--accent-color);
  border: 2px solid rgba(var(--accent-color), 0.4);
  backdrop-filter: blur(15px);
}

.enhanced-btn {
  padding: 1.8rem 3.5rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.btn-icon {
  font-size: 2rem;
  transition: transform 0.3s ease;
  z-index: 2;
}

.btn-text {
  z-index: 2;
  position: relative;
}

.btn-particles {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.btn-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  opacity: 0;
  animation: buttonParticles 2s infinite ease-in-out;
}

.btn-particles span:nth-child(1) {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.btn-particles span:nth-child(2) {
  top: 60%;
  right: 30%;
  animation-delay: 0.7s;
}

.btn-particles span:nth-child(3) {
  bottom: 30%;
  left: 60%;
  animation-delay: 1.4s;
}

@keyframes buttonParticles {
  0%, 100% {
    opacity: 0;
    transform: scale(0) translateY(0);
  }
  50% {
    opacity: 1;
    transform: scale(1) translateY(-10px);
  }
}

.enhanced-btn:hover {
  transform: translateY(-6px) scale(1.05);
}

.enhanced-btn:hover .btn-icon {
  transform: scale(1.2) rotate(10deg);
}

.primary-btn:hover {
  box-shadow: 0 20px 50px rgba(var(--main-color-rgb), 0.5);
}

.secondary-btn:hover {
  border-color: var(--accent-color);
  box-shadow: 0 15px 40px rgba(var(--accent-color), 0.3);
}

/* Skills Preview */
.skills-preview {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  animation: fadeInUp 1s ease 1.8s both;
}

.skill-tag {
  padding: 0.8rem 1.6rem;
  background: rgba(var(--main-color-rgb), 0.1);
  border: 1px solid rgba(var(--main-color-rgb), 0.3);
  border-radius: 25px;
  font-size: 1.3rem;
  color: var(--main-color);
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.skill-tag:hover {
  background: rgba(var(--main-color-rgb), 0.2);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(var(--main-color-rgb), 0.2);
}

/* Counter Animation for Stats */
@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}


/* Mobile-Optimized Styles */
@media (max-width: 768px) {
  html {
    font-size: 55%;
  }

  .header {
    padding: 2rem 5%;
    height: 6rem;
  }

  .logo {
    font-size: 2rem;
  }

  #menu-icon {
    display: flex;
    font-size: 3rem;
    color: var(--main-color);
    cursor: pointer;
    z-index: 1001;
  }

  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-color);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 8rem 2rem 3rem;
    gap: 0.5rem;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    overflow-y: auto;
    overflow-x: hidden;
    transform: translateX(100%);
  }

  .navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(var(--main-color-rgb), 0.1), transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
  }

  .navbar.active {
    transform: translateX(0);
  }

  .navbar.active::before {
    opacity: 1;
  }

  .navbar a {
    position: relative;
    font-size: 1.8rem;
    margin: 0.5rem 0;
    color: var(--text-color);
    font-weight: 600;
    padding: 1.2rem 1.5rem;
    border-radius: 1rem;
    width: 100%;
    text-align: left;
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
    transform: translateX(-30px);
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 1.2rem;
  }

  .navbar a i {
    font-size: 2.2rem;
    transition: all 0.3s ease;
    color: rgba(var(--main-color-rgb), 0.6);
  }

  .navbar a span {
    flex: 1;
  }

  .navbar.active a {
    animation: slideInFromLeft 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
  }

  .navbar.active a:nth-child(1) { animation-delay: 0.1s; }
  .navbar.active a:nth-child(2) { animation-delay: 0.15s; }
  .navbar.active a:nth-child(3) { animation-delay: 0.2s; }
  .navbar.active a:nth-child(4) { animation-delay: 0.25s; }
  .navbar.active a:nth-child(5) { animation-delay: 0.3s; }
  .navbar.active a:nth-child(6) { animation-delay: 0.35s; }
  .navbar.active a:nth-child(7) { animation-delay: 0.4s; }

  .navbar a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(var(--main-color-rgb), 0.2), transparent);
    transition: left 0.5s ease;
  }

  .navbar a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--main-color), var(--secondary-color));
    transition: width 0.3s ease;
  }

  .navbar a:hover {
    color: var(--main-color);
    background: rgba(var(--main-color-rgb), 0.1);
    border-color: rgba(var(--main-color-rgb), 0.3);
    transform: translateX(10px) scale(1.02);
    box-shadow: 0 5px 20px rgba(var(--main-color-rgb), 0.2);
  }

  .navbar a:hover i {
    color: var(--main-color);
    transform: scale(1.2);
  }

  .navbar a:hover::before {
    left: 100%;
  }

  .navbar a:hover::after {
    width: 100%;
  }

  .navbar a:active {
    transform: translateX(5px) scale(0.98);
  }

  #close-menu {
    position: absolute;
    display: flex;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 3rem;
    color: var(--main-color);
    cursor: pointer;
  }

  /* Mobile Home Section - Completely Different Layout */
  .home {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 12rem 5% 6rem;
    text-align: center;
    min-height: 100vh;
    background: 
      radial-gradient(circle at 50% 0%, rgba(var(--main-color-rgb), 0.2) 0%, transparent 60%),
      radial-gradient(circle at 0% 100%, rgba(var(--secondary-color), 0.15) 0%, transparent 60%),
      linear-gradient(180deg, var(--bg-color) 0%, var(--second-bg-color) 100%);
    position: relative;
    overflow: hidden;
  }

  .home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
      repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(var(--main-color-rgb), 0.03) 2px,
        rgba(var(--main-color-rgb), 0.03) 4px
      );
    pointer-events: none;
    opacity: 0.5;
  }

  /* Mobile Particles - Simplified */
  .particles-container {
    display: none; /* Hide complex particles on mobile */
  }

  /* Mobile Background - Simplified */
  .geometric-bg {
    opacity: 0.3;
  }

  .geo-shape {
    display: none;
  }

  .geo-circle {
    display: block;
    width: 150px;
    height: 150px;
    top: 10%;
    right: 10%;
  }

  .grid-background {
    display: none; /* Hide grid on mobile */
  }

  .code-elements {
    display: none; /* Hide floating code on mobile */
  }

  /* Mobile Hero Content */
  .home-content {
    margin-top: 0;
    width: 100%;
    max-width: 100%;
    padding: 0;
    position: relative;
    z-index: 2;
    animation: mobileFadeIn 1s ease 0.2s both;
  }

  @keyframes mobileFadeIn {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .hero-text {
    width: 100%;
    padding: 2rem 0;
  }

  /* Mobile Typography - Card Style */
  .text-reveal-container {
    background: rgba(var(--main-color-rgb), 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(var(--main-color-rgb), 0.2);
    border-radius: 24px;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    box-shadow: 
      0 8px 32px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  .gradient-heading {
    font-size: clamp(4rem, 14vw, 6rem);
    margin-bottom: 2rem;
    line-height: 1.15;
    text-align: center;
    background-size: 200% 200%;
  }

  .word-animate {
    display: block;
    margin: 0.5rem 0;
    text-align: center;
  }

  .immortal-text {
    display: block;
    margin: 1rem 0;
  }

  .subtitle-container {
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
    margin: 2.5rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(var(--main-color-rgb), 0.2);
    border-bottom: 1px solid rgba(var(--main-color-rgb), 0.2);
  }

  .subtitle-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--main-color), transparent);
  }

  .subtitle-text {
    font-size: 1.5rem;
    letter-spacing: 2px;
    font-weight: 600;
    color: rgba(var(--text-color-rgb), 0.9);
  }

  .animated-titles {
    background: rgba(var(--second-bg-color), 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(var(--main-color-rgb), 0.15);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  }

  .typewriter {
    font-size: clamp(2.2rem, 7vw, 3rem);
    margin: 1.5rem 0 2rem;
    text-align: center;
  }

  .enhanced-tagline {
    font-size: 1.5rem;
    line-height: 1.9;
    margin-bottom: 3rem;
    max-width: 100%;
    text-align: center;
    padding: 0 1rem;
    color: rgba(var(--text-color-rgb), 0.85);
  }

  /* Mobile Stats - Stacked Layout */
  .hero-stats {
    flex-direction: column;
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(var(--main-color-rgb), 0.05);
    border-radius: 20px;
    border: 1px solid rgba(var(--main-color-rgb), 0.2);
  }

  .stat-item {
    padding: 1rem;
  }

  .stat-number {
    font-size: 3rem;
  }

  .stat-label {
    font-size: 1.3rem;
  }

  .stat-divider {
    display: none;
  }

  /* Mobile Social Links - Card Style */
  .enhanced-social {
    margin: 3rem 0;
    background: rgba(var(--main-color-rgb), 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(var(--main-color-rgb), 0.2);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  }

  .social-label {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--main-color);
    font-weight: 600;
  }

  .social-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 320px;
    margin: 0 auto;
  }

  .social-btn {
    width: 75px;
    height: 75px;
    border-radius: 20px;
    font-size: 3rem;
    border-width: 2px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }

  .social-btn:active {
    transform: scale(0.95);
  }

  .social-btn:hover {
    transform: translateY(-5px) scale(1.1);
  }

  .social-tooltip {
    bottom: -40px;
    font-size: 1.4rem;
    padding: 8px 16px;
  }

  /* Mobile CTA Buttons - Full Width */
  .enhanced-cta {
    flex-direction: column;
    gap: 2rem;
    margin: 4rem 0;
  }

  .enhanced-btn {
    width: 100%;
    padding: 2rem 3rem;
    border-radius: 25px;
    font-size: 1.8rem;
    justify-content: center;
    text-align: center;
  }

  .btn-icon {
    font-size: 2.4rem;
  }

  .primary-btn {
    background: linear-gradient(135deg, var(--main-color), var(--secondary-color));
    box-shadow: 0 8px 25px rgba(var(--main-color-rgb), 0.4);
  }

  .secondary-btn {
    background: rgba(var(--accent-color), 0.15);
    border-width: 3px;
  }

  /* Mobile Skills - Centered Grid */
  .skills-preview {
    justify-content: center;
    gap: 1.5rem;
    margin-top: 4rem;
  }

  .skill-tag {
    padding: 1rem 2rem;
    font-size: 1.4rem;
    border-radius: 30px;
    border-width: 2px;
    min-width: 120px;
    text-align: center;
  }

  /* Mobile Hero Image - Simplified */
  .hero-image {
    margin-top: 4rem;
    order: -1; /* Move image to top on mobile */
  }

  .image-wrapper {
    max-width: 250px;
    margin: 0 auto;
  }

  .profile-container {
    width: 250px;
    height: 250px;
  }

  .profile-img {
    width: 100%;
    height: 100%;
  }

  .floating-icon {
    display: none; /* Hide floating icons on mobile */
  }

  .orbital-ring {
    width: 280px;
    height: 280px;
  }

  /* Mobile Visitor Counter - Simplified */
  .visitor-counter {
    position: relative;
    bottom: auto;
    right: auto;
    margin: 3rem auto 0;
    max-width: 280px;
    padding: 2rem;
    border-radius: 20px;
  }

  .counter-content h4 {
    font-size: 1.4rem;
  }

  .counter-number {
    font-size: 2.5rem;
  }

  /* Mobile Scroll Indicator */
  .scroll-indicator {
    bottom: 2rem;
  }

  .scroll-arrow {
    font-size: 2.5rem;
  }

  /* Mobile Touch Enhancements */
  .enhanced-btn,
  .social-btn,
  .skill-tag {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  /* Mobile Animation Adjustments */
  .word-animate {
    animation-duration: 0.8s;
  }

  .hero-stats,
  .enhanced-social,
  .enhanced-cta,
  .skills-preview {
    animation-duration: 0.6s;
  }

  /* Mobile Performance Optimizations */
  .btn-particles,
  .glow-effect,
  .counter-lines {
    display: none; /* Hide complex animations on mobile */
  }

  /* Mobile Specific Interactions */
  @media (hover: none) and (pointer: coarse) {
    .enhanced-btn:active {
      transform: scale(0.95);
    }

    .social-btn:active {
      transform: scale(0.9);
    }

    .skill-tag:active {
      transform: scale(0.95);
    }
  }
}

/* Tablet Adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
  .home {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-image {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }

  .hero-stats {
    justify-content: center;
    max-width: 500px;
    margin: 3rem auto;
  }

  .enhanced-cta {
    justify-content: center;
    max-width: 500px;
    margin: 3rem auto;
  }

  .skills-preview {
    justify-content: center;
    max-width: 600px;
    margin: 3rem auto 0;
  }
}

/* Enhanced Service Title with Animation */
.service-info h4 {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 2.5rem;
  transition: all 0.6s ease;
  position: relative;
}

.service-info h4::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--main-color), var(--secondary-color));
  border-radius: 2px;
  transition: width 0.6s ease;
}

.service-box:hover .service-info h4 {
  color: var(--main-color);
  transform: translateY(-5px);
}

.service-box:hover .service-info h4::after {
  width: 60px;
}

/* Enhanced Service Description with Better Typography */
.service-info p {
  font-size: 1.7rem;
  line-height: 1.8;
  color: rgba(var(--text-color-rgb), 0.85);
  transition: all 0.6s ease;
  flex-grow: 1;
  position: relative;
}

.service-box:hover .service-info p {
  color: var(--text-color);
  transform: translateY(-3px);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Add Skill Progress Bars */
.skill-progress-container {
  width: 100%;
  margin-top: 2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 0.3s;
}

.service-box:hover .skill-progress-container {
  opacity: 1;
  transform: translateY(0);
}

.skill-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.skill-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--main-color), var(--secondary-color));
  border-radius: 3px;
  width: 0;
  transition: width 1.5s ease 0.5s;
  position: relative;
}

.skill-progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: progressShine 2s infinite;
}

@keyframes progressShine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Coding skill - 90% */
.service-box:nth-child(1):hover .skill-progress-fill {
  width: 90%;
}

/* Gaming skill - 95% */
.service-box:nth-child(2):hover .skill-progress-fill {
  width: 95%;
}

/* Communication skill - 85% */
.service-box:nth-child(3):hover .skill-progress-fill {
  width: 85%;
}

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
  .services-container {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 4rem;
  }
}

@media (max-width: 768px) {
  .services {
    padding: 8rem 6% 6rem;
  }
  
  .services-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .service-info {
    padding: 4rem 3rem;
  }
  
  .services .section-header {
    margin-bottom: 6rem;
  }
  
  .service-info i {
    width: 100px;
    height: 100px;
    font-size: 4rem;
  }
}

@media (max-width: 480px) {
  .service-info {
    padding: 3rem 2rem;
  }
  
  .service-info h4 {
    font-size: 2.2rem;
  }
  
  .service-info p {
    font-size: 1.5rem;
  }
}

/* Music Section Styles */
/* Enhanced Music Section */
.music-section {
    position: relative;
    min-height: 100vh;
    padding: 6rem 4% 8rem;
    background: var(--bg-color);
    overflow: hidden;
}

.music-particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.music-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--main-color);
    border-radius: 50%;
    opacity: 0.6;
    animation: musicParticleFloat 20s infinite linear;
}

.music-particle:nth-child(1) {
    top: 15%;
    left: 5%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.music-particle:nth-child(2) {
    top: 70%;
    left: 15%;
    animation-delay: -8s;
    animation-duration: 30s;
}

.music-particle:nth-child(3) {
    top: 30%;
    left: 85%;
    animation-delay: -15s;
    animation-duration: 22s;
}

.music-particle:nth-child(4) {
    top: 85%;
    left: 75%;
    animation-delay: -22s;
    animation-duration: 28s;
}

.music-particle:nth-child(5) {
    top: 45%;
    left: 45%;
    animation-delay: -12s;
    animation-duration: 26s;
}

.music-particle:nth-child(6) {
    top: 60%;
    left: 90%;
    animation-delay: -18s;
    animation-duration: 24s;
}

@keyframes musicParticleFloat {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

.music-geometric-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.music-geo-shape {
    position: absolute;
    opacity: 0.08;
    animation: musicGeometricFloat 25s infinite ease-in-out;
}

.music-geo-circle {
    width: 200px;
    height: 200px;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    top: 20%;
    right: 15%;
    animation-delay: 0s;
}

.music-geo-triangle {
    width: 0;
    height: 0;
    border-left: 70px solid transparent;
    border-right: 70px solid transparent;
    border-bottom: 120px solid rgba(var(--main-color-rgb), 0.2);
    bottom: 30%;
    left: 10%;
    animation-delay: -10s;
}

.music-geo-square {
    width: 120px;
    height: 120px;
    border: 2px solid var(--accent-color);
    transform: rotate(45deg);
    top: 70%;
    right: 30%;
    animation-delay: -20s;
}

@keyframes musicGeometricFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
    }
    50% {
        transform: translateY(-40px) rotate(180deg);
    }
    75% {
        transform: translateY(-20px) rotate(270deg);
    }
}

.music-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

/* Enhanced Band Header */
.band-header {
    text-align: center;
    margin-bottom: 8rem;
    position: relative;
}

.band-banner {
    position: relative;
    width: 100%;
    height: 300px;
    /* background: linear-gradient(135deg, 
        rgba(var(--main-color-rgb), 0.4) 0%, 
        rgba(var(--secondary-color), 0.3) 50%, 
        rgba(var(--accent-color), 0.4) 100%); */
    background-image: url("../assets/cigarettesaftersex.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 25px;
    margin-bottom: 4rem;
    overflow: hidden;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.banner-fade-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to bottom, 
        rgba(var(--main-color-rgb), 0.8) 0%, 
        transparent 100%);
    z-index: 1;
}

.banner-fade-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to top, 
        rgba(var(--main-color-rgb), 0.8) 0%, 
        transparent 100%);
    z-index: 1;
}

.band-name {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 900;
    background: linear-gradient(
        135deg, 
        var(--main-color) 0%, 
        var(--secondary-color) 25%, 
        #ffffff 50%, 
        var(--secondary-color) 75%, 
        var(--main-color) 100%
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
    margin-bottom: 3rem;
    animation: gradientShift 8s ease-in-out infinite;
    letter-spacing: -0.02em;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.band-description {
    font-size: 2rem;
    color: rgba(var(--text-color-rgb), 0.85);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
    text-align: center;
    font-weight: 400;
}

/* Enhanced Songs Grid */
.songs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 4rem;
    margin-top: 6rem;
}

.song-card {
    background: rgba(var(--second-bg-color), 0.9);
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.song-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(var(--main-color-rgb), 0.15) 0%, 
        transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.song-card:hover::before {
    opacity: 1;
}

.song-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border-color: rgba(var(--main-color-rgb), 0.6);
}

.song-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.song-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.song-card:hover .song-image img {
    transform: scale(1.15);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(8px);
}

.song-card:hover .play-overlay {
    opacity: 1;
}

.play-btn {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--main-color), var(--secondary-color));
    border: none;
    color: white;
    font-size: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 15px 40px rgba(var(--main-color-rgb), 0.5);
    position: relative;
    overflow: hidden;
}

.play-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
}

.play-btn:hover::before {
    left: 100%;
}

.play-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 20px 50px rgba(var(--main-color-rgb), 0.7);
}

.play-btn:active {
    transform: scale(0.95);
}

.song-duration {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 1.3rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.song-info {
    padding: 3rem;
    position: relative;
    z-index: 2;
}

.song-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.song-preview {
    font-size: 1.7rem;
    color: rgba(var(--text-color-rgb), 0.75);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.song-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.song-artist {
    font-size: 1.4rem;
    color: var(--main-color);
    font-weight: 600;
}

.song-year {
    font-size: 1.4rem;
    color: rgba(var(--text-color-rgb), 0.6);
    font-weight: 500;
}

/* Spotify-like Bottom Audio Player Styles */
.audio-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 2rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 2rem;
  height: auto;
  min-height: 80px;
}

.audio-player.active {
  transform: translateY(0);
}

.audio-player-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.audio-player-image {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.audio-player-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.audio-player-info {
    flex: 1;
}

.audio-player-info h4 {
    font-size: 2rem;
    color: var(--text-color);
    margin: 0 0 0.5rem 0;
    font-weight: 700;
}

.audio-player-info p {
    font-size: 1.5rem;
    color: rgba(var(--text-color-rgb), 0.7);
    margin: 0;
    font-weight: 500;
}

.close-audio {
    background: transparent;
    border: none;
    color: rgba(var(--text-color-rgb), 0.7);
    font-size: 2.5rem;
    cursor: pointer;
    padding: 1rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-audio:hover {
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.audio-controls {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.audio-control-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--main-color), var(--secondary-color));
    border: none;
    color: white;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(var(--main-color-rgb), 0.3);
}

.play-pause-btn {
    width: 80px;
    height: 80px;
    font-size: 3rem;
    box-shadow: 0 12px 35px rgba(var(--main-color-rgb), 0.4);
}

.audio-control-btn:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(var(--main-color-rgb), 0.5);
}

.audio-progress-container {
    flex: 1;
    margin: 0 2rem;
}

.audio-progress {
    position: relative;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 1rem;
}

.audio-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--main-color), var(--secondary-color));
    width: 0%;
    transition: width 0.1s ease;
    border-radius: 4px;
}

.audio-progress-handle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: var(--main-color);
    border-radius: 50%;
    left: 0%;
    transition: left 0.1s ease;
    box-shadow: 0 4px 12px rgba(var(--main-color-rgb), 0.5);
    opacity: 0;
}

.audio-progress:hover .audio-progress-handle {
    opacity: 1;
}

.audio-time {
    display: flex;
    justify-content: space-between;
    font-size: 1.4rem;
    color: rgba(var(--text-color-rgb), 0.7);
    font-weight: 500;
}

.audio-volume {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.volume-btn {
    background: transparent;
    border: none;
    color: rgba(var(--text-color-rgb), 0.8);
    font-size: 2.2rem;
    cursor: pointer;
    padding: 1rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.volume-btn:hover {
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.volume-slider-container {
    width: 100px;
}

.volume-slider {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: var(--main-color);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(var(--main-color-rgb), 0.5);
}

.volume-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: var(--main-color);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 12px rgba(var(--main-color-rgb), 0.5);
}

/* Audio Visualizer */
.audio-visualizer {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 4px;
    height: 40px;
    margin-top: 1.5rem;
}

.visualizer-bar {
    width: 4px;
    background: linear-gradient(to top, var(--main-color), var(--secondary-color));
    border-radius: 2px;
    animation: visualizerPulse 1.5s ease-in-out infinite;
}

.visualizer-bar:nth-child(1) { animation-delay: 0s; }
.visualizer-bar:nth-child(2) { animation-delay: 0.1s; }
.visualizer-bar:nth-child(3) { animation-delay: 0.2s; }
.visualizer-bar:nth-child(4) { animation-delay: 0.3s; }
.visualizer-bar:nth-child(5) { animation-delay: 0.4s; }

@keyframes visualizerPulse {
    0%, 100% { height: 8px; }
    50% { height: 35px; }
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .music-section {
        padding: 4rem 3% 6rem;
    }
    
    .band-banner {
        height: 200px;
        margin-bottom: 3rem;
        border-radius: 20px;
    }
    
    .band-name {
        font-size: clamp(3rem, 8vw, 5rem);
        margin-bottom: 2rem;
    }
    
    .band-description {
        font-size: 1.7rem;
        padding: 0 1rem;
    }
    
    .songs-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-top: 4rem;
    }
    
    .song-card {
        margin: 0 1rem;
        border-radius: 20px;
    }
    
    .song-image {
        height: 250px;
    }
    
    .play-btn {
        width: 70px;
        height: 70px;
        font-size: 2.8rem;
    }
    
    .song-info {
        padding: 2.5rem;
    }
    
    .song-title {
        font-size: 2.2rem;
    }
    
    .song-preview {
        font-size: 1.5rem;
    }
    
    .song-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    /* Mobile Audio Player */
    .audio-player {
        bottom: 2rem;
        left: 2rem;
        right: 2rem;
        transform: translateY(150px);
        min-width: auto;
        max-width: none;
        padding: 2rem;
        border-radius: 20px;
    }
    
    .audio-player.active {
        transform: translateY(0);
    }
    
    .audio-player-header {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .audio-player-image {
        width: 60px;
        height: 60px;
        border-radius: 12px;
    }
    
    .audio-player-info h4 {
        font-size: 1.7rem;
    }
    
    .audio-player-info p {
        font-size: 1.3rem;
    }
    
    .close-audio {
        font-size: 2rem;
        width: 40px;
        height: 40px;
    }
    
    .audio-controls {
        flex-wrap: wrap;
        gap: 1.5rem;
        justify-content: center;
    }
    
    .audio-control-btn {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
    
    .play-pause-btn {
        width: 70px;
        height: 70px;
        font-size: 2.5rem;
    }
    
    .audio-progress-container {
        order: 1;
        width: 100%;
        margin: 1rem 0;
    }
    
    .audio-volume {
        order: 2;
        justify-content: center;
        width: 100%;
    }
    
    .volume-slider-container {
        width: 120px;
    }
    
    .audio-visualizer {
        height: 30px;
        margin-top: 1rem;
    }
    
    .visualizer-bar {
        width: 3px;
    }
    
    @keyframes visualizerPulse {
        0%, 100% { height: 6px; }
        50% { height: 25px; }
    }
}

@media (max-width: 480px) {
    .music-section {
        padding: 3rem 2% 5rem;
    }
    
    .band-header {
        margin-bottom: 5rem;
    }
    
    .band-banner {
        height: 150px;
        border-radius: 15px;
        margin-bottom: 2rem;
    }
    
    .band-name {
        font-size: clamp(2.5rem, 7vw, 4rem);
    }
    
    .band-description {
        font-size: 1.5rem;
    }
    
    .songs-grid {
        gap: 2.5rem;
        margin-top: 3rem;
    }
    
    .song-card {
        margin: 0 0.5rem;
    }
    
    .song-image {
        height: 220px;
    }
    
    .play-btn {
        width: 60px;
        height: 60px;
        font-size: 2.4rem;
    }
    
    .song-info {
        padding: 2rem;
    }
    
    .song-title {
        font-size: 2rem;
    }
    
    .song-preview {
        font-size: 1.4rem;
    }
    
    .audio-player {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        padding: 1.5rem;
    }
    
    .audio-player-header {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .audio-player-image {
        width: 50px;
        height: 50px;
    }
    
    .audio-player-info h4 {
        font-size: 1.5rem;
    }
    
    .audio-player-info p {
        font-size: 1.2rem;
    }
    
    .audio-controls {
        gap: 1rem;
    }
    
    .audio-control-btn {
        width: 45px;
        height: 45px;
        font-size: 1.6rem;
    }
    
    .play-pause-btn {
        width: 60px;
        height: 60px;
        font-size: 2.2rem;
    }
    
    .volume-slider-container {
        width: 100px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .song-card:active {
        transform: translateY(-10px) scale(1.02);
    }
    
    .play-btn:active {
        transform: scale(0.9);
    }
    
    .audio-control-btn:active {
        transform: scale(0.9);
    }
    
    /* Always show play overlay on touch devices */
    .play-overlay {
        opacity: 0.8;
    }
    
    .song-card:hover .play-overlay {
        opacity: 1;
    }
}

/* ===== UPCOMING THINGS SECTION ===== */
.upcoming-things {
  position: relative;
  min-height: 100vh;
  padding: 10rem 6% 8rem;
  background: linear-gradient(135deg, var(--bg-color) 0%, var(--second-bg-color) 100%);
  overflow: hidden;
}

/* Background Elements */
.upcoming-particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.upcoming-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--main-color);
  border-radius: 50%;
  opacity: 0.4;
  animation: upcomingParticleFloat 20s infinite linear;
}

.upcoming-particle:nth-child(1) {
  top: 15%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 25s;
}

.upcoming-particle:nth-child(2) {
  top: 70%;
  left: 25%;
  animation-delay: -8s;
  animation-duration: 30s;
}

.upcoming-particle:nth-child(3) {
  top: 30%;
  left: 80%;
  animation-delay: -15s;
  animation-duration: 22s;
}

.upcoming-particle:nth-child(4) {
  top: 85%;
  left: 70%;
  animation-delay: -22s;
  animation-duration: 28s;
}

.upcoming-particle:nth-child(5) {
  top: 45%;
  left: 45%;
  animation-delay: -12s;
  animation-duration: 18s;
}

.upcoming-particle:nth-child(6) {
  top: 60%;
  left: 90%;
  animation-delay: -5s;
  animation-duration: 35s;
}

@keyframes upcomingParticleFloat {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.4;
  }
  90% {
    opacity: 0.4;
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}

/* Geometric Background */
.upcoming-geometric-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.upcoming-geo-shape {
  position: absolute;
  opacity: 0.08;
  animation: upcomingGeometricFloat 25s infinite ease-in-out;
}

.upcoming-geo-circle {
  width: 180px;
  height: 180px;
  border: 2px solid var(--secondary-color);
  border-radius: 50%;
  top: 20%;
  right: 15%;
  animation-delay: 0s;
}

.upcoming-geo-triangle {
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 104px solid rgba(var(--main-color-rgb), 0.2);
  bottom: 30%;
  left: 20%;
  animation-delay: -10s;
}

.upcoming-geo-square {
  width: 100px;
  height: 100px;
  border: 2px solid var(--accent-color);
  transform: rotate(45deg);
  top: 70%;
  right: 30%;
  animation-delay: -20s;
}

.upcoming-geo-hexagon {
  width: 120px;
  height: 69px;
  background: rgba(var(--main-color-rgb), 0.1);
  position: relative;
  top: 10%;
  left: 70%;
  animation-delay: -15s;
}

.upcoming-geo-hexagon:before,
.upcoming-geo-hexagon:after {
  content: "";
  position: absolute;
  width: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
}

.upcoming-geo-hexagon:before {
  bottom: 100%;
  border-bottom: 35px solid rgba(var(--main-color-rgb), 0.1);
}

.upcoming-geo-hexagon:after {
  top: 100%;
  border-top: 35px solid rgba(var(--main-color-rgb), 0.1);
}

@keyframes upcomingGeometricFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-30px) rotate(90deg);
  }
  50% {
    transform: translateY(-60px) rotate(180deg);
  }
  75% {
    transform: translateY(-30px) rotate(270deg);
  }
}

/* Container */
.upcoming-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

/* Section Header */
.upcoming-section-header {
  text-align: center;
  margin-bottom: 6rem;
  animation: fadeInUp 1s ease;
}

.upcoming-gradient-heading {
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 900;
  background: linear-gradient(
    135deg, 
    var(--main-color) 0%, 
    var(--secondary-color) 25%, 
    #ffffff 50%, 
    var(--secondary-color) 75%, 
    var(--main-color) 100%
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
  margin-bottom: 2rem;
  animation: gradientShift 8s ease-in-out infinite;
  position: relative;
}

.upcoming-heading-decoration {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--main-color), transparent);
  border-radius: 2px;
  animation: decorationPulse 3s ease-in-out infinite;
}

@keyframes decorationPulse {
  0%, 100% {
    opacity: 0.6;
    transform: translateX(-50%) scaleX(1);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scaleX(1.2);
  }
}

.upcoming-section-subtitle {
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: rgba(var(--text-color-rgb), 0.8);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.upcoming-tagline-highlight {
  color: var(--main-color);
  font-weight: 600;
  position: relative;
}

.upcoming-tagline-highlight::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--main-color), transparent);
  opacity: 0.7;
}

/* Filter Tabs */
.upcoming-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.3s both;
}

.upcoming-filter-btn {
  padding: 1.2rem 2.4rem;
  background: rgba(var(--main-color-rgb), 0.1);
  border: 2px solid rgba(var(--main-color-rgb), 0.3);
  border-radius: 12px;
  color: var(--text-color);
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.upcoming-filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.6s ease;
}

.upcoming-filter-btn:hover::before {
  left: 100%;
}

.upcoming-filter-btn:hover {
  background: rgba(var(--main-color-rgb), 0.2);
  border-color: var(--main-color);
  transform: translateY(-2px);
}

.upcoming-filter-btn.active {
  background: var(--main-color);
  color: var(--bg-color);
  border-color: var(--main-color);
  box-shadow: 0 8px 25px rgba(var(--main-color-rgb), 0.3);
}

/* Grid */
.upcoming-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
  animation: fadeInUp 1s ease 0.6s both;
}

/* Upcoming Item Card */
.upcoming-item {
  background: rgba(var(--main-color-rgb), 0.05);
  border: 1px solid rgba(var(--main-color-rgb), 0.2);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  backdrop-filter: blur(10px);
  animation: slideInUp 0.6s ease;
}

.upcoming-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--main-color);
}

/* Media Container */
.upcoming-media {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(var(--main-color-rgb), 0.1), rgba(var(--secondary-color), 0.1));
}

.upcoming-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.upcoming-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upcoming-item:hover .upcoming-media img {
  transform: scale(1.1);
}

/* Play Button Overlay for Videos */
.upcoming-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(var(--main-color-rgb), 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.upcoming-play-overlay:hover {
  background: var(--main-color);
  transform: translate(-50%, -50%) scale(1.1);
}

.upcoming-play-overlay i {
  font-size: 2.4rem;
  color: white;
  margin-left: 3px;
}

/* Status Badge */
.upcoming-status {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.upcoming-status.coming-soon {
  background: linear-gradient(45deg, var(--warning-color), #ffc107);
  color: var(--bg-color);
}

.upcoming-status.in-progress {
  background: linear-gradient(45deg, var(--main-color), var(--secondary-color));
  color: white;
}

.upcoming-status.released {
  background: linear-gradient(45deg, var(--success-color), #28a745);
  color: white;
}

/* Content */
.upcoming-content {
  padding: 2rem;
}

.upcoming-category {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(var(--main-color-rgb), 0.2);
  color: var(--main-color);
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.upcoming-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.upcoming-description {
  font-size: 1.4rem;
  color: rgba(var(--text-color-rgb), 0.8);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.upcoming-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(var(--main-color-rgb), 0.2);
}

.upcoming-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.3rem;
  color: var(--main-color);
  font-weight: 600;
}

.upcoming-date i {
  font-size: 1.4rem;
}

.upcoming-progress {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.upcoming-progress-bar {
  width: 80px;
  height: 6px;
  background: rgba(var(--main-color-rgb), 0.2);
  border-radius: 3px;
  overflow: hidden;
}

.upcoming-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--main-color), var(--secondary-color));
  border-radius: 3px;
  transition: width 0.8s ease;
}

.upcoming-progress-text {
  font-size: 1.2rem;
  color: var(--main-color);
  font-weight: 600;
}

/* Load More Button */
.upcoming-load-more-container {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
}

.upcoming-load-more-btn {
  position: relative;
  padding: 1.6rem 3rem;
  background: rgba(var(--main-color-rgb), 0.1);
  border: 2px solid rgba(var(--main-color-rgb), 0.3);
  border-radius: 16px;
  color: var(--main-color);
  font-size: 1.6rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  backdrop-filter: blur(10px);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.upcoming-load-more-btn:hover {
  background: rgba(var(--main-color-rgb), 0.2);
  border-color: var(--main-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(var(--main-color-rgb), 0.3);
}

.btn-bg-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(var(--main-color-rgb), 0.1), rgba(var(--secondary-color), 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 16px;
}

.upcoming-load-more-btn:hover .btn-bg-effect {
  opacity: 1;
}

.btn-shine-effect {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s ease;
}

.upcoming-load-more-btn:hover .btn-shine-effect {
  left: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
  .upcoming-things {
    padding: 8rem 4% 6rem;
  }
  
  .upcoming-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .upcoming-filter {
    gap: 0.5rem;
  }
  
  .upcoming-filter-btn {
    padding: 1rem 1.8rem;
    font-size: 1.3rem;
  }
  
  .upcoming-media {
    height: 180px;
  }
  
  .upcoming-content {
    padding: 1.5rem;
  }
  
  .upcoming-meta {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .upcoming-section-header {
    margin-bottom: 4rem;
  }
  
  .upcoming-filter {
    flex-direction: column;
    align-items: center;
  }
  
  .upcoming-filter-btn {
    width: 100%;
    max-width: 200px;
  }
  
  .upcoming-media {
    height: 160px;
  }
}


/* ===== FULLSCREEN PLAYER STYLES ===== */
.fullscreen-player {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--bg-color);
  z-index: 10000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.fullscreen-player.active {
  display: flex;
  opacity: 1;
}

.fullscreen-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-color);
  z-index: -1;
}

.fullscreen-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  box-sizing: border-box;
}

.fullscreen-header {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-bottom: 2rem;
}

.fullscreen-close,
.fullscreen-minimize {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.fullscreen-close:hover,
.fullscreen-minimize:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.fullscreen-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.fullscreen-artwork {
  position: relative;
}

.artwork-container {
  position: relative;
  width: 300px;
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.fullscreen-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.artwork-glow {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: radial-gradient(circle, var(--main-color) 0%, transparent 70%);
  opacity: 0.3;
  z-index: -1;
  border-radius: 30px;
  filter: blur(20px);
}

.fullscreen-info {
  text-align: center;
  margin-bottom: 2rem;
}

.fullscreen-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1rem;
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.fullscreen-artist {
  font-size: 2rem;
  color: var(--text-color);
  opacity: 0.8;
  margin: 0;
}

.fullscreen-controls {
  width: 100%;
  max-width: 600px;
}

.fullscreen-progress-container {
  margin-bottom: 3rem;
}

.fullscreen-progress {
  position: relative;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  cursor: pointer;
  margin-bottom: 1rem;
}

.fullscreen-progress-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 3px;
  width: 0%;
  transition: width 0.1s ease;
}

.fullscreen-progress-handle {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 16px;
  height: 16px;
  background: var(--main-color);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

.fullscreen-progress-handle:hover {
  transform: translate(-50%, -50%) scale(1.2);
}

.fullscreen-time {
  display: flex;
  justify-content: space-between;
  font-size: 1.4rem;
  color: var(--text-color);
  opacity: 0.7;
}

.fullscreen-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.fullscreen-control-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fullscreen-prev,
.fullscreen-next {
  width: 5rem;
  height: 5rem;
  font-size: 2.5rem;
}

.fullscreen-play-pause {
  width: 7rem;
  height: 7rem;
  font-size: 3.5rem;
  background: var(--gradient);
}

.fullscreen-control-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.fullscreen-play-pause:hover {
  background: var(--gradient);
  transform: scale(1.1);
}

.fullscreen-volume {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.fullscreen-volume-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.fullscreen-volume-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.fullscreen-volume-slider-container {
  width: 150px;
}

.fullscreen-volume-slider {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
}

.fullscreen-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: var(--main-color);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

.fullscreen-volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.fullscreen-volume-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: var(--main-color);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Enhanced Audio Player Styles */
.audio-player-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.fullscreen-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.fullscreen-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .fullscreen-main {
    gap: 2rem;
    padding: 1rem;
  }

  .artwork-container {
    width: 250px;
    height: 250px;
  }

  .fullscreen-title {
    font-size: 2.5rem;
  }

  .fullscreen-artist {
    font-size: 1.6rem;
  }

  .fullscreen-buttons {
    gap: 1.5rem;
  }

  .fullscreen-prev,
  .fullscreen-next {
    width: 4rem;
    height: 4rem;
    font-size: 2rem;
  }

  .fullscreen-play-pause {
    width: 6rem;
    height: 6rem;
    font-size: 3rem;
  }

  .fullscreen-volume {
    gap: 1rem;
  }

  .fullscreen-volume-slider-container {
    width: 120px;
  }
}

@media (max-width: 480px) {
  .artwork-container {
    width: 200px;
    height: 200px;
  }

  .fullscreen-title {
    font-size: 2rem;
  }

  .fullscreen-artist {
    font-size: 1.4rem;
  }
}

/* Spotify-like Player Layout */
.audio-player-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 0 0 300px;
}

.audio-player-image {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.audio-player-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.audio-player-info {
  flex: 1;
  min-width: 0;
}

.current-song-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0 0 0.5rem 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.current-song-artist {
  font-size: 1.2rem;
  color: var(--text-color);
  opacity: 0.7;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.audio-player-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.fullscreen-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.fullscreen-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.close-audio {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.close-audio:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.audio-controls {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 600px;
}

.audio-control-btn {
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
}

.audio-control-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

.play-pause-btn {
  background: var(--main-color);
  font-size: 2.5rem;
  width: 5rem;
  height: 5rem;
}

.play-pause-btn:hover {
  background: var(--secondary-color);
}

.audio-progress-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0 2rem;
}

.audio-progress {
  position: relative;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  cursor: pointer;
}

.audio-progress-fill {
  height: 100%;
  background: var(--main-color);
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s ease;
}

.audio-progress-handle {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 12px;
  height: 12px;
  background: var(--main-color);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  opacity: 0;
  transition: all 0.2s ease;
}

.audio-progress:hover .audio-progress-handle {
  opacity: 1;
}

.audio-time {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  color: var(--text-color);
  opacity: 0.7;
}

.audio-volume {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 0 0 150px;
}

.volume-btn {
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
}

.volume-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.volume-slider-container {
  flex: 1;
}

.volume-slider {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 1.5px;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: var(--main-color);
  border-radius: 50%;
  cursor: pointer;
}

.volume-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: var(--main-color);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

.audio-visualizer {
  display: none;
}

/* Mobile Responsive for Bottom Player */
@media (max-width: 768px) {
  .audio-player {
    padding: 1rem;
    gap: 1rem;
    flex-direction: column;
    height: auto;
    min-height: 120px;
  }

  .audio-player-header {
    width: 100%;
    flex: none;
    justify-content: space-between;
  }

  .audio-controls {
    width: 100%;
    flex: none;
    max-width: none;
    gap: 1rem;
  }

  .audio-progress-container {
    margin: 0;
    order: -1;
    width: 100%;
  }

  .audio-volume {
    flex: none;
    width: auto;
  }
}

@media (max-width: 480px) {
  .audio-player-header {
    gap: 1rem;
  }

  .audio-player-image {
    width: 50px;
    height: 50px;
  }

  .current-song-title {
    font-size: 1.3rem;
  }

  .current-song-artist {
    font-size: 1.1rem;
  }

  .audio-control-btn {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.8rem;
  }

  .play-pause-btn {
    width: 4.5rem;
    height: 4.5rem;
    font-size: 2.2rem;
  }
}


/* Game Collection Section */
.game-collection {
  padding: 8rem 12%;
  background: var(--second-bg-color);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Animated background for game collection */
.game-collection::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(var(--main-color-rgb), 0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(var(--secondary-color), 0.08) 0%, transparent 50%);
  animation: pulseBackground 10s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes pulseBackground {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.game-collection .heading {
  margin-bottom: 5rem;
  font-size: 4.5rem;
  color: var(--text-color);
  position: relative;
  display: inline-block;
  animation: slideUpFade 1s ease-out forwards;
  z-index: 1;
  background: linear-gradient(135deg, var(--main-color), var(--secondary-color), var(--accent-color));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: slideUpFade 1s ease-out forwards, gradientFlow 5s ease infinite;
}

.game-collection .heading::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--main-color);
  border-radius: 2px;
  animation: expandLine 1.5s ease-out forwards;
}

@keyframes expandLine {
  0% { width: 0; }
  100% { width: 80px; }
}

.game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}

.game-category {
  background: linear-gradient(135deg, rgba(var(--main-color-rgb), 0.05), rgba(var(--bg-color), 0.95));
  padding: 3rem;
  border-radius: 1.5rem;
  box-shadow: var(--card-shadow);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInCategory 1s ease-out forwards;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.game-category::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(var(--main-color-rgb), 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: all 0.6s ease;
  transform: scale(0);
}

.game-category:hover::before {
  opacity: 1;
  transform: scale(1);
}

.game-category:nth-child(1) { animation-delay: 0.2s; }
.game-category:nth-child(2) { animation-delay: 0.4s; }
.game-category:nth-child(3) { animation-delay: 0.6s; }
.game-category:nth-child(4) { animation-delay: 0.8s; }

@keyframes fadeInCategory {
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.game-category:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 20px 40px rgba(var(--main-color-rgb), 0.3), 0 0 30px rgba(var(--main-color-rgb), 0.2);
  border-color: var(--main-color);
  background: linear-gradient(135deg, rgba(var(--main-color-rgb), 0.1), rgba(var(--bg-color), 0.95));
}

.category-title {
  font-size: 2.8rem;
  color: var(--main-color);
  margin-bottom: 2rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 1rem;
  z-index: 1;
  transition: all 0.3s ease;
}

.game-category:hover .category-title {
  color: var(--accent-color);
  transform: scale(1.05);
  text-shadow: 0 0 20px rgba(var(--main-color-rgb), 0.5);
}

.category-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
  border-radius: 1.5px;
  transition: all 0.4s ease;
}

.game-category:hover .category-title::after {
  width: 80px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  box-shadow: 0 0 10px var(--accent-color);
}

.game-list {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}











/* Responsive adjustments */
@media (max-width: 768px) {
  .game-collection {
    padding: 6rem 8%;
  }

  .game-categories {
    grid-template-columns: 1fr;
  }

  .game-collection .heading {
    font-size: 3.5rem;
  }

  .category-title {
    font-size: 2.4rem;
  }

  .game-item {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .game-collection {
    padding: 4rem 5%;
  }

  .game-collection .heading {
    font-size: 3rem;
  }

  .category-title {
    font-size: 2rem;
  }

  .game-item {
    font-size: 1.5rem;
  }
}



.game-item-wrapper {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.8rem 1.5rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
  border-radius: 0.8rem;
}

.game-item-wrapper:last-child {
  border-bottom: none;
}

.game-item-wrapper:hover {
  background: rgba(var(--main-color-rgb), 0.15);
  transform: translateX(5px);
  color: var(--accent-color);
}

.game-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.game-item-wrapper:hover .game-image {
  transform: scale(1.05);
}

.game-item {
  flex-grow: 1;
  text-align: left;
  font-size: 1.8rem;
  color: var(--text-color);
}

/* Game card layout - image on top */
.game-card {
  display: flex;
  flex-direction: column; /* stack vertically instead of side-by-side */
  align-items: center;
  text-align: center;
}

.game-card .game-img {
  width: 100%;
  height: 200px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  object-fit: cover;
}

.game-card .game-info {
  padding: 1.5rem;
}


.game-item-wrapper:hover .game-item {
  color: var(--accent-color);
}

/* Adjustments for existing game-item styles */
.game-item::before {
  display: none; /* Hide the emoji when image is present */
}

.game-item-wrapper:hover .game-item::before {
  display: none;
}

@media (max-width: 768px) {
  .game-item-wrapper {
    padding: 0.6rem 1rem;
    gap: 1rem;
  }
  .game-image {
    width: 50px;
    height: 50px;
  }
  .game-item {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .game-item-wrapper {
    padding: 0.5rem 0.8rem;
    gap: 0.8rem;
  }
  .game-image {
    width: 40px;
    height: 40px;
  }
  .game-item {
    font-size: 1.5rem;
  }
}



/* New styles for game cards */
.game-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  padding: 1rem;
}

.game-card {
  background: var(--second-bg-color);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.game-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(var(--main-color-rgb), 0.3);
}

.game-card-image-container {
  width: 100%;
  height: 150px; /* Thumbnail height */
  overflow: hidden;
  position: relative;
}

.game-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.game-card:hover .game-card-image {
  transform: scale(1.1);
}

.game-card-content {
  padding: 1.5rem 1rem;
  width: 100%;
}

.game-card-title {
  font-size: 1.8rem;
  color: var(--text-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Remove old styles */
.game-item-wrapper,
.game-image,
.game-item {
    display: none; /* Hide old elements */
}

/* Responsive adjustments for game cards */
@media (max-width: 768px) {
  .game-list {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
  }

  .game-card-image-container {
    height: 120px;
  }

  .game-card-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .game-list {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
  }

  .game-card-image-container {
    height: 100px;
  }

  .game-card-title {
    font-size: 1.4rem;
  }
}


/* --- About Section Enhancements (Phase 2) --- */

/* General About Content */
.about-content-tabs {
  padding: 2rem;
  background: var(--second-bg-color);
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-text p {
  font-size: 1.8rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  color: var(--text-color);
}

.about-text p strong {
  color: var(--main-color);
  font-weight: 700;
}

/* Tab Navigation */
.tab-navigation {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  border-bottom: 2px solid rgba(var(--text-color-rgb), 0.1);
}

.tab-btn {
  padding: 1rem 2rem;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-color);
  background: transparent;
  cursor: pointer;
  border: none;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.tab-btn:hover {
  color: var(--main-color);
}

.tab-btn.active {
  color: var(--main-color);
  border-bottom-color: var(--main-color);
}

/* Personal Info */
.personal-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.info-item {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  border-left: 3px solid var(--main-color);
  background: rgba(var(--text-color-rgb), 0.03);
  border-radius: 4px;
}

.info-item .label {
  font-size: 1.4rem;
  color: var(--secondary-color);
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.info-item .value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-color);
}

.info-item .value.available {
  color: var(--success-color);
}

/* Skill Section */
.skill-section h3 {
  font-size: 2.2rem;
  color: var(--main-color);
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(var(--text-color-rgb), 0.1);
  padding-bottom: 0.5rem;
}

.skill-bars {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.skill-bar {
  margin-bottom: 1rem;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 1.6rem;
  font-weight: 500;
}

.skill-info span:first-child {
  color: var(--text-color);
}

.skill-info .percent {
  color: var(--main-color);
  font-weight: 700;
}

.skill-progress-bg {
  background: rgba(var(--text-color-rgb), 0.1);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: var(--gradient);
  width: 0; /* Initial state for animation */
  transition: width 1.5s ease-out;
  border-radius: 4px;
}

/* Tech Stack */
.tech-stack {
  margin-top: 3rem;
}

.tech-stack h3 {
  font-size: 2.2rem;
  color: var(--main-color);
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(var(--text-color-rgb), 0.1);
  padding-bottom: 0.5rem;
}

.tech-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.tech-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.4rem;
  color: var(--text-color);
  transition: transform 0.3s ease, color 0.3s ease;
}

.tech-icon:hover {
  transform: translateY(-5px) scale(1.05);
  color: var(--main-color);
}

.tech-icon i {
  font-size: 4rem;
  margin-bottom: 0.5rem;
  color: var(--main-color);
}

/* Experience Tab Content (Timeline) */
.experience-tab-content {
  padding: 2rem 0;
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--main-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
  opacity: 0.5;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -14px;
  background-color: var(--second-bg-color);
  border: 4px solid var(--main-color);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.left {
  left: 0;
}

.right {
  left: 50%;
}

.right::after {
  left: -12px;
}

.timeline-content {
  padding: 20px 30px;
  background-color: var(--second-bg-color);
  position: relative;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(var(--text-color-rgb), 0.05);
  transition: transform 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.timeline-content h4 {
  font-size: 2rem;
  color: var(--main-color);
  margin-bottom: 0.5rem;
}

.timeline-content .date {
  font-size: 1.4rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  display: block;
}

.timeline-content p {
  font-size: 1.6rem;
  color: var(--text-color);
  line-height: 1.6;
}

/* Responsive adjustments for timeline */
@media screen and (max-width: 992px) {
  .timeline::after {
    left: 31px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline-item::after {
    left: 18px;
    margin-left: 0;
  }

  .right {
    left: 0%;
  }
}

/* --- Enhanced Tag Component Styles --- */

.enhanced-tag {
    /* Layout and Positioning */
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    
    /* Appearance */
    font-size: 1.5rem; /* Slightly larger text */
    font-weight: 800; /* Bolder text */
    letter-spacing: 0.1em;
    padding: 0.5rem 1.5rem;
    margin-left: 1.5rem;
    border-radius: 50px; /* Pill shape */
    text-transform: uppercase;
    line-height: 1;
    
    /* Color Scheme: High contrast and vibrant */
    color: var(--text-color); /* White text */
    background: var(--second-bg-color); /* Dark background for the tag */
    
    /* Gradient Border Effect */
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    z-index: 1;
}

/* Pseudo-element for the vibrant gradient border and glow */
.enhanced-tag::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    margin: -2px; /* Controls the thickness of the border */
    border-radius: inherit;
    background: linear-gradient(135deg, var(--main-color), var(--secondary-color), var(--main-color));
    background-size: 300% 300%;
    animation: gradientShift 4s ease infinite, tagGlowPulse 2s infinite alternate ease-in-out;
}

.enhanced-tag i {
    font-size: 1.8rem; /* Larger icon */
    line-height: 1;
    color: var(--main-color); /* Use main color for the icon for a pop of color */
}

/* Keyframes for the gradient shift (reused from your site's logo animation) */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Keyframes for the enhanced glow and pulse animation */
@keyframes tagGlowPulse {
    0% {
        opacity: 0.8;
        box-shadow: 0 0 5px rgba(var(--main-color-rgb), 0.5);
    }
    100% {
        opacity: 1;
        box-shadow: 0 0 15px rgba(var(--main-color-rgb), 0.8), 0 0 30px rgba(var(--main-color-rgb), 0.4);
    }
}

body.menu-open {
    overflow: hidden;
}

main, .content {
    margin-top: 8rem;
}

@media (max-width: 1024px) {
    main, .content {
        margin-top: 7rem;
    }
}

@media (max-width: 768px) {
    main, .content {
        margin-top: 6rem;
    }
}

@media (max-width: 480px) {
    main, .content {
        margin-top: 5.5rem;
    }
}
/* ==========================================================================
   Highlighted Section Styles
   ========================================================================== */

.highlighted {
  background: var(--second-bg-color);
  padding: 10rem 12%;
  min-height: auto;
  position: relative;
  overflow: hidden;
}

.highlighted-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.highlighted .heading {
  margin-bottom: 5rem;
  font-size: 4rem;
  color: var(--text-color);
  position: relative;
  display: inline-block;
}

.highlighted .heading::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--main-color);
  border-radius: 2px;
}

.highlighted-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--second-bg-color); /* Use second-bg-color for a subtle lift */
  border-radius: 2rem; /* Slightly larger radius */
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6); /* Deeper shadow */
  overflow: hidden;
  max-width: 900px; /* Wider card */
  margin: 0 auto;
  border: 2px solid var(--accent-color); /* More pronounced border */
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); /* Smoother transition */
  position: relative;
  z-index: 1;
}

.highlighted-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 10%, rgba(var(--main-color-rgb), 0.1), transparent 50%);
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
}

.highlighted-card:hover {
  transform: translateY(-8px) scale(1.01); /* More noticeable lift and slight scale */
  box-shadow: 0 25px 50px rgba(var(--main-color-rgb), 0.3), 0 0 50px rgba(var(--main-color-rgb), 0.1);
}

.card-thumbnail {
  position: relative;
  width: 100%;
  /* Maintain a 16:9 aspect ratio for the video thumbnail */
  padding-top: 56.25%; /* 9 / 16 * 100 */
  overflow: hidden;
}

.card-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.highlighted-card:hover .card-thumbnail img {
  transform: scale(1.05);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(255, 0, 0, 0.9);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3.5rem;
  color: var(--text-color);
  z-index: 10;
  transition: background 0.3s ease, transform 0.3s ease;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

.play-button:hover {
  background: var(--youtube-color);
  transform: translate(-50%, -50%) scale(1.1);
}

.play-button i {
  /* Adjust icon position slightly for better centering */
  margin-left: 5px;
}

.card-content {
  padding: 3rem;
  text-align: left;
  width: 100%;
}

.card-title {
  font-size: 3.2rem; /* Larger title */
  font-weight: 800; /* Bolder title */
  margin-bottom: 1rem;
  background: var(--gradient); /* Use gradient for the title */
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
  text-shadow: 0 0 5px rgba(var(--main-color-rgb), 0.3); /* Subtle text shadow */
}

.card-description {
  font-size: 1.7rem; /* Slightly larger description text */
  color: var(--secondary-color);
  margin-bottom: 3rem; /* More space below description */
  line-height: 1.7;
}

.watch-now-btn {
  /* Inherit styles from existing enhanced-btn, but ensure it's block level for full width */
  display: inline-flex;
  width: auto;
  padding: 1.2rem 3rem;
  font-size: 1.8rem;
  font-weight: 600;
  border-radius: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}

.watch-now-btn .btn-text {
  color: var(--text-color) !important; /* Ensure button text is white/text-color */
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .highlighted-card {
    flex-direction: row;
    max-width: 1000px;
    text-align: left;
  }

  .card-thumbnail {
    width: 50%;
    padding-top: 0;
    height: 300px; /* Fixed height for desktop view */
  }

  .card-content {
    width: 50%;
    padding: 4rem;
  }

  .card-title {
    font-size: 3.8rem; /* Larger title for desktop */
  }
}

@media (max-width: 768px) {
  .highlighted {
    padding: 8rem 5%;
  }
  
  .card-title {
    font-size: 2.4rem;
  }

  .card-description {
    font-size: 1.5rem;
  }

  .play-button {
    width: 60px;
    height: 60px;
    font-size: 2.5rem;
  }
}


/* --- DISCORD ACTIVITY WIDGET STYLES (Merged from discord-activity.css) --- */

/* ===== KEYFRAME ANIMATIONS ===== */
@keyframes slideInActivity {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardHover {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(98, 87, 73, 0.3), 
                0 8px 32px rgba(0, 0, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(98, 87, 73, 0.5), 
                0 12px 48px rgba(0, 0, 0, 0.4);
  }
}

@keyframes imageFloat {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes progressFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes statusPulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(67, 181, 129, 0.7);
  }
  50% {
    opacity: 0.8;
    box-shadow: 0 0 0 8px rgba(67, 181, 129, 0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== BACKGROUND MUSIC CONTROLLER STYLES ===== */

/* Main Controller Container */
.bg-music-controller {
  position: fixed;
  bottom: 3rem;
  right: 3rem;
  z-index: 999;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Toggle Button */
.bg-music-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--main-color), var(--secondary-color));
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 25px rgba(var(--main-color-rgb), 0.4);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.bg-music-toggle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bg-music-toggle:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 15px 40px rgba(var(--main-color-rgb), 0.6);
}

.bg-music-toggle:hover::before {
  opacity: 1;
}

.bg-music-toggle.playing {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 8px 25px rgba(var(--main-color-rgb), 0.4);
  }
  50% {
    box-shadow: 0 8px 25px rgba(var(--main-color-rgb), 0.8),
                0 0 0 10px rgba(var(--main-color-rgb), 0.2);
  }
}

/* Music Panel */
.bg-music-panel {
  position: absolute;
  bottom: 8rem;
  right: 0;
  width: 380px;
  max-height: 0;
  background: rgba(var(--second-bg-color), 0.98);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  border: 2px solid rgba(var(--main-color-rgb), 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

.bg-music-panel.active {
  max-height: 600px;
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Panel Header */
.bg-music-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem;
  border-bottom: 1px solid rgba(var(--main-color-rgb), 0.2);
  background: linear-gradient(135deg, rgba(var(--main-color-rgb), 0.1), transparent);
}

.bg-music-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-color);
}

.bg-music-title i {
  font-size: 2.4rem;
  color: var(--main-color);
}

.bg-music-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-color);
  font-size: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bg-music-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

/* Panel Content */
.bg-music-content {
  padding: 2.5rem;
}

/* Track Info */
.bg-music-track-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.bg-music-cover {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.bg-music-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Equalizer Animation */
.bg-music-equalizer {
  position: absolute;
  bottom: 8px;
  right: 8px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bg-music-toggle.playing ~ .bg-music-panel .bg-music-equalizer {
  opacity: 1;
}

.bg-music-equalizer span {
  width: 3px;
  background: var(--main-color);
  border-radius: 3px;
  animation: equalize 0.8s ease-in-out infinite;
}

.bg-music-equalizer span:nth-child(1) { animation-delay: 0s; }
.bg-music-equalizer span:nth-child(2) { animation-delay: 0.2s; }
.bg-music-equalizer span:nth-child(3) { animation-delay: 0.4s; }
.bg-music-equalizer span:nth-child(4) { animation-delay: 0.6s; }

@keyframes equalize {
  0%, 100% { height: 5px; }
  50% { height: 20px; }
}

.bg-music-info {
  flex: 1;
  min-width: 0;
}

.bg-music-info h4 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bg-music-info p {
  font-size: 1.3rem;
  color: rgba(var(--text-color-rgb), 0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Progress Section */
.bg-music-progress-section {
  margin-bottom: 2rem;
}

.bg-music-progress-bar {
  position: relative;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  margin-bottom: 1rem;
  cursor: pointer;
  overflow: hidden;
}

.bg-music-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--main-color), var(--secondary-color));
  border-radius: 3px;
  width: 0%;
  transition: width 0.1s linear;
  position: relative;
}

.bg-music-progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: progressShimmer 2s linear infinite;
}

@keyframes progressShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.bg-music-progress-handle {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 16px;
  height: 16px;
  background: var(--main-color);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 8px rgba(var(--main-color-rgb), 0.5);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.bg-music-progress-bar:hover .bg-music-progress-handle {
  opacity: 1;
}

.bg-music-time {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  color: rgba(var(--text-color-rgb), 0.6);
  font-weight: 500;
}

/* Controls */
.bg-music-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.bg-music-control-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(var(--main-color-rgb), 0.3);
  color: var(--text-color);
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.bg-music-control-btn:hover {
  background: rgba(var(--main-color-rgb), 0.2);
  border-color: var(--main-color);
  transform: scale(1.1);
}

.bg-music-play-pause {
  width: 70px;
  height: 70px;
  font-size: 3rem;
  background: linear-gradient(135deg, var(--main-color), var(--secondary-color));
  border-color: transparent;
  box-shadow: 0 8px 25px rgba(var(--main-color-rgb), 0.4);
}

.bg-music-play-pause:hover {
  transform: scale(1.15);
  box-shadow: 0 12px 35px rgba(var(--main-color-rgb), 0.6);
}

/* Volume Section */
.bg-music-volume-section {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  border: 1px solid rgba(var(--main-color-rgb), 0.1);
}

.bg-music-volume-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-color);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bg-music-volume-btn:hover {
  background: rgba(var(--main-color-rgb), 0.2);
  color: var(--main-color);
}

.bg-music-volume-slider-container {
  flex: 1;
}

.bg-music-volume-slider {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
}

.bg-music-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  background: var(--main-color);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(var(--main-color-rgb), 0.4);
  transition: all 0.2s ease;
}

.bg-music-volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 12px rgba(var(--main-color-rgb), 0.6);
}

.bg-music-volume-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: var(--main-color);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(var(--main-color-rgb), 0.4);
}

.bg-music-volume-value {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--main-color);
  min-width: 40px;
  text-align: right;
}

/* Options */
.bg-music-options {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(var(--main-color-rgb), 0.2);
}

.bg-music-option-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(var(--main-color-rgb), 0.2);
  border-radius: 25px;
  color: rgba(var(--text-color-rgb), 0.7);
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bg-music-option-btn:hover {
  background: rgba(var(--main-color-rgb), 0.1);
  border-color: rgba(var(--main-color-rgb), 0.4);
  color: var(--text-color);
}

.bg-music-option-btn[data-active="true"] {
  background: rgba(var(--main-color-rgb), 0.2);
  border-color: var(--main-color);
  color: var(--main-color);
}

.option-label {
  font-size: 1.3rem;
  font-weight: 600;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .bg-music-controller {
    bottom: 10rem;
    right: 2rem;
  }
  
  .bg-music-toggle {
    width: 55px;
    height: 55px;
    font-size: 2.4rem;
  }
  
  .bg-music-panel {
    width: calc(100vw - 4rem);
    max-width: 350px;
    bottom: 7rem;
    right: 0;
  }
  
  .bg-music-header {
    padding: 1.5rem;
  }
  
  .bg-music-content {
    padding: 2rem;
  }
  
  .bg-music-cover {
    width: 70px;
    height: 70px;
  }
  
  .bg-music-controls {
    gap: 1.5rem;
  }
  
  .bg-music-control-btn {
    width: 45px;
    height: 45px;
    font-size: 2rem;
  }
  
  .bg-music-play-pause {
    width: 60px;
    height: 60px;
    font-size: 2.6rem;
  }
  
  .bg-music-options {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .bg-music-controller {
    bottom: 3rem;
    left: 3rem;
  }
  
  .bg-music-toggle {
    width: 50px;
    height: 50px;
    font-size: 2.2rem;
  }
  
  .bg-music-panel {
    width: calc(100vw - 3rem);
    bottom: 6rem;
  }
  
  .bg-music-header {
    padding: 1.2rem;
  }
  
  .bg-music-title {
    font-size: 1.6rem;
  }
  
  .bg-music-title i {
    font-size: 2rem;
  }
  
  .bg-music-content {
    padding: 1.5rem;
  }
  
  .bg-music-cover {
    width: 60px;
    height: 60px;
    border-radius: 12px;
  }
  
  .bg-music-info h4 {
    font-size: 1.4rem;
  }
  
  .bg-music-info p {
    font-size: 1.2rem;
  }
  
  .bg-music-volume-section {
    padding: 1.2rem;
  }
}

/* Fix for audio player overlap */
.audio-player.active ~ .bg-music-controller {
  bottom: 18rem;
}

@media (max-width: 768px) {
  .audio-player.active ~ .bg-music-controller {
    bottom: 20rem;
  }
}

/* ===== PROJECT LIKE BUTTON STYLES ===== */

.project-like-container {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.like-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.like-btn:hover {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.8);
}

.like-btn.liked {
    background: rgba(237, 66, 69, 0.9);
    border-color: rgba(237, 66, 69, 0.8);
    animation: likePulse 0.5s ease;
}

.like-btn.liked:hover {
    background: rgba(237, 66, 69, 1);
}

.like-btn i {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.like-btn.liked i {
    color: #ffffff;
    animation: heartBeat 0.5s ease;
}

.like-count {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.5);
    padding: 2px 8px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    min-width: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.like-btn.liked + .like-count {
    color: #ffffff;
    background: rgba(237, 66, 69, 0.7);
}

.like-btn .like-sparkle {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
}

.like-btn.liked .like-sparkle {
    animation: sparkleEffect 0.6s ease;
}

.like-popup {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(237, 66, 69, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(237, 66, 69, 0.3);
}

.like-popup::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid rgba(237, 66, 69, 0.9);
}

.like-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* Animations */
@keyframes likePulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes heartBeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.3);
    }
    50% {
        transform: scale(1.1);
    }
    75% {
        transform: scale(1.2);
    }
}

@keyframes sparkleEffect {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
    }
    100% {
        opacity: 0;
        transform: scale(2);
    }
}

/* Tooltip for like button */
.like-btn::after {
    content: 'Click to like';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 1.2rem;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

.like-btn:hover::after {
    transform: translateX(-50%) scale(1);
    opacity: 1;
}

.like-btn.liked::after {
    content: 'Liked!';
    background: rgba(237, 66, 69, 0.9);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .project-like-container {
        top: 15px;
        left: 15px;
    }
    
    .like-btn {
        width: 40px;
        height: 40px;
    }
    
    .like-btn i {
        font-size: 1.8rem;
    }
    
    .like-count {
        font-size: 1.1rem;
        padding: 2px 6px;
        min-width: 25px;
    }
}

/* --- Redesigned About Section --- */
.about-modern {
  padding: 12rem 12%;
  background: var(--bg-color);
  position: relative;
  overflow: hidden;
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 8rem;
  align-items: center;
}

/* Visual Side */
.about-visual {
  position: relative;
}

.image-stack {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.main-image {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.main-image img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.main-image:hover img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.4));
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 2rem;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  z-index: 2;
  animation: float 4s ease-in-out infinite;
}

.experience-card {
  top: -30px;
  right: -40px;
}

.experience-card .number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--main-color);
  line-height: 1;
}

.experience-card .label {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.5rem;
}

.status-card {
  bottom: 40px;
  left: -40px;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  animation-delay: -2s;
}

.status-dot {
  width: 10px;
  height: 10px;
  background: #43B581;
  border-radius: 50%;
  box-shadow: 0 0 10px #43B581;
}

/* Info Side */
.about-info .intro-text {
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
  line-height: 1.4;
}

.highlight {
  color: var(--main-color);
  position: relative;
}

.bio-content p {
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.personal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin: 4rem 0;
}

.grid-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.grid-item i {
  font-size: 2.4rem;
  color: var(--main-color);
  background: rgba(var(--main-color-rgb), 0.1);
  padding: 1rem;
  border-radius: 12px;
}

.grid-item .label {
  display: block;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.grid-item .value {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-color);
}

.about-cta {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.primary-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--main-color);
  color: var(--bg-color);
  padding: 1.5rem 3rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1.6rem;
  transition: all 0.3s;
}

.primary-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(var(--main-color-rgb), 0.3);
}

.social-mini {
  display: flex;
  gap: 1.5rem;
}

.social-mini a {
  font-size: 2.4rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s;
}

.social-mini a:hover {
  color: var(--main-color);
}

/* Journey Section */
.experience-showcase {
  margin-top: 10rem;
  padding-top: 6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sub-heading {
  font-size: 2.8rem;
  margin-bottom: 4rem;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
}

.journey-item {
  position: relative;
}

.journey-item .year {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--main-color);
  background: rgba(var(--main-color-rgb), 0.1);
  padding: 0.4rem 1.2rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.journey-item h4 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.journey-item p {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 6rem;
  }
  .about-visual {
    display: flex;
    justify-content: center;
  }
  .journey-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .personal-grid {
    grid-template-columns: 1fr;
  }
  .about-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}