:root {
  --green: #00ff6a;
  --dark: #0b0b0b;
  --transparent-box: rgba(255, 255, 255, 0.05);
  --blue: #4facfe;
  --dark-bg: #000428;
  --dark-bg-2: #004e92;
}

body {
  margin: 0;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  background: var(--dark);
  color: white;
  scroll-behavior: smooth;
}

header {
  display: flex;
  justify-content: space-between;
  padding: 15px 20px;
  background-color: #0c0c0c;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
}

.logo span {
  background: linear-gradient(to right, var(--green), #00b300);
  -webkit-background-clip: text;
  color: transparent;
}

.login-btn {
  background: transparent;
  border: 1px solid var(--green);
  color: var(--green);
  padding: 8px 15px;
  border-radius: 8px;
}

.mod-box {
  text-align: center;
  padding: 30px 15px;
}

.app-icon {
  width: 100px;
  border-radius: 20px;
}

.app-name {
  font-size: 1.3rem;
  margin: 8px 0;
  color: var(--green);
}

.stars {
  display: flex;
  justify-content: center;
  margin: 10px 0;
}

.stars svg {
  width: 22px;
  fill: gold;
  margin: 0 2px;
}

.description-box,
.features-box {
  background: var(--transparent-box);
  padding: 15px;
  margin: 20px auto;
  max-width: 360px;
  border-radius: 16px;
  backdrop-filter: blur(6px);
  border: 2px solid transparent;
  transition: 0.3s;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}

.feature-item svg {
  width: 20px;
  fill: var(--green);
}

.btns {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.circle-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--transparent-box);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.circle-btn:hover {
  background: var(--green);
}

.circle-btn svg {
  fill: white;
  width: 24px;
}

.vj-section {
  font-size: 2.5rem;
  text-align: center;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #ff512f, #dd2476);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: flicker 3s infinite;
}

.vj-section h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.vj-section ul {
  list-style: none;
  padding: 0;
}

.vj-section li {
  margin: 6px 0;
  font-size: 1rem;
}

footer {
  text-align: center;
  color: #777;
  padding: 20px;
  font-size: 0.85rem;
}

.promo-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 700px;
}

.text-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 1.6rem;
  animation: fadeInUp 1.2s ease forwards;
}

.animated-icon {
  width: 2em;
  height: 2em;
  animation: float 2s ease-in-out infinite;
}

.fancy-text {
  background: linear-gradient(to right, #00f2fe, #4facfe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  letter-spacing: 0.5px;
}

b {
  font-weight: 900;
  text-shadow: 0 0 5px #00f2fe;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animated-icon svg {
  stroke: var(--green);
}

.telegram-join {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #1100ff, var(--blue));
  border-radius: 50px;
  color: white;
  font-weight: bold;
  font-size: 1.1rem;
  box-shadow: 0 0 10px #000000, 0 0 20px var(--green);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: float 2.5s infinite ease-in-out;
  margin-top: 20px;
  margin-bottom: 20px;
}

.telegram-join:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 15px #229ED9, 0 0 25px var(--green);
}

.telegram-icon svg {
  width: 1.6em;
  height: 1.6em;
  animation: pulse 1.8s infinite ease-in-out;
}

.telegram-text {
  background: linear-gradient(to right, white, #e0f7ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.85; }
}

.vj-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1.2rem;
}

.vj-list li {
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-weight: 600;
  background: linear-gradient(to right, var(--green), #b2f5d0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 0.6s ease both;
}

.popcorn-icon {
  width: 1.5em;
  height: 1.5em;
  display: inline-block;
  background-image: url('data:image/svg+xml;utf8,<svg width="64" height="64" viewBox="0 0 24 24" fill="%23ffffff" xmlns="http://www.w3.org/2000/svg"><path d="M16 2a2 2 0 00-2 2 2 2 0 00-.68 3.87A2 2 0 0012 6a2 2 0 00-1.32.47A2 2 0 009 4a2 2 0 00-2 2v.18A2 2 0 006 8a2 2 0 001.58 1.95L9 22h6l1.42-12.05A2 2 0 0018 8a2 2 0 00-2-2h-.18A2 2 0 0016 4a2 2 0 000-2z" /></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  animation: float 2.5s ease-in-out infinite;
}

.center-wrapper {
  text-align: center;
  margin-bottom: 40px;
  margin-top: 5px;
}

@keyframes flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    opacity: 1;
  }
  20%, 24%, 55% {
    opacity: 0.4;
  }
}

.download-btn {
  gap: 10px;
  padding: 14px 28px;
  font-size: 1.1rem;
  font-weight: bold;
  color: white;
  background: linear-gradient(135deg, var(--green), #229ED9);
  border: none;
  border-radius: 40px;
  overflow: hidden;
  transition: transform 0.2s ease;
  box-shadow: 0 0 10px var(--green);
}

.download-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px var(--green), 0 0 30px #229ED9;
}

.download-icon svg {
  width: 1.4em;
  height: 1.4em;
  animation: float 2s ease-in-out infinite;
}

.sparkle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  transform: scale(0);
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 0 10px 5px white;
  animation: none;
}

@keyframes sparkleAnim {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(2);
  }
}

.matatu-section {
  padding: 60px 20px;
  background: linear-gradient(to bottom right, #0c0c0c, #1a1a1a);
  display: flex;
  justify-content: center;
}

.matatu-container {
  max-width: 680px;
  width: 100%;
  background: transparent;
  text-align: center;
  animation: fadeInSlide 1s ease both;
}

.matatu-img {
  width: 300px;
  max-width: 80%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

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

.matatu-info h3 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(to right, #00ff6a, #4facfe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.matatu-info p {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #e6e6e6;
  font-weight: 400;
}

.matatu-btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(to right, #00ff6a00, #4facfe);
  border-radius: 40px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 255, 106, 0.4);
  transition: all 0.25s ease-in-out;
}

.matatu-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(0, 255, 106, 0.5);
}

/* Animation */
@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive tweaks */
@media (max-width: 540px) {
  .matatu-img {
    width: 350px;
    margin-bottom: 5px;
  }

  .matatu-info h3 {
    font-size: 1.5rem;
  }

  .matatu-info p {
    font-size: 1rem;
  }

  .matatu-btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
}
.close-btn {
  position: absolute;
  top: -50px;
  right: 0px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 50%;
  padding: 8px;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(6px);
  transition: background 0.2s ease;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.close-icon {
  width: 20px;
  height: 20px;
  stroke: white;
  transition: transform 0.2s ease;
}

.close-btn:hover .close-icon {
  transform: rotate(90deg);
}

/* Modal Overlay */
.modal-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
}

/* Show Modal */
.modal-overlay.active {
  display: flex;
}

/* Modal Box */
.modal-dialog {
  position: relative;
  width: 95%;
  max-width: 630px;
  background: rgba(255, 255, 255, 0.05);
  padding: 16px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  animation: fadeInUp 0.4s ease both;
  backdrop-filter: blur(12px);
}

/* YouTube Video Container */
.modal-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 16px;
}

.modal-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 16px;
}

/* Close Button */
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  padding: 8px;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(6px);
  transition: background 0.3s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.close-icon {
  width: 20px;
  height: 20px;
  stroke: white;
}

/* Modal Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile-friendly tweaks */
@media (max-width: 480px) {
  .modal-dialog {
    padding: 12px;
    border-radius: 16px;
  }

  .modal-video {
    padding-bottom: 60%; /* Slightly taller on tiny screens */
  }

  .modal-close {
    top: 8px;
    right: 8px;
    padding: 6px;
  }

  .close-icon {
    width: 18px;
    height: 18px;
  }
}
