/**
 * WARDOGS — New Section Styles
 * ToonPay partnership, DogHaus game, Testimonials, Social Proof
 * All rules scoped to .ics-site
 */


/* ═══════════════════════════════════════════════
   TOONPAY PARTNERSHIP SECTION
   ═══════════════════════════════════════════════ */

.ics-site .wd-section--toonpay {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ics-site .wd-toonpay__subtitle {
  color: var(--wd-text-muted);
  font-family: var(--wd-font-body);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  max-width: 500px;
  margin: 1rem auto 0;
}

/* Feature layout: card + copy */
.ics-site .wd-toonpay__feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  margin-top: clamp(40px, 6vh, 72px);
  text-align: left;
}

/* Card stage */
.ics-site .wd-toonpay__card-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.ics-site .wd-toonpay__card-wrap {
  position: relative;
  perspective: 800px;
}

.ics-site .wd-toonpay__particles {
  position: absolute;
  top: -60px;
  left: -60px;
  width: calc(100% + 120px);
  height: calc(100% + 120px);
  pointer-events: none;
  z-index: 1;
}

/* The Card */
.ics-site .wd-toonpay__card {
  position: relative;
  width: 340px;
  height: 214px;
  z-index: 2;
  transform-style: preserve-3d;
  will-change: transform;
}

