@import url("https://fonts.googleapis.com/css2?family=Gowun+Dodum&family=Noto+Sans+KR:wght@400;700&display=swap");
:root {
  --gs-backgroundcolor: #081617;
  --gs-primarycolor: #839154;
  --gs-neoncolor: #81e3ea;
}
body {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 15px;
  background-color: var(--gs-backgroundcolor);
}
.wrapper {
  width: 100%;
  min-width: auto;
  height: auto;
  position: relative;
  overflow: hidden;
}
.mw {
  width: 1500px;
  margin: 0 auto;
}
.top_banner {
  width: 100%;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url("./main_marina2.png");
  background-size: cover;
  box-shadow: 0px -4px 16px 0px rgba(0, 0, 0, 0.6) inset;
  padding-bottom: 126px;
}
.top_banner--logo {
  height: 300px;
  width: auto;
  animation: bounceIn 10s infinite;
}

@keyframes bounceIn {
  0%,
  5%,
  10%,
  15%,
  20%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }
  5% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
  }
  10% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9);
    transform: scale3d(0.9, 0.9, 0.9);
  }
  15% {
    opacity: 1;
    -webkit-transform: scale3d(1.03, 1.03, 1.03);
    transform: scale3d(1.03, 1.03, 1.03);
  }
  20% {
    -webkit-transform: scale3d(0.97, 0.97, 0.97);
    transform: scale3d(0.97, 0.97, 0.97);
  }
  to {
    opacity: 1;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
  }
}
@keyframes bounceIn {
  0%,
  10%,
  20%,
  30%,
  40%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }
  5% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
  }
  10% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9);
    transform: scale3d(0.9, 0.9, 0.9);
  }
  15% {
    opacity: 1;
    -webkit-transform: scale3d(1.03, 1.03, 1.03);
    transform: scale3d(1.03, 1.03, 1.03);
  }
  20% {
    -webkit-transform: scale3d(0.97, 0.97, 0.97);
    transform: scale3d(0.97, 0.97, 0.97);
  }
  to {
    opacity: 1;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
  }
}
.animate__bounceIn {
  -webkit-animation-duration: 0.75s;
  animation-duration: 0.75s;
  -webkit-animation-duration: calc(var(--animate-duration) * 0.75);
  animation-duration: calc(var(--animate-duration) * 0.75);
  -webkit-animation-name: bounceIn;
  animation-name: bounceIn;
}
@-webkit-keyframes bounceInDown {
  0%,
  60%,
  75%,
  90%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -3000px, 0) scaleY(3);
    transform: translate3d(0, -3000px, 0) scaleY(3);
  }
  60% {
    opacity: 1;
    -webkit-transform: translate3d(0, 25px, 0) scaleY(0.9);
    transform: translate3d(0, 25px, 0) scaleY(0.9);
  }
  75% {
    -webkit-transform: translate3d(0, -10px, 0) scaleY(0.95);
    transform: translate3d(0, -10px, 0) scaleY(0.95);
  }
  90% {
    -webkit-transform: translate3d(0, 5px, 0) scaleY(0.985);
    transform: translate3d(0, 5px, 0) scaleY(0.985);
  }
  to {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
}
.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin-top: -126px;
}

.header_login {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border-radius: 16px 16px 0px 0px;
  background: rgba(41, 36, 68, 0.6);
  backdrop-filter: blur(8px);
  margin-bottom: -1px;
}
.header_login input {
  width: 150px;
  border-radius: 8px;
  padding: 4px 12px;
  border: 1px solid #fff;
  background: rgba(255, 255, 255, 0.6);
}
.header_login--btn {
  width: 120px;
  color: #fff;
  border-radius: 20px;
  background-size: 100% auto;
  font-family: inherit;
  font-size: 15px;
  padding: 0.6em 1.5em;
  transition: 0.3s;
}
.header_login--btn:hover {
  background-position: right center;
  background-size: 200% auto;
  -webkit-animation: pulse 2s infinite;
  animation: pulse512 1.5s infinite;
}
@keyframes pulse512 {
  0% {
    box-shadow: 0 0 0 0 #4ce3f770;
  }

  70% {
    box-shadow: 0 0 0 10px rgb(218 103 68 / 0%);
  }

  100% {
    box-shadow: 0 0 0 0 rgb(218 103 68 / 0%);
  }
}
.header_login--btn.btn-login {
  background-image: linear-gradient(
    to right,
    #314755 0%,
    #26a0da 51%,
    #314755 100%
  );
}
.header_login--btn.btn-join {
  background-image: linear-gradient(
    to right,
    #ff512f 0%,
    #f09819 51%,
    #ff512f 100%
  );
  min-width:160px;
}

