:root {
  --bg-color: #faf8fd;
  --text-primary: #1e1b26;
  --text-secondary: #645a77;
  --twitch-color: #9146FF;
  --kick-color: #53FC18;
  
  --card-bg: #ffffff;
  --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 40px rgba(145, 70, 255, 0.15);
  
  --gradient-marquee: linear-gradient(90deg, #5EE7DF, #B490CA, #FFB88C);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Quicksand', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4 {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  line-height: 1.1;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Moving Background */
.moving-bg {
  position: fixed;
  top: 0; left: 0; width: 200vw; height: 200vh;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20,30 Q30,10 40,30 T60,30' stroke='rgba(145, 70, 255, 0.05)' fill='none' stroke-width='4' stroke-linecap='round'/%3E%3Ccircle cx='80' cy='70' r='5' fill='rgba(255, 184, 140, 0.08)'/%3E%3C/svg%3E");
  background-size: 150px;
  animation: bg-scroll 60s linear infinite;
  pointer-events: none;
}

@keyframes bg-scroll {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-50%, -50%); }
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  background: rgba(250, 248, 253, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-family: 'Nunito', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links { display: flex; align-items: center; gap: 2rem; font-weight: 700; color: var(--text-secondary); }
.nav-links a:hover { color: var(--twitch-color); }

/* Top Light Bar */
.top-light-bar {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #5EE7DF, #B490CA, #FFB88C, #5EE7DF);
  background-size: 300% 100%;
  animation: gradient-shift 8s ease infinite;
  box-shadow: 0 2px 10px rgba(180, 144, 202, 0.3);
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Hero Section (Bento Layout) */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 5% 6rem;
  max-width: 1300px;
  margin: 0 auto;
  gap: 4rem;
}

.hero-left {
  flex: 1;
  max-width: 550px;
}

.hero-left h1 {
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  line-height: 1.15;
}

/* Bouncing Rainbow Wave Text Effect */
.wave-char {
  display: inline-block;
  color: var(--text-primary);
  animation: wave-bounce 4s infinite;
  transform-origin: bottom center;
}

@keyframes wave-bounce {
  0%, 25%, 100% { 
    transform: translateY(0); 
    color: var(--text-primary); 
  }
  5% { 
    transform: translateY(-15px); 
    color: #9146FF; /* Twitch Purple */
  }
  10% { 
    transform: translateY(-15px); 
    color: #A27BFA; /* Lighter Purple */
  }
  15% { 
    transform: translateY(-10px); 
    color: #4A90E2; /* Deep Blue */
  }
  20% { 
    transform: translateY(0); 
    color: #5EE7DF; /* Cyan / Light Blue */
  }
}

.hero-left p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-weight: 500;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background: var(--text-primary);
  color: #fff;
  font-weight: 800;
  font-family: 'Nunito', sans-serif;
  padding: 1rem 2.5rem;
  border-radius: 100px;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  background: var(--twitch-color);
  box-shadow: var(--shadow-hover);
}

/* Bento Grid */
.hero-right {
  flex: 1.2;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 180px);
  gap: 1.5rem;
}

