/* --------------------------------------------------------------------------
   Global
   -------------------------------------------------------------------------- */

/* New Button Hover */
.uabb-dual-button-wrapper .uabb-btn:hover {
    box-shadow: 10px 10px 0 0 #f927af!important;
}

/* --------------------------------------------------------------------------
   Video HTML Element
   -------------------------------------------------------------------------- */
.video-mockup .scene {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.video-mockup .screen {
  position: relative;
  border-radius: 25px;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-mockup .screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-mockup .screen.drag-over {
  outline: 3px solid #0a84ff;
  outline-offset: -3px;
}

/* ── Custom play button ── */
.video-mockup .play-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.video-mockup .play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgb(10, 31, 68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgb(10, 31, 68);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: all;
  transition: background 0.2s, transform 0.15s, border-color 0.2s;
}

.video-mockup .play-btn:hover {
  background: rgb(73, 170, 222);
  transform: scale(1.08);
  border-color: rgb(73, 170, 222);
}

.video-mockup .play-btn:active {
  transform: scale(0.95);
}

.video-mockup .play-btn svg {
  width: 26px;
  height: 26px;
  fill: #fff;
  /* nudge icon to visually centre the play triangle */
  margin-left: 3px;
  transition: opacity 0.15s;
}

.video-mockup .play-btn .icon-pause {
  display: none;
  margin-left: 0;
}

/* when playing, swap icons and fade the overlay */
.video-mockup .play-overlay.playing .play-btn .icon-play  { display: none; }
.video-mockup .play-overlay.playing .play-btn .icon-pause { display: block; }
.video-mockup .play-overlay.playing { opacity: 0; transition: opacity 0.4s; }
.video-mockup .play-overlay.playing:hover { opacity: 1; }

/* --------------------------------------------------------------------------
   Laptop HTML Element
   -------------------------------------------------------------------------- */

.laptop-mockup { 
	position: relative; 
	width: 100%; 
}

/* ---------- SCREEN ---------- */
.laptop-screen {
	position: relative;
	width: 86%;
	margin: 0 auto;
	background: linear-gradient(160deg, #e9eaec 0%, #d5d7db 45%, #c3c6cb 100%);
	border-radius: 22px 22px 6px 6px;
	padding: 14px 14px 20px;
	box-shadow: 0 2px 3px rgba(0,0,0,0.08), inset 0 1px 1px rgba(255,255,255,0.6);
}
.laptop-screen::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 22px 22px 6px 6px;
	padding: 1px;
	background: linear-gradient(160deg, #ffffff, rgba(255,255,255,0) 40%);
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}

.screen-bezel {
	position: relative;
	background: #050505;
	border-radius: 12px;
	padding: 22px 12px 12px;
	box-shadow: inset 0 0 0 1px #2a2a2a, inset 0 2px 8px rgba(0,0,0,0.9);
}

.camera {
	position: absolute;
	top: 9px;
	left: 50%;
	transform: translateX(-50%);
	width: 6px;
	height: 6px;
	background: radial-gradient(circle at 35% 35%, #3a4a5a, #0a0f14 70%);
	border-radius: 50%;
	box-shadow: 0 0 0 1px rgba(255,255,255,0.05);
}
.camera::after {
	content: '';
	position: absolute;
	top: 1.5px; left: 1.5px;
	width: 1.5px; height: 1.5px;
	background: rgba(120,170,220,0.7);
	border-radius: 50%;
}

.screen-content {
	position: relative;
	width: 100%;
	padding-top: 62.5%; /* 16:10 */
	border-radius: 4px;
	overflow: hidden;
	background: #000;
}

/* the site screenshot */
.screen-content .preview-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	display: block;
}

/* ---------- HOVER CTA OVERLAY ---------- */
.screen-link {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	background: rgba(15, 20, 28, 0);
	opacity: 0;
	transition: opacity 0.25s ease, background 0.25s ease;
}
.screen-content:hover .screen-link,
.screen-link:focus-visible {
	opacity: 1;
	background: rgba(15, 20, 28, 0.55);
}

.screen-link .cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	background: #ffffff;
	color: #0f141c;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.01em;
	border-radius: 999px;
	transform: translateY(6px);
	transition: transform 0.25s ease;
	box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}
.screen-content:hover .cta,
.screen-link:focus-visible .cta { transform: translateY(0); }

.screen-link .cta svg { width: 15px; height: 15px; }

/* ---------- BASE / DECK ---------- */
.laptop-base {
	position: relative;
	width: 100%;
	height: 26px;
	margin-top: -2px;
	background: linear-gradient(to bottom, #d9dbdf 0%, #c7cace 50%, #b6b9be 100%);
	border-radius: 6px 6px 10px 10px;
	box-shadow: inset 0 1px 1px rgba(255,255,255,0.7), inset 0 -1px 2px rgba(0,0,0,0.15);
}
.laptop-base::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 15%;
	height: 8px;
	background: linear-gradient(to bottom, #9a9da2, #babdc2);
	border-radius: 0 0 8px 8px;
}
.laptop-base::after {
	content: '';
	position: absolute;
	bottom: -18px;
	left: 50%;
	transform: translateX(-50%);
	width: 96%;
	height: 30px;
	background: radial-gradient(ellipse at center, rgba(0,0,0,0.22), rgba(0,0,0,0) 70%);
	z-index: -1;
}

@media (prefers-reduced-motion: reduce) {
	.screen-link, .screen-link .cta { transition: none; }
}

/* --------------------------------------------------------------------------
   Cairns Mountain Bike Club Showcase
   -------------------------------------------------------------------------- */
#showcase-hero .fl-row-content-wrap {
  --offset: clamp(-150vw, -10vw + (100vw - 1920px) * 0.5, -10vw);
  background-position:
    calc(0% + var(--offset)) calc(0% + var(--offset)),
    calc(100% - var(--offset)) calc(100% - var(--offset)),
    center;
}

#showcase-challenge ul {
	margin-left: auto;
	padding-left: 1rem;
}

#showcase-challenge .twentytwenty-handle {
	background: #707070;
}

