@font-face {
  font-family: 'MinecraftFont';
  src: url('../fonts/Minecraft.otf') format('opentype'); 
  font-weight: normal;
  font-style: normal;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background-color: #23151c; 
  color: #f2f2f2;
  font-family: Arial, sans-serif; 
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

h1, h2, h3, .font-minecraft, .nav-links a, .launcher-title { 
  font-family: 'MinecraftFont', monospace; 
  font-weight: normal; 
  letter-spacing: 1px; 
  line-height: 1; 
}

header {
  background-color: rgba(35, 21, 28, 0.9);
  backdrop-filter: blur(10px); 
  border-bottom: 1px solid #3a222d;
  position: sticky; 
  top: 0; 
  z-index: 100;
  width: 100%;
}

.header-container {
  width: 100%; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; height: 63px; 
}

.logo { font-size: 22px; color: #fff; display: flex; align-items: center; gap: 8px; }
.logo-img { height: 35px; width: auto; display: block; }

.nav-links { display: flex; gap: 24px; }
.nav-links a { font-size: 14px; color: #a89fa2; transition: color 0.2s; }
.nav-links a:hover { color: #ff8ebb; }

.hero {
  position: relative; width: 100%; height: 90vh; min-height: 700px; display: flex; flex-direction: column; justify-content: flex-end; padding: 40px; background-color: #23151c;
}

.hero-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: url('../img/wallpaper.png'); background-size: cover; background-position: center; z-index: 1; 
}

.hero-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(35, 21, 28, 0.95) 0%, rgba(35, 21, 28, 0.5) 40%, transparent 100%); z-index: 2;
}

.hero-card {
  position: relative; z-index: 3; width: min(495px, 100%); background-color: rgba(35, 21, 28, 0.85); backdrop-filter: blur(12px); border: 1px solid #3a222d; padding: 20px; display: flex; flex-direction: column; gap: 10px; align-self: flex-start; 
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.9), 0 0 30px rgba(255, 142, 187, 0.1); 
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
}

.hero-card:hover {
  transform: scale(1.02);
  border-color: #ff8ebb;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.9), 0 0 40px rgba(255, 142, 187, 0.2);
}