.bento-item {
  background: var(--card-bg);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.bento-item:hover {
  transform: translateY(-5px);
}

.bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bento-large {
  grid-column: span 2;
  grid-row: span 2;
  background: linear-gradient(135deg, #FFB88C, #DE6262);
}

.bento-large img {
  object-fit: contain;
  padding: 1rem;
  transform: scale(1.1);
}

.bento-tall {
  grid-column: span 1;
  grid-row: span 2;
  background: linear-gradient(135deg, #B490CA, #5EE7DF);
}

.bento-tall img { object-fit: contain; padding: 1rem; }

.bento-small {
  display: none; /* Hide third block if only 2 slots, adjust based on design */
}

.bento-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(255,255,255,0.9);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--twitch-color);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Infinite Marquee */
.marquee-wrapper {
  background: var(--gradient-marquee);
  color: white;
  padding: 1rem 0;
  transform: rotate(-1.5deg) scale(1.02);
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  margin-bottom: 5rem;
  z-index: 10;
}

.marquee {
  display: flex;
  width: max-content;
}

.marquee-content {
  display: flex;
  animation: scroll-left 25s linear infinite;
}

.marquee-content span {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 0 2rem;
  white-space: nowrap;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Shop Section */
.section {
  padding: 3rem 5% 8rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-header h2 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.section-header p { font-size: 1.1rem; color: var(--text-secondary); font-weight: 500; }

/* Neostreamshop Style Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  border: 1px solid #eaeaea;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.card-image-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafc;
  border-bottom: 1px solid #eaeaea;
  padding: 1rem;
}

.card-image-wrap img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .card-image-wrap img {
  transform: scale(1.05);
}

.card-content {
  padding: 1rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #2b2b2b;
  margin-bottom: 0.3rem;
}

.product-desc {
  color: #777;
  font-size: 0.82rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.product-price-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #fff8e1;
  color: #d4a017;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.3rem 0.6rem;
  border-radius: 10px;
}

.coin-icon {
  font-size: 1.1rem;
}

.btn-dark-small {
  background: #1a1a2e;
  color: white;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.45rem 0.9rem;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-dark-small:hover {
  background: var(--twitch-color);
  transform: translateY(-2px);
}

/* =========================================
   NEW HOMEPAGE TRUST SECTIONS
   ========================================= */

/* How it Works Cards */
#how-it-works .info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.info-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 32px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(145, 70, 255, 0.08);
  text-align: left;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.info-card:hover { 
  transform: translateY(-10px); 
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 50px rgba(145, 70, 255, 0.15);
}

.info-card::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 150px; height: 150px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.5;
  z-index: -1;
}

.info-card-purple::before { background: var(--twitch-color); }
.info-card-blue::before { background: #5EE7DF; }
.info-card-green::before { background: var(--kick-color); }

.info-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  background: #f1ecff;
  width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px;
}

.info-card h3 { font-size: 1.4rem; margin-bottom: 1rem; color: var(--text-primary); }
.info-card p { color: var(--text-secondary); font-weight: 500; font-size: 1.05rem; }

/* Mock Stream UI */
.mock-stream-section {
  position: relative;
  border-radius: 40px;
  padding: 5rem 5%;
  margin: 6rem auto;
  overflow: hidden;
}

.mock-stream-section::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(145, 70, 255, 0.05), rgba(83, 252, 24, 0.05));
  z-index: -1;
  border-radius: 40px;
}

.mock-stream-container {
  display: flex;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(145, 70, 255, 0.15);
  max-width: 1000px;
  margin: 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.8);
  height: 500px;
}

.mock-video {
  flex: 1;
  position: relative;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h40v40H0V0zm20 20h20v20H20V20zM0 20h20v20H0V20z' fill='%23e6e0f8' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.mock-widget {
  position: absolute;
  bottom: 30px;
  right: 30px;
  width: 180px;
  animation: float-soft 6s ease-in-out infinite;
}

.mock-widget img { width: 100%; filter: drop-shadow(0 15px 25px rgba(0,0,0,0.15)); }

.mock-widget-message {
  position: absolute;
  top: -45px; right: -10px;
  background: rgba(255,255,255,0.95); color: var(--text-primary);
  padding: 0.6rem 1.2rem; border-radius: 20px;
  font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 0.85rem;
  box-shadow: 0 10px 25px rgba(145, 70, 255, 0.2);
  white-space: nowrap;
  animation: bounce-subtle 3s infinite;
}

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

