.hidden {
  display: none;
}

.hero-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  background-color: #000;
  background-image: url("/assets/rp_home_background_logo_tag_plat-a0447a55.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  color: #f4b190;
}

.hero-section .container {
  position: relative;
  z-index: 3;
}

#home_content {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding-top: clamp(2.35rem, 5vh + 1.5rem, 5.25rem);
  padding-bottom: clamp(1rem, 3.5vh, 3rem);
  padding-left: clamp(0.75rem, 2.5vw, 15px);
  padding-right: clamp(0.75rem, 2.5vw, 15px);
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

#home_platforms {
  margin-top: auto;
  width: 100%;
}

#home_content .home-tagline {
  font-style: normal;
  font-weight: 300;
  font-size: clamp(0.6875rem, 1.65vw + 0.42rem, 0.95rem);
  line-height: 1.6;
  letter-spacing: 0.4em;
  padding-left: clamp(0.15rem, 1.5vw, 0.5rem);
  padding-right: clamp(0.15rem, 1.5vw, 0.5rem);
  margin-top: 5.0rem !important;
}

#home_content .home-tagline-icon {
  padding-left: clamp(0.35rem, 1.1vw, 0.85rem) !important;
  padding-right: clamp(0.35rem, 1.1vw, 0.85rem) !important;
}

.text_paragraph {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

@media (max-width: 767.98px) {
  #home_content {
    padding-top: clamp(1.35rem, 2.8vh + 0.85rem, 2.85rem);
    padding-bottom: clamp(0.35rem, 1.2vh, 1rem);
    padding-left: clamp(0.65rem, 3.8vw, 1rem);
    padding-right: clamp(0.65rem, 3.8vw, 1rem);
  }

  #home_content .home-tagline {
    font-size: clamp(0.625rem, 2.4vw + 0.38rem, 0.82rem);
    line-height: 1.35;
    letter-spacing: 0.1em;
  }

  #home_content .home-tagline-icon {
    padding-left: clamp(0.25rem, 0.9vw, 0.65rem) !important;
    padding-right: clamp(0.25rem, 0.9vw, 0.65rem) !important;
  }
}

@media (max-width: 767.98px) and (orientation: portrait) {
  #home_content .home-tagline {
    margin-top: 1.5rem !important;
  }
}
@media (max-height: 500px) and (orientation: landscape) {
  #home_content .home-tagline {
    margin-top: 1.5rem !important;
  }
}

@media (max-width: 575.98px) {
  #home_content {
    padding-top: clamp(1.15rem, 2.4vh + 0.65rem, 2.35rem);
    padding-bottom: clamp(0.3rem, 1vh, 0.95rem);
    padding-left: clamp(0.5rem, 4.2vw, 0.85rem);
    padding-right: clamp(0.5rem, 4.2vw, 0.85rem);
  }

  #home_content .home-tagline {
    font-size: clamp(0.58rem, 3.1vw + 0.28rem, 0.72rem);
    line-height: 1.32;
  }

  #home_content .home-tagline-icon {
    padding-left: clamp(0.18rem, 0.7vw, 0.45rem) !important;
    padding-right: clamp(0.18rem, 0.7vw, 0.45rem) !important;
  }
}

.hero-parallax-foreground {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  background-image: url("/assets/rp_history_palms_full_alpha-a01b4b91.png");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  color: #f4b190;
}

#plot.plot-parallax-background {
  background-image: url("/assets/rp_history_background_resized-ed4de804.jpg");
}

#game.game-parallax-background {
  background-image: url("/assets/back_gradient-005869ce.png");
}

#game.section {
  padding-bottom: 50px;
}

#trailer.section {
  padding-top: 50px;
}

.trailer-embed {
  position: relative;
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
}

.trailer-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.trailer-embed--lazy .trailer-embed__launch {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  overflow: hidden;
  border-radius: inherit;
  background: #000;
}

.trailer-embed__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.12s ease, filter 0.12s ease;
  image-rendering: high-quality;
}

.trailer-embed__launch:hover .trailer-embed__poster {
  transform: scale(1.02);
  filter: brightness(1.06);
}

.trailer-embed__play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 4.1rem;
  height: 2.85rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  padding-left: 5px;
  transition: transform 0.12s ease, background-color 0.12s ease;
}

.trailer-embed__launch:hover .trailer-embed__play-badge {
  transform: translate(-50%, -50%) scale(1.05);
  background: rgba(204, 0, 0, 0.9);
}

.follow-us-grid a.follow-us-card[href*="youtube"] {
  transition: transform 0.12s ease, border-color 0.12s ease, background-color 0.12s ease;
}

.mfp-fade.mfp-bg,
.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;
  transition: opacity 0.12s ease-out;
}

.mfp-fade.mfp-ready .mfp-bg,
.mfp-fade.mfp-ready .mfp-wrap .mfp-content {
  opacity: 1;
}

.mfp-fade.mfp-removing.mfp-bg,
.mfp-fade.mfp-removing.mfp-wrap .mfp-content {
  opacity: 0;
}

