/* ==========================================================================
   MySunDirection — YouTube Showcase, Shorts Marquee, MYLINEHUB Story & MathGuide Stripe
   Theme: Celestial Dark Navy (#080f20), Solar Gold (#f4aa25, #ffcf77), Crisp Steel
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Orbit Carousel YouTube TV Panels
   -------------------------------------------------------------------------- */
#process .orbit-item {
  pointer-events: none;
}

#process .orbit-item:not(.orbit-hidden) {
  pointer-events: auto;
}

#process .orbit-panel-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  cursor: pointer;
  color: inherit;
}

#process .orbit-image-frame img {
  padding: 0 !important;
  object-fit: cover !important;
  width: 100% !important;
  height: 100% !important;
}

/* Play button centered on TV panel */
.orbit-play-indicator {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  z-index: 5;
  pointer-events: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(8, 15, 32, 0.78);
  border: 1.5px solid rgba(244, 170, 37, 0.75);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55), 0 0 14px rgba(244, 170, 37, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.orbit-play-icon {
  color: #f7bb38;
  font-size: 16px;
  line-height: 1;
  margin-left: 3px;
  display: block;
}

/* Front active card styling */
#process .orbit-item.is-front .orbit-play-indicator {
  transform: translate(-50%, -50%) scale(1.15);
  background: rgba(244, 170, 37, 0.95);
  border-color: #ffdf97;
  box-shadow: 0 6px 28px rgba(244, 170, 37, 0.7), 0 0 20px rgba(244, 170, 37, 0.9);
}

#process .orbit-item.is-front .orbit-play-icon {
  color: #080f20;
}

/* Hover effect on TV panel */
#process .orbit-panel-link:hover .orbit-play-indicator {
  transform: translate(-50%, -50%) scale(1.25);
  background: #ff0033 !important;
  border-color: #ffffff !important;
  box-shadow: 0 6px 30px rgba(255, 0, 51, 0.75), 0 0 22px rgba(255, 0, 51, 0.6) !important;
}

#process .orbit-panel-link:hover .orbit-play-icon {
  color: #ffffff !important;
}

/* YouTube Call-to-action Pill */
.orbit-yt-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  background: rgba(8, 15, 32, 0.9);
  border: 1px solid rgba(244, 170, 37, 0.6);
  border-radius: 999px;
  padding: 4px 11px;
  font: 700 11px/1.2 'Inter', system-ui, sans-serif;
  color: #ffdf9e;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
}

#process .orbit-item.is-front .orbit-yt-pill,
#process .orbit-panel-link:hover .orbit-yt-pill {
  background: rgba(244, 170, 37, 0.25);
  border-color: #ffc968;
  color: #ffffff;
  box-shadow: 0 2px 12px rgba(244, 170, 37, 0.35);
}

/* --------------------------------------------------------------------------
   2. YouTube Shorts Marquee Section
   -------------------------------------------------------------------------- */
