/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  font-family: 'Outfit', sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  background: radial-gradient(ellipse at top, #0b0c10 0%, #000000 100%);
}

/* Global */
a {
  color: inherit;
  text-decoration: none;
}
.container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 2rem;
}

/* Navbar */
.navbar {
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 999;
  background: rgba(12, 12, 18, 0.88);
  backdrop-filter: blur(20px);
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nav-inner {
  max-width: 1280px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}
.nav-menu {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.nav-link {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,0.03);
  font-weight: 600;
  transition: all 0.3s ease;
}
.nav-link:hover {
  background: rgba(255,255,255,0.08);
  color: #b19bff;
}
.cta-container {
  display: flex;
}
.cta-button {
  background: linear-gradient(to right, #9b7aff, #5c4dff);
  color: white;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
  transition: 0.2s ease;
}
.cta-button:hover {
  transform: scale(1.06);
}



/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero h1 {
  font-size: 4rem;
  line-height: 1.2;
  background: linear-gradient(90deg, #ffffff, #8058ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .cta-button {
  margin-top: 2rem;
  display: inline-block;
}

/* Sections */
.section {
  padding: 6rem 2rem;
}
.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}
.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #8058ff;
  margin: 1rem auto 0;
  border-radius: 10px;
}

/* About & Services Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.card {
  background: rgba(255, 255, 255, 0.04);
  padding: 2rem;
  border-radius: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 0 12px rgba(128, 88, 255, 0.2);
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 24px rgba(128, 88, 255, 0.4);
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.stat-box {
  background: rgba(255, 255, 255, 0.02);
  padding: 2.5rem 1.5rem;
  border-radius: 1rem;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 24px rgba(138, 58, 255, 0.15);
  transition: transform 0.3s ease;
}
.stat-box:hover {
  transform: translateY(-8px);
}
.stat-box span {
  display: block;
  font-size: 3.8rem;
  font-weight: 800;
  color: #b19bff;
}
.stat-box p {
  margin-top: 0.75rem;
  font-size: 1rem;
  color: rgba(148, 163, 184, 0.5); /* zinc-600/50 */
}



/* Projects */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}
.project-card {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(128, 88, 255, 0.15);
  transition: transform 0.3s;
}
.project-card:hover {
  transform: translateY(-8px);
}
.project-card img {
  width: 100%;
  display: block;
}
.project-content {
  padding: 1.5rem;
}
.badge {
  position: absolute;
  background: #8058ff;
  color: white;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  top: 10px;
  left: 10px;
}
.view-button {
  display: inline-block;
  margin-top: 1rem;
  background: #8058ff;
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
}

/* Testimonials */
.testimonial-slider {
  max-width: 600px;
  margin: auto;
  position: relative;
}
.testimonial-slide {
  display: none;
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
}
.testimonial-slide.active {
  display: block;
}
.testimonial-dots {
  text-align: center;
  margin-top: 1rem;
}
.testimonial-dots .dot {
  display: inline-block;
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #555;
  border-radius: 50%;
  cursor: pointer;
}
.testimonial-dots .dot.active {
  background: #8058ff;
}

/* Contact */
.contact-container {
  text-align: center;
  padding: 4rem 2rem;
}

.contact-subtext {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: #aaa;
}

.contact-cards {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  position: relative;
  backdrop-filter: blur(8px);
}

.contact-card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.08);
}

.contact-card img {
  width: 64px;
  margin-bottom: 1rem;
}

.contact-info h3 {
  font-size: 1.1rem;
  margin: 0;
}

.contact-info p {
  font-size: 0.9rem;
  color: #bbb;
}

.status-dot {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: gray;
}

.status-dot.online {
  background: #43b581;
  box-shadow: 0 0 10px #43b581;
}