#talk.talk-parallax-background {
  background-image: linear-gradient(rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.62)), url("/assets/rp_back_chat_chip-a7c02fd3.jpg");
}

#follow_us.section {
  background-color: #000000;
  background-image: none;
}

#contact_us.contact-parallax-background {
  background-color: #050508;
  background-image: radial-gradient(ellipse 100% 65% at 50% 110%, rgba(244, 177, 144, 0.18), transparent 55%), radial-gradient(ellipse 85% 50% at 0% 20%, rgba(45, 75, 120, 0.22), transparent 48%), linear-gradient(rgba(7, 6, 11, 0.54), rgba(6, 5, 9, 0.62)), url("/assets/rp_back_contact-f8bb3982.jpg");
}

#talk.section {
  padding-top: 50px;
  padding-bottom: 50px;
}

#talk.section > .container > .row {
  margin-bottom: 22.5px;
}

#talk.section > .container > .row > .col-lg-10 {
  min-width: 0;
}

@media (max-width: 991.98px) {
  #game.section {
    padding-bottom: 40px;
  }

  #trailer.section {
    padding-top: 40px;
  }

  #talk.section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  #plot p.font-2 {
    font-size: 1.8rem !important;
  }

  #plot p.h4.white-color {
    font-size: calc((1.275rem + 0.3vw) * 0.72);
  }
}

@media (max-width: 767.98px) {
  #game.section {
    padding-bottom: 20px;
  }

  #trailer.section {
    padding-top: 20px;
  }

  #talk.section {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  #talk.section > .container > .row {
    margin-bottom: 12.5px;
  }
}

body {
  margin: 0;
  padding: 0;
  letter-spacing: 0.04em;
  font-stretch: normal;
}

#home {
  margin: 0;
  padding: 0;
}

#home .hero-section {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.header-height {
  min-height: 0 !important;
}

.fixed-header-bar {
  background-color: rgba(128, 128, 128, 0.1) !important;
  max-height: 52px !important;
}

@media (min-width: 992px) {
  .main-navbar .navbar-nav > li > a.nav-link {
    font-size: 16px !important;
    padding: 12px 12px !important;
  }
}

@media (max-width: 991px) {
  .fixed-header-bar {
    max-height: none !important;
    min-height: 0;
    padding-top: 2px;
    padding-bottom: 2px;
    box-sizing: border-box;
  }

  .main-navbar {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    align-items: center !important;
    min-height: 0;
  }

  .main-navbar .navbar-brand .logo img {
    height: 16px !important;
    width: auto;
  }

  .main-navbar .navbar-collapse {
    background: rgba(40, 35, 30, 0.92) !important;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.4) !important;
  }

  .main-navbar .navbar-nav > li {
    border-top-color: rgba(244, 177, 144, 0.18) !important;
  }

  .main-navbar .navbar-nav > li > a.nav-link {
    font-size: 13px !important;
    line-height: 28px !important;
    padding: 0 12px !important;
    color: #f4b190 !important;
  }

  .navbar-toggler {
    width: 22px !important;
    height: 22px !important;
    margin-left: 6px !important;
    flex-shrink: 0;
  }

  .navbar-toggler span {
    width: 14px !important;
    box-shadow: 0px -4px 0 0px currentColor, 0px 4px 0 0px currentColor !important;
  }

  .header-nav:not(.mobile-nav-open) .fixed-header-bar {
    min-height: 10px !important;
    max-height: 10px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    overflow: hidden;
    background-color: rgba(128, 128, 128, 0.1) !important;
    cursor: pointer;
    transition: max-height 0.36s cubic-bezier(0.33, 1, 0.53, 1), padding 0.36s cubic-bezier(0.33, 1, 0.53, 1), background-color 0.2s ease;
  }

  .header-nav:not(.mobile-nav-open) .fixed-header-bar:focus-visible {
    outline: 2px solid rgba(244, 177, 144, 0.55);
    outline-offset: 2px;
  }

  .header-nav:not(.mobile-nav-open) .fixed-header-bar .container {
    transform: translate3d(0, -100%, 0);
    pointer-events: none;
    will-change: transform;
    transition: transform 0.36s cubic-bezier(0.33, 1, 0.53, 1);
  }

  .header-nav.mobile-nav-open .fixed-header-bar {
    max-height: 120px !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    overflow: visible;
    cursor: default;
  }

  .header-nav.mobile-nav-open .fixed-header-bar .container {
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
    overflow: visible;
    transition: transform 0.36s cubic-bezier(0.33, 1, 0.53, 1);
  }

  #home_content .home-tagline {
    transition: opacity 0.32s ease, transform 0.32s ease, max-height 0.34s ease, margin 0.34s ease, padding 0.34s ease;
    max-height: 10rem;
  }

  body:has(.header-nav.mobile-nav-open) #home_content .home-tagline {
    opacity: 0;
    transform: translateY(-0.6rem);
    max-height: 0;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    overflow: hidden;
    pointer-events: none;
  }
}

