/**/
/* THIS FILE AUTOGENERATED FROM CSS in ./web/css/ */ 
/**/
/* animation one */

.invis {
  display: none !important;
}

svg#top_animation {
  width: 100%;
  max-width: 120vh;
  margin: auto;
}

.animation-one-controls {
  font-size: 2rem;
  margin-left: 14vw;
}

.animation-one-holder {
  display: flex;
  flex-direction: row;
  width: 100%;
  align-items: center;
  position: relative;
}

.animation-one-title {
  width: 45%;
  overflow: visible;
  position: absolute;
  left: 25%;
  transform: translateX(-38%);
}

.animation-one-title.animating {
  width: 480px;
  left: 50%;
  transform: translate(-50%, -40%);
}

#switch-body {
  cursor: pointer;
}

#switch_on {
  transition: fill 0.3s linear;
}

#switch.saito #switch_on {
  fill: #6ed677;
}

#switch-hndlr {
  transition: transform 0.3s ease-in-out;
}

#switch.saito #switch-hndlr {
  transform: translate(26px, 0);
}

#lbl-not-saito,
#lbl-saito {
  transition: all 0.3s linear;
}

#switch.saito #lbl-not-saito {
  fill: #000;
  opacity: 0.2;
}

#switch.saito #lbl-saito {
  fill: #f61745;
  opacity: 1;
}

#replay_bttn {
  cursor: pointer;
}

#replay_arrow {
  opacity: 0.5;
  transition: opacity 0.2s linear;
}

#replay_bttn:hover #replay_arrow {
  opacity: 1;
}

text {
  text-anchor: middle;
  font-family: 'Visuelt', sans-serif;
  font-size: 16px;
}

#beam1.n,
.n #grad_line1 {
  animation: none;
}

#beam1 {
  transform: translate(951.1px, 493.1px);
  animation: beam1 2s ease-in-out forwards;
}

@keyframes beam1 {
  0% {
    transform: translate(606.6px, 727.1px);
  }

  100% {
    transform: translate(951.1px, 493.1px);
  }
}

#grad_line1 {
  /* animation: grad_line1 2s ease-in-out forwards; */
  transform: rotate(145.75deg);
}

@keyframes grad_line1 {
  0%,
  49.99% {
    transform: rotate(145.75deg);
  }

  50%,
  100% {
    transform: rotate(-34.25deg);
  }
}

.n #grad_scale1 {
  animation: none;
}

#grad_scale1 {
  animation: grad_scale1 2s ease-in-out forwards;
}

@keyframes grad_scale1 {
  0%,
  100% {
    transform: scale(0, 1);
  }

  50% {
    transform: scale(1, 1);
  }
}

#beam2.n,
.n #grad_line2 {
  animation: none;
}

#beam2 {
  transform: translate(606.6px, 727.1px);
  animation: beam2 2s ease-in-out forwards;
}

@keyframes beam2 {
  0% {
    transform: translate(606.6px, 727.1px);
  }

  100% {
    transform: translate(931.1px, 727.1px);
  }
}

#grad_line2 {
  /* animation: grad_line2 2s ease-in-out forwards; */
  transform: rotate(180deg);
}

@keyframes grad_line2 {
  0%,
  49.99% {
    transform: rotate(180deg);
  }

  50%,
  100% {
    transform: rotate(0deg);
  }
}

.n #grad_scale2 {
  animation: none;
}

#grad_scale2 {
  animation: grad_scale2 2s ease-in-out forwards;
}

@keyframes grad_scale2 {
  0%,
  100% {
    transform: scale(0, 1);
  }

  50% {
    transform: scale(1, 1);
  }
}

#grad_line3 {
  animation: grad_line3 2s ease-in-out forwards;
  transform: rotate(171.3deg);
}

@keyframes grad_line3 {
  0%,
  49.99% {
    transform: rotate(171.3deg);
  }

  50%,
  100% {
    transform: rotate(-8.7deg);
  }
}

#grad_line4 {
  animation: grad_line4 2s ease-in-out forwards;
  transform: rotate(188deg);
}

@keyframes grad_line4 {
  0%,
  49.99% {
    transform: rotate(188deg);
  }

  50%,
  100% {
    transform: rotate(8deg);
  }
}

.n #grad_line3,
.n #grad_line4 {
  animation: none;
}

#sbeam1.n,
.n #grad_scale4 {
  animation: none;
}

#sbeam1 {
  transform: translate(479px, 596px);
  animation: sbeam1 2s ease-in-out forwards;
}

@keyframes sbeam1 {
  0%,
  100% {
    transform: translate(479px, 596px);
  }

  50% {
    transform: translate(923px, 528px);
  }
}

#grad_scale4 {
  animation: grad_scale4 2s ease-in-out forwards;
}

@keyframes grad_scale4 {
  0%,
  50%,
  100% {
    transform: scale(0, 1);
  }

  25%,
  75% {
    transform: scale(1, 1);
  }
}

#sbeam2.n {
  animation: none;
}

#sbeam2 {
  transform: translate(482px, 747px);
  animation: sbeam2 2s ease-in-out forwards;
}

@keyframes sbeam2 {
  0%,
  100% {
    transform: translate(482px, 747px);
  }

  50% {
    transform: translate(918px, 808px);
  }
}

#ubeam1.n {
  animation: none;
}

#ubeam1 {
  transform: translate(433.59px, 444.1px);
  animation: ubeam1 2s ease-in-out forwards;
}

@keyframes ubeam1 {
  0% {
    transform: translate(433.59px, 444.1px);
  }

  100% {
    transform: translate(498.13px, 444.15px);
  }
}

.n #grad_scale3 {
  animation: none;
}

#grad_scale3 {
  animation: grad_scale3 2s ease-in-out forwards;
}

@keyframes grad_scale3 {
  0%,
  100% {
    transform: scale(0, 1);
  }

  50% {
    transform: scale(0.2, 1);
  }
}

#ubeam2.n {
  animation: none;
}

#ubeam2 {
  transform: translate(433.59px, 585.15px);
  animation: ubeam2 2s ease-in-out forwards;
}

@keyframes ubeam2 {
  0% {
    transform: translate(433.59px, 585.15px);
  }

  100% {
    transform: translate(498.13px, 585.15px);
  }
}

#ubeam3.n {
  animation: none;
}

#ubeam3 {
  transform: translate(433.59px, 728.15px);
  animation: ubeam3 2s ease-in-out forwards;
}