/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.02);
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Responsive */
@media screen and (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .nav-menu {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* ===== Discord Orb ===== */
.chat-orb {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #5865f2, #404eed);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(88,101,242,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  color: white;
  text-decoration: none;
  z-index: 9999;
  transition: transform 0.2s ease;
}

.chat-orb:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(88,101,242,0.8);
}

@media (max-width: 768px) {
  .chat-orb {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
  }
}



/* ===== 3D Tilt Hover Effect ===== */
.card,
.project-card,
.stat-box {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover,
.project-card:hover,
.stat-box:hover {
  transform: rotateY(7deg) rotateX(4deg);
  box-shadow: 0 30px 60px rgba(138, 58, 255, 0.4);
}

/* ===== Mouse Sparkle Trail ===== */
.sparkle {
  position: fixed;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, #b67aff, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
  opacity: 0.8;
  animation: fade 0.8s linear forwards;
}
@keyframes fade {
  to {
    transform: translateY(-10px) scale(0.4);
    opacity: 0;
  }
}

/* ===== Loader Improvement ===== */
#loader {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  flex-direction: column;
  gap: 1rem;
  animation: fadeOut 1s ease 3.8s forwards;
}
@keyframes fadeOut {
  to { opacity: 0; visibility: hidden; }
}
.loader-text {
  font-size: 1.7rem;
  font-weight: bold;
  text-align: center;
  color: #fff;
  animation: textFade 2s ease-in-out infinite;
}
@keyframes textFade {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(120deg, #a78bfa, #7dd3fc);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: logoWave 4s ease-in-out infinite;
  letter-spacing: 1px;
  text-shadow: 0 0 8px rgba(168, 139, 250, 0.3);
  transition: transform 0.3s ease;
  cursor: default;
}
.logo:hover {
  transform: scale(1.08);
}

@keyframes logoWave {
  0% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
  100% {
    background-position: 0% center;
  }
}

@keyframes floatPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.logo {
  animation: logoWave 4s ease-in-out infinite, floatPulse 3s ease-in-out infinite;
}

.discord-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #ccc;
}
.status-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: limegreen;
  animation: pulseStatus 1.5s infinite;
}

.discord-status {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: #cbd5e1;
  opacity: 0.9;
  gap: 0.4rem;
  padding-left: 2px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #43b581;
  box-shadow: 0 0 8px rgba(67,181,129,0.8);
  animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.15); }
}

/* Page Transition */
.fade-anim {
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-anim.active {
  opacity: 1;
  transform: scale(1);
}

.floating-badge {
  position: fixed;
  top: 20px;
  left: 20px; /* moved from right to left */
  background: linear-gradient(135deg, #00e0ff, #8a2be2);
  color: white;
  padding: 10px 18px;
  font-weight: bold;
  font-size: 14px;
  border-radius: 30px;
  box-shadow: 0 0 18px rgba(0, 224, 255, 0.5);
  animation: floatBadge 4s ease-in-out infinite, glowBadge 2s ease-in-out infinite;
  z-index: 9999;
  cursor: pointer;
}

@keyframes floatBadge {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes glowBadge {
  0%, 100% {
    box-shadow: 0 0 18px rgba(0, 224, 255, 0.4);
  }
  50% {
    box-shadow: 0 0 28px rgba(138, 43, 226, 0.8);
  }
}

@media (max-width: 600px) {
  .floating-badge {
    font-size: 12px;
    padding: 8px 14px;
  }
}

.discord-status-box {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: white;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: gray;
  box-shadow: 0 0 6px rgba(255,255,255,0.3);
}
.status-online {
  background-color: #43b581;
  box-shadow: 0 0 10px #43b581;
}
.status-idle {
  background-color: #faa61a;
  box-shadow: 0 0 10px #faa61a;
}
.status-dnd {
  background-color: #f04747;
  box-shadow: 0 0 10px #f04747;
}
.status-offline {
  background-color: #747f8d;
  box-shadow: 0 0 10px #747f8d;
}


/* === Hamburger Button === */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  width: 32px;
  height: 32px;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: 0.3s ease;
}

/* Animate lines when active */
#menu-toggle:checked + .hamburger span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
#menu-toggle:checked + .hamburger span:nth-child(2) {
  opacity: 0;
}
#menu-toggle:checked + .hamburger span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* === Responsive Nav === */
@media (max-width: 1024px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: rgba(12, 12, 18, 0.96);
    backdrop-filter: blur(20px);
    box-shadow: -5px 0 20px rgba(0,0,0,0.4);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 4rem 2rem;
    transition: right 0.4s ease;
    z-index: 1000;
  }

  #menu-toggle:checked ~ .nav-menu {
    right: 0;
  }

  .nav-link {
    font-size: 1.3rem;
    padding: 0.8rem 1.2rem;
    width: 100%;
    text-align: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    transition: background 0.3s;
  }

  .nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #b19bff;
  }
}

/* Optional: hide menu-toggle visually */
#menu-toggle {
  display: none;
}

