:root {
  --bg: #0e0e0e;
  --text: #f9f9f9;
  --accent1: #835488;
  --accent2: #6b3b73;
  --card: #1d1d1d;
  --radius: 1rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
}

a {
  color: var(--accent1);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent2);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.section-info {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 4rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.section-info h2 {
  color: var(--accent1);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.section-info p {
  margin-bottom: 1rem;
  color: #ccc;
}

.section-info ul {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.section-info ul li {
  padding-left: 2rem;
  position: relative;
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

.section-info ul li::before {
  content: '✅';
  position: absolute;
  left: 0;
  color: #7cd18d;
}

.section-info ul.note li::before {
  content: '🚫';
  color: #ff7b7b;
}

.section-info ul.future li::before {
  content: '📂';
  color: #ffa94d;
}

.section-info ul.uiimprovments li::before {
  content: '🎨';
  color: #ffa94d;
}

.section-info ul.share li::before {
  content: '📤';
  color: #7aa7ff;
}

/* HERO SECTION */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.hero-text {
  text-align: left;
}

.hero-text img.hero-title {
  width: 50%;
  height: auto;
  margin-bottom: 1rem;
  display: block;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #ccc;
}

.download-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.download-btn {
  background: var(--accent1);
  color: #fff;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.download-btn:hover {
  background: var(--accent2);
  transform: scale(1.05);
}

.download-counter {
  background: rgba(131, 84, 136, 0.2);
  border: 2px solid var(--accent1);
  border-radius: 12px;
  padding: 0.8rem 1.2rem;
  font-size: 0.95rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(131, 84, 136, 0.1);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(10px);
}

.download-counter.visible {
  opacity: 1;
  transform: translateY(0);
}

.download-counter::before {
  content: '📥';
  font-size: 1.1rem;
}

.download-counter:hover {
  background: rgba(131, 84, 136, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(131, 84, 136, 0.2);
}

.hero-screenshot {
  display: flex;
  justify-content: center;
  align-items: center;
}

.screenshot-container {
  position: relative;
  max-width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(131, 84, 136, 0.2);
}

.screenshot-container img {
  width: 100%;
  height: auto;
  display: block;
}

.screenshots-section {
  margin-top: 4rem;
}

.screenshots-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: var(--accent1);
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.screenshot-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(131, 84, 136, 0.15);
}

.screenshot-item img {
  width: 100%;
  height: auto;
  display: block;
}

.screenshot-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.screenshot-item:hover .screenshot-caption {
  opacity: 1;
}

nav {
  background: #111;
  padding: 1rem 0;
}

.nav-content {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  gap: 2rem;
}

.nav-content h1 {
  font-size: 1.5rem;
  color: var(--accent1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  font-weight: bold;
  font-size: 1rem;
  color: var(--accent1);
}

.nav-links a:hover {
  color: var(--accent2);
}

.lang-btn {
  background: transparent;
  border: 2px solid var(--accent1);
  color: var(--accent1);
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s ease;
}

.lang-btn:hover {
  background: var(--accent2);
  color: #fff;
}

footer {
  margin-top: 4rem;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: #aaa;
  text-align: center;
}

footer a {
  color: var(--accent1);
}

footer a:hover {
  color: var(--accent2);
}

/* POPUP MODAL STYLES */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-modal {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.1);
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s ease;
  position: relative;
}

.popup-overlay.active .popup-modal {
  transform: scale(1) translateY(0);
}

.popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: #aaa;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.popup-close:hover {
  color: var(--text);
}

.popup-header {
  margin-bottom: 1.5rem;
}

.popup-header h2 {
  color: var(--accent1);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.popup-header p {
  color: #ccc;
  font-size: 0.9rem;
}

.popup-image {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem auto;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
  box-shadow: 0 10px 30px rgba(131, 84, 136, 0.3);
}

.popup-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.arch-btn {
  background: var(--accent1);
  color: #fff;
  padding: 1rem 2rem;
  font-size: 1rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.arch-btn:hover {
  background: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(131, 84, 136, 0.4);
}

.arch-btn.recommended {
  background: linear-gradient(135deg, #7cd18d, #5ba068);
  box-shadow: 0 4px 15px rgba(124, 209, 141, 0.3);
}

.arch-btn.recommended:hover {
  background: linear-gradient(135deg, #5ba068, #4a8754);
  box-shadow: 0 8px 25px rgba(124, 209, 141, 0.5);
}

.arch-btn .btn-icon {
  font-size: 1.2rem;
}

.arch-btn .btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.arch-btn .btn-title {
  font-weight: bold;
  font-size: 1.1rem;
}

.arch-btn .btn-subtitle {
  font-size: 0.8rem;
  opacity: 0.9;
  margin-top: 0.2rem;
}

.recommended-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ffa94d;
  color: white;
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(255, 169, 77, 0.4);
}

@media (max-width: 968px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-text {
    text-align: center;
  }

  .hero-text img.hero-title {
    margin: 0 auto 1rem auto;
  }

  .download-section {
    justify-content: center;
  }

  .screenshots-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .nav-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .nav-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .hero-text p {
    font-size: 1rem;
  }

  .download-btn {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }

  .download-section {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .download-counter {
    font-size: 0.9rem;
    padding: 0.7rem 1rem;
  }

  .nav-links a {
    margin: 0.25rem 1rem 0.25rem 0;
  }

  .screenshots-section h2 {
    font-size: 1.5rem;
  }

  .container {
    padding: 2rem 1rem;
  }

  .popup-modal {
    padding: 1.5rem;
  }

  .popup-buttons {
    gap: 0.8rem;
  }

  .arch-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .arch-btn .btn-title {
    font-size: 1rem;
  }

  .arch-btn .btn-subtitle {
    font-size: 0.75rem;
  }
}
