:root {
  --primary-gold: #FFD700;
  --primary-red: #D32F2F;
  --primary-black: #0A0A0A;
  --secondary-black: #1A1A1A;
  --accent-color: #FF6B6B;
}

/* ===== BASE STYLES ===== */
body {
  font-family: 'Pyidaungsu', 'Noto Sans Myanmar', sans-serif;
  background: var(--primary-black);
  color: #E0E0E0;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  padding-top: 80px;
  overflow-x: hidden;
}

/* ===== HEADER STYLES ===== */
.main-header {
  background: var(--primary-black);
  box-shadow: 0 2px 15px rgba(0,0,0,0.4);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  height: 70px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,215,0,0.2);
  padding: 0 20px;
}

.header-content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo {
  font-family: 'Pyidaungsu', sans-serif;
  font-weight: 700;
  color: var(--primary-gold);
  font-size: 1.5rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.nav-links {
  display: flex;
  gap: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-item {
  color: var(--primary-gold);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 8px 15px;
  border-radius: 20px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.nav-item:hover {
  background: rgba(255,215,0,0.1);
  transform: translateY(-2px);
}

.nav-item i {
  font-size: 0.9rem;
  min-width: 16px;
}

/* ===== MAIN CONTENT STYLES ===== */
/* Download Section */
.download-section {
  background: radial-gradient(ellipse at center, 
    var(--secondary-black) 0%, 
    var(--primary-black) 100%);
  padding: 2rem 1rem 3rem;
}

.download-container {
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
}

.logo-container {
  text-align: center;
  margin: 30px auto 1.5rem;
  position: relative;
  display: block;
  animation: fadeInDown 0.8s ease;
}

.site-logo {
  max-width: 160px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(255, 215, 0, 0.5));
  transition: transform 0.3s ease;
  display: block;
  margin: 0 auto;
}

.site-logo:hover {
  transform: scale(1.05);
}

.version-tag {
  position: absolute;
  bottom: -8px;
  right: calc(50% - 80px);
  background: var(--primary-gold);
  color: var(--primary-black);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-weight: bold;
  font-size: 0.85rem;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.gradient-box {
  background: linear-gradient(145deg, 
    rgba(255,215,0,0.1) 0%,
    rgba(211,47,47,0.15) 100%);
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  margin-top: 1rem;
  box-sizing: border-box;
}

.download-title {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  word-break: keep-all;
}

.gradient-text {
  background: linear-gradient(45deg, 
    var(--primary-gold) 0%, 
    var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.download-btn {
  background: linear-gradient(135deg, 
    var(--primary-gold) 0%,
    var(--accent-color) 100%);
  padding: 0.9rem 1.8rem;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(255,215,0,0.3);
  color: var(--primary-black);
  text-decoration: none;
  margin-top: 1.5rem;
  box-sizing: border-box;
  max-width: 100%;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,215,0,0.4);
}

.download-btn small {
  font-size: 0.8rem;
  display: block;
  margin-top: 0.2rem;
}

/* Screenshot Grid Section */
.screenshot-section {
  padding: 3rem 1rem;
  background: var(--secondary-black);
}

.section-heading {
  text-align: center;
  margin-bottom: 2rem;
}

.section-heading h3 {
  font-size: 1.8rem;
  color: var(--primary-gold);
  margin: 0 0 0.5rem 0;
  word-break: keep-all;
}

.section-icon {
  font-size: 1.8rem;
  color: var(--primary-gold);
  margin-bottom: 0.5rem;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 1.5rem;
  padding: 0 15px;
  box-sizing: border-box;
}

.grid-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255,215,0,0.2);
  height: 120px;
  box-sizing: border-box;
}

.grid-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(255,215,0,0.1);
}

.tab-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  height: 100%;
  padding: 1rem;
  box-sizing: border-box;
}

.caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--primary-gold);
  text-align: center;
  width: 100%;
  height: 100%;
}

.caption span {
  font-size: 1rem;
  margin-top: 0.5rem;
  line-height: 1.3;
  word-break: keep-all;
}

.icon {
  font-size: 1.5rem;
  color: var(--primary-gold);
  margin-bottom: 0.5rem;
}

/* Guide Section */
.guide-section {
  padding: 4rem 2rem;
  background: var(--primary-black);
}

.guide-steps {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.step-number {
  background: var(--primary-gold);
  color: var(--primary-black);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.step-content h4 {
  color: var(--primary-gold);
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  word-break: keep-all;
}

.step-icon {
  font-size: 1rem;
}

.step-content p {
  margin: 0;
  word-break: keep-all;
}

/* ===== FOOTER STYLES ===== */
.main-footer {
  background: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 100%);
  border-top: 1px solid rgba(255,215,0,0.1);
  padding: 2rem;
  box-sizing: border-box;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  box-sizing: border-box;
}

.footer-brand h4 {
  color: var(--primary-gold);
  margin: 0 0 0.5rem 0;
}

.footer-brand p {
  margin: 0;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  font-size: 1.5rem;
  color: var(--primary-gold);
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.1);
  color: var(--accent-color);
}

.copyright {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.8rem;
  color: #888;
  padding: 0 15px;
}

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

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
  body {
    padding-top: 120px !important;
  }

  .main-header {
    height: auto;
    padding: 10px 15px;
  }
  
  .header-content {
    flex-direction: column;
    gap: 10px;
  }
  
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .nav-item {
    padding: 6px 12px;
    font-size: 0.85rem;
  }
  
  .site-logo {
    max-width: 140px;
  }
  
  .version-tag {
    right: calc(50% - 70px);
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
  }
  
  .download-title {
    font-size: 1.8rem;
  }
  
  .download-btn {
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
  }
  
  .grid-item {
    height: auto;
    min-height: 100px;
  }
  
  .screenshot-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
  }
  
  .caption span {
    font-size: 0.9rem;
  }
  
  .step {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .site-logo {
    max-width: 120px;
  }
  
  .version-tag {
    right: calc(50% - 60px);
  }
  
  .download-title {
    font-size: 1.6rem;
  }
  
  .download-btn {
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
  }
  
  .section-heading h3 {
    font-size: 1.5rem;
  }
}