@font-face {
  font-family: Myriad;
  src: url(/assets/fonts/noto-sans.ttf);
}
html,
body {
  height: 100%;
  overflow-x: hidden;
}
div {
  box-sizing: border-box;
}
body {
  background: #3bf5f3;
  font-family: Myriad;
  margin: 0;
  padding: 0;
  text-align: center;
  box-sizing: border-box;
}
body::-webkit-scrollbar {
  background: #002B50;
}
body::-webkit-scrollbar-thumb {
  background: #FFC91B;
}
p {
  margin: 0;
}
img {
  border: 0;
}
a {
  color: #002B50;
  text-decoration: none;
}
a:hover {
  color: #FFC91B;
  text-decoration: none;
  filter: contrast(130%);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Myriad;
  font-size: 30px;
  color: #002B50;
  font-weight: 400;
  margin: 5px 0;
}
#top {
  background-color: #002B50;
  border-radius: 0 0 25px 25px;
  height: 70px;
  width: 100%;
  margin: 0 0 10px;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  padding: 5px;
}
#butmen {
  display: none;
  width: 60px;
  height: 60px;
  background: url(/assets/images/menu.png) no-repeat;
  position: absolute;
  top: 5px;
  left: 5px;
}
#butmein {
  display: none;
  width: 60px;
  height: 60px;
  background: url(/assets/images/menu.png) no-repeat;
  z-index: 3;
  flex-shrink: 0;
}
.logo {
  display: block;
  width: 210px;
  height: 41px;
  background: url(/assets/images/logo.png) no-repeat;
  margin: 0 0 0 10px;
  flex-shrink: 0;
}
.minilogo {
  display: block;
  width: 120px;
  height: 23px;
  background: url(/assets/images/logo.png) no-repeat;
  background-size: cover;
  margin: 10px auto;
}
.kez {
  display: block;
  width: 83px;
  height: 63px;
  background: url(/assets/images/kez.png?t=1) no-repeat;
  flex-shrink: 0;
}
#bottom {
  background-color: #002B50;
  border-radius: 25px 25px 0 0;
  height: 40px;
  width: 100%;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-around;
  align-items: center;
  padding: 5px 5px 0;
  position: fixed;
  bottom: 0;
}
#bottom a {
  text-transform: uppercase;
  font-size: 14px;
  color: #fff;
}
.games {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
}
.games a {
  margin: 5px;
}
.games a img {
  border: 3px solid #fff;
  width: 145px;
  height: 145px;
  border-radius: 20px;
}
.minigames {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
}
.minigames a {
  margin: 2px;
}
.minigames a img {
  border: 2px solid #fff;
  width: 56px;
  height: 56px;
  border-radius: 15px;
}
.white {
  width: 100%;
  max-width: 900px;
  background-color: #fff;
  border-radius: 25px;
  padding: 10px 15px;
  margin: 0 0 5px;
}
.ad {
  float: left;
  margin: -5px 15px 5px 0;
}
.ad ins {
  width: 336px;
  height: 290px;
}
.ad2 {
  width: 100%;
  max-height: 250px;
  float: left;
  margin: 5px 0 25px;
}
.ad p,
.ad2 p {
  color: #000;
  font-size: 13px;
  text-transform: uppercase;
  text-align: center;
}
.text {
  text-align: justify;
  font-size: 17px;
  line-height: 140%;
}
.text img {
  width: 130px;
  height: auto;
  float: right;
  margin: 0 0 5px 10px;
  border-radius: 15px;
}
.block1 {
  width: 100%;
  min-height: 300px;
}
.ph {
  font-size: 15px;
  color: #000;
  text-transform: uppercase;
  margin: 10px 0 0;
}
.phl {
  font-size: 16px;
  color: #000;
  text-transform: uppercase;
  margin: 15px 0 10px;
  text-align: left;
}
.hb {
  text-transform: uppercase;
  font-size: 22px;
  text-align: left;
  margin: 15px 0 10px;
}
.bigp {
  font-size: 24px;
  color: #999;
  margin: 10px 0;
}
.bigp font {
  color: #000;
  font-weight: 700;
}
.tags {
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  align-items: center;
}
.tagsbig {
  width: 95%;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  align-items: center;
}
.tags a {
  display: block;
  border: 2px solid #3b92f5;
  border-radius: 30px 30px 30px 30px;
  padding: 8px 20px;
  text-transform: uppercase;
  font-size: 18px;
  margin: 5px;
  color: #3b92f5;
  white-space: nowrap;
  font-weight: 700;
}
.tagsbig a {
  display: block;
  border: 2px solid #002B50;
  border-radius: 20px;
  padding: 10px 40px;
  text-transform: uppercase;
  font-size: 18px;
  margin: 5px;
  color: #002B50;
  white-space: nowrap;
  font-weight: 700;
  background: #fff;
}
.smaller {
  justify-content: flex-start;
  height: 40px;
  overflow: hidden;
}
.smaller a {
  padding: 6px 16px !important;
  font-size: 14px !important;
}
.tagslong {
  width: 95%;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
}
.tagslong a {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  height: 50px;
  width: 280px;
  max-width: 900px;
  background: #fff;
  border-radius: 15px;
  padding: 0 20px;
  margin: 5px;
}
.tagslong a div:nth-child(1) {
  color: #002B50;
  font-size: 24px;
  font-weight: 700;
  text-align: left;
  flex-shrink: 0;
}
.tagslong a div:nth-child(3) {
  color: #444;
  font-size: 14px;
  height: 35px;
  overflow: hidden;
  text-align: justify;
  margin: 0 10px;
}
.tagslong a div:nth-child(2) {
  color: #002B50;
  font-size: 30px;
  font-weight: 700;
  flex-shrink: 0;
  text-align: right;
  width: 40px;
}
.block2 {
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0;
}
.screen {
  width: 300px;
  height: 300px;
  border-radius: 25px;
}
.fle {
  width: 100%;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-around;
  align-items: center;
}
.p10 {
  font-size: 10px;
}
.p16 {
  font-size: 16px;
}
.p18 {
  font-size: 18px;
}
.p20 {
  font-size: 20px;
}
.p22 {
  font-size: 22px;
}
.p24 {
  font-size: 24px;
}
.pblue {
  color: #002B50 !important;
}
.pdarkblue {
  color: #002B50 !important;
}
.pblack {
  color: #000 !important;
}
.info {
  width: 480px;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
}
.votes,
.plays {
  width: 160px;
  height: 50px;
  padding: 0 0 0 60px;
  text-align: center;
  font-weight: 700;
}
.votes {
  background: url(/assets/images/votes.png) no-repeat;
}
.plays {
  background: url(/assets/images/plays.png) no-repeat;
}
.play {
  display: block;
  background: #3b92f5;
  border-radius: 25px;
  width: 300px;
  height: 50px;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 30px;
  text-transform: uppercase;
  font-weight: 700;
}
.play img {
  margin: 0 10px 0 0;
}
.play:hover {
  color: #fff;
}
.stars {
  width: 207px;
  height: 38px;
  background: url(/assets/images/stars_off.png) no-repeat;
  text-align: left;
}
.stars div {
  height: 38px;
  background: url(/assets/images/stars.png) no-repeat;
}
#gameplay {
  background: #000;
  width: 100vw;
  height: 100vh;
  width: 100dvw;
  height: 100dvh;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: flex-start;
}
#game {
  width: 100vw;
  height: 100vh;
  width: 100dvw;
  height: 100dvh;
}
#menu {
  width: 140px;
  height: 100%;
  background: #002B50;
  text-align: center;
  overflow-y: scroll;
  overflow-x: hidden;
  flex-shrink: 0;
}
#menu::-webkit-scrollbar {
  background: #002B50;
  width: 5px;
}
#menu::-webkit-scrollbar-thumb {
  background: #002B50;
}
#hidemenu {
  display: block;
  width: 30px;
  height: 50px;
  background: url(/assets/images/hide.png) 30% 50% #002B50 no-repeat;
  border-radius: 0 15px 15px 0;
  position: absolute;
  left: 140px;
  top: 10px;
}
.gamerate {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
}
.gamerate img {
  width: 120px;
  height: 120px;
  border-radius: 25px;
  border: 3px solid #002B50;
}
.star {
  width: 100%;
  height: 63px;
  background: url(/assets/images/star.png) 50% 0 no-repeat;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  margin: 4px 0 0;
}
.star p {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}
.ph2 {
  color: #fff;
  font-size: 20px;
  margin: 10px 0;
}
.ph3 {
  color: #fff;
  font-size: 15px;
  margin: 10px 0;
  text-transform: uppercase;
}
.button {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 24px;
  border: 2px solid #fff;
  background-color: #002B50;
  margin: 2px;
}
.like {
  background: #002B50 url(/assets/images/but_like.png) 50% 50% no-repeat;
}
.dislike {
  background: #002B50 url(/assets/images/but_dislike.png) 50% 50% no-repeat;
}
.home {
  background: #002B50 url(/assets/images/but_home.png) 50% 50% no-repeat;
}
.reload {
  background: #002B50 url(/assets/images/but_reload.png) 50% 50% no-repeat;
}
.like_on {
  background: #002B50 url(/assets/images/but_like_on.png) 50% 50% no-repeat;
}
.dislike_on {
  background: #002B50 url(/assets/images/but_dislike_on.png) 50% 50% no-repeat;
}
.gamebuttons {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  margin: 3px 0;
}
#tripple {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: flex-start;
}
.moreleft {
  width: 150px;
  margin: 0 10px 0 0;
}
.moreright {
  width: 150px;
  margin: 0 0 0 10px;
}
#double {
  width: 96%;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: flex-start;
}
.gamesbig {
  max-width: 900px;
}
.gamesbig > div {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: flex-start;
  background: #fff;
  border-radius: 15px;
  padding: 10px;
  margin: 0 0 10px;
}
.gamesbig div img {
  border-radius: 15px;
  width: 255px;
  height: auto;
  margin: 0 10px 0 0;
}
.detra {
  width: 80px;
  flex-shrink: 0;
  font-weight: 700;
}
.desga {
  height: 150px;
  overflow: hidden;
  font-size: 15px;
  color: #444;
  margin: 10px 0;
  text-align: justify;
}
.detce {
  text-align: left;
}
.sidemain {
  flex-shrink: 0;
  max-width: 330px;
  margin: 0 0 0 6px;
  justify-content: flex-start;
}
.hma {
  color: #fff !important;
  text-transform: uppercase;
  text-align: left;
  font-size: 26px;
  width: 100%;
}
.hmac {
  color: #fff !important;
  text-transform: uppercase;
  text-align: center;
  font-size: 32px;
  width: 100%;
}
.minu {
  margin-bottom: 0;
}
.texdiv {
  padding: 10px;
  width: 96%;
  color: #055176;
}
#mein {
  width: 60%;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  align-items: center;
}
#mein a {
  color: #fff;
  text-transform: uppercase;
  font-size: 18px;
}
#mein a:hover {
  color: #002B50;
}
#popup {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  z-index: 100;
}
#apprate {
  width: 310px;
  height: 246px;
  background: url(/assets/images/apprate.png) no-repeat;
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
  align-items: center;
}
#apprate img {
  margin: 0 0 -5px;
}
.pr {
  font-size: 24px;
  color: #111;
  line-height: 100%;
  margin: 20px 0 0;
}
.no {
  color: #999;
  font-size: 14px;
  margin: 0 0 15px 25px;
  width: 100%;
  text-align: left;
  position: relative;
  z-index: 9;
}
.no:hover {
  text-decoration: underline;
}
.rghost {
  display: block;
  width: 310px;
  height: 240px;
  position: absolute;
}
.bab {
  display: none;
  text-transform: uppercase;
  font-size: 14px;
  width: 100%;
  padding: 10px;
  color: #fff;
}
#loading {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 1000;
  font-size: 30px;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  background: #3bf5f3;
  color: #002B50;
}
.bigban {
  width: 100%;
  margin: 10px 0;
  color: #fff;
}
@media (max-width: 1240px) {
  .moreright {
    display: none;
  }
}
@media (max-width: 1085px) {
  .moreleft {
    display: none;
  }
  .sidemain {
    display: none;
  }
}
@media (max-width: 890px) {
  #mein {
    display: none;
    position: absolute;
    top: 50px;
    left: 0;
    line-height: 300%;
    padding: 30px 15px 15px;
    border-radius: 0 0 15px 0;
    background: #002B50;
    width: 200px;
    flex-flow: column nowrap;
    justify-content: space-between;
    align-items: flex-start;
  }
  #butmein {
    display: block;
  }
  .block2 {
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
  }
  .screen {
    margin: 0 0 15px;
  }
}
@media (max-width: 600px) {
  .ad {
    float: none;
    width: 98%;
    margin: 0 0 20px;
    max-height: 280px;
  }
  .block1 {
    flex-flow: column nowrap;
    justify-content: center;
  }
  .text {
    line-height: 130%;
  }
  .screen {
    width: 96%;
    height: auto;
  }
  #menu {
    display: none;
  }
  #butmen {
    display: block;
  }
  #bottom {
    position: static;
    margin: -40px 0 0;
  }
  #maince {
    display: none;
  }
  .bab {
    display: block;
  }
  .ad {
    float: none;
  }
  .ad ins {
    width: 100%;
  }
}