@keyframes ubeam3 {
  0% {
    transform: translate(433.59px, 728.15px);
  }

  100% {
    transform: translate(498.13px, 728.15px);
  }
}

#dots1 {
  animation: dots1 2s cubic-bezier(0.6, 0, 0.4, 1) forwards;
}

@keyframes dots1 {
  0% {
    transform: translate(576px, 444px);
  }

  100% {
    transform: translate(960px, 444px);
  }
}

#dots2 {
  animation: dots2 2s cubic-bezier(0.6, 0, 0.4, 1) forwards;
}

@keyframes dots2 {
  0% {
    transform: translate(570.8px, 596.7px) rotate(-18.8deg);
  }

  100% {
    transform: translate(967.3px, 460.8px) rotate(-18.8deg);
  }
}

#dots3 {
  animation: dots3 2s cubic-bezier(0.6, 0, 0.4, 1) forwards;
}

@keyframes dots3 {
  0% {
    transform: translate(1180px, 236.14px) rotate(0deg);
  }

  100% {
    transform: translate(1480px, 236.14px) rotate(0deg);
  }
}

#dots4 {
  animation: dots4 2s cubic-bezier(0.6, 0, 0.4, 1) forwards;
}

@keyframes dots4 {
  0% {
    transform: translate(1015.2px, 414.1px) rotate(-53.34deg);
  }

  100% {
    transform: translate(1132px, 259px) rotate(-53.34deg);
  }
}

#dots5 {
  animation: dots5 2s cubic-bezier(0.6, 0, 0.4, 1) forwards;
}

@keyframes dots5 {
  0% {
    transform: translate(1162.3px, 259.5px) rotate(-126.66deg);
  }

  100% {
    transform: translate(1282.7px, 419.5px) rotate(-126.66deg);
  }
}

#dots6 {
  animation: dots6 2s cubic-bezier(0.6, 0, 0.4, 1) forwards;
}

@keyframes dots6 {
  0% {
    transform: translate(1305.8px, 426.9px) rotate(-39.25deg);
  }

  100% {
    transform: translate(1514.7px, 256.3px) rotate(-39.25deg);
  }
}

#dots7 {
  animation: dots7 2s cubic-bezier(0.6, 0, 0.4, 1) forwards;
}

@keyframes dots7 {
  0% {
    transform: translate(1035.9px, 444.1px) rotate(0deg);
  }

  100% {
    transform: translate(1267.2px, 444.1px) rotate(0deg);
  }
}

#dots8 {
  animation: dots8 2s cubic-bezier(0.6, 0, 0.4, 1) forwards;
}

@keyframes dots8 {
  0% {
    transform: translate(1527.7px, 255.3px) rotate(-90deg);
  }

  100% {
    transform: translate(1527.7px, 570px) rotate(-90deg);
  }
}

#dots9 {
  animation: dots9 2s cubic-bezier(0.6, 0, 0.4, 1) forwards;
}

@keyframes dots9 {
  0% {
    transform: translate(1012.1px, 696.9px) rotate(-90deg);
  }

  100% {
    transform: translate(1012.1px, 461.3px) rotate(-90deg);
  }
}

#dots10 {
  animation: dots10 2s cubic-bezier(0.6, 0, 0.4, 1) forwards;
}

@keyframes dots10 {
  0% {
    transform: translate(1022.9px, 466.5px) rotate(-135deg);
  }

  100% {
    transform: translate(1269px, 712.6px) rotate(-135deg);
  }
}

#dots11 {
  animation: dots11 2s cubic-bezier(0.6, 0, 0.4, 1) forwards;
}

@keyframes dots11 {
  0% {
    transform: translate(1292.1px, 701.8px) rotate(-90deg);
  }

  100% {
    transform: translate(1292.1px, 466.5px) rotate(-90deg);
  }
}

#dots12 {
  animation: dots12 2s cubic-bezier(0.6, 0, 0.4, 1) forwards;
}

@keyframes dots12 {
  0% {
    transform: translate(1305.9px, 439px) rotate(-145.7deg);
  }

  100% {
    transform: translate(1510px, 579.2px) rotate(-145.7deg);
  }
}

#dots13 {
  animation: dots13 2s cubic-bezier(0.6, 0, 0.4, 1) forwards;
}

@keyframes dots13 {
  0% {
    transform: translate(1311.9px, 720.1px) rotate(145.64deg);
  }

  100% {
    transform: translate(1504.6px, 588.1px) rotate(145.64deg);
  }
}

#dots14 {
  animation: dots14 2s cubic-bezier(0.6, 0, 0.4, 1) forwards;
}

@keyframes dots14 {
  0% {
    transform: translate(1034.1px, 727.1px) rotate(0deg);
  }

  100% {
    transform: translate(1269px, 727.1px) rotate(0deg);
  }
}

#dots15 {
  animation: dots15 2s cubic-bezier(0.6, 0, 0.4, 1) forwards;
}

@keyframes dots15 {
  0% {
    transform: translate(1013.4px, 754.6px) rotate(53.09deg);
  }

  100% {
    transform: translate(1133.6px, 914.4px) rotate(53.09deg);
  }
}

#dots16 {
  animation: dots16 2s cubic-bezier(0.6, 0, 0.4, 1) forwards;
}

@keyframes dots16 {
  0% {
    transform: translate(1165.1px, 907.8px) rotate(126.91deg);
  }

  100% {
    transform: translate(1279.8px, 755.2px) rotate(126.91deg);
  }
}

#dots17 {
  animation: dots17 2s cubic-bezier(0.6, 0, 0.4, 1) forwards;
}

@keyframes dots17 {
  0% {
    transform: translate(1306.3px, 740px) rotate(39.26deg);
  }

  100% {
    transform: translate(1513.4px, 909.2px) rotate(39.26deg);
  }
}

#dots18 {
  animation: dots18 2s cubic-bezier(0.6, 0, 0.4, 1) forwards;
}

@keyframes dots18 {
  0% {
    transform: translate(1172.2px, 932.1px) rotate(0deg);
  }

  100% {
    transform: translate(1494.3px, 932.1px) rotate(0deg);
  }
}

#dots19 {
  animation: dots19 2s cubic-bezier(0.6, 0, 0.4, 1) forwards;
}

@keyframes dots19 {
  0% {
    transform: translate(1527.7px, 607.9px) rotate(-90deg);
  }

  100% {
    transform: translate(1527.7px, 911.3px) rotate(-90deg);
  }
}