/* 머니(입금) 버튼 */
.header_login--btn.btn-money {
    background-image: linear-gradient( to right, #11998e 0%, #38ef7d 51%, #11998e 100% );
    color: #fff;
}

/* 포인트 전환 버튼 */
.header_login--btn.btn-point {
    background-image: linear-gradient( to right, #ff512f 0%, #dd2476 51%, #ff512f 100% );
    color: #fff;
}
.header_login--info {
  display: flex;
  gap: 16px;
  color: #fff;
  align-items: center;
}
.header_login--info i {
  font-size: 32px;
}
.header_login--info button {
  color: #fff;
}
.header_login--info span {
  font-weight: 700;
  padding-right: 4px;
  color: #f9d023;
}

/* 사용자 상태바 스타일 (로그인 후 하단 영역) - 원본과 동일 */
.user-status-bar {
  background: linear-gradient(135deg, #4a3b7a 0%, #2e1f4f 100%);
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: calc(100% - 48px);
  margin: 8px 24px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-status-info {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.user-status-info .ph-user {
  font-size: 20px;
  color: #f9d023;
}

.status-text {
  font-size: 14px;
  color: #fff;
  font-weight: 400;
}

.status-text strong {
  color: #f9d023;
  font-weight: 700;
}

.user-status-actions {
  display: flex;
  gap: 12px;
}

.status-btn {
  padding: 8px 16px;
  border-radius: 20px;
  border: none;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 70px;
}

.logout-btn {
  background: linear-gradient(135deg, #6b7b8a 0%, #4a5a6a 100%);
  color: #fff;
}

.partner-btn {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
}

.status-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.header_menu {
  display: flex;
  gap: 32px;
  padding: 16px 32px;
  border-radius: 32px 32px 0px 0px;
  background: linear-gradient(0deg, #081617 0%, rgba(8, 22, 23, 0.8) 100%);
  box-shadow: 0px -16px 16px 0px rgba(0, 0, 0, 0.25);
}
.header_menuItem {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #fff;
  cursor: pointer;
  position: relative;
}
.header_menuItem::before {
  content: "";
  position: absolute;
  width: 110%;
  height: 1px;
  background-color: var(--gs-neoncolor);
  bottom: -17px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0px 0px 4px var(--gs-neoncolor), 0px -4px 16px var(--gs-neoncolor),
    0px -4px 32px var(--gs-neoncolor);
  transition: 0.3s;
  opacity: 0;
}
.header_menuItem:hover::before {
  opacity: 1;
}
.header_menuItem--icon {
  width: 30px;
  height: 30px;
  border-radius: 15px;
  overflow: hidden;
  background-color: var(--gs-primarycolor);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header_menuItem--icon i {
  font-size: 20px;
}
.header_menuItem--icon_hover {
  position: absolute;
  width: 30px;
  height: 30px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: 0.3s;
}
.header_menuItem:hover .header_menuItem--icon_hover {
  opacity: 1;
  animation: menuWheelAnim 1s linear infinite;
}
@keyframes menuWheelAnim {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}
.header_menuItem--text {
  color: var(--gs-primarycolor);
  transition: 0.3s;
}
.header_menuItem:hover .header_menuItem--text {
  color: #fff;
}

.main_content {
  width: 100%;
  height: 100%;
  position: relative;
}
.main_content::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.4;
  background-image: url("./bg_marina.jpg");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  z-index: -1;
}
.main_gamelistWrap {
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding: 64px 24px;
}
.main_gamelist_tabmenu {
  display: flex;
  gap: 84px;
  padding: 0px 64px;
  margin: 0 auto;
  border-radius: 64px;
  border: 1px solid rgba(129, 227, 234, 0.6);
  background: rgba(8, 22, 23, 0.4);
  box-shadow: 0px 0px 16px 0px var(--gs-neoncolor),
    0px 0px 32px 0px var(--gs-neoncolor), 0px 0px 64px 0px var(--gs-neoncolor);
}
.main_gamelist_tabmenuItem {
  display: flex;
  gap: 16px;
  padding: 24px 0px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.main_gamelist_tabmenuItem img {
  height: 80px;
  width: auto;
  mix-blend-mode: luminosity;
  transition: 0.3s;
}
.main_gamelist_tabmenuItem_text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}
.main_gamelist_tabmenuItem_text--title {
  font-size: 24px;
  font-weight: 700;
}
.main_gamelist_tabmenuItem.on img,
.main_gamelist_tabmenuItem:hover img {
  mix-blend-mode: inherit;
}
.main_gamelist_tabmenuItem.on .main_gamelist_tabmenuItem_text--title,
.main_gamelist_tabmenuItem:hover .main_gamelist_tabmenuItem_text--title {
  color: #fff;
}
.main_gamelist_tabmenuItem.on .main_gamelist_tabmenuItem_text--sub,
.main_gamelist_tabmenuItem:hover .main_gamelist_tabmenuItem_text--sub {
  color: #fa8f46;
}

.main_gamelist_tabcontent_gamelist {
  display: none;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.main_gamelist_tabcontent_gamelist.on {
  display: flex;
}
.gamelistItem {
  width: calc(20% - 13px);
  position: relative;
}
.gamelistItem_img {
  position: relative;
  width: 100%;
  padding-top: calc(182 / 284 * 100%);
  display: flex;
  justify-content: center;
  z-index: 1;
}
.gamelistItem_img img {
  position: absolute;
}
.gamelistItem_img--bg,
.gamelistItem_img--gamebg,
.gamelistItem_img--gamemain {
  width: 100%;
  height: auto;
  top: 0;
  left: 0;
  transition: 0.3s;
}
.gamelistItem.off .gamelistItem_img--gamemain {
  filter: brightness(50%);
}
.gamelistItem_img--bg {
  filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.5));
}
.gamelistItem_img--gamebg {
  opacity: 0.6;
}
.gamelistItem_img--gamelogo {
  max-width: 100px;
  top: 24px;
  left: 16px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 1));
}
.main_gamelist_tabcontent_gamelist.on .gamelistItem_img--gamemain:not(.glitch) {
  animation: scaleUp 0.3s linear 1;
}

.pvpdiv .gamelistItem_img--gamelogo {
  max-width: none;
  height: 38px;
  top: unset;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
}

@keyframes scaleUp {
  0% {
    opacity: 0;
    transform: translateY(10%) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.main_gamelist_tabcontent_gamelist.on .gamelistItem_img--gamebg,
.main_gamelist_tabcontent_gamelist.on .gamelistItem_img--bg {
  animation: moveUp 0.3s linear 1;
}
@keyframes moveUp {
  0% {
    transform: translateY(10%);
  }
  100% {
    transform: translateY(0);
  }
}
.main_gamelist_tabcontent_gamelist.on .gamelistItem_text {
  animation: opacityDown 0.3s linear 1;
}
@keyframes opacityDown {
  0% {
    opacity: 0;
    transform: translateY(-10%);
  }
  100% {
    opacity: 0.6;
    transform: translateY(0);
  }
}
.main_gamelist_tabcontent_gamelist.on .gamelistItem_img--gamelogo {
  animation: opacity 0.7s ease 0.2s 1 backwards;
}
@keyframes opacity {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.gamelistItem_img--gamemain.glitch {
  opacity: 0;
  mix-blend-mode: hard-light;
}
.gamelistItem:hover .gamelistItem_img--gamemain.glitch {
  opacity: 0.3;
  animation: glitch 0.2s linear infinite;
}
@keyframes glitch {
  0% {
    background-position: 0 0;
    filter: hue-rotate(0deg);
  }
  10% {
    background-position: 5px 0;
  }
  20% {
    background-position: -5px 0;
  }
  30% {
    background-position: 15px 0;
  }
  40% {
    background-position: 5px 0;
  }
  50% {
    background-position: -25px 0;
  }
  60% {
    background-position: -50px 0;
  }
  70% {
    background-position: 0 -20px;
  }
  80% {
    background-position: -60px -20px;
  }
  81% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 0;
    filter: hue-rotate(360deg);
  }
}
.gamelistItem_img--btn {
  display: flex;
  gap: 8px;
  padding: 4px 16px;
  border-radius: 32px;
  background-color: #ffc111;
  color: #fff;
  align-items: center;
  border: 2px solid #fff;
  position: absolute;
  bottom: 16px;
  opacity: 0;
  transition: 0.3s;
}
.gamelistItem:hover .gamelistItem_img--btn,
.gamelistItem:hover .gamelistItem_img--gamebg {
  opacity: 1;
}

.gamelistItem_img--btn i {
  font-size: 32px;
}
.gamelistItem_img--btn_text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gamelistItem_img--btn_bar {
  width: 100%;
  height: 3px;
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}
.gamelistItem_img--btn_bar::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: #fff;
  left: -60%;
  transition: 0.3s;
  border-radius: 2px;
}
.gamelistItem:hover .gamelistItem_img--btn_bar::before {
  animation: barMove 1s linear infinite;
}
@keyframes barMove {
  0% {
    left: -60%;
  }
  50% {
    left: 100%;
  }
  50.1% {
    left: -100%;
  }
  100% {
    left: -60%;
  }
}
.gamelistItem_text {
  display: flex;
  width: calc(100% - 16px);
  padding: 16px 10px;
  margin: 0 auto;
  justify-content: center;
  border-radius: 0px 0px 16px 16px;
  border: 1px solid #81e3ea;
  background: rgb(8 22 23 / 60%);
  backdrop-filter: blur(8px);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(to right, #b6e7ff 0%, #314755 100%);
  position: relative;
  margin-top: -12px;
  font-weight: 700;
}
.gamelistItem_text::before {
  content: "";
  position: absolute;
  width: 50%;
  height: 20px;
  top: -30px;
  box-shadow: 0 0 50px #81e3ea;
}

/*social banner*/
.social_banner_wrap {
  display: flex;
  justify-content: center;
  padding-bottom: 64px;
}
.social_banner {
  display: inline-flex;
  gap: 64px;
  padding: 16px 24px;
  border-radius: 60px;
  border: 1px solid var(--gs-neoncolor);
  color: #fff;
  align-items: center;
  background: rgba(129, 227, 234, 0.1);
  box-shadow: 0px 0px 20px 0px rgba(129, 227, 234, 0.6);
  backdrop-filter: blur(2px);
  animation: boxGlow 1s ease infinite;
}
@keyframes boxGlow {
  0% {
    box-shadow: 0px 0px 20px 0px rgba(129, 227, 234, 0.6);
  }
  33% {
    box-shadow: 0px 0px 10px 0px rgba(129, 227, 234, 0.6);
  }
  66% {
    box-shadow: 0px 0px 40px 0px rgba(129, 227, 234, 0.6);
  }
  100% {
    box-shadow: 0px 0px 20px 0px rgba(129, 227, 234, 0.6);
  }
}
.social_banner img {
  height: 60px;
  width: auto;
}
.social_banner_text {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.social_banner_text--title {
  font-size: 20px;
  font-weight: 700;
}
.social_banner_text--id {
  font-size: 32px;
  font-weight: 700;
  color: var(--gs-neoncolor);
}

/*board*/
.bottombox {
  position: relative;
  padding-bottom: 64px;
}

.bottom-bigbox {
  position: relative;
  z-index: 9;
  padding: 0 100px;
}

.content-alin {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.albox {
  background-color: #141518;
  border: 2px solid #383c45;
}

.content-alin-box {
  width: calc(100% / 2 - 6px);
  height: auto;
}

.albox-title {
  background-color: #1f2125;
  height: 60px;
  line-height: 60px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 0 20px;
}

.alin-table {
  width: 100%;
}

.albox .alin-table {
  table-layout: fixed;
}

.alin-table tr td {
  padding: 15px 0;
}

.alin-table .alin-table-th01 {
  padding-left: 20px;
}

.alin-table .alin-table-th01 a {
  font-size: 1rem;
  font-weight: 400;
  color: #c9c9c9;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  height: 20px;
}

.alin-table-user {
  font-size: 1rem;
  font-weight: 400;
  color: #c9c9c9;
}

.alin-table .alin-table-th01 a:hover {
  color: #e7e7e7;
}

.alin-table .alin-table-th02 {
  text-align: right;
  padding-right: 20px;
  font-size: 0.875rem;
  color: #818181;
}

.alin-table tr:nth-child(even) {
  background-color: #1f2125;
}

.al-newbage {
  display: inline-block;
  width: 35px;
  height: 15px;
  line-height: 13px;
  border-radius: 50px;
  background: rgb(254, 127, 64);
  background: linear-gradient(
    180deg,
    rgba(254, 127, 64, 1) 0%,
    rgba(147, 33, 4, 1) 100%
  );
  color: #fff;
  font-size: 0.625rem;
  text-align: center;
  animation: blink-effect 1s step-end infinite;
}

.alin-span {
  vertical-align: middle;
}

@keyframes blink-effect {
  50% {
    opacity: 0;
  }
}

.money-tab-ul li {
  width: 50%;
  height: 60px;
}
.money-tab-ul li button {
  width: 100%;
  height: 100%;
  background-color: #141518;
  border-top-left-radius: 0px !important;
  border-top-right-radius: 0px !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  color: #69696b;
  font-size: 1.2rem;
  font-weight: 600;
}
.money-tab-ul li button:hover {
  color: #fff !important;
}
.money-tab-ul li button.active {
  background-color: #383c45 !important;
}

.rolling-list-left {
  width: 100%;
  height: 0;
  margin: 0 auto;
  overflow: hidden;
}
.rolling-list-left ul {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 auto;
  text-align: left;
  overflow: hidden;
}
.rolling-list-left li,
.rolling-list-right li {
  height: 50px;
  overflow: hidden;
  background-color: #141518;
  color: #fff;
  padding: 0 20px;
}

.rolling-list-left li.rol01-bg {
  background-color: #1f2125;
}
.rolling-list-left li:first-of-type {
  border-top: 0;
}

.money-a-box {
  height: 50px;
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.money-a-box-name {
  display: flex;
}

.money-a-box-name-user {
  display: flex;
}

.money-a-box-name-user-name {
  font-size: 1rem;
  font-weight: 400;
  color: #c9c9c9;
  margin-left: 5px;
  width: 120px;
}

.money-a-box-name-user-price {
  font-size: 1rem;
  font-weight: 600;
  color: #e9b726;
}

.money-a-box-day {
  font-size: 0.875rem;
  color: #818181;
}

.dd-box {
  border: 2px solid #383c45;
  background: rgb(56 60 69 / 60%);
  backdrop-filter: blur(2px);
}

/*footer*/
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  background-color: #131c20;
  border-top: 1px solid #23333b;
}
.footer_logo {
  padding: 32px;
  text-align: center;
}
.footer_logo img {
  max-width: 100px;
  max-height: 30px;
  margin: 10px 12px;
}
.footer_text {
  width: 100%;
  text-align: center;
  padding: 32px;
  border-top: 1px solid #23333b;
  background-color: var(--gs-backgroundcolor);
}
@media (max-width: 1250px) {
  .mw {
    width: 1250px;
  }
  .gamelistItem {
    width: calc(25% - 13px);
  }
}

.mobile_header {
  display: none !important;
}

.menu {
  display: none !important;
}