@media (max-width: 991px) and (hover: hover) and (pointer: fine) {
  .header-nav:not(.mobile-nav-open):hover .fixed-header-bar {
    max-height: 120px !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    overflow: visible;
    cursor: default;
  }

  .header-nav:not(.mobile-nav-open):hover .fixed-header-bar .container {
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
    overflow: visible;
    transition: transform 0.36s cubic-bezier(0.33, 1, 0.53, 1);
  }

  body:has(.header-nav:hover) #home_content .home-tagline {
    opacity: 0;
    transform: translateY(-0.6rem);
    max-height: 0;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    overflow: hidden;
    pointer-events: none;
  }
}

.nav-link {
  color: #e9c4a6 !important;
}

@media (hover: hover) and (pointer: fine) {
  .main-navbar .navbar-nav > li > a.nav-link:hover,
  .nav-link:hover {
    color: #f5e0d2 !important;
  }
}

@keyframes wishlist-cta-glow-nav {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(120, 215, 205, 0.45), 0 0 14px rgba(27, 77, 69, 0.55), 0 4px 14px rgba(0, 0, 0, 0.5);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(120, 215, 205, 0), 0 0 22px rgba(27, 77, 69, 0.65), 0 6px 20px rgba(0, 0, 0, 0.52);
  }
}

@keyframes wishlist-cta-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(197, 179, 150, 0.4), 0 4px 18px rgba(0, 0, 0, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(197, 179, 150, 0), 0 7px 26px rgba(8, 22, 20, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  }
}

.main-navbar .navbar-nav > li.nav-item--wishlist-cta {
  display: flex;
  align-items: center;
}

.main-navbar .navbar-nav > li > a.nav-wishlist-cta {
  display: inline-flex !important;
  align-items: center;
  gap: 0.45rem;
  margin: 4px 0 4px 6px;
  padding: 0.32rem 0.85rem !important;
  border-radius: 999px;
  line-height: 1.2 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em;
  text-transform: none !important;
  color: #ffffff !important;
  background: linear-gradient(180deg, #2a7d70 0%, #1b4d45 42%, #123832 100%) !important;
  border: 1px solid rgba(130, 220, 208, 0.9) !important;
  animation: wishlist-cta-glow-nav 2.8s ease-in-out infinite;
}

.main-navbar .navbar-nav > li > a.nav-wishlist-cta .nav-wishlist-cta__icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 1.55em;
  height: 1.55em;
  font-size: 0.78rem !important;
  line-height: 1 !important;
  border: 1px solid #ffffff;
  border-radius: 50%;
  box-sizing: border-box;
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  .main-navbar .navbar-nav > li > a.nav-wishlist-cta:hover {
    color: #ffffff !important;
    background: linear-gradient(180deg, #349e8c 0%, #227a6d 48%, #185a50 100%) !important;
    border-color: rgba(170, 245, 235, 0.95) !important;
    text-decoration: none !important;
  }
}

@media (min-width: 992px) {
  .main-navbar .navbar-nav > li > a.nav-wishlist-cta {
    margin-left: 10px;
    padding: 0.38rem 1rem !important;
    font-size: 14px !important;
  }
}

.pre-footer-wishlist {
  padding: 1.35rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pre-footer-wishlist__micro {
  margin: 0 auto 0.7rem;
  max-width: 26rem;
  font-size: clamp(0.875rem, 2.4vw, 1.02rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.055em;
  color: #e9c4a6;
  text-shadow: 0 0 16px rgba(233, 196, 166, 0.3);
}

.footer-wishlist-cta {
  display: block;
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  padding: 0.95rem 1.15rem 1rem;
  border-radius: 12px;
  text-decoration: none !important;
  color: #ffffff !important;
  background: linear-gradient(180deg, #256f64 0%, #1b4d45 38%, #102824 72%, #081a18 100%);
  border: 1px solid #c5b396;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  animation: wishlist-cta-glow 2.2s ease-in-out infinite;
}

.footer-wishlist-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-align: center;
}

.footer-wishlist-cta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.45rem;
  height: 2.45rem;
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
  line-height: 1;
  border: 1px solid #ffffff;
  border-radius: 50%;
  box-sizing: border-box;
  opacity: 1;
}

.footer-wishlist-cta__label {
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.footer-wishlist-cta__hint {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.92) !important;
  text-transform: none;
}

@media (hover: hover) and (pointer: fine) {
  .footer-wishlist-cta:hover {
    transform: translateY(-2px);
    border-color: #d4c9b8;
    color: #ffffff !important;
    text-decoration: none !important;
  }
}

#feature {
  background-position: center top !important;
}

#feature.parallax > .jarallax-img {
  object-position: 50% 0% !important;
}

@media (max-width: 991.98px) {
  .hero-section {
    height: clamp(25.5rem, 101svh, 115svh);
    min-height: 0;
    background-size: cover;
    background-position: center top;
  }
}