#dots20 {
  animation: dots20 2s cubic-bezier(0.6, 0, 0.4, 1) forwards;
}

@keyframes dots20 {
  0% {
    transform: translate(416px, 444px) rotate(0deg);
  }

  100% {
    transform: translate(992px, 444px) rotate(0deg);
  }
}

#dots21 {
  animation: dots21 2s cubic-bezier(0.6, 0, 0.4, 1) forwards;
}

@keyframes dots21 {
  0% {
    transform: translate(416px, 596px) rotate(-13.49deg);
  }

  100% {
    transform: translate(1003px, 455px) rotate(-13.49deg);
  }
}

#dots22 {
  animation: dots22 2s cubic-bezier(0.6, 0, 0.4, 1) forwards;
}

@keyframes dots22 {
  0% {
    transform: translate(416px, 732px) rotate(0deg);
  }

  100% {
    transform: translate(993px, 732px) rotate(0deg);
  }
}

#dots23 {
  animation: dots23 2s cubic-bezier(0.6, 0, 0.4, 1) forwards;
}

@keyframes dots23 {
  0% {
    transform: translate(400px, 434.2px) rotate(0deg);
  }

  100% {
    transform: translate(530px, 434.2px) rotate(0deg);
  }
}

#dots24 {
  animation: dots24 2s cubic-bezier(0.6, 0, 0.4, 1) forwards;
}

@keyframes dots24 {
  0% {
    transform: translate(400px, 575.2px) rotate(0deg);
  }

  100% {
    transform: translate(530px, 575.2px) rotate(0deg);
  }
}

#dots25 {
  animation: dots25 2s cubic-bezier(0.6, 0, 0.4, 1) forwards;
}

@keyframes dots25 {
  0% {
    transform: translate(400px, 718.2px) rotate(0deg);
  }

  100% {
    transform: translate(530px, 718.2px) rotate(0deg);
  }
}

.d_m1,
.d_m2,
.d_m3 {
  animation: d_m 1.8s cubic-bezier(0, 0.6, 0.4, 1) infinite;
}

.d_m2 {
  animation-delay: -0.9s;
}

.d_m3 {
  animation-delay: -1.8s;
}

@keyframes d_m {
  0% {
    transform: translate(0px, 0px) scale(1);
    opacity: 1;
  }

  100% {
    transform: translate(0px, -58px) scale(0.5);
    opacity: 0.5;
  }
}

.d_l1,
.d_l2 {
  animation: d_l 1.8s -0.4s cubic-bezier(0, 0.6, 0.4, 1) infinite;
}

.d_l2 {
  animation-delay: -1.1s;
}

@keyframes d_l {
  0% {
    transform: translate(-18px, 0px) scale(1);
    opacity: 1;
  }

  100% {
    transform: translate(-18px, -45px) scale(0.5);
    opacity: 0.5;
  }
}

.d_r1,
.d_r2 {
  animation: d_r 1.8s -0.6s cubic-bezier(0, 0.6, 0.4, 1) infinite;
}

.d_r2 {
  animation-delay: -1.5s;
}

@keyframes d_r {
  0% {
    transform: translate(18px, 0px) scale(1);
    opacity: 1;
  }

  100% {
    transform: translate(18px, -45px) scale(0.5);
    opacity: 0.5;
  }
}

.n {
  display: none;
}

.op {
  opacity: 1;
  transition: opacity 0.3s linear;
}

.op.h {
  opacity: 0;
}

#popup1,
#popup2,
#popup3,
#popup4,
#spopup1,
#spopup2,
#spopup3,
#spopup4,
#spopup5,
#spopup6 {
  opacity: 0;
}

#popup1.vis {
  animation: popup1 0.6s ease-in-out forwards;
}

@keyframes popup1 {
  0% {
    opacity: 0;
    transform: translate(1612px, 890px) scale(0) translate(-1612px, -890px);
  }

  80% {
    transform: translate(1612px, 890px) scale(1.1) translate(-1612px, -890px);
  }

  100% {
    opacity: 1;
    transform: translate(1612px, 890px) scale(1) translate(-1612px, -890px);
  }
}

#popup2.vis {
  animation: popup2 0.6s ease-in-out forwards;
}

@keyframes popup2 {
  0% {
    opacity: 0;
    transform: translate(909px, 411px) scale(0) translate(-909px, -411px);
  }

  80% {
    transform: translate(909px, 411px) scale(1.1) translate(-909px, -411px);
  }

  100% {
    opacity: 1;
    transform: translate(909px, 411px) scale(1) translate(-909px, -411px);
  }
}

#popup3.vis {
  animation: popup3 0.6s ease-in-out forwards;
}

@keyframes popup3 {
  0% {
    opacity: 0;
    transform: translate(645px, 816px) scale(0) translate(-645px, -816px);
  }

  80% {
    transform: translate(645px, 816px) scale(1.1) translate(-645px, -816px);
  }

  100% {
    opacity: 1;
    transform: translate(645px, 816px) scale(1) translate(-645px, -816px);
  }
}

#popup4.vis {
  animation: popup4 0.6s ease-in-out forwards;
}

@keyframes popup4 {
  0% {
    opacity: 0;
    transform: translate(364px, 781px) scale(0) translate(-364px, -781px);
  }

  80% {
    transform: translate(364px, 781px) scale(1.1) translate(-364px, -781px);
  }

  100% {
    opacity: 1;
    transform: translate(364px, 781px) scale(1) translate(-364px, -781px);
  }
}

#spopup1.vis {
  animation: spopup1 0.6s ease-in-out forwards;
}

@keyframes spopup1 {
  0% {
    opacity: 0;
    transform: translate(386px, 793px) scale(0) translate(-386px, -793px);
  }

  80% {
    transform: translate(386px, 793px) scale(1.1) translate(-386px, -793px);
  }

  100% {
    opacity: 1;
    transform: translate(386px, 793px) scale(1) translate(-386px, -793px);
  }
}

#spopup2.vis {
  animation: spopup2 0.6s ease-in-out forwards;
}

@keyframes spopup2 {
  0% {
    opacity: 0;
    transform: translate(633px, 423px) scale(0) translate(-633px, -423px);
  }

  80% {
    transform: translate(633px, 423px) scale(1.1) translate(-633px, -423px);
  }

  100% {
    opacity: 1;
    transform: translate(633px, 423px) scale(1) translate(-633px, -423px);
  }
}

#spopup3.vis {
  animation: spopup3 0.6s ease-in-out forwards;
}