#inter-ad-container {
  display: none;
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 1000;
  /* display: flex;
  flex-flow: row wrap;
  justify-content: center; */
  /* align-items: center; */
  background: #000000;
  color: #fff;
}

#inter-ad-content {
  width: 100%;
  height: 90%;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
}

.skip {
  position: fixed;
  bottom: 10%;
  right: 0;
}

#skip-btn {
  height: 40px;
  min-width: 100px;
  background-color: black;
  color: white;
  border-color: rgb(184, 184, 184);
  border-width: 1px 0 1px 1px;
  border-style: solid;
  font-size: 16px;
  border-radius: 5px 0 0 5px;
}

.close-ad-button {
  position: absolute;
  top: 0;
  left: 0;
}





#preload-container {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 1000;
  background: #000000;
  color: #fff;
}

#preroll {
  position: fixed;
  width: 100dvw;
  height: 100dvh;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: #002B50;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

#ad-content {
  display: none;
  background: rgb(0, 0, 0);
  width: 100dvw;
  height: 100dvh;
}

#preroll-content {
  text-align: center;
}

#preroll-game-img img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;  
  border: 5px solid #ffffff;
  margin-bottom: 20px;
}

#preroll-game-name {
  margin-bottom: 50px;
  font-weight: bold;
  font-size:large;
}