@media (max-width: 991.98px) and (orientation: landscape) {
  .hero-section {
    height: clamp(25.5rem, 129svh, 138svh);
  }

  #plot.section {
    padding-top: clamp(2rem, 7svh, 3.25rem);
  }
}

h1, h2, h3, h4, h5, h6, p {
  /* color: #f4b190; */
  color: #bd987e;
}

.white-color {
  color: #fff9e8;  
}

#game .game-carousel {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: min(1480px, 100%);
}

#game .game-carousel .owl-stage-outer {
  margin-top: clamp(1rem, 3vw, 1.75rem);
  margin-bottom: clamp(1rem, 3vw, 1.75rem);
  padding-top: 4px;
  padding-bottom: 4px;
  box-sizing: border-box;
}

#game .game-carousel .item {
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.35s ease, opacity 0.35s ease;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

#game .game-carousel .owl-item:not(.center) .item img {
  opacity: 0.62;
}

#game .game-carousel .owl-item.center .item {
  overflow: visible;
  box-shadow: 0 0 0 2px #f4b190;
}

#game .game-carousel .owl-item.center .item img {
  border-radius: 10px;
}

#game .game-carousel .owl-item img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
}

#game .game-carousel .owl-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  margin: 0;
  pointer-events: none;
  z-index: 4;
}

#game .game-carousel .owl-nav .owl-prev,
#game .game-carousel .owl-nav .owl-next {
  position: absolute;
  pointer-events: auto;
  width: 2.5rem;
  height: 2.5rem;
  line-height: 2.5rem;
  margin: 0;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(244, 177, 144, 0.65);
  background: rgba(0, 0, 0, 0.45);
  color: #fff9e8;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

#game .game-carousel .owl-nav .owl-prev { left: clamp(0px, 1vw, 10px); }
#game .game-carousel .owl-nav .owl-next { right: clamp(0px, 1vw, 10px); }

#game .game-carousel .owl-nav .owl-prev:hover,
#game .game-carousel .owl-nav .owl-next:hover {
  background: rgba(244, 177, 144, 0.25);
  border-color: #f4b190;
}

#game .game-carousel .owl-nav.disabled {
  display: none;
}

@media (max-width: 991.98px) {
  .footer .footer-top .border-right-1 { border-right: none !important; }
}

.talk-chat-wrapper {
  width: 100%;
  max-width: min(860px, 100%);
  min-width: 0;
  margin: 0 auto;
  padding: 0.8rem;
  border: 1px solid rgba(140, 255, 170, 0.45);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 0 0 1px rgba(120, 255, 150, 0.12), 0 0 18px rgba(80, 255, 120, 0.16);
  font-family: "Courier New", "Lucida Console", monospace;
  position: relative;
  overflow: hidden;
}

.talk-chat-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 6px;
  background: repeating-linear-gradient(to bottom, rgba(170, 255, 190, 0.08) 0, rgba(170, 255, 190, 0.08) 1px, transparent 2px, transparent 4px);
  opacity: 0.45;
  z-index: 3;
}

.talk-chat-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 6px;
  background: radial-gradient(circle at 50% 50%, transparent 0 58%, rgba(0, 0, 0, 0.42) 100%);
  mix-blend-mode: multiply;
  opacity: 0.8;
  z-index: 3;
}

.talk-chat-messages {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  min-height: 390px;
  max-height: 620px;
  overflow: hidden;
  border-radius: 4px;
  background: transparent;
  border: 1px solid rgba(130, 255, 165, 0.35);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  min-width: 0;
  isolation: isolate;
}

.talk-chat-viewport {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  container-type: inline-size;
}

.talk-chat-roy {
  --roy-frames: 24;
  position: absolute;
  left: 50%;
  bottom: 0;
  width: clamp(156px, 58%, 432px);
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 1;
  height: auto;
  transform: translateX(-50%);
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.talk-chat-roy::before {
  content: "";
  display: block;
  width: calc(var(--roy-frames) * 100%);
  height: 100%;
  background: url("/assets/roy_sheet-29476453.webp") 0 0 / 100% 100% no-repeat;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  animation: talk-chat-roy-idle 4s steps(24) infinite;
  will-change: transform;
}

.talk-chat-glitch {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  pointer-events: none;
}

.talk-chat-glitch--scan {
  background:
    repeating-linear-gradient(180deg, transparent 0 2px, rgba(0, 0, 0, 0.16) 2px 3px, transparent 3px 5px, rgba(180, 255, 210, 0.06) 5px 6px, transparent 6px 9px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 7px);
  background-size: 100% clamp(7px, 1.4cqi, 12px), clamp(12px, 2cqi, 18px) 100%;
  mix-blend-mode: soft-light;
  opacity: 0.28;
  animation: talk-chat-glitch-scan-drift 0.11s linear infinite, talk-chat-glitch-scan 3.7s steps(1, end) infinite;
}

.talk-chat-glitch--tear {
  background:
    linear-gradient(180deg, transparent 12%, rgba(255, 255, 255, 0.2) 12.3%, rgba(255, 70, 90, 0.16) 12.6%, rgba(90, 170, 255, 0.14) 13%, transparent 13.4%),
    linear-gradient(180deg, transparent 31%, rgba(0, 0, 0, 0.28) 31.4%, rgba(130, 255, 165, 0.12) 31.8%, transparent 32.3%),
    linear-gradient(180deg, transparent 44%, rgba(255, 90, 90, 0.18) 44.4%, rgba(90, 170, 255, 0.16) 44.9%, transparent 45.4%),
    linear-gradient(180deg, transparent 58%, rgba(255, 255, 255, 0.15) 58.3%, transparent 58.9%),
    linear-gradient(180deg, transparent 71%, rgba(0, 0, 0, 0.26) 71.3%, rgba(130, 255, 165, 0.13) 71.8%, transparent 72.4%),
    linear-gradient(180deg, transparent 86%, rgba(255, 70, 90, 0.17) 86.3%, rgba(90, 170, 255, 0.15) 86.8%, transparent 87.3%);
  mix-blend-mode: screen;
  opacity: 0.38;
  animation: talk-chat-glitch-tear 2.13s steps(1, end) infinite, talk-chat-glitch-tear-flicker 4.9s steps(1, end) infinite;
}

.talk-chat-viewport::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: rgba(190, 235, 205, 0.06);
  mix-blend-mode: soft-light;
  opacity: 0;
  animation: talk-chat-glitch-burst 2.87s steps(1, end) infinite;
}