@keyframes spopup3 {
  0% {
    opacity: 0;
    transform: translate(1075px, 935px) scale(0) translate(-1075px, -935px);
  }

  80% {
    transform: translate(1075px, 935px) scale(1.1) translate(-1075px, -935px);
  }

  100% {
    opacity: 1;
    transform: translate(1075px, 935px) scale(1) translate(-1075px, -935px);
  }
}

#spopup4.vis {
  animation: spopup4 0.6s ease-in-out forwards;
}

@keyframes spopup4 {
  0% {
    opacity: 0;
    transform: translate(913px, 409px) scale(0) translate(-913px, -409px);
  }

  80% {
    transform: translate(913px, 409px) scale(1.1) translate(-913px, -409px);
  }

  100% {
    opacity: 1;
    transform: translate(913px, 409px) scale(1) translate(-913px, -409px);
  }
}

#spopup5.vis {
  animation: spopup5 0.6s ease-in-out forwards;
}

@keyframes spopup5 {
  0% {
    opacity: 0;
    transform: translate(590px, 585px) scale(0) translate(-590px, -585px);
  }

  80% {
    transform: translate(590px, 585px) scale(1.1) translate(-590px, -585px);
  }

  100% {
    opacity: 1;
    transform: translate(590px, 585px) scale(1) translate(-590px, -585px);
  }
}

#spopup6.vis {
  animation: spopup6 0.6s ease-in-out forwards;
}

@keyframes spopup6 {
  0% {
    opacity: 0;
    transform: translate(1625px, 282px) scale(0) translate(-1625px, -282px);
  }

  80% {
    transform: translate(1625px, 282px) scale(1.1) translate(-1625px, -282px);
  }

  100% {
    opacity: 1;
    transform: translate(1625px, 282px) scale(1) translate(-1625px, -282px);
  }
}

#circles,
#init_lines,
#miner_icns,
#node_icns,
#user_icons {
  transition: all 0.5s ease-in-out;
}

@media (min-width: 768px) {
  .shift_right {
    transform: translate(200px, 0px);
  }
}

@media (max-width: 768px) {
  #top_animation #app_lines,
  #top_animation #user_lines,
  #top_animation #nonsaito_icons #user_icons,
  #top_animation #infrastructure {
    opacity: 1;
  }
}

#anim_mobile {
  display: none;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 99;
  box-shadow: 0 0 0 1000px rgba(0, 0, 0, 0.8);
  width: 100%;
}

#anim_mobile object {
  display: block;
  background: #222;
}

#start_anim_mobile {
  display: none;
  color: #fff;
}

#close_anim_bttn {
  position: absolute;
  right: 12px;
  top: 12px;
}

@media screen and (max-width: 750px) {
  #top_animation {
    position: relative;
    top: 3rem;
  }

  #animation-ttl {
    position: static;
  }

  #anim_mobile.vis {
    display: block;
  }
}

/* bottom animation */

#bottom-animation {
  width: 100%;
  position: relative;
  height: 44vw;
}

#bottom-animation object {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  right: 6vw;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  transition: all 1s ease-in-out;
}

#bottom-animation.expand object {
  width: 88%;
  right: 6%;
}

#bttm_anim1.vis,
#bttm_anim2.vis {
  opacity: 1;
  pointer-events: auto;
}

.home-animate-2 {
  position: relative;
}

#start_anim2_mobile {
  display: none;
}

#start_anim {
  border-radius: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  padding: 1rem;
  transition: transform 0.3s ease-in-out;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  margin: 2rem 0;
}

a#start_anim:hover,
a#start_anim2:hover {
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}

#start_anim2,
#start_anim2_mobile {
  padding: 1rem 4rem;
  margin: 2rem 0;
  left: 50%;
  position: absolute;
  font-size: 1.33rem;
  white-space: nowrap;
  border-radius: 50px;
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

#start_anim_mobile {
  padding: 1rem 2rem;
  white-space: nowrap;
  border: 2px solid #fff;
  border-radius: 50px;
}

.home-animate-2 .va-btn {
  border-color: #fff;
  padding-left: 32px;
  padding-right: 32px;
  margin-top: 24px;
}

#bottom_title {
  position: absolute;
  width: 42%;
  left: 6vw;
  top: 50%;
  transform: translate(0, -60%);
  z-index: 2;
  color: #fff;
  text-align: left;
  transition: all 0.5s linear;
  max-width: 560px;
}

#bottom_title.hidden {
  opacity: 0;
}

#bottom_title h2,
#bottom_title p {
  color: #fff;
}

#anim2_mobile {
  display: none;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 99;
  box-shadow: 0 0 0 1000px rgba(0, 0, 0, 0.8);
}

#anim2_mobile object {
  display: block;
  background: #222;
}

#close_anim2_bttn {
  position: absolute;
  right: 12px;
  top: 12px;
}

#close_anim2 {
  display: none;
  position: absolute;
  top: 0;
  right: 64px;
  z-index: 2;
}

#close_anim2.vis {
  display: block;
}

@media screen and (max-width: 768px) {
  .animation-one-controls {
    display: flex;
    flex-direction: column;
  }

  .animation-one-holder {
    display: flex;
    flex-direction: column;
    padding: 2rem;
  }
  .animation-one-title {
    width: 100%;
    position: relative;
    transform: none;
    left: unset;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .home-animate-2 {
    padding-top: 0;
  }

  #start_anim_mobile,
  #start_anim2_mobile {
    display: inline-block;
    font-size: 1rem;
  }

  #start_anim,
  #start_anim2 {
    display: none;
  }

  #bottom_title {
    opacity: 1;
    position: static;
    width: initial;
    transform: none;
    background-size: cover;
    width: unset;
    max-width: unset;
  }

  #bottom_title br {
    display: none;
  }

  #bottom-animation {
    top: 10rem;
  }

  #anim2_mobile.vis {
    display: block;
  }

  #bttm_anim1 {
    scale: 1.7;
  }

  #bottom-animation #bttm_anim1 {
    right: unset;
    left: 50%;
    transform: translate(-33%, -45%);
  }
}
@import url('./website-defi.css');

