:root {
  --primary: #2d6a4f;
  --secondary: #ffb703; /* survival orange from capsule */
  --bg-dark: #081c15;
  --text-main: #e8f5e9;
  --text-dim: #a8dadc;
  --glass-bg: rgba(8, 28, 21, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
  --font-header: 'Michroma', 'Orbitron', sans-serif;
  --font-body: 'Inter', sans-serif;
  --glow: 0 0 15px rgba(45, 106, 79, 0.4);
}

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

body {
  background-color: var(--bg-dark);
  background-image: 
    linear-gradient(rgba(8, 28, 21, 0.8), rgba(8, 28, 21, 0.8)),
    url('../images/ecliptica_page_background.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-wrap: break-word;
}


/* Base Layout */
.main-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Material Components */
.section-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 28px; /* Material M3 radius */
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 600px) {
  .section-card {
    padding: 25px 20px;
    border-radius: 20px;
  }
}


h1, h2, h3 {
  font-family: var(--font-header);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  overflow-wrap: break-word;
  hyphens: auto;
}

@media (max-width: 600px) {
  h2 {
    font-size: 1.2rem !important;
    letter-spacing: -0.5px;
    line-height: 1.3;
  }
  h3 {
    font-size: 0.95rem !important;
  }
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--secondary);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

h2 i, h2 fab, h2 fas, h2 .fas {
  flex-shrink: 0;
}

h2::after {
  content: "";
  height: 2px;
  flex: 1;
  min-width: 50px;
  background: linear-gradient(to right, var(--secondary), transparent);
  opacity: 0.3;
}

@media (max-width: 600px) {
  h1, h2, h3 {
    letter-spacing: -0.2px !important;
    word-break: break-word;
    text-shadow: none;
  }
  
  h2 {
    font-size: 1.1rem !important;
    line-height: 1.4;
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  
  h2::after {
    display: none;
  }
}




/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: 100px; /* Pill shape */
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  gap: 10px;
  max-width: 100%;
  text-align: center;
}

.btn-primary {
  background-color: var(--secondary);
  color: #000;
}

.btn-primary:hover {
  background-color: #ffd000;
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 183, 3, 0.4);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--text-main);
}

.btn-outline:hover {
  background: rgba(45, 106, 79, 0.2);
  border-color: var(--text-main);
}

/* Grids */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature-item {
  background: rgba(255, 255, 255, 0.03);
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  transition: background 0.3s;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.07);
}

.lang-menu a:hover {
  background: rgba(45, 106, 79, 0.3);
  border-radius: 8px;
}


.feature-item h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--secondary);
  font-family: var(--font-header);
}

.about-content p {
  line-height: 1.6;
  margin-bottom: 15px;
}

.hero-btns {
  margin-top: 30px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

@media (max-width: 800px) {
  .hero-btns {
    flex-direction: column;
    align-items: stretch;
  }
  
  .hero-btns .btn {
    width: 100%;
    margin: 0;
    justify-content: center;
  }
}



/* Sidebar Layout */
.hero-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}


.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
}

.screenshot-gallery img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  transition: transform 0.3s;
}

.screenshot-gallery img:hover {
  transform: scale(1.02);
}

/* Navigation */
nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 60px;
  padding: 10px 0;
}

@media (max-width: 600px) {
  nav {
    justify-content: center;
    gap: 15px;
  }
}

.lang-switcher {
  position: relative;
  display: inline-block;
}

.lang-menu {
  position: absolute;
  left: 0;
  top: 100%;
  width: 140px;
  padding: 10px;
  display: none;
  z-index: 1001;
  margin-top: 8px;
  background: var(--bg-dark);
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.lang-menu a {
  display: block;
  padding: 8px 12px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.85rem;
  transition: background 0.2s;
}

.lang-menu a:hover {
  background: rgba(45, 106, 79, 0.4);
  border-radius: 6px;
}

.btn-nav-wishlist {
  background: var(--secondary) !important;
  color: #000 !important;
  border: none !important;
  font-weight: 700 !important;
  padding: 8px 20px !important;
  box-shadow: 0 0 20px rgba(255, 183, 3, 0.3);
}

.btn-nav-wishlist:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 25px rgba(255, 183, 3, 0.5);
}

nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s;
}


nav a:hover {
  color: var(--secondary);
}

footer {
  margin-top: 60px;
  text-align: center;
  padding: 40px;
  color: var(--text-dim);
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }
  
  .section-card {
    padding: 24px;
    border-radius: 16px;
  }

  nav {
    justify-content: center;
    gap: 16px;
  }
}