@keyframes talk-chat-roy-idle {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

@keyframes talk-chat-glitch-scan-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 9px, 13px 0; }
}

@keyframes talk-chat-glitch-scan {
  0%, 100% { transform: translateX(0); opacity: 0.22; }
  6% { transform: translateX(-0.5%); opacity: 0.42; }
  14% { transform: translateX(0.45%); opacity: 0.36; }
  23% { transform: translateX(0); opacity: 0.24; }
  31% { transform: translateX(0.9%); opacity: 0.45; }
  38% { transform: translateX(-0.6%); opacity: 0.4; }
  47% { transform: translateX(0); opacity: 0.26; }
  53% { transform: translateX(-1%); opacity: 0.44; }
  61% { transform: translateX(0.75%); opacity: 0.4; }
  69% { transform: translateX(0); opacity: 0.27; }
  76% { transform: translateX(-1.2%); opacity: 0.46; }
  84% { transform: translateX(0.55%); opacity: 0.38; }
  91% { transform: translateX(-0.45%); opacity: 0.41; }
}

@keyframes talk-chat-glitch-tear {
  0%, 100% { transform: translateX(0); clip-path: inset(0); filter: none; }
  3% { transform: translateX(-1.4%); clip-path: inset(9% 0 84% 0); filter: drop-shadow(0.8% 0 0 rgba(255, 60, 80, 0.52)) drop-shadow(-0.7% 0 0 rgba(80, 170, 255, 0.49)); }
  9% { transform: translateX(1.1%); clip-path: inset(38% 0 52% 0); filter: drop-shadow(-0.55% 0 0 rgba(255, 60, 80, 0.45)) drop-shadow(0.55% 0 0 rgba(80, 170, 255, 0.42)); }
  17% { transform: translateX(0); clip-path: inset(0); filter: none; }
  22% { transform: translateX(-1%); clip-path: inset(56% 0 34% 0); filter: drop-shadow(0.7% 0 0 rgba(255, 60, 80, 0.49)) drop-shadow(-0.55% 0 0 rgba(80, 170, 255, 0.45)); }
  29% { transform: translateX(1.25%); clip-path: inset(72% 0 18% 0); filter: drop-shadow(-0.8% 0 0 rgba(255, 60, 80, 0.5)) drop-shadow(0.7% 0 0 rgba(80, 170, 255, 0.48)); }
  36% { transform: translateX(0); clip-path: inset(0); filter: none; }
  41% { transform: translateX(-1.5%); clip-path: inset(18% 0 74% 0); filter: drop-shadow(0.85% 0 0 rgba(255, 60, 80, 0.56)) drop-shadow(-0.8% 0 0 rgba(80, 170, 255, 0.52)); }
  48% { transform: translateX(0.85%); clip-path: inset(64% 0 26% 0); }
  55% { transform: translateX(0); clip-path: inset(0); filter: none; }
  58% { transform: translateX(-1.1%); clip-path: inset(44% 0 48% 0); filter: drop-shadow(0.8% 0 0 rgba(255, 60, 80, 0.54)) drop-shadow(-0.7% 0 0 rgba(80, 170, 255, 0.5)); }
  64% { transform: translateX(1.35%); clip-path: inset(81% 0 8% 0); }
  71% { transform: translateX(-0.85%); clip-path: inset(26% 0 66% 0); filter: drop-shadow(-0.7% 0 0 rgba(255, 60, 80, 0.49)) drop-shadow(0.55% 0 0 rgba(80, 170, 255, 0.46)); }
  79% { transform: translateX(0); clip-path: inset(0); filter: none; }
  83% { transform: translateX(-1.2%); clip-path: inset(67% 0 22% 0); filter: drop-shadow(0.8% 0 0 rgba(255, 60, 80, 0.53)) drop-shadow(-0.7% 0 0 rgba(80, 170, 255, 0.49)); }
  88% { transform: translateX(1%); clip-path: inset(14% 0 78% 0); }
  94% { transform: translateX(-0.55%); clip-path: inset(49% 0 43% 0); opacity: 0.66; }
}