/* ----------------------------------------------------------------
font imports
-----------------------------------------------------------------*/
@font-face {
  font-family: 'visuelt-black';
  src: url('/saito/fonts/visuelt-black.eot');
  src:
    url('/saito/fonts/visuelt-black.eot?#iefix') format('embedded-opentype'),
    url('/saito/fonts/visuelt-black.woff2') format('woff2'),
    url('/saito/fonts/visuelt-black.woff') format('woff'),
    url('/saito/fonts/visuelt-black.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'visuelt-light';
  src: url('/saito/fonts/visuelt-light.eot');
  src:
    url('/saito/fonts/visuelt-light.eot?#iefix') format('embedded-opentype'),
    url('/saito/fonts/visuelt-light.woff2') format('woff2'),
    url('/saito/fonts/visuelt-light.woff') format('woff'),
    url('/saito/fonts/visuelt-light.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'visuelt-medium';
  src: url('/saito/fonts/visuelt-medium.eot');
  src:
    url('/saito/fonts/visuelt-medium.eot?#iefix') format('embedded-opentype'),
    url('/saito/fonts/visuelt-medium.woff2') format('woff2'),
    url('/saito/fonts/visuelt-medium.woff') format('woff'),
    url('/saito/fonts/visuelt-medium.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --dreamscape:
    linear-gradient(125deg, #e8001e 30%, #0000 55%, #ff8235 80%),
    linear-gradient(40deg, #f7009b, #f7009b, #f71f3d, #f71f3d, #e98eaf, #0000),
    linear-gradient(180deg, #e9ce93, #f71f3d);
  --vh: calc(var(--vh) * 1);
  --saito-red: #f71f3d;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
  font-size: 1rem;
  height: 100%;
  overflow: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  font-family: visuelt-light, sans-serif, Arial;
  min-height: calc(var(--vh) * 100);
  min-height: 100dvh;
  min-height: -webkit-fill-available;
}

section {
  height: calc(var(--vh) * 100);
  min-height: calc(var(--vh) * 100);
  width: 100%;
  position: relative;
  overflow: visible;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  scroll-snap-align: start;
}

a {
  text-decoration: none;
  color: #fff;
}

h1 {
  font-size: 4rem;
  color: #f71f3d;
  font-weight: 100;
}

h2 {
  font-size: 2.2rem;
  font-weight: normal;
}

h3 {
  font-size: 2rem;
  font-weight: normal;
}

p {
  margin-bottom: 1.5rem;
  line-height: 2rem;
  font-size: 1.33rem;
}

h2 + p {
  margin-top: 1rem;
}

.container {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  perspective: 1px;
  scroll-snap-type: y mandatory;
}

#landing {
  background: var(--dreamscape);
  color: white;
  background-blend-mode: exclusion;
}

#consensus {
  background-color: #444;
  flex-direction: column;
  color: #fff;
}

#about {
  background-color: #efefef;
}

#community {
  background-color: #fff;
  align-items: center;
  flex-direction: column;
}

#web3 {
  background: var(--dreamscape);
  flex-direction: column;
}

#contact {
  background-color: #1c1c23;
  color: white;
  align-items: center;
}

.nav {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: auto;
}

.nav a {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #888;
  transition: all 0.3s ease;
  border: 1px solid #888;
}

.nav a.active {
  background: white;
}

.cube-container {
  position: relative;
  width: 105.3px;
  height: 120.6px;
  margin-top: 4rem;
}

.saito-cube {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  animation: pulseCube 3.5s ease-in-out forwards;
}

@keyframes pulseCube {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
    opacity: 1;
  }

  15%,
  48%,
  81% {
    transform: scale(1.15);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
  }

  31.5%,
  64.5%,
  97.5% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  }

  99%,
  100% {
    opacity: 0;
  }
}

.landing-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
  position: relative;
  overflow: visible;
  height: 100%;
}

.feature-cards {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  max-width: 72rem;
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: fadeInCards 1s ease-out 1.75s forwards;
  perspective: 1000px;
}

.carousel-title {
  position: relative;
  top: 0.5rem;
  margin-bottom: 0.75rem;
  color: #fff;
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  text-shadow: 0 0 10px #0006;
}