.ics-site .wd-toonpay__card-face {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background: linear-gradient(135deg, #0D0C12 0%, #1a1528 40%, #0D0C12 100%);
  border: 1px solid rgba(201, 168, 76, 0.3);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(201, 168, 76, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: var(--wd-font-mono);
  color: var(--wd-text);
  overflow: hidden;
}

/* Card holographic shimmer overlay */
.ics-site .wd-toonpay__card-face::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(201, 168, 76, 0.06) 30%,
    rgba(35, 184, 90, 0.04) 45%,
    rgba(19, 109, 205, 0.04) 55%,
    rgba(240, 23, 222, 0.03) 70%,
    transparent 80%
  );
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.ics-site .wd-toonpay__card-wrap:hover .wd-toonpay__card-face::before {
  opacity: 1;
}

.ics-site .wd-toonpay__card-chip {
  width: 36px;
  height: 26px;
  border-radius: 5px;
  background: linear-gradient(135deg, #c9a84c 0%, #8a6b28 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}

.ics-site .wd-toonpay__card-logo {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.ics-site .wd-toonpay__card-brand {
  font-family: var(--wd-font-display);
  font-size: 1.3rem;
  letter-spacing: 3px;
  background: linear-gradient(90deg, #23B85A, #136DCD, #F017DE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ics-site .wd-toonpay__card-tier {
  font-size: 0.55rem;
  letter-spacing: 3px;
  color: var(--wd-gold);
  text-transform: uppercase;
}

.ics-site .wd-toonpay__card-number {
  font-size: 1.05rem;
  letter-spacing: 4px;
  color: var(--wd-text-muted);
}

.ics-site .wd-toonpay__card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.ics-site .wd-toonpay__card-name {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--wd-text-muted);
}

.ics-site .wd-toonpay__card-visa {
  font-family: var(--wd-font-display);
  font-size: 1.3rem;
  letter-spacing: 2px;
  color: var(--wd-text);
  opacity: 0.7;
}

/* Pug — hidden off-screen left, scroll-driven entrance */
.ics-site .wd-toonpay__pug {
  position: absolute;
  bottom: -10px;
  left: -200px;
  width: 160px;
  z-index: 10;
  opacity: 0;
  will-change: transform;
}

.ics-site .wd-toonpay__pug-svg {
  width: 100%;
  height: auto;
}

/* Pug leg running animation */
@keyframes wd-pug-run-fl {
  0%, 100% { transform: rotate(-20deg); }
  50% { transform: rotate(20deg); }
}
@keyframes wd-pug-run-bl {
  0%, 100% { transform: rotate(20deg); }
  50% { transform: rotate(-20deg); }
}
@keyframes wd-pug-tongue {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.7); }
}

.wd-toonpay__pug--running .wd-toonpay__pug-leg--fl,
.wd-toonpay__pug--running .wd-toonpay__pug-leg--br {
  animation: wd-pug-run-fl 0.25s ease-in-out infinite;
  transform-origin: top center;
}

.wd-toonpay__pug--running .wd-toonpay__pug-leg--fr,
.wd-toonpay__pug--running .wd-toonpay__pug-leg--bl {
  animation: wd-pug-run-bl 0.25s ease-in-out infinite;
  transform-origin: top center;
}

.wd-toonpay__pug--running .wd-toonpay__pug-tongue {
  animation: wd-pug-tongue 0.3s ease-in-out infinite;
  transform-origin: top center;
}

.wd-toonpay__pug--running .wd-toonpay__pug-tail {
  animation: wd-pug-run-fl 0.2s ease-in-out infinite;
  transform-origin: bottom right;
}

/* Copy area */
.ics-site .wd-toonpay__copy h3 {
  font-family: var(--wd-font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.ics-site .wd-toonpay__copy p {
  color: var(--wd-text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.ics-site .wd-toonpay__perks {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.ics-site .wd-toonpay__perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-family: var(--wd-font-mono);
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: var(--wd-text);
  border-bottom: 1px solid var(--wd-border);
}

.ics-site .wd-toonpay__perk-icon {
  font-size: 1rem;
  color: var(--wd-gold);
}

/* CTAs */
.ics-site .wd-toonpay__ctas {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ics-site .wd-toonpay__app-links {
  display: flex;
  gap: 12px;
}

.ics-site .wd-toonpay__store-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--wd-border);
  border-radius: 8px;
  color: var(--wd-text-muted);
  font-family: var(--wd-font-mono);
  font-size: 0.65rem;
  letter-spacing: 1px;
  text-decoration: none;
  transition: border-color var(--ics-dur-sm) var(--ics-ease-smooth),
              color var(--ics-dur-sm) var(--ics-ease-smooth);
}

.ics-site .wd-toonpay__store-badge:hover {
  border-color: var(--wd-gold-dim);
  color: var(--wd-text);
}

/* Stats row */
.ics-site .wd-toonpay__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(40px, 6vh, 72px);
  background: var(--wd-border);
  border: 1px solid var(--wd-border);
  border-radius: 12px;
  overflow: hidden;
}

.ics-site .wd-toonpay__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: clamp(20px, 3vh, 32px) 16px;
  background: var(--wd-bg-card);
  text-align: center;
}

.ics-site .wd-toonpay__stat-value {
  font-family: var(--wd-font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--wd-gold);
  letter-spacing: 2px;
}

.ics-site .wd-toonpay__stat-label {
  font-family: var(--wd-font-mono);
  font-size: 0.6rem;
  letter-spacing: 3px;
  color: var(--wd-text-muted);
}


/* ═══════════════════════════════════════════════
   DOGHAUS GAME SECTION
   ═══════════════════════════════════════════════ */

.ics-site .wd-section--doghaus {
  text-align: center;
  position: relative;
}

.ics-site .wd-doghaus__tagline {
  color: var(--wd-text-muted);
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  margin-top: 0.8rem;
}

/* Video frame */
.ics-site .wd-doghaus__video-wrap {
  max-width: 960px;
  margin: clamp(32px, 5vh, 56px) auto 0;
}

.ics-site .wd-doghaus__video-frame {
  position: relative;
  border: 1px solid var(--wd-border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--wd-bg-subtle);
}

.ics-site .wd-doghaus__video-frame .wd-corner {
  z-index: 3;
}

.ics-site .wd-doghaus__video-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ics-site .wd-doghaus__video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 2;
  background: rgba(8, 8, 7, 0.4);
}

.ics-site .wd-doghaus__play-btn {
  width: 80px;
  height: 80px;
  color: var(--wd-gold);
  background: none;
  border: none;
  cursor: pointer;
  transition: transform var(--ics-dur-sm) var(--ics-ease-smooth),
              color var(--ics-dur-sm);
}

.ics-site .wd-doghaus__play-btn:hover {
  transform: scale(1.15);
  color: #fff;
}

.ics-site .wd-doghaus__play-btn svg {
  width: 100%;
  height: 100%;
}

.ics-site .wd-doghaus__video-label {
  font-family: var(--wd-font-mono);
  font-size: 0.7rem;
  letter-spacing: 4px;
  color: var(--wd-text-muted);
}

/* Animated shimmer background */
.ics-site .wd-doghaus__video-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    var(--wd-bg) 0%,
    var(--wd-bg-card) 25%,
    var(--wd-bg-subtle) 50%,
    var(--wd-bg-card) 75%,
    var(--wd-bg) 100%
  );
  background-size: 200% 100%;
  animation: wd-shimmer 3s ease-in-out infinite;
}