@keyframes talk-chat-glitch-tear-flicker {
  0%, 100% { opacity: 0.34; }
  11% { opacity: 0.48; }
  27% { opacity: 0.45; }
  45% { opacity: 0.48; }
  62% { opacity: 0.36; }
  74% { opacity: 0.48; }
  89% { opacity: 0.44; }
}

@keyframes talk-chat-glitch-burst {
  0%, 100% { opacity: 0; transform: translateX(0) scaleX(1); background-color: transparent; }
  5% { opacity: 0.74; transform: translateX(-0.7%) scaleX(1.01); background-color: rgba(210, 245, 225, 0.22); }
  8% { opacity: 0; transform: translateX(0); background-color: transparent; }
  19% { opacity: 0.76; transform: translateX(0.85%) scaleX(1); background-color: rgba(150, 230, 180, 0.2); }
  21% { opacity: 0; transform: translateX(0); background-color: transparent; }
  33% { opacity: 0.72; transform: translateX(-0.55%) scaleX(1.01); background-color: rgba(220, 180, 190, 0.16); }
  35% { opacity: 0; transform: translateX(0); background-color: transparent; }
  46% { opacity: 0.78; transform: translateX(0.7%) scaleX(1.01); background-color: rgba(205, 240, 215, 0.24); }
  49% { opacity: 0; transform: translateX(0); background-color: transparent; }
  57% { opacity: 0.75; transform: translateX(-0.8%) scaleX(1.01); background-color: rgba(170, 200, 230, 0.18); }
  59% { opacity: 0; transform: translateX(0); background-color: transparent; }
  68% { opacity: 0.73; transform: translateX(0.5%) scaleX(1); background-color: rgba(200, 235, 210, 0.19); }
  70% { opacity: 0; transform: translateX(0); background-color: transparent; }
  81% { opacity: 0.8; transform: translateX(-0.75%) scaleX(1.02); background-color: rgba(215, 245, 225, 0.26); }
  84% { opacity: 0; transform: translateX(0); background-color: transparent; }
  93% { opacity: 0.77; transform: translateX(0.65%) scaleX(1); background-color: rgba(160, 225, 185, 0.21); }
  95% { opacity: 0; transform: translateX(0); background-color: transparent; }
}

@media (prefers-reduced-motion: reduce) {
  .talk-chat-glitch,
  .talk-chat-viewport::after { animation: none; opacity: 0.25; }
}

.talk-chat-messages-screen {
  position: absolute;
  inset: 0;
  background: rgba(0, 10, 0, 0.72);
  pointer-events: none;
  z-index: 1;
}

.talk-chat-scroll {
  position: absolute;
  inset: 0;
  z-index: 2;
  min-height: 0;
  min-width: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0.6rem 1rem;
  scrollbar-color: rgba(130, 255, 165, 0.45) rgba(0, 12, 0, 0.55);
  scrollbar-width: thin;
}

.talk-chat-scroll::-webkit-scrollbar {
  width: 6px;
}

.talk-chat-scroll::-webkit-scrollbar-track {
  background: rgba(0, 12, 0, 0.55);
}

.talk-chat-scroll::-webkit-scrollbar-thumb {
  background: rgba(130, 255, 165, 0.45);
  border-radius: 3px;
}

