/* XtreamUK Home page additions. Shared navigation, footer, pricing and brand tokens remain in style.css. */

.home-hero { min-height: 980px; }
.home-hero .container-xl { width: 100%; }
.home-hero h1 { max-width: 690px; font-size: clamp(3.4rem, 6.7vw, 6.45rem); }
.home-hero .hero-copy { max-width: 625px; }
.home-orb { position: absolute; border-radius: 50%; pointer-events: none; opacity: .46; filter: blur(2px); }
.home-orb-one { width: 210px; height: 210px; right: 6%; top: 12%; border: 1px solid rgba(32,216,255,.15); box-shadow: inset 0 0 70px rgba(32,216,255,.06), 0 0 80px rgba(32,216,255,.04); }
.home-orb-two { width: 120px; height: 120px; left: 44%; bottom: 12%; background: radial-gradient(circle at 35% 35%, rgba(123,97,255,.26), rgba(77,141,255,.04) 70%); }

.home-dashboard-wrap { min-height: 650px; }
.home-dashboard { top: 48px; right: -112px; width: min(735px, 60vw); padding: 14px; transform: rotateY(-7deg) rotateX(3deg); }
.home-dashboard .dashboard-topbar { min-height: 35px; }
.home-dashboard .dot { width: 8px; height: 8px; display: inline-block; border-radius: 50%; }
.home-dashboard .dot.red { background: var(--xu-danger); }
.home-dashboard .dot.yellow { background: var(--xu-warning); }
.home-dashboard .dot.green { background: var(--xu-success); }
.dashboard-brand { display: inline-flex; align-items: center; gap: 7px; font-size: .72rem; font-weight: 820; }
.dashboard-status { display: inline-flex; align-items: center; gap: 7px; color: var(--xu-success); font-size: .63rem; font-weight: 760; }
.dashboard-status span { width: 6px; height: 6px; border-radius: 50%; background: var(--xu-success); box-shadow: 0 0 0 5px rgba(62,230,168,.09); }
.home-dashboard-grid { min-height: 470px; display: grid; grid-template-columns: 146px 1fr; overflow: hidden; border-radius: 19px; background: linear-gradient(150deg, #091326, #111f38); }
.home-dashboard-nav { padding: 24px 13px; border-right: 1px solid rgba(255,255,255,.07); }
.home-nav-title { display: block; margin: 0 10px 14px; color: rgba(156,175,197,.64); font-size: .57rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.home-dashboard-nav > span:not(.home-nav-title) { display: flex; align-items: center; gap: 9px; margin-bottom: 6px; padding: 10px; border-radius: 10px; color: var(--xu-muted); font-size: .66rem; font-weight: 680; }
.home-dashboard-nav > span.active { color: var(--xu-text); background: linear-gradient(90deg, rgba(77,141,255,.18), rgba(32,216,255,.05)); }
.home-dashboard-nav svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.home-dashboard-main { min-width: 0; padding: 22px; }
.home-dashboard-welcome { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.home-dashboard-welcome small { display: block; color: var(--xu-muted); font-size: .58rem; }
.home-dashboard-welcome strong { display: block; margin-top: 2px; font-size: .9rem; }
.dashboard-avatar { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; color: #07101e; background: var(--xu-gradient); font-size: .62rem; font-weight: 900; }
.home-dashboard-banner { position: relative; min-height: 205px; display: flex; align-items: center; overflow: hidden; padding: 23px; border: 1px solid rgba(77,141,255,.18); border-radius: 17px; background: linear-gradient(115deg, rgba(77,141,255,.2), rgba(10,20,39,.98) 62%); }
.home-dashboard-banner > div { position: relative; z-index: 2; }
.home-dashboard-banner .quality-badge { position: static; display: inline-flex; margin-bottom: 12px; }
.home-dashboard-banner h2 { margin: 0 0 7px; font-size: 1.25rem; line-height: 1.08; letter-spacing: -.035em; }
.home-dashboard-banner p { margin: 0 0 15px; color: var(--xu-muted); font-size: .61rem; }
.home-dashboard-banner button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 11px; border: 0; border-radius: 9px; color: #06111f; background: var(--xu-gradient); font-size: .58rem; font-weight: 800; }
.banner-sphere { position: absolute; width: 210px; height: 210px; right: -55px; top: -26px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.34), rgba(32,216,255,.18) 18%, rgba(77,141,255,.1) 44%, transparent 70%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.banner-sphere::before, .banner-sphere::after { content: ""; position: absolute; inset: 28px; border: 1px solid rgba(32,216,255,.2); border-radius: 50%; transform: rotate(32deg) scaleY(.5); }
.banner-sphere::after { inset: 55px 18px; transform: rotate(-30deg) scaleY(.52); }
.home-dashboard-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 10px; }
.home-dashboard-stats span { padding: 10px; border: 1px solid rgba(255,255,255,.06); border-radius: 11px; background: rgba(255,255,255,.032); }
.home-dashboard-stats small { display: block; color: var(--xu-muted); font-size: .52rem; }
.home-dashboard-stats strong { display: block; font-size: .85rem; }
.home-content-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-top: 10px; }
.mini-poster { position: relative; aspect-ratio: 1.35; overflow: hidden; border-radius: 9px; border: 1px solid rgba(255,255,255,.06); }
.mini-poster::before { content: ""; position: absolute; inset: 20% 25%; border-radius: 50%; border: 1px solid rgba(255,255,255,.26); }
.mp-one { background: linear-gradient(145deg, #271a65, #1c6a87); }
.mp-two { background: linear-gradient(145deg, #5b2030, #b45145); }
.mp-three { background: linear-gradient(145deg, #173c33, #2f9b75); }
.mp-four { background: linear-gradient(145deg, #1d294d, #516ec3); }

.home-dashboard-wrap .floating-card { display: flex; align-items: center; gap: 11px; min-width: 145px; }
.home-dashboard-wrap .floating-card.fc-one { top: 9px; left: -12px; }
.home-dashboard-wrap .floating-card.fc-two { right: -18px; bottom: 87px; }
.home-dashboard-wrap .floating-card.fc-three { left: 2px; bottom: 5px; }
.home-dashboard-wrap .floating-card.fc-four { right: 65px; top: 12px; }
.floating-icon { width: 35px; height: 35px; flex: 0 0 35px; display: grid; place-items: center; border-radius: 11px; color: var(--xu-cyan); background: rgba(32,216,255,.1); }
.floating-icon.live span { width: 8px; height: 8px; border-radius: 50%; background: var(--xu-danger); box-shadow: 0 0 0 6px rgba(255,109,137,.1); }
.floating-icon.movie { color: var(--xu-primary); background: rgba(77,141,255,.11); }
.floating-icon.sport { color: var(--xu-success); background: rgba(62,230,168,.09); }
.floating-icon.ultra { color: #07101e; background: var(--xu-gradient); }
.floating-icon.ultra strong { font-size: .7rem; letter-spacing: -.02em; }

.home-features { overflow: hidden; }
.home-feature-card { min-height: 265px; }
.home-feature-card::before { content: ""; position: absolute; top: -70px; left: -70px; width: 150px; height: 150px; border-radius: 50%; border: 1px solid rgba(77,141,255,.12); transition: transform .35s ease; }
.home-feature-card:hover::before { transform: translate(10px,10px) scale(1.1); }
.home-feature-card .icon-box { transition: transform .3s ease, box-shadow .3s ease; }
.home-feature-card:hover .icon-box { transform: rotate(-4deg) scale(1.06); box-shadow: 0 13px 32px rgba(32,216,255,.12); }

.movie-showcase { overflow: hidden; }
.movie-showcase .container-xl { position: relative; z-index: 2; }
.carousel-controls { display: flex; gap: 9px; flex: 0 0 auto; }
.movie-swiper { overflow: visible; padding: 4px 0 28px; }
.movie-card { transition: transform .3s ease; }
.movie-card:hover { transform: translateY(-8px); }
.movie-poster { position: relative; aspect-ratio: 2 / 3; overflow: hidden; border: 1px solid var(--xu-border); border-radius: 20px; box-shadow: var(--xu-shadow-soft); background: var(--xu-surface); }
.movie-poster-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.quality-badge { position: absolute; top: 13px; right: 13px; z-index: 2; display: inline-flex; padding: 5px 7px; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; color: #fff; background: rgba(5,9,20,.52); backdrop-filter: blur(9px); font-size: .61rem; font-weight: 900; letter-spacing: .06em; }
.movie-meta { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding: 15px 3px 0; }
.movie-meta h3 { margin: 0; font-size: .91rem; line-height: 1.3; font-weight: 760; }
.movie-rating { display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; color: var(--xu-warning); font-size: .72rem; font-weight: 780; }

.installation-section { overflow: hidden; }
.installation-visual { position: relative; min-height: 520px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--xu-border); border-radius: 30px; background: linear-gradient(145deg, rgba(77,141,255,.1), rgba(32,216,255,.025)); box-shadow: var(--xu-shadow-soft); }
.installation-visual svg { position: relative; z-index: 2; width: 94%; }
.install-glow { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: rgba(32,216,255,.12); filter: blur(70px); }
.install-chip { position: absolute; z-index: 3; padding: 10px 13px; border: 1px solid var(--xu-border); border-radius: 12px; color: var(--xu-text); background: var(--xu-surface); box-shadow: var(--xu-shadow-soft); backdrop-filter: blur(14px); font-size: .7rem; font-weight: 760; }
.install-chip::before { content: ""; width: 7px; height: 7px; display: inline-block; margin-right: 7px; border-radius: 50%; background: var(--xu-success); box-shadow: 0 0 0 5px rgba(62,230,168,.08); }
.chip-one { top: 48px; right: 35px; }
.chip-two { left: 30px; bottom: 42px; }
.home-device-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 11px; margin-top: 30px; }
.home-device-card { display: flex; align-items: center; gap: 11px; min-height: 57px; padding: 10px 12px; border: 1px solid var(--xu-border); border-radius: 15px; background: var(--xu-surface); font-size: .83rem; font-weight: 720; transition: transform .22s ease, border-color .22s ease, background .22s ease; }
.home-device-card:hover { transform: translateY(-3px); color: var(--xu-text); border-color: rgba(32,216,255,.3); background: rgba(32,216,255,.05); }
.home-device-icon { width: 37px; height: 37px; display: grid; place-items: center; flex: 0 0 37px; border-radius: 11px; color: var(--xu-cyan); background: rgba(32,216,255,.08); }

.start-section { overflow: hidden; }
.start-line { position: absolute; left: 11%; right: 11%; top: 58px; height: 2px; background: linear-gradient(90deg, transparent, rgba(77,141,255,.4), rgba(32,216,255,.45), transparent); }
.start-line::before { content: ""; position: absolute; inset: -1px auto -1px 0; width: 20%; background: linear-gradient(90deg, transparent, var(--xu-cyan), transparent); animation: timeline-scan 4s linear infinite; }
.start-step { position: relative; z-index: 2; padding: 28px; border: 1px solid var(--xu-border); border-radius: 23px; background: linear-gradient(145deg, var(--xu-surface), rgba(17,29,51,.76)); box-shadow: var(--xu-shadow-soft); transition: transform .28s ease, border-color .28s ease; }
.start-step:hover { transform: translateY(-7px); border-color: rgba(32,216,255,.3); }
.start-number { position: absolute; right: 22px; top: 19px; color: rgba(255,255,255,.1); font-size: 2.5rem; line-height: 1; font-weight: 900; }
.start-icon { position: relative; width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 25px; border: 1px solid rgba(32,216,255,.2); border-radius: 18px; color: var(--xu-cyan); background: linear-gradient(145deg, rgba(77,141,255,.16), rgba(32,216,255,.08)); }
.start-icon::after { content: ""; position: absolute; inset: -7px; border: 1px solid rgba(32,216,255,.08); border-radius: 23px; animation: icon-pulse 2.8s ease-in-out infinite; }
.start-step h3 { margin: 0 0 9px; font-size: 1.05rem; font-weight: 790; letter-spacing: -.02em; }
.start-step p { margin: 0; color: var(--xu-muted); font-size: .87rem; }
@keyframes timeline-scan { from { transform: translateX(-120%); } to { transform: translateX(600%); } }
@keyframes icon-pulse { 50% { transform: scale(1.07); opacity: .45; } }

.about-home { overflow: hidden; }
.about-visual-placeholder { position: relative; min-height: 570px; overflow: hidden; border: 1px solid var(--xu-border); border-radius: 32px; background: linear-gradient(145deg, rgba(77,141,255,.12), rgba(8,16,31,.72)); box-shadow: var(--xu-shadow); }
.about-grid { position: absolute; inset: 0; opacity: .36; background-image: linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(circle at center,#000,transparent 80%); }
.about-logo-orbit { position: absolute; left: 50%; top: 50%; width: 185px; height: 185px; display: grid; place-items: center; border: 1px solid rgba(32,216,255,.2); border-radius: 50%; background: radial-gradient(circle,rgba(32,216,255,.12),rgba(77,141,255,.03) 60%,transparent); transform: translate(-50%,-50%); }
.about-logo-orbit img { position: relative; z-index: 3; filter: drop-shadow(0 20px 38px rgba(32,216,255,.35)); }
.orbit-ring { position: absolute; inset: -55px; border: 1px solid rgba(77,141,255,.17); border-radius: 50%; animation: orbit-spin 13s linear infinite; }
.orbit-ring::before { content: ""; position: absolute; width: 13px; height: 13px; left: 50%; top: -7px; border-radius: 50%; background: var(--xu-cyan); box-shadow: 0 0 18px rgba(32,216,255,.7); }
.orbit-ring.ring-two { inset: -115px; border-style: dashed; animation-duration: 22s; animation-direction: reverse; }
.orbit-ring.ring-two::before { left: 15%; top: 80%; background: var(--xu-indigo); box-shadow: 0 0 18px rgba(123,97,255,.7); }
.about-ui-card { position: absolute; z-index: 4; padding: 16px; border: 1px solid var(--xu-border); border-radius: 16px; background: var(--xu-surface); box-shadow: var(--xu-shadow-soft); backdrop-filter: blur(15px); }
.about-card-one { left: 28px; top: 55px; width: 175px; }
.about-card-one small, .about-card-two small { display: block; color: var(--xu-muted); font-size: .65rem; }
.about-card-one strong { display: block; margin-top: 2px; font-size: 1.5rem; }
.about-progress { height: 5px; display: block; overflow: hidden; margin-top: 11px; border-radius: 99px; background: rgba(255,255,255,.08); }
.about-progress i { width: 82%; height: 100%; display: block; border-radius: inherit; background: var(--xu-gradient); }
.about-card-two { right: 25px; bottom: 48px; display: flex; align-items: center; gap: 12px; }
.about-card-two strong { display: block; font-size: .83rem; }
.status-pulse { width: 11px; height: 11px; border-radius: 50%; background: var(--xu-success); box-shadow: 0 0 0 7px rgba(62,230,168,.09); }
.about-shape { position: absolute; border-radius: 50%; }
.shape-one { width: 150px; height: 150px; right: -45px; top: -35px; border: 1px solid rgba(32,216,255,.13); box-shadow: 0 0 0 28px rgba(32,216,255,.02); }
.shape-two { width: 100px; height: 100px; left: -30px; bottom: 10px; background: rgba(123,97,255,.08); filter: blur(10px); }
.about-stats { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 31px; }
.about-stats > div { padding: 18px; border: 1px solid var(--xu-border); border-radius: 17px; background: var(--xu-surface); }
.about-stats strong { display: block; font-size: 1.38rem; line-height: 1.1; letter-spacing: -.035em; }
.about-stats span { display: block; margin-top: 6px; color: var(--xu-muted); font-size: .72rem; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }

.home-review-card { min-height: 340px; }
.review-top { display: flex; align-items: center; gap: 13px; }
.review-top h3 { margin: 0; font-size: .93rem; }
.review-top span { display: block; color: var(--xu-muted); font-size: .68rem; }
.home-avatar { width: 48px; height: 48px; flex: 0 0 48px; }
.review-copy { margin: 16px 0 0; color: var(--xu-text); font-size: .98rem; line-height: 1.75; }
.verified-review { display: inline-flex; align-items: center; gap: 7px; margin-top: 23px; color: var(--xu-success); font-size: .66rem; font-weight: 730; }
.verified-review svg { flex: 0 0 auto; }

.faq-support-card { display: flex; gap: 16px; align-items: flex-start; margin-top: 34px; padding: 20px; border: 1px solid var(--xu-border); border-radius: 19px; background: var(--xu-surface); }
.faq-support-card .icon-box { flex: 0 0 52px; margin: 0; }
.faq-support-card strong { display: block; }
.faq-support-card p { margin: 3px 0 7px; color: var(--xu-muted); font-size: .84rem; }
.faq-support-card .btn-link-xu { font-size: .8rem; }

.home-final-cta { min-height: 330px; display: flex; align-items: center; background: linear-gradient(120deg, rgba(77,141,255,.22), rgba(123,97,255,.14) 46%, rgba(32,216,255,.12)); }
.home-final-cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 10%, rgba(255,255,255,.035) 45%, transparent 80%); background-size: 220% 100%; animation: cta-shimmer 7s linear infinite; }
.home-final-cta::after { width: 430px; height: 430px; right: -150px; bottom: -255px; }
.cta-orb { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(3px); }
.cta-orb-one { width: 180px; height: 180px; left: 38%; top: -120px; background: rgba(123,97,255,.12); }
.cta-orb-two { width: 120px; height: 120px; right: 20%; bottom: -70px; border: 1px solid rgba(32,216,255,.18); box-shadow: 0 0 0 24px rgba(32,216,255,.025); }
.final-cta-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 11px; }
@keyframes cta-shimmer { to { background-position: -220% 0; } }

[data-theme="light"] .home-dashboard-grid { background: linear-gradient(150deg, #edf5ff, #dcecff); }
[data-theme="light"] .home-dashboard-nav { border-color: rgba(8,17,31,.08); }
[data-theme="light"] .home-dashboard-banner { background: linear-gradient(115deg, rgba(77,141,255,.17), rgba(239,247,255,.96) 65%); }
[data-theme="light"] .home-dashboard-stats span, [data-theme="light"] .mini-poster { border-color: rgba(8,17,31,.08); }
[data-theme="light"] .start-number { color: rgba(8,17,31,.08); }
[data-theme="light"] .start-step { background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(237,244,253,.82)); }
[data-theme="light"] .about-visual-placeholder { background: linear-gradient(145deg, rgba(77,141,255,.11), rgba(239,247,255,.9)); }

@media (max-width: 1199.98px) {
  .home-hero { min-height: 920px; }
  .home-dashboard { right: -145px; width: 710px; }
  .home-dashboard-wrap { min-height: 610px; }
  .home-dashboard-wrap .floating-card.fc-four { right: 90px; }
  .installation-visual { min-height: 480px; }
}

@media (max-width: 991.98px) {
  .home-hero { min-height: auto; }
  .home-hero h1 { max-width: 850px; }
  .home-dashboard-wrap { min-height: 560px; }
  .home-dashboard { left: 50%; right: auto; width: 720px; transform: translateX(-50%) scale(.86); transform-origin: top center; }
  .home-dashboard-wrap .floating-card.fc-one { left: 2%; }
  .home-dashboard-wrap .floating-card.fc-two { right: 3%; }
  .home-dashboard-wrap .floating-card.fc-three { left: 10%; }
  .home-dashboard-wrap .floating-card.fc-four { right: 13%; }
  .start-line { display: none; }
  .final-cta-actions { justify-content: flex-start; }
  .installation-visual, .about-visual-placeholder { min-height: 500px; }
}

@media (max-width: 767.98px) {
  .home-dashboard-wrap { min-height: 455px; margin-left: -16px; margin-right: -16px; }
  .home-dashboard { width: 700px; transform: translateX(-50%) scale(.64); }
  .home-dashboard-wrap .floating-card { min-width: 138px; }
  .home-dashboard-wrap .floating-card.fc-one { left: 0; top: 0; }
  .home-dashboard-wrap .floating-card.fc-two { right: 0; bottom: 25px; }
  .home-dashboard-wrap .floating-card.fc-three { display: flex; left: 6%; bottom: -4px; }
  .home-dashboard-wrap .floating-card.fc-four { right: 3%; top: 12px; }
  .movie-swiper { padding-left: 16px; padding-right: 16px; }
  .installation-visual, .about-visual-placeholder { min-height: 430px; }
  .home-device-grid { grid-template-columns: 1fr; }
  .about-logo-orbit { transform: translate(-50%,-50%) scale(.78); }
  .about-card-one { left: 16px; top: 30px; }
  .about-card-two { right: 15px; bottom: 30px; }
  .home-final-cta { min-height: auto; }
  .final-cta-actions { flex-direction: column; align-items: stretch; }
  .final-cta-actions .btn-xu { width: 100%; }
}

@media (max-width: 575.98px) {
  .home-hero h1 { font-size: clamp(3rem, 14vw, 4.25rem); }
  .home-hero .eyebrow { font-size: .69rem; }
  .home-hero .hero-trust { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 9px; }
  .home-dashboard-wrap { min-height: 375px; }
  .home-dashboard { width: 690px; transform: translateX(-50%) scale(.51); }
  .home-dashboard-wrap .floating-card { padding: 11px 12px; min-width: 126px; }
  .home-dashboard-wrap .floating-card.fc-three { display: none; }
  .home-dashboard-wrap .floating-card.fc-four { right: 0; }
  .floating-icon { width: 31px; height: 31px; flex-basis: 31px; }
  .movie-showcase .section-head { margin-bottom: 24px !important; }
  .carousel-controls { display: none; }
  .installation-visual { min-height: 360px; }
  .install-chip { font-size: .63rem; }
  .chip-one { top: 20px; right: 15px; }
  .chip-two { left: 15px; bottom: 20px; }
  .about-visual-placeholder { min-height: 390px; }
  .about-stats { grid-template-columns: 1fr 1fr; gap: 9px; }
  .about-stats > div { padding: 15px; }
  .about-stats strong { font-size: 1.1rem; }
  .about-card-one { width: 145px; }
  .about-logo-orbit { transform: translate(-50%,-50%) scale(.61); }
  .home-final-cta { padding: 34px 23px; }
}

@media (prefers-reduced-motion: reduce) {
  .start-line::before, .start-icon::after, .orbit-ring, .home-final-cta::before { animation: none !important; }
}