.shorts-section {
  position: relative;
  padding: 85px 0 70px;
  background: linear-gradient(180deg, #080f20 0%, #060c1a 50%, #080f20 100%);
  overflow: hidden;
  border-top: 1px solid rgba(244, 170, 37, 0.12);
  border-bottom: 1px solid rgba(244, 170, 37, 0.12);
}

.shorts-heading {
  margin-bottom: 35px;
}

.shorts-marquee-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 0 30px;
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

.shorts-fade-edge {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 10;
  pointer-events: none;
}

.shorts-fade-edge.left {
  left: 0;
  background: linear-gradient(90deg, #080f20 0%, transparent 100%);
}

.shorts-fade-edge.right {
  right: 0;
  background: linear-gradient(270deg, #080f20 0%, transparent 100%);
}

.shorts-marquee-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: shortsMarqueeScroll 80s linear infinite;
  will-change: transform;
}

.shorts-marquee-track:hover,
.shorts-marquee-track:focus-within {
  animation-play-state: paused;
}

@keyframes shortsMarqueeScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Individual Short Card (9:16 Aspect Ratio) */
.short-card {
  flex: 0 0 215px;
  width: 215px;
  text-decoration: none;
  display: block;
  border-radius: 16px;
  position: relative;
  background: #0a1324;
  border: 1.5px solid rgba(244, 170, 37, 0.32);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.short-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: #f7bb38;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7), 0 0 26px rgba(244, 170, 37, 0.32);
}

.short-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #020712;
}

.short-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.short-card:hover .short-thumb {
  transform: scale(1.06);
}

/* Badge at top of short */
.short-badge {
  position: absolute;
  top: 11px;
  left: 11px;
  z-index: 4;
  background: rgba(6, 12, 24, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 4px 9px;
  font: 700 10px/1 'Inter', system-ui, sans-serif;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Play indicator on short card */
.short-play-indicator {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  z-index: 4;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(8, 15, 32, 0.75);
  border: 1.5px solid rgba(244, 170, 37, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  opacity: 0.85;
  transition: all 0.3s ease;
}

.short-play-btn {
  color: #f7bb38;
  font-size: 15px;
  line-height: 1;
  margin-left: 2px;
}

.short-card:hover .short-play-indicator {
  transform: translate(-50%, -50%) scale(1.15);
  background: #ff0033;
  border-color: #ffffff;
  opacity: 1;
  box-shadow: 0 6px 22px rgba(255, 0, 51, 0.7);
}

.short-card:hover .short-play-btn {
  color: #ffffff;
}

/* Gradient vignette at bottom */
.short-gradient {
  position: absolute;
  inset: auto 0 0 0;
  height: 65%;
  background: linear-gradient(0deg, rgba(6, 12, 24, 0.98) 0%, rgba(6, 12, 24, 0.88) 55%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

/* Text copy on short card */
.short-copy {
  position: absolute;
  inset: auto 12px 14px 12px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
}

.short-title {
  color: #ffffff;
  font: 700 12.5px/1.3 'Inter', system-ui, sans-serif;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.short-subtitle {
  color: #a4bed9;
  font: 500 10.5px/1.25 'Inter', system-ui, sans-serif;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.short-action-pill {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  background: rgba(244, 170, 37, 0.16);
  border: 1px solid rgba(244, 170, 37, 0.5);
  border-radius: 999px;
  padding: 5px 10px;
  font: 700 10.5px/1 'Inter', system-ui, sans-serif;
  color: #ffd88a;
  transition: all 0.25s ease;
}

.short-card:hover .short-action-pill {
  background: rgba(244, 170, 37, 0.35);
  border-color: #ffdf97;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(244, 170, 37, 0.3);
}

.short-action-arrow {
  font-size: 11px;
}

/* Channel CTA button below marquee */
.shorts-cta-bar {
  text-align: center;
  margin-top: 28px;
}

.yt-channel-button {
  font-size: 14px !important;
  padding: 13px 26px !important;
  box-shadow: 0 8px 30px rgba(244, 170, 37, 0.25) !important;
}

/* --------------------------------------------------------------------------
   3. MYLINEHUB Brand Story & Initiative Section (Compact with Official Logo)
   -------------------------------------------------------------------------- */
.brand-story-section {
  position: relative;
  padding: 40px 20px 35px;
  background: #080f20;
}

.brand-story-inner {
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f4f6fa 60%, #eaf0f8 100%);
  border: 1.5px solid rgba(244, 170, 37, 0.55);
  border-radius: 18px;
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.42), 0 0 24px rgba(244, 170, 37, 0.12);
}

.brand-story-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.brand-story-content .eyebrow {
  margin-bottom: 8px;
  font-size: 11px;
  color: #b36e05;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.brand-story-lead {
  color: #24334a;
  font: 400 14.5px/1.65 'Inter', system-ui, sans-serif;
  margin: 0 0 18px 0;
}

.brand-story-lead strong {
  color: #0b1526;
  font-weight: 700;
}

.brand-story-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.brand-sm-btn {
  padding: 11px 20px !important;
  font-size: 13.5px !important;
  border-radius: 10px !important;
}

.brand-quiet-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: #ffffff;
  border: 1.5px solid #c7d4e3;
  border-radius: 10px;
  color: #172439;
  font: 700 13.5px/1 'Inter', system-ui, sans-serif;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.25s ease;
}

.brand-quiet-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0b1526;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Official White/Purple Logo Box */
.brand-official-logo-box {
  position: relative;
  z-index: 2;
  flex: 0 0 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.brand-official-logo {
  max-width: 230px;
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.12));
  transition: transform 0.25s ease;
}

.brand-official-logo:hover {
  transform: scale(1.03);
}

.brand-partner-caption {
  font: 800 9.5px/1 'Inter', system-ui, sans-serif;
  letter-spacing: 0.16em;
  color: #5a6e87;
  text-transform: uppercase;
  text-align: right;
}

/* --------------------------------------------------------------------------
   4. MyMathGuide Slim Support Stripe
   -------------------------------------------------------------------------- */
.mathguide-support-stripe {
  background: #040813;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(244, 170, 37, 0.18);
  padding: 10px 18px;
  text-align: center;
  position: relative;
  z-index: 10;
}

.mathguide-stripe-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font: 400 12.5px/1.4 'Inter', system-ui, sans-serif;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.mathguide-stripe-spark {
  color: #f7bb38;
  font-size: 11px;
}

.mathguide-stripe-main {
  color: #ffffff;
}

.mathguide-bold-strike {
  color: #ffffff !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em;
}

.mathguide-link {
  color: #ffffff !important;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  padding-bottom: 1px;
  transition: all 0.2s ease;
}

.mathguide-link:hover {
  color: #ffcf77 !important;
  border-color: #ffcf77 !important;
}

.mathguide-arrow {
  display: inline-block;
  font-size: 11px;
  margin-left: 1px;
  color: #f7bb38;
}

.mathguide-stripe-sep {
  color: rgba(255, 255, 255, 0.25);
  font-weight: 300;
}

.mathguide-stripe-tag {
  color: #8fa3bd;
  font-size: 11px;
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   Responsive Design
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .shorts-marquee-track {
    animation-duration: 220s;
  }
}

@media (max-width: 820px) {
  .brand-story-inner {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
    gap: 30px;
  }
  .brand-story-content {
    max-width: 100%;
  }
  .brand-story-actions {
    justify-content: center;
  }
  .brand-official-logo-box {
    align-items: center;
    margin: 0 auto;
    flex: 0 0 auto;
  }
  .brand-partner-caption {
    text-align: center;
  }
  .brand-watermark {
    font-size: 180px;
    right: 50%;
    transform: translateX(50%);
    bottom: -20px;
  }
  .mathguide-stripe-inner {
    font-size: 11.5px;
    gap: 8px;
  }
  .mathguide-stripe-tag {
    display: none;
  }
  .mathguide-stripe-sep {
    display: none;
  }
}

@media (max-width: 500px) {
  .short-card {
    flex: 0 0 175px;
    width: 175px;
  }
  .short-title {
    font-size: 11.5px;
  }
  .short-badge {
    font-size: 9px;
    padding: 3px 7px;
  }
  .brand-story-inner {
    padding: 32px 18px;
  }
  .brand-story-actions {
    flex-direction: column;
    width: 100%;
  }
  .brand-story-actions .gold-button,
  .brand-story-actions .brand-quiet-btn {
    width: 100%;
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   5. Custom Mechanisms & Connected Engineering Flow (Motion -> Sensors -> Collector -> Controller)
   -------------------------------------------------------------------------- */
.custom-mech-section {
  position: relative;
  padding: 45px 20px 40px;
  background: #080f20;
}

.custom-mech-inner {
  max-width: 1120px;
  margin: 0 auto;
  background: linear-gradient(145deg, rgba(14, 28, 52, 0.75) 0%, rgba(6, 13, 26, 0.96) 100%);
  border: 1.5px solid rgba(244, 170, 37, 0.35);
  border-radius: 22px;
  padding: 42px 42px 34px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.custom-mech-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 34px;
}

.custom-mech-header h2 {
  font: 700 clamp(24px, 3.2vw, 36px)/1.2 'Playfair Display', Georgia, serif;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 10px 0 12px;
}

.custom-mech-lead {
  color: #b7c7dc;
  font: 400 15px/1.65 'Inter', system-ui, sans-serif;
  margin: 0;
}

.custom-mech-lead strong {
  color: #ffdf97;
  font-weight: 600;
}

.mech-flow-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.mech-flow-step {
  background: rgba(10, 20, 38, 0.72);
  border: 1px solid rgba(166, 201, 227, 0.18);
  border-radius: 16px;
  padding: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.mech-flow-step:hover {
  border-color: rgba(244, 170, 37, 0.5);
  background: rgba(14, 28, 54, 0.88);
  transform: translateY(-2px);
}

.mech-step-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 11px;
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid rgba(166, 201, 227, 0.22);
  background: #030814;
}

.mech-step-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.mech-flow-step:hover .mech-step-img {
  transform: scale(1.04);
}

.mech-step-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 16, 32, 0.7) 0%, transparent 60%);
  pointer-events: none;
}

.mech-step-media .mech-card-step {
  position: absolute;
  bottom: 8px;
  left: 8px;
  z-index: 3;
  margin-bottom: 0;
  background: rgba(8, 15, 32, 0.88);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(244, 170, 37, 0.45);
  font: 800 9.5px/1 'Inter', system-ui, sans-serif;
  letter-spacing: 0.14em;
  color: #f7bb38;
}

.mech-step-body {
  display: flex;
  flex-direction: column;
}

.mech-step-body h3 {
  font: 700 15px/1.3 'Inter', system-ui, sans-serif;
  color: #ffffff;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.mech-step-body p {
  color: #9cb3cc;
  font: 400 12.5px/1.55 'Inter', system-ui, sans-serif;
  margin: 0;
}

.flow-connector-arrow {
  position: absolute;
  right: -13px;
  top: 30%;
  z-index: 5;
  color: #f4aa25;
  font-size: 16px;
  font-weight: 800;
  pointer-events: none;
}

.mech-flow-step:last-child .flow-connector-arrow {
  display: none;
}

.custom-mech-action-bar {
  border-top: 1px solid rgba(244, 170, 37, 0.18);
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.mech-action-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mech-action-text strong {
  color: #ffffff;
  font: 600 15px/1.3 'Inter', system-ui, sans-serif;
}

.mech-action-text span {
  color: #8da5c2;
  font: 400 13px/1.4 'Inter', system-ui, sans-serif;
}

.mech-action-btn {
  font-size: 13.5px !important;
  padding: 12px 22px !important;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .eng-stripe-container {
    flex-direction: column;
    gap: 18px;
  }
  .mech-flow-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .flow-connector-arrow {
    display: none;
  }
}

@media (max-width: 600px) {
  .custom-mech-inner {
    padding: 28px 18px 22px;
  }
  .mech-flow-container {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .custom-mech-action-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .mech-action-btn {
    width: 100%;
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   Custom Electric Brand Boards & Display Products
   -------------------------------------------------------------------------- */
.brand-boards-section {
  position: relative;
  padding: 50px 20px 20px;
  background: radial-gradient(circle at 50% 0%, rgba(244, 170, 37, 0.08) 0%, #080f20 60%);
  border-top: 1px solid rgba(244, 170, 37, 0.2);
  overflow: hidden;
}

.brand-boards-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 38px;
}

.brand-boards-header h2 {
  font: 700 clamp(26px, 4vw, 36px)/1.15 'Playfair Display', Georgia, serif;
  color: #ffffff;
  margin: 10px 0 12px;
  letter-spacing: -0.01em;
}

.brand-boards-header p {
  color: #a8b8cc;
  font: 400 15px/1.6 'Inter', system-ui, sans-serif;
  margin: 0 auto;
  max-width: 680px;
}

.board-module-wrap {
  max-width: 1240px;
  margin: 0 auto 42px;
}

.board-module-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 16px;
  flex-wrap: wrap;
}

.board-module-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.board-sub-badge {
  display: inline-block;
  align-self: flex-start;
  font: 700 10.5px/1 'Inter', system-ui, sans-serif;
  letter-spacing: 0.14em;
  color: #ffdf97;
  background: rgba(244, 170, 37, 0.12);
  border: 1px solid rgba(244, 170, 37, 0.35);
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
}

.board-module-title {
  font: 700 clamp(19px, 2.5vw, 24px)/1.2 'Playfair Display', Georgia, serif;
  color: #ffffff;
  margin: 0;
}

.board-interactive-tip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #7d93b0;
  font: 500 12px/1 'Inter', system-ui, sans-serif;
  background: rgba(14, 26, 48, 0.6);
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-boards-disclaimer {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(244, 170, 37, 0.12) 0%, rgba(207, 122, 7, 0.06) 100%);
  border: 1.5px solid rgba(244, 170, 37, 0.45);
  border-radius: 12px;
  padding: 12px 18px;
  margin-bottom: 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

.disclaimer-icon {
  color: #f4aa25;
  flex-shrink: 0;
}

.disclaimer-text {
  color: #ffdf97;
  font: 400 13px/1.55 'Inter', system-ui, sans-serif;
  margin: 0;
}

.disclaimer-text strong {
  color: #ffffff;
  font-weight: 700;
}

/* Marquee Shell & Ticker */
.board-marquee-shell {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 10px 0 16px;
  user-select: none;
  -webkit-user-select: none;
}

.board-edge-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 3;
  pointer-events: none;
}

.board-edge-fade.left {
  left: 0;
  background: linear-gradient(90deg, #080f20 0%, transparent 100%);
}

.board-edge-fade.right {
  right: 0;
  background: linear-gradient(270deg, #080f20 0%, transparent 100%);
}

.board-marquee-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: boardMarqueeScroll 65s linear infinite;
  will-change: transform;
  cursor: pointer;
}

.board-marquee-track:hover,
.board-marquee-track.is-paused-by-click {
  animation-play-state: paused !important;
}

@keyframes boardMarqueeScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Card Styling - 16:9 native */
.board-card {
  flex-shrink: 0;
  width: 380px;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  background: #0d182e;
  border: 1.5px solid rgba(244, 170, 37, 0.38);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), 0 0 12px rgba(244, 170, 37, 0.08);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.board-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(244, 170, 37, 0.85);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65), 0 0 24px rgba(244, 170, 37, 0.3);
}

.board-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.board-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-user-drag: none;
  transition: transform 0.4s ease;
}

.board-card:hover .board-img {
  transform: scale(1.04);
}

.board-card-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(8, 15, 32, 0.75) 100%);
  pointer-events: none;
}

.board-card-tag {
  position: absolute;
  bottom: 10px;
  left: 12px;
  background: rgba(8, 15, 32, 0.82);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(244, 170, 37, 0.4);
  color: #ffdf97;
  font: 600 11px/1 'Inter', system-ui, sans-serif;
  padding: 4px 9px;
  border-radius: 6px;
  letter-spacing: 0.05em;
  pointer-events: none;
}

/* Action Bar below boards */
.brand-boards-action-bar {
  max-width: 1120px;
  margin: 10px auto 10px;
  background: linear-gradient(135deg, rgba(14, 26, 48, 0.95) 0%, rgba(9, 17, 34, 0.98) 100%);
  border: 1.5px solid rgba(244, 170, 37, 0.45);
  border-radius: 16px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 16px rgba(244, 170, 37, 0.12);
}

.boards-cta-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.boards-cta-text strong {
  font: 700 17px/1.3 'Inter', system-ui, sans-serif;
  color: #ffffff;
}

.boards-cta-text span {
  font: 400 13.5px/1.55 'Inter', system-ui, sans-serif;
  color: #adc0d6;
}

.boards-cta-btn {
  font-size: 13.5px !important;
  padding: 12px 24px !important;
  flex-shrink: 0;
  border-radius: 10px !important;
}



/* Responsive adjustments */
@media (max-width: 900px) {
  .brand-boards-action-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .boards-cta-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .brand-boards-section {
    padding: 35px 14px 14px;
  }
  .board-card {
    /* 1.25 to 1.3 cards per viewport width on mobile */
    width: 78vw;
    border-radius: 12px;
  }
  .board-marquee-track {
    gap: 14px;
    animation-duration: 48s;
  }
  .board-edge-fade {
    width: 40px;
  }
  .board-interactive-tip {
    font-size: 11px;
    padding: 4px 10px;
  }
}