.talk-chat-message {
  box-sizing: border-box;
  width: fit-content;
  max-width: 50%;
  margin-bottom: 0.55rem;
  padding-top: 0.1rem;
  padding-bottom: 0.1rem;
  line-height: 1.4;
  color: #f6fff9;
  font-size: 0.87rem;
  letter-spacing: 0.06em;
  text-shadow: 0 0 7px currentColor, 0 0 13px rgba(180, 255, 210, 0.36), 0.8px 0 rgba(255, 60, 60, 0.22), -0.8px 0 rgba(70, 150, 255, 0.24);
  animation: talk-chat-crt-flicker 2.6s steps(20, end) infinite;
  position: relative;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.talk-chat-assistant {
  text-align: right;
  margin-left: auto;
  padding-right: 3.6rem;
  color: #8effd3;
}

.talk-chat-assistant::before {
  content: "<ROY ";
  color: #64f7c3;
  font-weight: 600;
  position: absolute;
  right: 0;
  bottom: 0.08rem;
}

.talk-chat-typing::after {
  content: "█";
  display: inline-block;
  margin-left: 0.32rem;
  color: #98ffb6;
  text-shadow: 0 0 8px rgba(130, 255, 165, 0.9), 0 0 14px rgba(130, 255, 165, 0.5);
  animation: talk-chat-cursor-blink 0.88s steps(1, end) infinite;
}

.talk-chat-typing {
  opacity: 0.82;
  font-style: italic;
  animation: talk-chat-typing-pulse 1s ease-in-out infinite, talk-chat-crt-flicker 2.6s steps(20, end) infinite;
}

.talk-chat-user {
  text-align: left;
  margin-right: auto;
  padding-left: 2.9rem;
  color: #ffd08a;
}

.talk-chat-user::before {
  content: "USR> ";
  color: #ffba62;
  font-weight: 600;
  position: absolute;
  left: 0;
  bottom: 0.08rem;
}

.talk-chat-command-line {
  position: relative;
  z-index: 5;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  min-height: clamp(28px, 6cqi, 36px);
  padding: 0.4rem 0.6rem 0.2rem;
  border-top: 1px solid rgba(130, 255, 165, 0.2);
  background: rgba(0, 8, 0, 1);
  isolation: isolate;
}

.talk-chat-command-prompt {
  color: #98ffb6;
  text-shadow: 0 0 8px rgba(130, 255, 165, 0.65);
  letter-spacing: 0.08em;
}

.talk-chat-command-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: #c8ffd5;
  font-family: "Courier New", "Lucida Console", monospace;
  font-size: 0.87rem;
  letter-spacing: 0.06em;
  text-shadow: 0 0 4px rgba(140, 255, 170, 0.4), 0.6px 0 rgba(255, 50, 50, 0.14), -0.6px 0 rgba(50, 120, 255, 0.14);
  caret-color: #8cffaa;
}

.talk-chat-command-input:focus {
  outline: none;
}

.talk-chat-command-input:disabled {
  opacity: 0.4;
}

.talk-chat-root-cutoff {
  color: #ffadad;
  border-color: rgba(255, 120, 120, 0.55);
  background: rgba(64, 0, 0, 0.4);
  text-shadow: 0 0 6px rgba(255, 120, 120, 0.9), 0 0 16px rgba(255, 0, 0, 0.45), 1px 0 rgba(255, 30, 30, 0.35), -1px 0 rgba(70, 70, 255, 0.25);
  animation: talk-chat-root-warning 0.22s steps(2, end) 8, talk-chat-crt-flicker 0.4s steps(3, end) infinite;
}

.talk-chat-root-cutoff::before {
  content: "SYS> ";
  color: rgba(255, 150, 150, 0.9);
}

.talk-chat-signal.talk-chat-assistant::before {
  content: "";
}

.talk-chat-signal.talk-chat-assistant {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding-right: 0.6rem;
  max-width: 92%;
  font-family: "Courier New", "Lucida Console", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: #ffc266;
  text-shadow: 0 0 8px rgba(255, 190, 90, 0.55), 0 0 18px rgba(255, 140, 40, 0.35);
  animation: talk-chat-root-warning 0.35s steps(2, end) 5, talk-chat-crt-flicker 0.55s steps(4, end) infinite;
}

.talk-chat-error {
  min-height: 0;
  margin-top: 0.35rem;
  color: #ff9f9f;
  font-size: 0.8rem;
}

.talk-chat-limit {
  min-height: 0;
  margin-top: 0.35rem;
  color: #e8cdbd;
  font-size: 0.78rem;
  text-shadow: 0 0 5px rgba(255, 205, 120, 0.25);
}

.talk-chat-limit:empty,
.talk-chat-error:empty {
  display: none;
}

@media (max-width: 767.98px) {
  .talk-chat-wrapper {
    padding: 0.55rem;
  }

  .talk-chat-roy {
    width: clamp(120px, 53%, 336px);
    max-height: 100%;
  }

  .talk-chat-messages {
    width: 100%;
    min-height: 0;
    max-height: min(68vh, 520px);
  }

  .talk-chat-viewport {
    min-height: 0;
  }

  .talk-chat-scroll {
    padding: 0.45rem 0.65rem 0.9rem;
  }

  .talk-chat-message {
    max-width: min(92%, 100%);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
  }

  .talk-chat-assistant {
    padding-right: 3.38rem;
  }

  .talk-chat-user {
    padding-left: 2.68rem;
  }

  .talk-chat-command-line {
    padding: 0.35rem 0.5rem 0.18rem;
  }

  .talk-chat-command-input {
    font-size: 0.82rem;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .talk-chat-wrapper {
    width: 100%;
  }

  .talk-chat-messages {
    width: 100%;
    aspect-ratio: auto;
    height: min(72vh, 300px);
    min-height: 0;
    max-height: none;
  }

  .talk-chat-viewport {
    min-height: 0;
  }

  .talk-chat-roy {
    width: clamp(100px, 42%, 280px);
    max-width: 100%;
    max-height: 92%;
  }
}

@keyframes talk-chat-typing-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.92; }
}

@keyframes talk-chat-crt-flicker {
  0%, 100% { opacity: 0.98; }
  7% { opacity: 0.88; }
  10% { opacity: 0.97; }
  33% { opacity: 0.9; }
  36% { opacity: 0.99; }
  61% { opacity: 0.92; }
  64% { opacity: 0.98; }
}