#preroll-play-btn {
  background-color: #ffffff;
  color: #000000;
  border-radius: 10px;
  padding: 12px 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 150px; /* Ensure button doesn't collapse */
  max-height: 50px; /* Ensure button doesn't collapse */
  overflow: hidden; 
}

#preroll-play-btn-txt {
  display: inline-block;
  font-weight: bold;
  color: #3bf5f3;
}

#preroll-play-btn-img-wrapper {
  display: none;
  align-items: center;
  justify-content: center;
}

#preroll-play-btn-img {
  width: 35px;
  height: 35px;
  object-fit: cover;
}


/* Shimmer Effect */
@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

#preroll-play-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 20%,
    rgba(255, 255, 255, 0.5) 60%,
    rgba(255, 255, 255, 0)
  );
  animation: shimmer 2s infinite;
}

/* ---------- Legal pages (Privacy, Terms, Cookies) ---------- */
.legal-page-wrap {
  padding: 20px 16px 28px;
  text-align: left;
}

.legal-page {
  color: #333;
  font-size: 16px;
  line-height: 1.6;
}

.legal-page h1 {
  margin: 0 0 16px;
  font-size: 28px;
  color: #002B50;
  text-align: center;
}

.legal-page h2 {
  margin: 28px 0 12px;
  font-size: 22px;
  color: #002B50;
  text-align: left;
}

