:root {
  --primary: hsl(210, 100%, 60%);
  --secondary: hsl(280, 100%, 60%);
  --dark-bg: hsl(220, 20%, 8%);
  --panel-bg: rgba(25, 30, 40, 0.6);
  --text-main: hsl(0, 0%, 95%);
  --text-muted: hsl(220, 10%, 65%);
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: radial-gradient(circle at top left, hsl(220, 40%, 15%), var(--dark-bg) 60%);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 2rem;
  transition: color 0.3s ease;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--primary);
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 4rem 2rem;
  gap: 4rem;
  overflow: hidden;
}

/* Marquee Styles */
.marquee-section {
  width: 100vw;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.marquee-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 2rem;
  color: var(--text-main);
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  /* Add fade gradient on edges */
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
  display: flex;
  width: max-content;
  animation: scrollLeft 20s linear infinite;
  gap: 2rem;
}

.marquee-content:hover {
  animation-play-state: paused;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    /* Translate by exactly half since we duplicated the items */
    transform: translateX(calc(-50% - 1rem));
  }
}

.comparison-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--panel-bg);
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.image-wrapper {
  position: relative;
  width: 250px;
  height: 250px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  box-sizing: border-box;
  padding: 1rem;
}

.placeholder-img span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.label.before {
  background: rgba(30, 40, 50, 0.85);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.label.after {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
}

.arrow {
  font-size: 2rem;
  color: var(--primary);
  font-weight: bold;
}

.glass-panel {
  background: var(--panel-bg);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 4rem;
  max-width: 800px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  animation: floatIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

p.subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  text-decoration: none;
  padding: 1rem 2.5rem;
  border-radius: 99px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(52, 152, 219, 0.4);
}

.support-content {
  text-align: left;
}

.support-content h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.support-content p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.support-content a {
  color: var(--primary);
  text-decoration: none;
}

.support-content a:hover {
  text-decoration: underline;
}

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

footer {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Scrolling Wallpaper Background */
.scrolling-wallpaper-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  display: flex;
  justify-content: space-around;
  gap: 1.5rem;
  padding: 0 1.5rem;
  overflow: hidden;
  opacity: 1; /* Keep container at 1 so overlay works correctly */
  pointer-events: none;
}

.wallpaper-column-wrapper {
  width: 30%;
  height: 100%;
  overflow: visible;
  will-change: transform;
  transition: transform 0.1s cubic-bezier(0.25, 1, 0.5, 1);
}

.col-1-wrapper {
  transform: translateY(calc(var(--scroll-y, 0px) * -0.3));
}

.col-2-wrapper {
  transform: translateY(calc(var(--scroll-y, 0px) * 0.2));
}

.col-3-wrapper {
  transform: translateY(calc(var(--scroll-y, 0px) * -0.4));
}

.wallpaper-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  height: max-content;
}

.wallpaper-column img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  filter: grayscale(10%) contrast(110%);
  opacity: 0.35; /* Increased opacity from 0.15 to 0.35 so graphics are clearly visible */
  transition: opacity 0.3s ease;
}

/* Scroll Animations */
.col-1 {
  animation: scrollUp 40s linear infinite;
}

.col-2 {
  animation: scrollDown 45s linear infinite;
}

.col-3 {
  animation: scrollUp 50s linear infinite;
}

@keyframes scrollUp {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

@keyframes scrollDown {
  0% {
    transform: translateY(-50%);
  }
  100% {
    transform: translateY(0);
  }
}

.wallpaper-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 20%, var(--dark-bg) 85%);
  z-index: 1;
}


/* Products section */
.products-section { position: relative; z-index: 2; padding: 60px 20px 80px; max-width: 1200px; margin: 0 auto; }
.products-subtitle { text-align: center; color: #cbd5e1; margin: -10px auto 36px; max-width: 640px; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.product-card { background: rgba(20, 22, 34, 0.82); border: 1px solid rgba(255,255,255,0.1); border-radius: 18px; padding: 18px; text-align: center; backdrop-filter: blur(8px); }
.product-card img { width: 100%; height: 320px; object-fit: contain; border-radius: 12px; background: rgba(255,255,255,0.04); }
.product-card h3 { margin: 14px 0 6px; color: #fff; }
.product-card p { color: #cbd5e1; font-size: 0.95rem; line-height: 1.45; }


/* Cover carousel */
.cover-carousel { position: relative; width: 100%; height: 320px; }
.cover-carousel img { position: absolute; inset: 0; width: 100%; height: 320px; object-fit: contain; border-radius: 12px; background: rgba(255,255,255,0.04); opacity: 0; transition: opacity 0.9s ease; }
.cover-carousel img.active { opacity: 1; }


/* Hero */
.glass-panel.hero { position: relative; overflow: hidden; }
.glass-panel.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.14) 1.2px, transparent 1.3px);
  background-size: 18px 18px; opacity: 0.35;
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 72%);
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 72%);
}
.hero-kicker { text-transform: uppercase; letter-spacing: 3px; font-size: 0.85rem; font-weight: 800;
  color: #FFD700; margin-bottom: 14px; }
.hero-title { font-family: 'Bangers', 'Inter', sans-serif; font-weight: 400;
  font-size: clamp(3.2rem, 9vw, 6rem); line-height: 0.95; letter-spacing: 2px;
  color: #fff; text-shadow: 4px 4px 0 #14141e, 7px 7px 0 rgba(124, 77, 255, 0.55); }
.hero-title span { color: #FFD700; text-shadow: 4px 4px 0 #14141e, 7px 7px 0 rgba(255, 87, 34, 0.6); }
.glass-panel.hero .subtitle { max-width: 620px; margin-left: auto; margin-right: auto; }
.glass-panel.hero .cta-button.cta-web { background: transparent; color: #FFD700; border: 2px solid #FFD700; margin-left: 10px; }
.glass-panel.hero .cta-button { background: #FFD700; color: #14141e; font-weight: 800;
  border: 3px solid #14141e; box-shadow: 6px 6px 0 #14141e; border-radius: 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease; }
.glass-panel.hero .cta-button:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 #14141e; }
.hero-note { margin-top: 12px; font-size: 0.85rem; color: #94a3b8; }