@keyframes wd-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Game description grid */
.ics-site .wd-doghaus__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  text-align: left;
  margin-top: clamp(40px, 6vh, 72px);
}

.ics-site .wd-doghaus__concept h3 {
  font-family: var(--wd-font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.ics-site .wd-doghaus__concept p {
  color: var(--wd-text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Feature list */
.ics-site .wd-doghaus__features {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 1.5rem;
}

.ics-site .wd-doghaus__feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--wd-border);
}

.ics-site .wd-doghaus__feature-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.ics-site .wd-doghaus__feature strong {
  display: block;
  font-family: var(--wd-font-cond);
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--wd-text);
}

.ics-site .wd-doghaus__feature span {
  font-size: 0.8rem;
  color: var(--wd-text-muted);
}

/* Phone mockup */
.ics-site .wd-doghaus__mockup {
  display: flex;
  justify-content: center;
}

.ics-site .wd-doghaus__phone {
  position: relative;
  width: 260px;
  border: 2px solid var(--wd-border-strong);
  border-radius: 32px;
  background: var(--wd-bg);
  padding: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}

.ics-site .wd-doghaus__phone-notch {
  width: 100px;
  height: 24px;
  background: var(--wd-bg);
  border-radius: 0 0 16px 16px;
  margin: -12px auto 8px;
  border: 1px solid var(--wd-border);
  border-top: none;
}

.ics-site .wd-doghaus__phone-screen {
  aspect-ratio: 9 / 19;
  border-radius: 20px;
  overflow: hidden;
  background: var(--wd-bg-subtle);
}

.ics-site .wd-doghaus__screen-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Lifestyle gallery */
.ics-site .wd-doghaus__gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: clamp(32px, 5vh, 56px);
}

.ics-site .wd-doghaus__gallery-item {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--wd-border);
}

.ics-site .wd-doghaus__gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--ics-dur-lg) var(--ics-ease-smooth);
}

.ics-site .wd-doghaus__gallery-item:hover img {
  transform: scale(1.06);
}

/* Investor callout */
.ics-site .wd-doghaus__callout {
  margin-top: clamp(32px, 5vh, 56px);
}

.ics-site .wd-doghaus__callout-inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--wd-bg-card);
  border: 1px solid var(--wd-border);
  border-left: 3px solid var(--wd-red);
  border-radius: 8px;
  padding: 20px 24px;
  text-align: left;
}

.ics-site .wd-doghaus__callout-inner .wd-red-sq {
  margin-top: 5px;
  flex-shrink: 0;
}