@keyframes bounce-subtle {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.mock-chat {
  width: 320px;
  background: rgba(250, 248, 253, 0.9);
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(145, 70, 255, 0.1);
}

.chat-header {
  padding: 1.2rem; text-align: center; color: var(--text-primary);
  font-weight: 900; font-family: 'Nunito', sans-serif;
  border-bottom: 1px solid rgba(145, 70, 255, 0.1); letter-spacing: 1px;
}

.chat-messages {
  flex: 1; padding: 1.2rem; color: var(--text-secondary);
  font-size: 0.95rem; display: flex; flex-direction: column; gap: 1rem;
}

.user { font-weight: bold; }
.user-1 { color: #FF8280; }
.user-2 { color: #00FF7F; }
.user-3 { color: #1E90FF; }

.chat-input {
  margin: 1.2rem; padding: 1rem;
  background: white; color: var(--text-secondary);
  border-radius: 12px; font-size: 0.9rem;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.02);
  border: 1px solid rgba(145, 70, 255, 0.1);
}

/* Featured Teaser */
.featured-teaser { text-align: center; }
.featured-grid {
  display: flex; justify-content: center; gap: 2rem; margin-bottom: 3rem;
}
.featured-grid .bento-item { width: 250px; height: 250px; }

.explore-btn-container { margin-top: 3rem; }
.btn-gradient-glow {
  display: inline-block;
  padding: 1.2rem 3.5rem;
  font-size: 1.3rem;
  font-family: 'Nunito', sans-serif; font-weight: 900;
  color: white; border-radius: 100px;
  background: linear-gradient(90deg, #9146FF, #FFB88C, #5EE7DF, #9146FF);
  background-size: 300% 100%;
  animation: gradient-shift 4s ease infinite;
  box-shadow: 0 10px 30px rgba(145, 70, 255, 0.4);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.btn-gradient-glow:hover { transform: scale(1.05); }

/* Reviews (Wall of Love) */
.reviews-section {
  position: relative;
  padding: 8rem 5%;
  margin-bottom: 6rem; text-align: center;
}

.reviews-section::before {
  content: ''; position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 100vw; height: 100%;
  background: linear-gradient(180deg, transparent, rgba(255, 184, 140, 0.05), transparent);
  z-index: -1;
}

.gradient-text-massive {
  font-size: clamp(3rem, 6vw, 4rem);
  background: linear-gradient(90deg, #9146FF, #5EE7DF);
  -webkit-background-clip: text; color: transparent;
  line-height: 1.2; margin-bottom: 1rem;
}

.reviews-marquee-wrapper {
  overflow: hidden;
  margin-top: 5rem;
  padding: 1rem 0; /* Space for box-shadows */
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.reviews-marquee-track {
  display: flex;
  width: max-content;
}

.reviews-marquee-content {
  display: flex;
  gap: 2rem;
  padding-right: 2rem;
  animation: scroll-left-reviews 35s linear infinite;
  flex-shrink: 0;
}

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

@keyframes scroll-left-reviews {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.premium-review-card {
  width: 350px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2.5rem;
  border-radius: 32px; 
  box-shadow: 0 15px 35px rgba(0,0,0,0.03);
  border: 1px solid rgba(255,255,255,1);
  transition: transform 0.3s ease;
}

.premium-review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(145, 70, 255, 0.08);
}

.premium-review-card .stars { color: #FFD700; margin-bottom: 1.5rem; font-size: 1.3rem; letter-spacing: 2px; }
.premium-review-card p { font-size: 1.1rem; color: var(--text-primary); margin-bottom: 2rem; line-height: 1.7; font-weight: 500; }

.author-info {
  display: flex; align-items: center; gap: 1rem;
}

.author-avatar {
  width: 45px; height: 45px;
  border-radius: 50%;
  color: white; font-weight: 900; font-family: 'Nunito';
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.author-name { font-weight: 800; color: var(--text-primary); font-family: 'Nunito'; font-size: 1.1rem; }

/* Footer */
footer {
  background: white;
  padding: 4rem 5% 2rem;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-content {
  text-align: center;
  margin-bottom: 3rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links { display: flex; gap: 1.5rem; }

/* Responsive */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  /* Navbar */
  .navbar { flex-direction: column; gap: 1rem; padding: 1rem; }
  .nav-links { flex-wrap: wrap; justify-content: center; gap: 1rem; }

  /* Hero & Bento */
  .hero { flex-direction: column; text-align: center; padding-top: 2rem; }
  .hero-left p { margin-left: auto; margin-right: auto; }
  .bento-grid { grid-template-columns: 1fr; grid-template-rows: auto auto; }
  .bento-large, .bento-tall { grid-column: span 1; grid-row: span 1; height: 300px; }
  
  /* Product Grid */
  .product-grid { grid-template-columns: repeat(2, 1fr); max-width: 100%; margin: 0; }
  
  /* Mock Stream */
  .mock-stream-container { flex-direction: column; height: auto; }
  .mock-chat { width: 100%; border-left: none; border-top: 1px solid #303032; height: 300px; }
  .mock-video { height: 300px; }
  
  .featured-grid { flex-direction: column; align-items: center; }
}

@media (max-width: 600px) {
  .product-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .shop-page-title h1 { font-size: 2.2rem; }
  .shop-page-title p { font-size: 1.1rem; }
}

