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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #832325 0%, #000000 100%);
  color: #fff;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  padding: 10px 20px;
  padding-left: 0px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 60px;
  transition: all 0.3s ease;
  max-width: 90vw;
  flex-wrap: nowrap;
  justify-content: center;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.3);
}

.navbar-logo {
  height: 60px;
}
.navbar-logo img {
  height: 100%;
  border-radius: 50px;
  transform: translate(10px);
}

.navbar-links {
  display: flex;
  gap: 20px;
  list-style: none;
  flex-shrink: 1;
}
.navbar-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
  opacity: 0.8;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;

  --origin: left;
}

.navbar-links a:hover,
.navbar-links a.active {
  opacity: 1;
  color: #832325;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #832325;

  transform-origin: var(--origin);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.navbar-links a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #832325;

  transform-origin: var(--origin);
  transform: scaleX(1);
  transition: transform 0.25s ease;
}

.navbar-links a.hovering::after {
  transform: scaleX(1);
}

.language-toggle {
  display: flex;
  gap: 5px;
  background: rgba(255, 255, 255, 0.1);
  padding: 5px;
  border-radius: 20px;
  flex-shrink: 0;
}

.lang-btn {
  background: transparent;
  border: none;
  color: #fff;
  padding: 5px 12px;
  border-radius: 15px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.lang-btn:hover {
  opacity: 1;
}

.lang-btn.active {
  background: rgba(131, 35, 37, 0.8);
  opacity: 1;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.profile-picture {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  margin-bottom: 30px;
  object-fit: cover;
  background: linear-gradient(135deg, #832325 0%, #4a1314 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: #fff;
}

.profile-picture img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
}

.name {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 10px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.tagline {
  font-size: 1.5rem;
  opacity: 0.9;
  margin-bottom: 20px;
}

.hero-clock {
  text-align: center;
  margin-bottom: 10px;
}

.hero-time {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 5px;
  opacity: 0.95;
}

.hero-location {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 15px;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  font-size: 3rem;
  cursor: pointer;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

/* About Section */
.about-section {
  min-height: 100vh;
  padding: 120px 20px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-container {
  max-width: 1200px;
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 60px;
  align-items: center;
}

.about-content {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.about-content.visible {
  opacity: 1;
  transform: translateX(0);
}

.about-greeting {
  font-size: 1.3rem;
  opacity: 0.8;
  margin-bottom: 10px;
}

.about-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 30px;
  line-height: 1.2;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.9;
  margin-bottom: 20px;
}

.about-image-container {
  position: relative;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.about-image-container.visible {
  opacity: 1;
  transform: translateX(0);
  width: 400px;
}

.about-image {
  width: 100%;
  max-width: 400px;
  height: 500px;
  background: linear-gradient(135deg, #832325 0%, #4a1314 100%);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(131, 35, 37, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 150px;
  color: rgba(255, 255, 255, 0.3);
  border: 3px solid rgba(255, 255, 255, 0.1);
}

/* Hide about image on mobile */
@media (max-width: 1024px) {
  .about-image-container {
    display: none;
  }

  .about-container {
    grid-template-columns: 1fr;
  }

  .about-greeting,
  .about-title {
    text-align: center;
  }
}

/* Projects Section */
.projects-section {
  min-height: 100vh;
  padding: 120px 20px 80px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.projects-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.section-title.visible {
  opacity: 1;
  transform: translateY(0);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.project-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.project-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #832325 0%, #4a1314 100%);
  border-radius: 10px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  object-fit: cover;
}

.project-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.status-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-25deg);
  padding: 8px 30px;
  font-weight: bold;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.status-discontinued {
  background: rgba(239, 68, 68, 0.9);
  border: 2px solid #dc2626;
}

.status-maintenance {
  background: rgba(255, 159, 28, 0.9);
  border: 2px solid #e69500;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
}

.project-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.project-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.project-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.project-title {
  font-size: 1.8rem;
  margin-bottom: 10px;
  font-weight: bold;
}

.project-description {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 15px;
}

.project-tech {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tech-tag {
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
}

/* Discord Section */
.discord-section {
  min-height: 100vh;
  padding: 120px 20px 80px;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.discord-container {
  max-width: calc(100vw - 100px);
  margin: 0 auto;
}

.discord-categories {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.category-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.category-btn.active {
  background: rgba(131, 35, 37, 0.8);
  border-color: #832325;
  box-shadow: 0 4px 20px rgba(131, 35, 37, 0.4);
}

.discord-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.discord-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.discord-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.discord-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
  border-color: rgba(131, 35, 37, 0.6);
}

.discord-banner {
  width: 100%;
  height: 120px;
  background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
  position: relative;
  overflow: hidden;
}

.discord-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.discord-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 6px solid rgba(0, 0, 0, 0.8);
  position: absolute;
  top: 70px;
  left: 20px;
  background: #2f3136;
  overflow: hidden;
}

.discord-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.discord-content {
  padding: 60px 20px 20px;
  position: relative;
}

.discord-badge {
  position: absolute;
  top: -40px;
  right: 20px;
  background: rgba(131, 35, 37, 0.9);
  color: #fff;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.discord-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #fff;
}

.discord-description {
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.6;
  margin-bottom: 20px;
  min-height: 60px;
}

.discord-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stat-item i {
  color: #3ba55d;
  font-size: 1.1rem;
}

.stat-item span {
  font-size: 0.9rem;
  opacity: 0.9;
}

.discord-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.discord-link {
  background: rgba(131, 35, 37, 0.8);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.discord-link:hover {
  background: rgba(131, 35, 37, 1);
  transform: translateX(5px);
}

.discord-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.discord-tag {
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  opacity: 0.8;
}

/* Trailer Section */
.trailer-section {
  min-height: 100vh;
  padding: 120px 20px 80px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.trailer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.trailer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 40px;
}

.trailer-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
}

.trailer-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.trailer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  margin-bottom: 20px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.trailer-info {
  padding: 10px 0;
}

.trailer-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.trailer-title i {
  color: #832325;
}

.trailer-description {
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .navbar {
    padding: 8px 12px;
    gap: 10px;
    top: 0px;
    border-radius: 0px;
    max-width: 100vw;
    width: 100vw;
  }

  .navbar.scrolled {
    padding: 6px 10px;
  }

  .navbar-links {
    gap: 12px;
  }

  .navbar-logo {
    display: none;
  }
  .navbar-links a {
    font-size: 1rem;
  }

  .navbar-image {
    height: 35px;
  }

  .name {
    font-size: 2.5rem;
  }

  .tagline {
    font-size: 1.2rem;
  }

  .profile-picture {
    width: 150px;
    height: 150px;
    font-size: 60px;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-title {
    font-size: 2rem;
  }

  .trailer-grid {
    grid-template-columns: 1fr;
  }

  .discord-container {
    max-width: 100%;
  }

  .discord-grid {
    grid-template-columns: 1fr;
  }
}