@charset "UTF-8";

/* --------------------------------
   1) Fonts
-------------------------------- */
@font-face {
  font-family: "Pretendard";
  font-style: normal;
  font-weight: 400;
  src: url('../../common/css/font/Pretendard-Regular.woff2') format('woff2'),
       url('../../common/css/font/Pretendard-Regular.woff') format('woff');
}

/* --------------------------------
   2) Reset / Base
-------------------------------- */
html {
  font-size: 10px;
}

body, div, p, h1, h2, h3, h4, h5, h6, ul, ol, li, form, button {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  display: block;
  border: 0;
}

ul,
ol {
  list-style: none;
}

address {
  font-style: normal;
}

a {
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
  background-color: transparent;
  cursor: pointer;
  font-size: 0;
  vertical-align: top;
}

html,
body {
  -webkit-text-size-adjust: none;
}

body,
button,
a {
  font-family: "Pretendard", "돋움", Dotum, AppleGothic, sans-serif;
  font-weight: 400;
  font-size: 12px;
}

.blind {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  white-space: nowrap;
  clip: rect(0,0,0,0);
}

/* --------------------------------
   3) PC (기본)
-------------------------------- */
.maintenance {
  background: #080a12 url(https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/bg_maintenance.jpg) no-repeat 50% 0;
}

.wrap {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}

.maintenance .header {
  position: relative;
  z-index: 10;
  width: 1100px;
  height: 33px;
  margin: 18px auto 40px;
}

.maintenance .logo {
  width: 221px;
  height: 33px;
  background: url(https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/logo_royalholdem.png) no-repeat 50% 0;
  background-size: 221px 33px;
}

.maintenance .hangame_logo {
  position: absolute;
  right: 0;
  top: 6px;
  width: 134px;
  height: 19px;
  background: url(https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/logo_hangame.png) no-repeat 50% 0;
  background-size: 134px 19px;
}

/* 모바일 전용 상단 이전 버튼 */
.maintenance .header .btn_back {
  display: none;
}

.maintenance .container {
  position: relative;
  z-index: 1;
  width: 1100px;
  margin: 0 auto;
}

.maintenance .tit {
  width: 591px;
  height: 153px;
  background: url(https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/tit_maintenance01.png) no-repeat 50% 0;
  background-size: 591px 153px;
}

.maintenance .txt {
  width: 579px;
  height: 20px;
  margin: 38px 0 35px;
  background: url(https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/txt_maintenance01.png) no-repeat 50% 0;
  background-size: 579px 20px;
}

.maintenance .info_box {
  position: relative;
  overflow: hidden;
  width: 576px;
  margin: 0 0 40px 13px;
  padding-bottom: 17px;
  background: #0a0c14 url(https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/bg_maintenance_txt_v2.png) no-repeat 50% 0;
  background-size: 576px 112px;
  border-bottom: 2px solid #3f4569;
}

.maintenance .info_box ul {
  overflow: hidden;
  padding: 20px 0 0 150px;
  text-align: left;
}

.maintenance .info_box li {
  min-height: 45px;
  font-size: 22px;
  color: #9caded;
}

.maintenance .info_detail {
  position: relative;
  overflow-y: auto;
  max-height: 117px;
  margin-top: 5px;
  line-height: 1.3;
  word-break: break-all;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.maintenance .info_detail:first-child {
  margin-top: 0;
}

.maintenance .info_detail::-webkit-scrollbar {
  display: none;
}

.maintenance .info_detail::after {
  content: "";
  position: sticky;
  display: block;
  bottom: 0;
  height: 32px;
  margin-top: -32px;
  background: linear-gradient(to bottom, rgba(10, 12, 20, 0), rgba(10, 12, 20, 0.92));
  pointer-events: none;
  opacity: 0;
}

.maintenance .info_detail.gradient::after {
  opacity: 1;
}

.maintenance .video {
  position: relative;
  width: 1100px;
  height: 618px;
  margin: 0 0 40px 0;
  background: url(https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/bg_video2.png) no-repeat;
  background-size: 1100px 618px;
}

.maintenance .video .ifr_youtube {
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 1096px;
  height: 614px;
  border: 0;
  border-radius: 12px;
}

.maintenance .btn_area {
  margin: 0 0 40px 0;
  text-align: center;
}

.maintenance .btn_area .btn_back {
  display: block;
  width: 282px;
  height: 78px;
  margin: 0 auto 86px;
  background: url(https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/btn_back.png) no-repeat;
  background-size: 282px 78px;
}

.footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  background: #000;
  color: #575963;
  font-size: 20px;
}

/* 모바일 다운로드 배너 */
.maintenance .float_banner {
  position: absolute;
  top: 578px;
  left: 50%;
  z-index: 10;
  transform: translateX(573px);
  width: 192px;
}