.ics-site .wd-doghaus__callout-inner p {
  color: var(--wd-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.ics-site .wd-doghaus__callout-inner strong {
  color: var(--wd-text);
}


/* ═══════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════ */

.ics-site .wd-section--testimonials {
  text-align: center;
}

.ics-site .wd-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: clamp(32px, 5vh, 56px);
  text-align: left;
}

.ics-site .wd-testimonial {
  background: var(--wd-bg-card);
  border: 1px solid var(--wd-border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color var(--ics-dur-sm) var(--ics-ease-smooth);
}

.ics-site .wd-testimonial:hover {
  border-color: var(--wd-border-strong);
}

/* Video thumbnail */
.ics-site .wd-testimonial__video {
  position: relative;
  cursor: pointer;
}

.ics-site .wd-testimonial__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ics-site .wd-testimonial__avatar-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ics-site .wd-testimonial__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  opacity: 0.8;
  transition: opacity var(--ics-dur-xs), transform var(--ics-dur-sm) var(--ics-ease-smooth);
}

.ics-site .wd-testimonial:hover .wd-testimonial__play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.ics-site .wd-testimonial__duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-family: var(--wd-font-mono);
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
}

/* Info */
.ics-site .wd-testimonial__info {
  padding: 14px 16px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ics-site .wd-testimonial__name {
  font-family: var(--wd-font-cond);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--wd-text);
}

.ics-site .wd-testimonial__detail {
  font-family: var(--wd-font-mono);
  font-size: 0.6rem;
  letter-spacing: 2px;
  color: var(--wd-text-muted);
}

/* Quote */
.ics-site .wd-testimonial__quote {
  padding: 10px 16px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--wd-text-muted);
  font-style: italic;
}

/* Stars */
.ics-site .wd-testimonial__stars {
  padding: 0 16px 16px;
  font-size: 0.8rem;
  color: var(--wd-gold);
  letter-spacing: 2px;
}


/* ═══════════════════════════════════════════════
   SOCIAL PROOF SCROLLING STRIP
   ═══════════════════════════════════════════════ */

.ics-site .wd-social-proof {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
  /* Fade masks on left and right edges */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
}

.ics-site .wd-social-proof__track {
  display: flex;
  gap: 16px;
  white-space: nowrap;
  will-change: transform;
}

.ics-site .wd-social-proof__card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--wd-bg-card);
  border: 1px solid var(--wd-border);
  border-radius: 100px;
  font-family: var(--wd-font-mono);
  font-size: 0.7rem;
  letter-spacing: 1px;
  color: var(--wd-text);
  white-space: nowrap;
  flex-shrink: 0;
}

.ics-site .wd-social-proof__icon {
  font-size: 1rem;
}

.ics-site .wd-social-proof__source {
  color: var(--wd-text-muted);
  font-size: 0.6rem;
}


/* ═══════════════════════════════════════════════
   RESPONSIVE — NEW SECTIONS
   ═══════════════════════════════════════════════ */

@media (max-width: 768px) {
  .ics-site .wd-toonpay__feature {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ics-site .wd-toonpay__card-stage {
    min-height: 300px;
  }

  .ics-site .wd-toonpay__card {
    width: 280px;
    height: 176px;
  }

  .ics-site .wd-toonpay__copy {
    text-align: left;
  }

  .ics-site .wd-toonpay__app-links {
    flex-wrap: wrap;
  }

  .ics-site .wd-toonpay__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .ics-site .wd-doghaus__grid {
    grid-template-columns: 1fr;
  }

  .ics-site .wd-doghaus__mockup {
    order: -1;
  }

  .ics-site .wd-doghaus__phone {
    width: 220px;
  }

  .ics-site .wd-doghaus__gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .ics-site .wd-testimonials__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .ics-site .wd-toonpay__card {
    width: 240px;
    height: 151px;
  }

  .ics-site .wd-toonpay__card-face {
    padding: 16px 20px;
  }

  .ics-site .wd-toonpay__stats {
    grid-template-columns: 1fr 1fr;
  }

  .ics-site .wd-social-proof__card {
    font-size: 0.6rem;
    padding: 8px 14px;
  }
}
