@import "https://cdn.supercell.com/onetrust/supercell/onetrust_override.css";

/* ✅ RESET button ليصبح مثل a */
button.button {
  all: unset; /* حذف كل ستايلات button الافتراضية */
  display: -ms-flexbox !important;
  display: flex !important;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 0;
  font-size: 22px;
  position: relative;
  font-weight: 700;
  border: none;
  border-radius: 0 !important;
  height: 74px;
  text-shadow: 0 -2px #000, 0 0 #000, 0 2px #000, 0 4px #000,
               -1px -1px #000, 1px -1px #000, 1px 0 #000, -1px 0 #000,
               1px 1px #000, -1px 1px #000, 1px 2px #000, -1px 2px #000;
  background: url(/images/game/center.png);
  background-repeat: repeat-x;
  background-size: 100% 100%;
  background-color: transparent;
  cursor: pointer;
}

button.button:before {
  left: -12px;
  background-image: url(/images/game/left.png);
}

button.button:after,
button.button:before {
  position: absolute;
  top: 0;
  height: 74px;
  width: 12px;
  background-size: 100% 100%;
  content: "";
}

button.button:after {
  right: -12px;
  background-image: url(/images/game/right.png);
}

button.button span {
  line-height: 25px;
  padding-left: 10px;
  padding-right: 10px;
  display: block;
  transform: translateY(-2px);
}

/* ✅ باقي CSS كما هو */
main {
  font-size: 18px;
  color: #fff;
  background-image: url(/images/game/background.jpg);
  background-size: cover;
}

main .language-dropdown {
  color: #fff !important;
  -webkit-text-stroke-width: 0;
  text-shadow: none !important;
  background-color: rgba(0,0,0,.2) !important;
  background-image: url(../../../images/common/language-globe-white.svg),
                    url(../../../images/common/language-caret-white.svg) !important;
}

main .contents > a {
  margin-top: 16px;
}

main .clicked-label {
  color: #fff;
  font-size: 1.5rem;
  margin-top: 30px !important;
}

main .deco-section {
  padding-top: 120px !important;
}

main .deco-section img {
  transform: scale(1.4) translateY(-20px) !important;
}

@font-face {
  font-family: CocJapan;
  src: url(../../../fonts/game/jp-bold.woff2?v=ualij3q);
  font-weight: 700;
}

html:lang(jp) button.button {
  font-family: CocJapan, sans-serif !important;
}

@font-face {
  font-family: CocKorea;
  src: url(../../../fonts/game/kr-bold.woff2?v=ualij3q);
  font-weight: 700;
}

html:lang(kr) button.button {
  font-family: CocKorea, sans-serif !important;
}

@font-face {
  font-family: CocChina;
  src: url(../../../fonts/game/cn-bold.woff2?v=ualij3q);
  font-weight: 700;
}

html:lang(cn) button.button,
html:lang(cnt) button.button {
  font-family: CocChina, sans-serif !important;
}

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

body, html {
  max-width: 100vw;
  height: 100%;
  overflow-x: hidden;
  background: #f2f2f2;
  color: #010101;
}

html:lang(ar) .contents {
  direction: rtl;
}

img, svg {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  pointer-events: none;
  user-select: none;
  -webkit-touch-callout: none;
}