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

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

:root {
  --primary-color: #e0e0e0;
  --secondary-color: #ffffff;
  --dark-color: #0f0f0f;
  --light-color: #1a1a1a;
  --text-color: #e0e0e0;
  --border-color: #333;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

html {
  -ms-overflow-style: none;
  scrollbar-width: none;
  overflow-y: scroll;
}

html::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

#animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #000;
  position: relative;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.navbar {
  background-color: rgba(15, 15, 15, 0.98);
  padding: 1rem 0;
  box-shadow: var(--shadow);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

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

.logo {
  color: var(--secondary-color);
  font-size: 1.5rem;
  font-weight: bold;
}

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

.nav-links a {
  color: #e0e0e0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

.hero {
  color: white;
  padding: 8rem 2rem;
  text-align: center;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 70px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: fadeInDown 0.8s ease;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: #ffffff;
  color: #000;
  font-weight: 600;
}

.btn-primary:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.btn-secondary:hover {
  background-color: #ffffff;
  color: #000;
  transform: translateY(-2px);
}

.features {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
  text-align: center;
}

.features h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #ffffff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.feature-card {
  padding: 2rem;
  background-color: #1a1a1a;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #333;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(255, 255, 255, 0.1);
}

.feature-card h3 {
  color: #ffffff;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.feature-card p {
  color: #b0b0b0;
}

.recent-projects {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.recent-projects h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  color: #ffffff;
}

.projects-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.project-card {
  background-color: #1a1a1a;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #333;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.project-card h3 {
  color: #ffffff;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.project-card p {
  margin-bottom: 1rem;
  color: #b0b0b0;
}

.projects-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.project-card.expanded {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  background-color: #1a1a1a;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid #333;
}

.project-card.expanded:hover {
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.project-image {
  border-radius: 8px;
  padding: 2rem;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.project-image img {
  max-width: 45%;
  height: auto;
  border-radius: 4px;
  filter: drop-shadow(0px 5px 10px rgba(0, 0, 0, 0.5));
}

.project-info h2 {
  color: #ffffff;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.project-info p {
  color: #b0b0b0;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tech-tag {
  background-color: #333;
  color: #ffffff;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  display: inline-block;
}

.center {
  text-align: center;
}


.footer {
  background-color: #0f0f0f;
  color: #e0e0e0;
  padding: 2rem;
  text-align: center;
  margin-top: 4rem;
  border-top: 1px solid #333;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

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

.social-links a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #e0e0e0;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .project-card.expanded {
    grid-template-columns: 1fr;
  }

  .features-grid,
  .projects-preview,
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .social-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  .error-content h1 {
    font-size: 3rem;
  }
}

#discord-status {
  margin-top: 3rem;
}

.discord-widget {
  background-color: #1a1a1a;
  border: 2px solid #2e2e31;
  border-radius: 12px;
  padding: 1.5rem;
  max-width: 400px;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(88, 101, 242, 0.2);
}

.discord-header {
  display: flex;
  gap: 1rem;
  align-items: center; 
}

.discord-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid #5865F2;
}

.discord-info h3 {
  color: #ffffff;
  margin: 0 0 0.3rem 0;
  font-size: 1.2rem;
}

.discord-status-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #b0b0b0;
  font-size: 0.9rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.discord-activity {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08); 
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.activity-icon {
  width: 50px;
  height: 50px;
  border-radius: 8px; 
  object-fit: cover;
  background-color: #111;
}

.activity-text-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.activity-name {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
}

.activity-details, 
.activity-state {
  color: #a3a3a3;
  font-size: 0.85rem;
}

.hidden {
  display: none !important;
}

.error-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.error-container {
  text-align: center;
  max-width: 600px;
}

.error-code {
  font-size: 8rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  font-family: 'Poppins', sans-serif;
  line-height: 1;
}

.error-icon {
  font-size: 4rem;
  color: #e0e0e0;
  margin-bottom: 1rem;
  display: block;
}

.error-title {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 1rem;
  font-weight: 700;
}

.error-message {
  font-size: 1.1rem;
  color: #b0b0b0;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.error-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.error-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
}

.coming-soon-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  margin-top: 70px;
}

.coming-soon-text {
  font-size: 3rem;
  color: #ffffff;
  font-weight: 700;
  text-align: center;
  letter-spacing: 2px;
}