.hero-card h1 { font-size: 28px; color: #fff; margin-bottom: 5px; line-height: 1.1; text-align: center; }
.hero-card p { font-size: 15px; color: #b3b3b3; margin-bottom: 10px; text-align: left; }

.btn-hero { 
  width: 100%; 
  max-width: 100%;
  margin: 0 auto; 
  font-size: 16px; 
  padding: 12px 20px;
  white-space: nowrap; 
}

.features-section { 
  background-color: #23151c; 
  padding: 80px 0; 
  border-top: 1px solid #3a222d; 
  overflow-x: hidden; 
  overflow-y: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative; 
  scroll-margin-top: 115px; 
}

.carousel-viewport {
  width: 100%;
  height: 620px; 
  position: relative;
  perspective: 1200px; 
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-3d {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d; 
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-3d {
  position: absolute;
  width: 75%; 
  max-width: 1050px; 
  height: 600px; 
  background-color: #2a1a22; 
  border: 1px solid #3a222d; 
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 40px rgba(255, 142, 187, 0.05); 
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1); 
  cursor: pointer;
  overflow: hidden;
  border-radius: 12px;
}

.slide-3d::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #1f1218; 
  transition: opacity 0.4s;
  opacity: 0; 
  pointer-events: none; 
  border-radius: 12px;
  z-index: 5;
}

.slide-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 10; 
}

.section-title { 
  font-size: 28px; 
  color: #fff; 
  text-align: center; 
  margin-bottom: 30px; 
}

.features-grid { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 24px; 
}

.feature-card { 
  background-color: #23151c; 
  border: 1px solid rgba(255, 142, 187, 0.3); 
  padding: 30px 25px; 
  min-height: 180px; 
  box-shadow: 0 4px 10px rgba(0,0,0,0.3); 
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%; 
  border-radius: 12px;
}

.feature-card:hover {
  border-color: #ff8ebb; 
  box-shadow: 0 0 20px rgba(255, 142, 187, 0.2), 0 4px 10px rgba(0,0,0,0.3); 
  transform: translateY(-5px);
}

.feature-card h3 { font-size: 20px; color: #fff; margin-bottom: 12px; font-family: 'MinecraftFont', monospace; }
.feature-card p { font-size: 15px; color: #a89fa2; font-family: Arial, sans-serif; line-height: 1.5; flex-grow: 1; }

.slide-3d.is-active {
  transform: translateX(0) translateZ(0) rotateY(0deg) scale(1);
  opacity: 1;
  z-index: 10;
  cursor: default; 
  background-color: #2a1a22; 
}

.slide-3d.is-active:hover {
  transform: translateX(0) translateZ(0) rotateY(0deg) scale(1.01);
  border-color: #ff8ebb;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 40px rgba(255, 142, 187, 0.2);
}

.slide-3d.is-left {
  transform: translateX(-55%) translateZ(-250px) rotateY(25deg) scale(0.9);
  opacity: 1;
  z-index: 5;
  background-color: #1f1218; 
}
.slide-3d.is-left::before { opacity: 1; } 

.slide-3d.is-right {
  transform: translateX(55%) translateZ(-250px) rotateY(-25deg) scale(0.9);
  opacity: 1;
  z-index: 5;
  background-color: #1f1218; 
}
.slide-3d.is-right::before { opacity: 1; } 

.slide-3d.is-hidden {
  transform: translateX(0) translateZ(-600px) scale(0.5);
  opacity: 0;
  z-index: 1;
  pointer-events: none; 
}

.slide-3d.is-left:hover, 
.slide-3d.is-right:hover {
  border-color: rgba(255, 142, 187, 0.5); 
  background-color: #1f1218;
}
.slide-3d.is-left:hover::before, 
.slide-3d.is-right:hover::before { opacity: 0; } 

.carousel-dots { 
  display: flex; 
  justify-content: center; 
  gap: 11px; 
  position: absolute;
  bottom: 60px; 
  left: 0;
  right: 0;
}

.dot { 
  width: 12px; 
  height: 12px; 
  background-color: #4a253a; 
  border-radius: 50%; 
  cursor: pointer; 
  transition: background-color 0.3s, transform 0.2s; 
}

.dot:hover { 
  background-color: #ff8ebb; 
  transform: scale(1.2); 
}

.dot.active { 
  background-color: #ff8ebb; 
  box-shadow: 0 0 10px rgba(255, 142, 187, 0.5); 
}

.launcher-section {
  background: radial-gradient(circle at center, #3a222d 0%, #23151c 70%); 
  padding: 150px 20px; 
  display: flex; 
  justify-content: center; 
  border-top: 1px solid #3a222d; 
  border-bottom: 1px solid #3a222d;
}

.launcher-container { max-width: 1100px; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.launcher-text { flex: 1; max-width: 400px; display: flex; flex-direction: column; align-items: flex-start; }
.launcher-title { font-size: 28px; color: #fff; margin-bottom: 10px; line-height: 1.1; }
.launcher-desc { font-size: 15px; color: #b3b3b3; margin-bottom: 25px; line-height: 1.5; max-width: 55ch; }

.button-group { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.launcher-buttons { width: 100%; display: flex; flex-direction: column; gap: 12px; }

.btn-row { display: flex; gap: 12px; width: 100%; }

.btn-action {
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-family: 'MinecraftFont', monospace;
  font-size: 14px; 
  text-decoration: none; 
  background-color: #ff8ebb; 
  color: #23151c; 
  border: none; 
  transition: all 0.2s; 
  cursor: pointer; 
  white-space: nowrap; 
  padding: 0 15px;
  height: 48px; 
  border-radius: 12px;
}

.btn-action:hover { 
  background-color: #ffa5c9; 
  transform: translateY(-1px); 
  box-shadow: 0 4px 15px rgba(255, 142, 187, 0.3);
}

.btn-half { flex: 1; }
.btn-full { width: 100%; }

.launcher-note { font-size: 14px; color: #8c737d; display: flex; align-items: center; gap: 6px; font-family: Arial, sans-serif; line-height: 1.4;}
.icon-info { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; border: 1px solid #ff8ebb; color: #ff8ebb; font-size: 10px; font-weight: bold; margin-right: 5px; flex-shrink: 0; }
.launcher-note a { color: #b3b3b3; text-decoration: underline; }

.launcher-visual { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }

.image-container { 
  width: 100%; 
  max-width: 600px; 
  aspect-ratio: 16 / 10; 
  overflow: hidden; 
  border: 1px solid #4a253a; 
  background-color: #23151c; 
  box-shadow: 0 0 30px rgba(255, 142, 187, 0.05); 
  border-radius: 12px; 
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease; 
}

.image-container:hover {
  border-color: #ff8ebb;
  box-shadow: 0 0 30px rgba(255, 142, 187, 0.2);
  transform: translateY(-3px);
}

.download-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease-in-out; 
}

.static-image { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  flex-shrink: 0; 
  display: block; 
}

.download-dots {
  display: flex;
  justify-content: center;
  gap: 11px;
  margin-top: 20px; 
}

footer { 
  background-color: #23151c; 
  border-top: 1px solid #3a222d; 
  width: 100%; 
  padding: 23px 20px 15px 20px; 
  display: flex;
  justify-content: center;
}

footer p {
  font-family: 'MinecraftFont', monospace;
  font-size: 14px; 
  color: #8c737d; 
  margin: 0; 
  line-height: 1; 
}

@media (max-width: 900px) {
  .header-container { flex-direction: column; height: auto; padding: 16px 20px; gap: 16px; }
  .hero { padding: 20px; height: auto; min-height: 95vh; }
  .hero-card { padding: 20px; width: 100%; }
  .hero-card h1 { white-space: normal; }
  
  .launcher-container { flex-direction: column-reverse; text-align: center; align-items: center; gap: 40px; }
  .launcher-text { align-items: center; }
  .button-group { max-width: 100%; }
  .launcher-note { justify-content: center; }
  .image-container { max-width: 100%; }
  
  .carousel-viewport { height: 800px; } 
  .slide-3d { width: 90%; padding: 20px; height: auto; min-height: 600px; } 
  .features-grid { grid-template-columns: 1fr; gap: 16px; } 
  .slide-3d.is-left { transform: translateX(-25%) translateZ(-200px) rotateY(10deg) scale(0.9); }
  .slide-3d.is-right { transform: translateX(25%) translateZ(-200px) rotateY(-10deg) scale(0.9); }

  .btn-row { flex-direction: column; }
  .btn-half { width: 100%; }
}