@keyframes fadeInCards {
  0% {
    opacity: 0;
    transform: translate(-50%, -60%);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.card-container {
  position: relative;
  width: 100%;
  height: 22rem;
  transform-style: preserve-3d;
}

.card-link {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  text-decoration: none;
  color: inherit;
  width: 14.4rem;
  height: 16.875rem;
  margin: 0;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transform: translate3d(-50%, -50%, -260px) scale(0.5);
  transition:
    transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.5s ease;
  will-change: transform, opacity;
}

.card-link.active {
  opacity: 1;
  z-index: 10;
  pointer-events: auto;
  transform: translate3d(-50%, -50%, 40px) scale(1.08);
}

.card-link.prev-1 {
  opacity: 0.8;
  z-index: 9;
  pointer-events: auto;
  transform: translate3d(calc(-50% - 12rem), -50%, -70px) scale(0.9) rotateY(42deg);
}

.card-link.prev-2 {
  opacity: 0.5;
  z-index: 8;
  pointer-events: auto;
  transform: translate3d(calc(-50% - 21rem), -50%, -140px) scale(0.7) rotateY(55deg);
}

.card-link.next-1 {
  opacity: 0.8;
  z-index: 9;
  pointer-events: auto;
  transform: translate3d(calc(-50% + 12rem), -50%, -70px) scale(0.9) rotateY(-42deg);
}

.card-link.next-2 {
  opacity: 0.5;
  z-index: 8;
  pointer-events: auto;
  transform: translate3d(calc(-50% + 21rem), -50%, -140px) scale(0.7) rotateY(-55deg);
}

.feature-card {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  border-radius: 7px;
  transition: transform 0.2s ease;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.feature-card {
  background: #f71f3de6;
}

@supports (backdrop-filter: blur(1px)) {
  .feature-card {
    -webkit-backdrop-filter: blur(60px) contrast(110%) brightness(110%);
    backdrop-filter: blur(60px) contrast(110%) brightness(110%);
  }
}

.card-link[data-app='chat'] .feature-card {
  background: linear-gradient(145deg, #ce4987eb, #9e2f8af2);
}

.card-link[data-app='redsquare'] .feature-card {
  background: linear-gradient(145deg, #cb4787f2, #b35486eb);
}

.card-link[data-app='arcade'] .feature-card {
  background: linear-gradient(145deg, #d85d84f2, #a34b88eb);
}

.card-link[data-app='talk'] .feature-card {
  background: linear-gradient(145deg, #29887ff2, #145971eb);
}

.card-link[data-app='stack'] .feature-card {
  background: linear-gradient(145deg, #122f8cf2, #1f4c7aeb);
}

.card-link[data-app='vault'] .feature-card {
  background: linear-gradient(145deg, #53398af2, #72318beb);
}

.card-link[data-app='store'] .feature-card {
  background: linear-gradient(145deg, #518979f2, #29887feb);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  border-radius: 7px;
  background: #ffffff00;
}

.feature-card p {
  text-shadow: 0 0 5px #0008;
}

.feature-card h1 {
  margin: 0;
  font-size: 2rem;
  color: white;
  width: 100%;
  text-align: center;
}

.feature-icon-space {
  position: relative;
  width: 64px;
  height: 64px;
  margin: auto 0;
}

.feature-icon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.feature-icon-solid {
  opacity: 0;
}

.card-link:hover .feature-icon-outline,
.card-link:focus-visible .feature-icon-outline {
  opacity: 0;
}

.card-link:hover .feature-icon-solid,
.card-link:focus-visible .feature-icon-solid {
  opacity: 1;
}

.feature-card p {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--text-color);
  width: 100%;
  text-align: left;
  min-height: 4.5em;
}

.card-link:hover .feature-card {
  transform: translateY(-5px);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
  z-index: 20;
}

.carousel-button {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: #ffffff1a;
  font: inherit;
  cursor: pointer;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  background: #ffffff4d;
  transform: scale(1.1);
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.carousel-dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: inherit;
  background: currentColor;
  opacity: 0.4;
  cursor: pointer;
}

.carousel-dot[aria-current='true'] {
  opacity: 1;
  transform: scale(1.4);
}

/* Mobile styles */

.landing-content {
  flex-direction: column;
  height: calc(var(--vh) * 100);
  position: relative;
}

.cube-container {
  display: none;
  /* Hide main cube */
}

/* Add background cube for mobile */
.landing-content::before {
  content: '';
  position: fixed;
  top: calc(var(--vh) * -3);
  right: calc(var(--vh) * -3);
  width: calc(var(--vh) * 25);
  height: calc(var(--vh) * 25);
  background: url('/saito/img/saito-cube.svg') no-repeat center/contain;
  opacity: 0;
  z-index: 0;
  animation: fadeInBackgroundCube 2s ease-out 0.5s forwards;
}

@keyframes fadeInBackgroundCube {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(-100%);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@media (orientation: portrait) {
  .saito-text-container {
    position: absolute;
    animation: slideTextMobile 4s ease-out 1.5s forwards;
    margin: 0;
    left: 0;
    bottom: 133vh;
  }

  @keyframes slideTextMobile {
    0% {
      opacity: 0;
      bottom: calc(var(--vh) * 110);
    }

    100% {
      opacity: 1;
      bottom: 0;
    }
  }

  object.saito-text {
    transform: none;
    /* Reset portrait transform */
    width: 100%;
  }
}

@media (max-width: 1400px) {
  .feature-cards {
    top: calc(var(--vh) * 42);
    width: 100%;
    order: -1;
    position: absolute;
    z-index: 1;
    opacity: 0;
    animation: fadeInCards 1s ease-out 1.25s forwards;
  }
}

@media (max-width: 767px) {
  .card-container {
    height: 20rem;
    touch-action: pan-y;
  }

  .card-link {
    width: calc(90% - 5.4rem);
    max-width: 15.3rem;
    height: 15.75rem;
  }

  .card-link.active {
    transform: translate3d(-50%, -50%, 30px) scale(1.03);
  }

  .card-link.prev-1 {
    transform: translate3d(calc(-50% - 5rem), -50%, -65px) scale(0.86) rotateY(42deg);
  }

  .card-link.prev-2 {
    opacity: 0.35;
    transform: translate3d(calc(-50% - 8.25rem), -50%, -130px) scale(0.66) rotateY(55deg);
  }

  .card-link.next-1 {
    transform: translate3d(calc(-50% + 5rem), -50%, -65px) scale(0.86) rotateY(-42deg);
  }

  .card-link.next-2 {
    opacity: 0.35;
    transform: translate3d(calc(-50% + 8.25rem), -50%, -130px) scale(0.66) rotateY(-55deg);
  }

  .carousel-controls {
    gap: 0.6rem;
    padding: 0 0.75rem;
  }

  .carousel-button {
    width: 2.5rem;
    height: 2.5rem;
  }

  .carousel-dots {
    gap: 0.35rem;
  }

  .feature-card {
    padding: 1.25rem;
  }

  .feature-card h1 {
    font-size: 1.75rem;
  }

  .feature-card p {
    font-size: 1.05rem;
  }
}

.saito-text {
  transition: opacity 1.3s ease-out;
}

.saito-text.scrolled {
  opacity: 0;
}

object.saito-text {
  width: 100%;
  z-index: 9999;
  position: relative;
}

@media (orientation: portrait) {
  object.saito-text {
    transform: rotate(90deg) translateX(-97%);
    transform-origin: bottom left;
    width: calc(var(--vh) * 33);
  }
}

/* Portrait styles (default) */

/* Landscape styles */
/* Landscape styles */
@media (orientation: landscape) {
  .saito-text-container {
    position: absolute;
    width: 70vw;
    max-width: min(70rem, 50vw);
    height: auto;
    bottom: calc(var(--vh) * 110);
    left: 0;
    transform-origin: initial;
    animation: slideTextLandscape 2s ease-out 1.5s forwards;
    transform: translateY(10%);
  }

  @keyframes slideTextLandscape {
    0% {
      bottom: calc(var(--vh) * 110);
      opacity: 0;
    }

    100% {
      bottom: 0;
      opacity: 1;
    }
  }
}

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-logo {
  height: 60px;
  width: 160px;
  display: none;
}

/* Desktop Menu Styles */
.desktop-menu {
  display: none;
}

@media (min-width: 768px) {
  .main-header {
    transform: translateY(-100%);
  }

  .desktop-menu {
    display: flex;
    justify-content: space-between;
    padding: 1rem 2rem;
    height: 6rem;
    overflow: visible;
  }

  /* Initial expanded state */
  .main-header:not(.scrolled) {
    transform: none;
    background: transparent;
    opacity: 0;
    animation: fadeInMenu 0.5s ease-out 2.5s forwards;
    /* Start after text animation (1.5s + 1s) */
    display: none;
  }

  .main-header.loaded {
    animation: fadeInMenu ease-out 0.2s forwards;
  }

  @keyframes fadeInMenu {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Grid Layout for Desktop Initial State */
  .main-header:not(.scrolled) .desktop-menu {
    position: fixed;
    top: 13rem;
    left: min(8vw, 5rem);
    width: calc(60vw + 7rem);
  }

  .main-header:not(.scrolled) .header-logo {
    display: none;
  }

  .main-header:not(.scrolled) .menu-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 100%;
  }

  .main-header:not(.scrolled) .menu-title {
    color: white;
    margin-bottom: 1rem;
    font-weight: normal;
  }

  .menu-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  h1.menu-title {
    font-size: 2rem;
  }

  .main-header:not(.scrolled) .menu-button {
    display: block;
    width: min(25rem, 40vw);
    padding: 0.75rem 1rem;
    color: white;
    text-decoration: none;
    border: 2px solid #fffc;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 1.5rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  }

  .main-header:not(.scrolled) .menu-button:hover {
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
  }

  /* Scrolled state */
  .main-header.scrolled .menu-container {
    display: flex;
  }

  .main-header.scrolled .header-logo {
    display: block;
    height: 60px;
  }

  .main-header.scrolled .menu-title {
    color: #fff;
    cursor: pointer;
    padding: 0.5rem 1rem;
  }

  .main-header.scrolled .menu-links {
    position: relative;
    top: 4rem;
    left: 4rem;
    min-width: 200px;
    padding: 1rem;
    border-radius: 4px;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
    gap: 0;
  }

  .main-header.scrolled .menu-section:hover .menu-links {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    /* Re-enable pointer events on hover */
  }

  /* Keep menu visible when hovering the links */
  .main-header.scrolled .menu-links:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .main-header.scrolled .menu-button {
    display: block;
    text-decoration: none;
    padding: 0.33rem 0;
    transition: background-color 0.3s ease;
  }

  .main-header.scrolled .menu-button:hover {
    border-bottom: 1px solid #fff;
  }

  /* Add hamburger indicator in scrolled state */
  .main-header.scrolled .menu-container::before {
    content: '';
    position: absolute;
    right: 5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 24px;
    border-top: 3px solid #fff;
    border-bottom: 3px solid #fff;
  }

  .main-header.scrolled .menu-container::after {
    content: '';
    position: absolute;
    right: 5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 3px;
    background: #fff;
  }

  /* Hover state */
  .main-header.scrolled .menu-container:hover::before,
  .main-header.scrolled .menu-container:hover::after {
    opacity: 1;
  }
}

/* Mobile Menu Styles */
.mobile-menu {
  display: block;
  position: fixed;
  top: 1rem;
  right: 1rem;
}

.hamburger {
  position: fixed;
  z-index: 1001;
  width: 30px;
  height: 24px;
  cursor: pointer;
  right: 1.5rem;
  top: 1.5rem;
}

.hamburger {
  cursor: pointer;
  color: var(--menu-color, #fff);
  transition: transform 0.3s ease;
}

.hamburger.active {
  transform: rotate(180deg);
}

.hamburger span {
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: var(--menu-color, #fff);
  transition: all 0.3s ease;
  border-radius: 3px;
}

.hamburger span:first-child {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger span:last-child {
  bottom: 0;
}

/* Active state for hamburger spans */
.hamburger.active span:first-child {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:last-child {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile menu content styles */
.mobile-menu-content {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  background: #fff;
  padding: 4rem 2rem 2rem;
  min-width: 250px;
  height: calc(var(--vh) * 100);
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
}

.mobile-menu-content.active {
  display: block;
  background: linear-gradient(145deg, #ffffffe6, #e98eafc7);
  -webkit-backdrop-filter: blur(36px) saturate(140%);
  backdrop-filter: blur(36px) saturate(140%);
  border-left: 1px solid #ffffffb3;
  box-shadow: -10px 0 30px #1c1c2340;
}

.mobile-menu-content .menu-section {
  margin-bottom: 2rem;
}

.mobile-menu-content h3 {
  color: #f61745;
  margin-bottom: 1rem;
}

.mobile-menu-content a {
  display: block;
  color: #1c1c23;
  padding: 0.5rem 0;
  text-decoration: none;
  text-shadow: 0 1px 1px #fff;
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none;
  }
}

.main-header.scrolled .header-logo {
  display: block;
}

/* Update background cube styles */
.background-cube {
  position: absolute;
  top: -4rem;
  right: -7rem;
  width: 60vw;
  max-width: 40rem;
  height: auto;
  opacity: 0;
  animation: fadeInCube 0.5s ease-out 2.5s forwards;
}

@keyframes fadeInCube {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 1500px) {
  .background-cube {
    max-width: 30vw;
  }

  .menu-button {
    font-size: 1.5rem;
  }
}

@media (max-width: 767px) {
  .background-cube {
    top: 10rem;
    right: 50%;
    transform: translateX(50%);
    max-width: 66vw;
  }
}

@media (orientation: landscape) and (max-height: 1000px) {
  .background-cube {
    max-width: 30vw;
  }

  .main-header:not(.scrolled) .desktop-menu {
    position: fixed;
  }
}

.community-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.community-image {
  flex: 1;
  min-height: 470px;
  background-image: url(/saito/img/community-cats-square.jpeg);
  background-size: contain;
  background-position-y: center;
  background-repeat: no-repeat;
  margin: auto;
  max-width: 470px;
}

.community-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.community-divider {
  width: 2px;
  height: 300px;
  background-color: #f61745;
}

.community-text {
  flex: 1;
  font-size: 1.2rem;
  line-height: 1.6;
}

.community-text a {
  color: #f61745;
  text-decoration: none;
  transition: color 0.3s ease;
}

.community-text a:hover {
  color: #d01238;
}

@media (max-width: 768px) {
  .community-content {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 0.5rem;
  }

  .community-divider {
    width: 85%;
    height: 2px;
  }

  .community-text {
    padding: 0 1rem;
  }

  .community-image {
    overflow: hidden;
    min-height: 12vw;
    min-width: 100%;
    background-image: url(/saito/img/community-cats-row.jpeg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }
}

@media (min-width: 1200px) {
  .community-content {
    gap: 4rem;
  }
}

/* Contact section styles */
.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 80%;
  max-width: 1200px;
  gap: 2rem;
  font-size: 1.5rem;
}

.contact-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-cube {
  width: 80%;
  height: auto;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-links h3 {
  color: #fff;
  margin-top: 1.5rem;
  font-size: 1.2rem;
}

.contact-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-links a:hover {
  color: #f61745;
}

.copyright {
  color: #fff;
  font-size: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }

  .contact-cube {
    width: 50%;
  }

  .contact-links {
    align-items: center;
  }

  .contact-column {
    width: 100%;
    align-items: center;
  }

  .contact-column:last-child {
    margin-top: 1rem;
  }
}

/* Update contact section styles */
.contact-column:last-child {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.copyright-link {
  color: #efefef;
  font-size: 1.4rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.copyright-link:hover {
  color: #f61745;
}

/* Mobile styles */
@media (max-width: 768px) {
  body {
    font-size: 1.2rem;
  }

  section {
    padding: 6rem 0 0 0;
    justify-content: left;
    flex-direction: column;
  }

  #landing {
    padding-top: 0;
  }

  #community,
  #web3 {
    padding: 6rem 1rem 0 1rem;
  }

  h1 {
    font-size: 2.6rem;
    line-height: 1.2;
  }

  h2 {
    font-size: 1.66rem;
  }
}

/* Mobile header styles */
.mobile-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  z-index: 1001;
}

/* Adjust mobile logo size */
.mobile-header .header-logo {
  height: 40px;
  /* Smaller size for mobile */
}

/* Adjust hamburger position */
.mobile-header .hamburger {
  position: relative;
  right: 0;
  top: 0;
}

@media (min-width: 768px) {
  .mobile-header {
    display: none;
  }
}

/* Typography - Desktop (> 768px) */
@media (min-width: 768px) {
  /* Headings */
  h1,
  .h1 {
    font-size: 3.5rem;
    line-height: 1.2;
  }

  h2,
  .h2 {
    font-size: 2.5rem;
    line-height: 1.75;
  }

  h3,
  .h3 {
    font-size: 2rem;
    line-height: 1.4;
  }

  h4,
  .h4 {
    font-size: 1.5rem;
    line-height: 1.4;
  }

  /* Menu and Navigation */
  .menu-title {
    font-size: 1.25rem;
  }

  .menu-links a {
    font-size: 1.5rem;
  }

  .nav-text {
    font-size: 1rem;
  }

  /* General Text */
  body {
    font-size: 1rem;
    line-height: 1.5;
  }

  .large-text {
    font-size: 1.25rem;
  }

  .small-text {
    font-size: 0.875rem;
  }
}

/* Typography - Mobile (≤ 768px) */
@media (max-width: 767px) {
  /* Headings */
  h1,
  .h1 {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  h2,
  .h2 {
    font-size: 2rem;
    line-height: 1.2;
    margin: 2rem 0;
  }

  h3,
  .h3 {
    font-size: 1.5rem;
    line-height: 1.4;
  }

  h4,
  .h4 {
    font-size: 1.25rem;
    line-height: 1.4;
  }

  /* Menu and Navigation */
  .menu-title {
    font-size: 1.125rem;
  }

  .menu-links a {
    font-size: 0.875rem;
  }

  .nav-text {
    font-size: 0.875rem;
  }

  /* General Text */
  body {
    font-size: 1rem;
    line-height: 1.5;
  }

  .large-text {
    font-size: 1.125rem;
  }

  .small-text {
    font-size: 0.75rem;
  }
}

.scroll-caret {
  color: #fff;
  animation: bounce 2s infinite;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 3px;
  background: #ffffff1a;
  font: inherit;
  box-shadow: 0 0 10px #0003;
}

.scroll-caret span {
  font-size: 1rem;
  line-height: 1;
}

.scroll-caret svg {
  width: 2rem;
  height: 1rem;
  filter: drop-shadow(0 0 5px #0005);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

@media (max-width: 767px) {
  .scroll-caret {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    translate: -50% 0;
    z-index: 100;
  }
}

@media (min-width: 768px) {
  .scroll-caret {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    left: auto;
    z-index: 1000;
  }
}

/* Update menu hover behavior */
.main-header.scrolled .menu-container:hover .menu-links {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  backdrop-filter: blur(50px);
}

/* Remove individual menu section hover states */
.main-header.scrolled .menu-section:hover .menu-links {
  opacity: initial;
  visibility: initial;
  pointer-events: initial;
}

/* Position the menus side by side */
.main-header.scrolled .menu-container:hover .menu-section:first-child .menu-links {
  right: calc(100% + 1rem);
  /* Position first menu to the left */
}

.main-header.scrolled .menu-container:hover .menu-section:last-child .menu-links {
  right: 0;
  /* Keep second menu aligned to the right */
}

/* Color variable usage */
.hamburger span {
  background-color: var(--menu-color, #fff);
}

.menu-title {
  color: var(--menu-color, #fff);
}

.main-header.scrolled .menu-links a {
  color: var(--menu-color, #fff);
}

.main-header.scrolled .menu-container::before {
  border-top-color: var(--menu-color, #fff);
  border-bottom-color: var(--menu-color, #fff);
}

.main-header.scrolled .menu-container::after {
  background-color: var(--menu-color, #fff);
}

/* For SVG logo */
.header-logo svg style {
  content: '.cls-1{fill:var(--menu-color, #fff)}';
}

/* Hide menu in landing section */
#landing .desktop-menu,
#landing .mobile-menu {
  display: none;
}

/* Desktop styles */
@media (min-width: 768px) and (orientation: landscape) {
  .landing-content::before {
    content: '';
    position: fixed;
    top: calc(var(--vh) * -3);
    right: calc(var(--vh) * -6);
    width: calc(var(--vh) * 40);
    height: calc(var(--vh) * 40);
    background: url('/saito/img/saito-cube.svg') no-repeat center/contain;
    opacity: 0;
    z-index: 0;
    animation: fadeInBackgroundCube 2s ease-out 0.5s forwards;
  }
}

/* Keep existing mobile styles */
@media (max-width: 768px) or (orientation: portrait) {
  .landing-content::before {
    content: '';
    position: fixed;
    top: calc(var(--vh) * -3);
    right: calc(var(--vh) * -3);
    width: calc(var(--vh) * 25);
    height: calc(var(--vh) * 25);
    background: url('/saito/img/saito-cube.svg') no-repeat center/contain;
    opacity: 0;
    z-index: 0;
    animation: fadeInBackgroundCube 2s ease-out 0.5s forwards;
  }
}

/* Reset scale and add max-width for mobile */
@media (max-width: 768px) {
  .feature-cards {
    max-width: 800px;
  }

  @keyframes fadeInCards {
    0% {
      opacity: 0;
      transform: translate(-50%, -60%) scale(1);
    }

    100% {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1);
    }
  }
}