.legal-page h3 {
  margin: 20px 0 10px;
  font-size: 18px;
  color: #002B50;
  text-align: left;
}

.legal-page p {
  margin: 0 0 14px;
  text-align: left;
}

.legal-page ul {
  margin: 0 0 16px;
  padding-left: 24px;
  text-align: left;
}

.legal-page li {
  margin-bottom: 8px;
}

.legal-page a {
  color: #002B50;
  text-decoration: underline;
}

.legal-page a:hover {
  color: #FFC91B;
}

.legal-date {
  text-align: center;
  color: #666;
  font-size: 15px;
}

.legal-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
}

/* ---------- Rate Us Modal ---------- */

#rateUsModal .rate-us-card {
  box-sizing: content-box !important;
}

.rate-us-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 24px;
  pointer-events: none;
}

.rate-us-overlay.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.rate-us-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 44px 32px 14px;
  width: 100%;
  max-width: 300px;
  text-align: center;
  position: relative;
  transform: translateY(24px) scale(0.94);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

.rate-us-overlay.visible .rate-us-card {
  transform: translateY(0) scale(1);
}

.rate-us-star {
  width: 95%;
  max-width: 340px;
  height: auto;
  display: block;
  margin: 0 auto 24px;
}

.rate-us-title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 400;
  color: #666;
  font-family: Arial, sans-serif;
}

.rate-us-rate-btn {
  display: block;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  margin: 20px auto 6px;
  width: 90%;
  max-width: 320px;
  transition: transform 0.15s ease;
}

.rate-us-overlay.visible .rate-us-rate-btn {
  animation: rate-btn-shake 0.5s ease 0.4s;
}

.rate-us-rate-btn:hover {
  transform: scale(1.03);
}

@keyframes rate-btn-shake {
  0%, 100% { transform: translateX(0); }
  15% { transform: translateX(-6px) rotate(-2deg); }
  30% { transform: translateX(5px) rotate(1.5deg); }
  45% { transform: translateX(-4px) rotate(-1deg); }
  60% { transform: translateX(3px) rotate(0.5deg); }
  75% { transform: translateX(-2px); }
  90% { transform: translateX(1px); }
}

.rate-us-rate-btn:active {
  transform: scale(0.97);
}

.rate-us-rate-btn img {
  width: 100%;
  height: auto;
  display: block;
}

.rate-us-later-btn {
  display: inline-block;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 6px 10px;
  margin: 0 auto;
  width: 90%;
  max-width: 300px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.rate-us-overlay.visible .rate-us-later-btn {
  animation: later-btn-fadein 0.3s ease 1s forwards;
}

@keyframes later-btn-fadein {
  to {
    opacity: 1;
    pointer-events: auto;
  }
}

.rate-us-later-btn:hover {
  opacity: 0.7;
}

.rate-us-later-btn img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 480px) {
  .rate-us-card {
    max-width: 260px;
  }
}