/* --------------------------------------------------------------------------
   Biotrade Showcase
   -------------------------------------------------------------------------- */
.biotrade .pill {
	padding: clamp(8px, 1vw, 20px) clamp(14px, 1.8vw, 30px);
	background: #A80834;
	border-radius: 50px;
	color: white;
	width: fit-content;
	position: absolute;
	font-size: clamp(12px, 1vw, 18px);
	margin: 5px 20px;
}

#pill-one {
	left: clamp(20px, 8vw, 120px);
	bottom: clamp(20px, 4vw, 50px);
}

#pill-two {
	right: clamp(20px, 12vw, 220px);
	top: clamp(20px, 7vw, 120px);
}

@media (max-width: 982px) {
	.biotrade .pill {
		position: static;
		width: fit-content;
		white-space: normal;
	}
}

/* --------------------------------------------------------------------------
   Animation and Motion Graphics Page
   -------------------------------------------------------------------------- */
.animation-and-motion-graphics .hero-video {
	border-radius: 30px;
	overflow: hidden;
}

/* --------------------------------------------------------------------------
   AI Search Home Page
   -------------------------------------------------------------------------- */
.ai-search-row {
	position: relative;
}
.ai-search {
    box-shadow: 4px 4px 0px #FFBA00;
}


/* --------------------------------------------------------------------------
   Yuin DKP
   -------------------------------------------------------------------------- */
.yuin-digital-keeping-place .uabb-button.ast-button.uabb-creative-button.uabb-creative-default-btn:hover, .yuin-digital-keeping-place .fl-button-wrap a.fl-button:hover {
    box-shadow: 10px 10px 0 0 #8FB6D3 !important;
}

/* --------------------------------------------------------------------------
   Signature Staff
   -------------------------------------------------------------------------- */
.signature-staff .fl-button-wrap a.fl-button:hover {
    box-shadow: 10px 10px 0 0 #49aade !important;
}

.signature-staff .fl-button-wrap a.fl-button:focus {
    outline-color: #49aade;
}

body:not(.fl-builder-edit).signature-staff .hero-phone-mock .fl-col-content {
	position: absolute;
	inset: 0;
	width: 50%;
	margin-left: auto;
	margin-top: auto;
	margin-bottom: auto;
	height: 120%;
	overflow: hidden;
	z-index: 0;
}

@media (max-width: 768px) {
	body:not(.fl-builder-edit).signature-staff .hero-phone-mock .fl-col-content {
		position: static;
		width: 100%;
		height: 100%;
		margin: auto;
	}
}

.signature-staff .grid-column {
	position: relative;
	z-index: 1;
}

.signature-staff .screen-link .cta {
	background: #49aade;
}