* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {  
  background: #0a0a0a;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 0;
}

.btn-download {
  background: #fff;
  color: #000;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 2rem;
  padding-top: 120px;
}

.icons-viewport {
  position: relative;
  width: 90%;
  max-width: 900px;
  height: 400px;
  margin: 3rem auto;
  overflow: hidden;
}

.icons-container {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 0;
}

.icon-row {
  position: relative;
  height: 80px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.icon-track-wrapper {
  display: flex;
  position: absolute;
  width: 100%;
}

.icon-track {
  display: flex;
  gap: 50px;
  align-items: center;
  padding-right: 50px;
}

.track-left-1 { animation: scrollLeft 30s linear infinite; }
.track-right { animation: scrollRight 30s linear infinite; }
.track-left-2 { animation: scrollLeft 30s linear infinite; }

.app-icon {
  width: 80px;
  height: 80px;
  background: rgba(58, 44, 71, 0.9);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(36, 33, 33, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.app-icon:hover {
  transform: scale(1.05);
  background: rgba(80, 80, 80, 0.9);
  border-color: rgba(255, 255, 255, 0.2);
}

.app-icon img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
}

.fixed-icon-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
}

.brand-icon {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  z-index: 1;
}

.fixed-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #060107 0%, #1b131f 100%);
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 3s ease-in-out infinite;
  box-shadow: 0 0 60px rgba(255, 255, 255, 0.6);
}

.fixed-icon::before {
  content: '';
  position: absolute;
  top: -30px;
  left: -30px;
  right: -30px;
  bottom: -30px;
  background: linear-gradient(135deg, #8a5797 0%, #6c0196 100%);
  border-radius: 35px;
  filter: blur(40px);
  opacity: 0.4;
  z-index: -1;
  animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulse { 0%,100%{transform:scale(1);} 50%{transform:scale(1.05);} }
@keyframes pulseGlow { 0%,100%{opacity:0.4;transform:scale(1);} 50%{opacity:0.6;transform:scale(1.1);} }
@keyframes scrollLeft { 0%{transform:translateX(0);} 100%{transform:translateX(-50%);} }
@keyframes scrollRight { 0%{transform:translateX(-50%);} 100%{transform:translateX(0);} }

.icons-viewport::before,
.icons-viewport::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 10;
  pointer-events: none;
}

.icons-viewport::before {
  left: 0;
  background: linear-gradient(to right, #0a0a0a 0%, transparent 100%);
}
.icons-viewport::after {
  right: 0;
  background: linear-gradient(to left, #0a0a0a 0%, transparent 100%);
}

.hero-content {
  text-align: center;
  z-index: 10;
  max-width: 800px;
  margin-top: 2rem;
}

.hero-content h1 {
  font-size: 3.5rem; 
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
  background: linear-gradient(135deg, #fff 0%, #888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2rem;
}

.script-box {
  background-color: #0c0c0ca8;
  color: #c07df7;
  font-family: 'Fredoka', cursive, sans-serif !important;
  font-size: 15px;
  border: 2px solid #444;
  border-radius: 8px;
  resize: none;
  cursor: text;
  padding: 12px;
  height: 60px;
  text-align: center;
}

.script-box:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 0.2rem rgba(124, 58, 237, 0.25);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary-custom-s1 {
  padding: 0.75rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary-custom-s1 {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-primary-custom-s1:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.second-section {
    padding: 80px 20px;
    background: #0a0a0a;
    text-align: center;
}

.second-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #da8bff 0%, #5b0097 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.second-section .lead {
    color: #a0a0a0;
    font-size: 1.1rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(186, 102, 234, 0.1);
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #764ba2, transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(198, 76, 255, 0.05);
    border-color: rgba(170, 102, 234, 0.3);
}

.feature-card:hover::before {
    transform: translateX(0);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #da8bff 0%, #5b0097 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-card h4 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    color: #a0a0a0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.btn-primary-custom {
    background: linear-gradient(135deg, #cd62ff 0%, #5b0097 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(198, 76, 255, 0.05);
}

.btn-secondary-custom {
    background: transparent;
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
}

.btn-secondary-custom:hover {
    background: rgba(198, 53, 255, 0.322);
    transform: translateY(-2px);
}

#gamesContainer {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
#gamesContainer::-webkit-scrollbar {
  display: none;
}

@media (max-width: 768px) {
  .hero-content h1 { font-size: 2.5rem; }
  .app-icon { width: 50px; height: 50px; }
  .app-icon img { width: 35px; height: 35px; }
  .fixed-icon { width: 70px; height: 70px; }
  .icons-viewport { height: 300px; }
}