@keyframes talk-chat-cursor-blink {
  0%, 45% { opacity: 1; }
  46%, 100% { opacity: 0; }
}

@keyframes talk-chat-root-warning {
  0% { transform: translateX(0); filter: saturate(1); }
  25% { transform: translateX(-1px); filter: saturate(1.45); }
  50% { transform: translateX(1px); filter: saturate(1.2); }
  75% { transform: translateX(-0.5px); filter: saturate(1.5); }
  100% { transform: translateX(0); filter: saturate(1); }
}

.legal-doc {
  padding: 5rem 0 4rem;
  color: rgba(255, 255, 255, 0.9);
}

.legal-doc .legal-doc__inner {
  max-width: 42rem;
  margin: 0 auto;
  text-align: left;
  line-height: 1.65;
}

.legal-doc h1 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #f4b190;
  margin-bottom: 0.35rem;
}

.legal-doc p.legal-doc__meta { color: rgba(255, 255, 255, 0.55); font-size: 0.9rem; margin-bottom: 1.75rem; }

.legal-doc h2 { font-size: 1.15rem; font-weight: 600; color: #fff; margin: 1.75rem 0 0.5rem; }
.legal-doc p { margin-bottom: 0.85rem; }
.legal-doc ul { padding-left: 1.25rem; margin-bottom: 0.85rem; }
.legal-doc li { margin-bottom: 0.35rem; }
.legal-doc a { color: #f4b190; text-decoration: underline; }
.legal-doc a:hover { color: #ffc8a8; }

.follow-us-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.follow-us-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  min-height: 78px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #f4f4f4 !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(0.72rem, 0.45rem + 0.55vw, 0.9rem);
  font-weight: 700;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.follow-us-card span {
  min-width: 0;
  line-height: 1.2;
}

.follow-us-card i {
  flex-shrink: 0;
  font-size: clamp(0.85rem, 0.55rem + 0.65vw, 1.2rem);
}

.follow-us-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 221, 122, 0.8);
  background: rgba(255, 221, 122, 0.08);
  text-decoration: none;
}

.follow-us-card--highlight {
  border: 1px solid #c5b396;
  color: #ffffff !important;
  background: linear-gradient(180deg, #256f64 0%, #1b4d45 38%, #102824 72%, #081a18 100%);
}

.follow-us-card--highlight:hover {
  border-color: #d4c9b8 !important;
  background: linear-gradient(180deg, #2f8578 0%, #21665c 45%, #143933 100%) !important;
  color: #ffffff !important;
}

.follow-us-card--highlight i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.05rem;
  height: 2.05rem;
  flex-shrink: 0;
  font-size: 1rem;
  border: 1px solid #ffffff;
  border-radius: 50%;
  box-sizing: border-box;
}

.follow-us-card--highlight span {
  text-transform: none;
  letter-spacing: 0.06em;
}

.contact-form-shell {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.5);
  padding: clamp(1rem, 2vw, 1.5rem);
  border-radius: 6px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form__row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-form__label {
  color: #f4f4f4;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.contact-form__input {
  width: 100%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 10px 12px;
  outline: none;
  border-radius: 6px;
}

.contact-form__input:focus {
  border-color: #f4b190;
}

.contact-form__textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-form__submit {
  border: 1px solid #f4b190;
  background: transparent;
  color: #f4b190;
  text-transform: none;
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.contact-form__submit:hover {
  background: #f4b190;
  color: #171717;
}

.contact-form-alert {
  margin-bottom: 10px;
  padding: 10px 12px;
  font-weight: 600;
  border-radius: 6px;
}

.contact-form-alert--error {
  background: rgba(255, 90, 90, 0.16);
  border: 1px solid rgba(255, 90, 90, 0.55);
  color: #ffd1d1;
}

.contact-form-alert--success {
  background: rgba(109, 255, 188, 0.15);
  border: 1px solid rgba(109, 255, 188, 0.5);
  color: #b8ffe3;
}

@media (max-width: 767.98px) {
  .follow-us-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .follow-us-card {
    min-height: 64px;
    padding: 10px 12px;
    gap: 6px;
    letter-spacing: 0.04em;
    font-size: clamp(0.5rem, 2.15vw + 0.3rem, 0.72rem);
  }

  .follow-us-card i {
    font-size: clamp(0.7rem, 1.6vw + 0.38rem, 0.95rem);
  }

  .follow-us-card--highlight i {
    width: 1.65rem;
    height: 1.65rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 575.98px) {
  .follow-us-card {
    min-height: 58px;
    padding: 8px 10px;
    gap: 5px;
    font-size: clamp(0.46rem, 2.6vw + 0.22rem, 0.64rem);
  }

  .follow-us-card i {
    font-size: clamp(0.62rem, 2vw + 0.32rem, 0.85rem);
  }

  .follow-us-card--highlight i {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.72rem;
  }
}