.maintenance .float_banner a {
  display: block;
  width: 100%;
  height: 272px;
  background: url(https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/btn_mobile_download2.png) no-repeat;
  background-size: 192px 271px;
}

/* Popup */
.dimmed {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 99;
  background: #000;
  opacity: .7;
}

.ly_popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 102;
  box-sizing: border-box;
  width: 430px;
  height: 660px;
  margin: 0 auto;
  background: url(https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/bg_qr_layer.png) no-repeat;
  background-size: 430px 660px;
  text-align: center;
}

.qr_box {
  position: absolute;
  top: 316px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
}

.qr_box img {
  width: 100%;
}

.store {
  position: absolute;
  top: 163px;
  left: 27px;
  width: 180px;
  height: 60px;
}

.selected a {
  width: 180px;
  height: 60px;
  border: 2px solid #8fb1fb;
  border-radius: 8px;
  box-sizing: border-box;
}

.selected .store {
  background: url(https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/bg_qr_store_on.png) -3px -2px no-repeat;
  background-size: 376px 134px;
}

.selected .appstore {
  background-position: -197px -2px;
}

.selected .one {
  background-position: -3px -72px;
}

.selected .galaxy {
  background-position: -197px -72px;
}

.appstore, .galaxy {left: 221px}

.one, .galaxy {top: 233px}

.btn_go {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 80px;
}

.btn_close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 50px;
  height: 50px;
}

/* --------------------------------
   4) Mobile / Tablet
-------------------------------- */
@media (max-width: 1279px) {
  html {
    font-size: calc(100vw / 36);
  }

  .maintenance {
    background: #080a12;
    letter-spacing: -0.04em;
  }

  .wrap {
    max-width: 36rem;
    background: #3a4785 url(https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/bg_maintenance_mo.jpg) no-repeat 50% 0;
    background-size: 100% auto;
  }

  .maintenance .header {
    display: flex;
    align-items: center;
    width: auto;
    height: 4.7rem;
    margin: 0;
    padding: 0 2.05rem;
  }

  .maintenance .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 12.95rem;
    height: 1.95rem;
    background-image: url(https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/logo_royalholdem_maint_mo.png);
    background-size: 100% 100%;
  }

  .maintenance .hangame_logo {
    display: none;
  }

  .maintenance .header .btn_back {
    display: block;
    width: 1.05rem;
    height: 1.9rem;
    margin: 0 .95rem 0 auto;
    background: url(https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/btn_back_mo.png) no-repeat;
    background-size: 100% 100%;
  }

  .maintenance .container {
    width: 31.9rem;
    padding: 11.85rem 0 4.9rem;
    text-align: center;
  }

  .maintenance .tit {
    width: 31.6rem;
    height: 5.8rem;
    margin: 0 auto;
    background-image: url(https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/tit_maintenance01_mo.png);
    background-size: 100% 100%;
  }

  .maintenance .txt {
    width: 19.7rem;
    height: 2.45rem;
    margin: 1.4rem auto 2.35rem;
    background-image: url(https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/txt_maintenance01_mo.png);
    background-size: 100% 100%;
  }

  .maintenance .info_box {
    overflow: visible;
    width: 31.9rem;
    height: 8.85rem;
    margin: 0 auto 10.6rem;
    padding-bottom: 0;
    background: #090a11 url(https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/bg_maintenance_txt_v2_mo.png) no-repeat 50% 0;
    background-size: 100% auto;
    border-bottom-width: .1rem;
  }

  .maintenance .info_box ul {
    overflow: visible;
    padding: .95rem .75rem 0 7.8rem;
  }

  .maintenance .info_box li {
    min-height: 0;
    height: 2.05rem;
    font-size: 1.1rem;
  }

  .maintenance .info_detail {
    max-height: 5.4rem;
    margin-top: .25rem;
  }

  .maintenance .info_detail::after {
    height: 1.5rem;
    margin-top: -1.5rem;
    background: linear-gradient(to bottom, rgba(10, 12, 19, 0), rgba(10, 12, 19, 0.92));
  }

  .maintenance .video {
    width: 31.9rem;
    height: 18.1rem;
    margin: 0 auto;
    background-image: url(https://hangame-images.toastoven.net/hangame/aapokerinapp/event/main-page/main/img/bg_video_mo.png);
    background-size: 100% auto;
    box-shadow: .25rem 0 .3rem -.05rem rgba(0, 0, 0, 0.4);
  }

  .maintenance .video .ifr_youtube {
    top: .1rem;
    width: 31.7rem;
    height: 17.6rem;
    border-radius: 0;
  }

  .maintenance .btn_area,
  .maintenance .float_banner,
  .dimmed,
  .ly_popup {
    display: none !important;
  }

  .footer {
    height: 3.75rem;
    background: #0e0601;
    color: #595c67;
    font-size: .85rem;
    font-weight: 500;
  }
}
