@charset "UTF-8";
@font-face {
  font-family: "Giants";
  src: url("/public/font/Giants-Regular.ttf") format("truetype");
  font-weight: 400;
}
@font-face {
  font-family: "Giants";
  src: url("/public/font/Giants-Bold.ttf") format("truetype");
  font-weight: 700;
}
@font-face {
  font-family: "Pretendard-Regular";
  src: url("https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}
body {
  font-family: "Giants", sans-serif;
  font-weight: 400;
  margin: 0;
  padding: 0;
  background-image: url(/public/images/main_bg.jpg);
  background-size: 100% 100%;
  background-position: center;
  /* 모바일 대응 (화면이 작아지면 글자 크기, 높이 조정) */
  /* 우주선이 위아래로 천천히 오르락내리락 */
}
body .navbar-marquee {
  flex: 1 1 auto;
  overflow: hidden;
  position: relative;
  margin-left: 16px;
  margin-right: 16px;
  height: 40px;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 670px;
}
body .scroll-text {
  display: inline-block;
  white-space: nowrap;
  font-family: "Giants", sans-serif;
  font-size: 1.2rem;
  color: #ff5858;
  /* 마퀴 효과 */
  animation: marqueeScroll 12s linear infinite;
}
@keyframes marqueeScroll {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}
@media (max-width: 767px) {
  body .navbar .container {
    display: flex !important;
    flex-direction: row-reverse !important;
    align-items: center;
  }
  body .navbar-brand {
    display: none !important;
  }
  body .navbar-toggler {
    order: 1;
    margin-right: 8px;
  }
  body .navbar-marquee {
    width: 60%;
    height: 28px;
    margin-left: 6px;
    margin-right: 6px;
  }
  body .scroll-text {
    font-size: 0.9rem;
  }
}
body .livechat-icon {
  position: fixed;
  bottom: 64px;
  right: 64px;
  z-index: 9999;
  cursor: pointer;
  border-radius: 50%;
  background: transparent;
  padding: 8px;
  animation: livechatPulse 2s ease-in-out infinite;
}

@keyframes livechatPulse {
  0%, 100% { 
    transform: scale(1); 
  }
  50% { 
    transform: scale(1.15); 
  }
}
body .livechat-icon img {
  width: 96px;
  height: 96px;
  display: block;
  border-radius: 25px;
  border: 3px solid black;
  box-shadow: 0px 0px 20px rgb(0, 0, 0);
}
body .yamato-bg-ship {
  position: fixed;
  left: 33%;
  top: 10%;
  width: 100%;
  height: 100%;
  background: url("/public/images/ship.webp") no-repeat center center;
  background-size: contain;
  z-index: -1; /* 배경 가장 뒤로 */
  pointer-events: none;
  opacity: 0.93; /* 너무 튀지 않게 투명도 살짝 */
  animation: yamatoUpDown 12s ease-in-out infinite alternate;
  /* 속도 조절은 12s, 20s, 30s 등으로 마음껏 */
}
body .navbar {
  background-color: rgba(0, 0, 0, 0.8);
  font-family: "Giants", sans-serif;
  color: #ffd600;
  font-size: 1.4rem;
  padding: 10px 20px;
}
body .navbar .navbar-brand img {
  width: 100px;
  height: auto;
}
body .navbar .navbar-toggler {
  border-color: #ffd600;
}
body .navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,214,0,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
body .navbar a {
  color: #ffd600;
  text-decoration: none;
  margin-right: 20px;
  font-size: 1.2rem;
}
body .navbar a:hover, body .navbar .nav-link:hover {
  text-decoration: none !important;
  color: #fff !important;
}
body .navbar a.active {
  color: #ffd600 !important; /* 활성화된 링크 색상 */
}
body .navbar .nav-link {
  white-space: nowrap;
  padding-left: 0.3rem !important;
  padding-right: 0.3rem !important;
}

@media (max-width: 767px) {
  body .navbar .nav-link {
    font-size: 1rem;
    min-width: 60px;
    white-space: nowrap;
    padding-left: 4px;
    padding-right: 4px;
  }
}

@keyframes yamatoUpDown {
  from {
    transform: translate(-50%, 0);
  }
  to {
    transform: translate(-50%, -120px);
  }
}
body .container {
  padding-left: 3rem;
  padding-right: 3rem;
  margin: 0;
  max-width: 1200px;
  border-radius: 10px;
  /* 모바일 */
}
body .container .jackpot {
  width: auto;
  height: 120px;
  background-image: url(/public/images/jackpot_bg.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
body .container .jackpot .jackpot-amount {
  position: absolute;
  top: 0;
  right: 90px;
  font-family: "Giants", sans-serif;
  font-size: clamp(1.3rem, 4.5vw, 3rem);
  color: #ffd600;
  font-weight: 700;
  text-align: center;
  line-height: 120px;
  letter-spacing: 4px;
  white-space: nowrap;
}
body .container .notice-list-box {
  max-width: 100%;
  min-height: 210px;
  border: 1px solid #ffba00;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.5);
  overflow: hidden;
  font-family: "Giants", "Pretendard-Regular", sans-serif;
  margin: 0 auto;
}
body .container .notice-list-box .notice-list-title {
  background: rgba(0, 0, 0, 0.8);
  color: #ffba00;
  font-size: 1.22rem;
  font-weight: 400;
  text-align: center;
  padding: 9px 0 8px 0;
  letter-spacing: 1px;
}
body .container .notice-list-box .notice-list-contents {
  padding: 8px 16px 10px 16px;
}
body .container .notice-list-box .notice-list-contents li {
  font-family: "Pretendard-Regular", sans-serif;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 214, 0, 0.2);
  padding: 3px 12px;
  min-height: 32px;
  font-size: 1.15rem;
}
body .container .notice-list-box .notice-list-contents li:last-child {
  border-bottom: none;
}
body .container .notice-list-box .notice-list-contents li .notice-tag {
  width: 80px;
  margin-right: 6px;
  font-weight: 600;
  font-size: 1.02rem;
  color: #ff5858;
}
body .container .notice-list-box .notice-list-contents li .notice-content {
  flex: 1 1 auto;
  color: #fffad3;
  font-weight: 500;
  letter-spacing: -0.5px;
  padding-right: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body .container .notice-list-box .notice-list-contents li .notice-date {
  flex-shrink: 0;
  width: 90px;
  color: #ffba00;
  text-align: right;
  font-size: 1.03rem;
  font-family: inherit;
}
body .container .withdraw-list-box {
  width: 100%;
  min-height: 210px;
  border: 1px solid #ffba00;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.5);
  font-family: "Giants", "Pretendard-Regular", sans-serif;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
body .container .withdraw-list-box .withdraw-list-title {
  color: #ffba00;
  font-size: 1.22rem;
  font-weight: 400;
  text-align: center;
  padding: 9px 0 8px 0;
  letter-spacing: 1px;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1;
  position: relative;
}
body .container .withdraw-list-box .withdraw-list-outer {
  flex: 1 1 0;
  height: 170px;
  max-height: 170px;
  overflow: hidden;
  position: relative;
}
body .container .withdraw-list-box .withdraw-list-outer ul.withdraw-list {
  margin-bottom: 0;
  padding: 0 0.6em;
  height: auto;
  overflow: visible;
}
body .container .withdraw-list-box .withdraw-list-outer li {
  display: flex;
  align-items: center;
  font-size: 1.09rem;
  color: #ffba00;
  border-bottom: 1px solid rgba(255, 214, 0, 0.13);
  min-height: 32px;
  font-family: "Pretendard-Regular", sans-serif;
}
body .container .withdraw-list-box .withdraw-list-outer li:last-child {
  border-bottom: none;
}
body .container .withdraw-list-box .withdraw-list-outer li .id {
  width: 100px;
  color: #fff;
  font-weight: 400;
  font-size: 1.08rem;
  margin-right: 8px;
  letter-spacing: 0.6px;
}
body .container .withdraw-list-box .withdraw-list-outer li .amount {
  flex: 1 1 auto;
  color: #ffe27a;
  text-align: right;
  font-size: 1.09rem;
  margin-right: 14px;
  min-width: 100px;
  max-width: 140px;
}
body .container .withdraw-list-box .withdraw-list-outer li .status {
  width: 68px;
  color: #ffba00;
  font-weight: 600;
  font-size: 1.02rem;
  text-align: right;
  margin-right: 7px;
}
body .container .withdraw-list-box .withdraw-list-outer li .date {
  width: 85px;
  text-align: right;
  color: #ffba00;
  font-size: 1.01rem;
  margin-left: 5px;
}
@media (max-width: 500px) {
  body .container .notice-list-box,
  body .container .withdraw-list-box {
    width: 98vw;
    min-height: auto;
    margin-bottom: 12px;
    font-size: 0.93rem;
    border-radius: 8px;
    box-sizing: border-box;
  }
  body .container .notice-list-box .notice-list-title,
  body .container .notice-list-box .withdraw-list-title,
  body .container .withdraw-list-box .notice-list-title,
  body .container .withdraw-list-box .withdraw-list-title {
    font-size: 1.05rem;
    font-weight: 700;
    padding: 8px 0 7px 0;
    border-bottom: 1px solid #ffd600;
    background: rgba(0, 0, 0, 0.92);
    text-align: center;
    letter-spacing: 0.3px;
  }
  body .container .notice-list-box .notice-list-contents {
    padding: 7px 16px 2px 16px;
  }
  body .container .notice-list-box .notice-list-contents li {
    display: flex;
    align-items: center;
    font-size: 0.92rem;
    padding: 2px 0;
    border-bottom: 1px solid rgba(255, 214, 0, 0.1);
  }
  body .container .notice-list-box .notice-list-contents li .notice-tag {
    min-width: 62px;
    width: 52px;
    font-size: 0.93rem;
    display: inline-block;
    text-align: left;
  }
  body .container .notice-list-box .notice-list-contents li .notice-content {
    flex: 1 1 auto;
    min-width: 0;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    padding: 0 4px;
  }
  body .container .notice-list-box .notice-list-contents li .notice-date {
    min-width: 62px;
    width: 62px;
    text-align: right;
    font-size: 0.92rem;
  }
  body .container .withdraw-list-box {
    width: auto;
    min-height: 180px;
  }
  body .container .withdraw-list-box .withdraw-list-outer {
    padding: 7px 16px 2px 16px;
    overflow: hidden;
    padding: 6px 6px 0;
  }
  body .container .withdraw-list-box .withdraw-list-outer ul.withdraw-list {
    padding: 0;
    margin-bottom: 0;
  }
  body .container .withdraw-list-box .withdraw-list-outer li {
    display: flex;
    align-items: center;
    min-height: 32px;
    font-size: 0.92rem;
    border-bottom: 1px solid rgba(255, 214, 0, 0.1);
  }
  body .container .withdraw-list-box .withdraw-list-outer li .id {
    font-family: "Pretendard-Regular", sans-serif;
    font-size: 0.97rem;
    min-width: 70px;
    max-width: 84px;
    font-weight: 400;
    color: #fff;
    margin-right: 3px;
  }
  body .container .withdraw-list-box .withdraw-list-outer li .amount {
    flex: 1 1 auto;
    min-width: 65px;
    max-width: 100px;
    font-size: 0.91rem;
    text-align: right;
    color: #ffe27a;
    margin-right: 6px;
  }
  body .container .withdraw-list-box .withdraw-list-outer li .status {
    min-width: 54px;
    max-width: 60px;
    font-size: 0.9rem;
    text-align: center;
    font-weight: 600;
    margin-right: 4px;
  }
  body .container .withdraw-list-box .withdraw-list-outer li .date {
    min-width: 56px;
    max-width: 62px;
    font-size: 0.91rem;
    text-align: right;
    color: #ffd600;
    margin-left: 2px;
  }
}
body .container .main-banner {
  margin-bottom: 8px;
}
body .container .sub-banner .order-6 {
  order: 6 !important;
}
body .container .sub-banner .order-7 {
  order: 7 !important;
}
body .container .sub-banner .col-12,
body .container .sub-banner .col-md-6,
body .container .sub-banner .col-4,
body .container .sub-banner .col-md-3 {
  margin-bottom: 8px;
}
body .container .sub-banner .col-12 .banner-link,
body .container .sub-banner .col-md-6 .banner-link,
body .container .sub-banner .col-4 .banner-link,
body .container .sub-banner .col-md-3 .banner-link {
  display: block;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}
body .container .sub-banner .col-12 .banner-link img,
body .container .sub-banner .col-md-6 .banner-link img,
body .container .sub-banner .col-4 .banner-link img,
body .container .sub-banner .col-md-3 .banner-link img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s;
  display: block;
}
body .container .sub-banner .col-12 .banner-link .img-label,
body .container .sub-banner .col-md-6 .banner-link .img-label,
body .container .sub-banner .col-4 .banner-link .img-label,
body .container .sub-banner .col-md-3 .banner-link .img-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 0 4px;
  background: rgba(0, 0, 0, 0.7);
  color: #ffd600;
  text-align: center;
  font-family: "Giants", sans-serif;
  font-weight: 400;
  font-size: 1.4rem;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  letter-spacing: 2px;
  pointer-events: none;
  z-index: 2;
}
body .container .sub-banner .col-12 .banner-link .img-label.large-label,
body .container .sub-banner .col-md-6 .banner-link .img-label.large-label,
body .container .sub-banner .col-4 .banner-link .img-label.large-label,
body .container .sub-banner .col-md-3 .banner-link .img-label.large-label {
  font-size: 1.6rem;
  background: linear-gradient(45deg, #ffd600, #ff8c00, #ffd600);
  background-size: 200% 200%;
  border: 2px solid #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 214, 0, 0.5);
  animation: buttonGlow 2s ease-in-out infinite, buttonPulse 1s ease-in-out infinite;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #000;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8), -1px -1px 2px rgba(255, 255, 255, 0.8);
  font-weight: 700;
}

@keyframes buttonGlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes buttonPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
body .container .sub-banner .col-12 .banner-link:hover,
body .container .sub-banner .col-md-6 .banner-link:hover,
body .container .sub-banner .col-4 .banner-link:hover,
body .container .sub-banner .col-md-3 .banner-link:hover {
  box-shadow: 0 0 0 4px #ffd600;
}
body .container .sub-banner .col-12 .banner-link:hover img,
body .container .sub-banner .col-md-6 .banner-link:hover img,
body .container .sub-banner .col-4 .banner-link:hover img,
body .container .sub-banner .col-md-3 .banner-link:hover img {
  transform: scale(1.1);
}

body .container .game-grid .banner-link {
  display: block;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  transform: translateZ(0);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  will-change: transform;
}

body .container .game-grid .banner-link img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 220ms ease, filter 220ms ease;
}

body .container .game-grid .banner-link:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.35),
    0 0 0 2px rgba(255, 214, 0, 0.35);
  filter: saturate(1.06);
}

body .container .game-grid .banner-link:hover img {
  transform: scale(1.04);
}

body .container .game-grid .banner-link:focus-visible {
  outline: 3px solid rgba(255, 214, 0, 0.9);
  outline-offset: 3px;
}
body footer {
  background-color: #151515;
  padding-top: 20px;
  padding-bottom: 5px;
}
body footer p {
  color: #ffd600;
}

@media (max-width: 767px) {
  body .navbar {
    margin-bottom: 0;
  }
  body .navbar .navbar-brand {
    display: none;
  }
  body .yamato-bg-ship {
    left: 50%;
    top: -20%;
    width: 150%;
  }
  @keyframes yamatoUpDown {
    from {
      transform: translate(-50%, 0) scaleX(-1);
    }
    to {
      transform: translate(-50%, -100px) scaleX(-1);
    }
  }
  body .yamato-bg-ship {
    transform: translate(-50%, 0) scaleX(-1);
    animation: yamatoUpDown 12s ease-in-out infinite alternate;
  }
  body .container {
    width: 90%;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }
  body .container .jackpot {
    margin: 0;
    background-image: url(/public/images/jackpot_bg_m.png);
    background-position: center;
    background-size: contain;
    height: 56px;
  }
  body .container .jackpot .jackpot-amount {
    font-size: clamp(0.95rem, 5vw, 1.6rem);
    line-height: 56px;
    right: 116px;
    letter-spacing: 2px;
  }
  body .container .main-banner {
    margin: 0;
    width: 100%;
    height: auto;
  }
  body .container .sub-banner {
    margin-top: 0;
  }
  body .container .sub-banner .col-12 .banner-link,
  body .container .sub-banner .col-md-6 .banner-link,
  body .container .sub-banner .col-4 .banner-link,
  body .container .sub-banner .col-md-3 .banner-link {
    display: block;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.3s;
  }
     body .container .sub-banner .col-12 .banner-link .img-label,
   body .container .sub-banner .col-md-6 .banner-link .img-label,
   body .container .sub-banner .col-4 .banner-link .img-label,
   body .container .sub-banner .col-md-3 .banner-link .img-label {
     padding: 6px 0 2px;
     font-size: 0.85rem;
   }
     body .container .sub-banner .col-12 .banner-link .img-label.large-label,
   body .container .sub-banner .col-md-6 .banner-link .img-label.large-label,
   body .container .sub-banner .col-4 .banner-link .img-label.large-label,
   body .container .sub-banner .col-md-3 .banner-link .img-label.large-label {
     font-size: 1rem;
     background: linear-gradient(45deg, #ffd600, #ff8c00, #ffd600);
     background-size: 200% 200%;
     border: 2px solid #fff;
     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 214, 0, 0.5);
     animation: buttonGlow 2s ease-in-out infinite, buttonPulse 1s ease-in-out infinite;
     cursor: pointer;
     transition: all 0.3s ease;
     color: #000;
     text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8), -1px -1px 1px rgba(255, 255, 255, 0.8);
     font-weight: 700;
   }
  body .container .sub-banner .col-12 .banner-link:hover,
  body .container .sub-banner .col-md-6 .banner-link:hover,
  body .container .sub-banner .col-4 .banner-link:hover,
  body .container .sub-banner .col-md-3 .banner-link:hover {
    box-shadow: 0 0 0 4px #ffd600;
  }
  body .container .sub-banner .col-12 .banner-link:hover img,
  body .container .sub-banner .col-md-6 .banner-link:hover img,
  body .container .sub-banner .col-4 .banner-link:hover img,
  body .container .sub-banner .col-md-3 .banner-link:hover img {
    transform: scale(1.1);
  }
  body footer {
    background-color: #151515;
    padding-top: 14px;
    padding-bottom: 2px;
  }
  body footer p {
    color: #ffd600;
    font-size: 0.7rem;
  }
  body .livechat-icon {
    bottom: 16px;
    right: 16px;
  }
}
.withdraw-list-box.page {
  display: flex;
  flex-direction: column;
  min-height: 340px; /* 최소 높이 지정 */
  height: 78.6vh; /* 전체 높이의 68% (원하는 비율로 조정) */
  background: rgba(0, 0, 0, 0.5);
}

.notice-list-box.page {
  display: flex;
  flex-direction: column;
  min-height: 340px; /* 최소 높이 지정 */
  height: 78.6vh; /* 전체 높이의 68% (원하는 비율로 조정) */
  background: rgba(0, 0, 0, 0.5);
}

.notice-list-title, .withdraw-list-title {
  position: relative;
  text-align: center;
}
.notice-list-title a, .withdraw-list-title a {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 0;
  margin-right: 0;
  transition: color 0.2s;
}
.notice-list-title a:hover, .withdraw-list-title a:hover {
  color: #ffd600;
}

/* 채팅 패널 스타일 */
.chat-panel {
  display: none;
  position: fixed;
  bottom: 100px;
  right: 40px;
  width: 340px;
  max-width: 95vw;
  height: 560px;
  background: rgba(20, 20, 20, 0.98);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  z-index: 10000;
  flex-direction: column;
  overflow: hidden;
}
.chat-panel.active {
  display: flex;
}
.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #222;
  color: #ffd600;
  padding: 12px 18px 10px 18px;
  border-bottom: 1px solid #333;
}
.chat-header h5 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ff5858;
}
.close-btn {
  background: none;
  border: none;
  color: #ffd600;
  font-size: 1.5rem;
  cursor: pointer;
  margin-left: 8px;
}
.chat-messages {
  flex: 1 1 auto;
  padding: 16px 14px 8px 14px;
  overflow-y: auto;
  background: transparent;
}
.message {
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
}

.message.user {
  align-items: flex-end;
}

.message.admin {
  align-items: flex-start;
}

.message-content {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  padding: 8px 12px;
  max-width: 80%;
}

.message.user .message-content {
  background: #ffd600;
  color: #222;
  align-self: flex-end;
}

.message.admin .message-content {
  background: #3b82f6;
  color: #fff;
  align-self: flex-start;
}
.message-time {
  font-size: 0.75rem;
  color: #4a5568;
  margin-top: 4px;
  text-align: right;
}
.chat-input {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  background: #222;
  border-top: 1px solid #333;
}
#messageInput {
  flex: 1 1 auto;
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 1rem;
  margin-right: 8px;
  outline: none;
  background: #fff;
  color: #222;
}
.send-btn {
  background: #ffd600;
  color: #222;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.send-btn:hover {
  background: #ffeb3b;
}

.send-btn:disabled {
  background-color: #6c757d !important;
  color: #fff !important;
  cursor: not-allowed !important;
  opacity: 0.6 !important;
}

.send-btn:disabled:hover {
  background-color: #6c757d !important;
}

#messageInput:disabled {
  background-color: #f8f9fa !important;
  color: #6c757d !important;
  cursor: not-allowed !important;
}
@media (max-width: 600px) {
  .chat-panel {
    right: 0;
    left: 0;
    bottom: 0;
    width: 100vw;
    height: 60vh;
    min-height: 320px;
    max-width: 100vw;
    border-radius: 0;
  }
}
@media (min-width: 1200px) {
  .chat-panel {
    width: 480px;
    height: 600px;
    max-width: 100vw;
    max-height: 90vh;
  }
}

.main-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 16/5;
  min-height: 120px;
  max-height: 400px;
  overflow: hidden;
}
.banner-fade {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 1.6s;
  opacity: 0;
  z-index: 1;
}
.banner-fade.active {
  opacity: 1;
  z-index: 2;
}

.notice-list-item:hover .notice-content {
  color: rgb(59, 130, 246) !important;
  text-decoration: none !important;
}

.status-btn-small.ing {
  background: #b91c1c;
  color: #fff;
}

.notice-row:hover {
  background: #232a36 !important;
  transition: background 0.2s;
}
.notice-row:hover td.notice-title-td:nth-child(2) {
  color: rgb(59, 130, 246) !important;
}

#withdrawTableBody tr:hover {
  background: #232a36 !important;
  transition: background 0.2s;
}

/*# sourceMappingURL=style.css.map */

/* 팝업창 스타일 */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  display: none;
}

.popup-container {
  position: fixed;
  z-index: 10001;
  display: none;
  width: 400px;
  height: 580px;
}

/* 팝업 2개: 화면 정중앙 기준 좌우 대칭 */
.popup-container#popupContainer2 {
  top: 50%;
  left: calc(50% - 8px);
  transform: translate(-100%, -50%);
}

.popup-container#popupContainer3 {
  top: 50%;
  left: calc(50% + 8px);
  transform: translate(0, -50%);
}

.popup-content {
  position: relative;
  background: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.popup-image {
  width: 100%;
  height: auto;
  display: block;
  flex: 1;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10002;
}

.popup-close:hover {
  background: rgba(0, 0, 0, 0.9);
}

.popup-bottom {
  padding: 2px;
  text-align: center;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-top: 1px solid #e9ecef;
}

.popup-dont-show {
  background: #ff5858;
  color: white;
  border: none;
  padding: 2px 16px;
  border-radius: 5px;
  cursor: pointer;
  font-family: "Malgun Gothic", "맑은 고딕", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-size: 14px;
  font-weight: bold;
}

.popup-dont-show:hover {
  background: #e04545;
}

@media (max-width: 1200px) {
  .popup-container {
    width: 400px;
    height: 580px;
  }
  
  .popup-container#popupContainer2 {
    top: 50%;
    left: calc(50% - 8px);
    transform: translate(-100%, -50%);
  }
  
  .popup-container#popupContainer3 {
    top: 50%;
    left: calc(50% + 8px);
    transform: translate(0, -50%);
  }
}

@media (max-width: 900px) {
  .popup-container {
    width: 400px;
    height: 580px;
  }
  
  .popup-container#popupContainer2 {
    top: 50%;
    left: calc(50% - 8px);
    transform: translate(-100%, -50%);
  }
  
  .popup-container#popupContainer3 {
    top: 50%;
    left: calc(50% + 8px);
    transform: translate(0, -50%);
  }
}

@media (max-width: 767px) {
  .popup-container {
    width: min(92vw, 360px);
    height: auto;
    max-height: 78vh;
  }

  /* 모바일: 팝업은 항상 화면 중앙 (2개 이상일 때는 JS로 하나만 표시) */
  .popup-container#popupContainer2,
  .popup-container#popupContainer3 {
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  body.popup-stack-mobile .popup-container {
    width: min(92vw, 380px);
    max-height: 70vh;
  }

  .popup-close {
    width: 25px;
    height: 25px;
    font-size: 16px;
  }
  
  .popup-bottom {
    padding: 10px;
  }
  
  .popup-dont-show {
    padding: 6px 12px;
    font-size: 12px;
    font-family: "Malgun Gothic", "맑은 고딕", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  }
}

/* 모바일 팝업 여러 개: 이전·다음 교차 이동 */
.popup-mobile-controls {
  position: fixed;
  z-index: 10003;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 14px;
  background: rgba(20, 24, 32, 0.92);
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.popup-mobile-prev,
.popup-mobile-next {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-family: system-ui, sans-serif;
}

.popup-mobile-prev:active,
.popup-mobile-next:active {
  background: rgba(255, 255, 255, 0.22);
}

.popup-mobile-counter {
  color: #e8eaef;
  font-size: 14px;
  font-weight: 600;
  min-width: 52px;
  text-align: center;
  font-family: "Malgun Gothic", "맑은 고딕", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

@media (min-width: 768px) {
  .popup-mobile-controls {
    display: none !important;
  }
}

/* 회원가입/로그인 버튼 스타일 */
body .navbar .nav-link img {
  transition: transform 0.2s ease;
  vertical-align: middle;
}

body .navbar .nav-link:hover img {
  transform: scale(1.1);
}

@media (max-width: 767px) {
  body .navbar .nav-link img {
    height: 25px !important;
  }
}

/* 로그인된 사용자 정보 스타일 */
body .navbar .nav-link .text-white {
  color: #ffffff !important;
  font-weight: 500;
  font-family: "Pretendard", "Noto Sans KR", "Malgun Gothic", "맑은 고딕", "Apple SD Gothic Neo", sans-serif;
}

body .navbar .nav-link .text-warning {
  color: #ffc107 !important;
  font-weight: 600;
}

body .navbar .nav-link .btn-outline-light {
  border-color: #ffffff;
  color: #ffffff;
  background-color: transparent;
  font-size: 0.8rem;
  padding: 0.25rem 0.5rem;
}

body .navbar .nav-link .btn-outline-light:hover {
  background-color: #ffffff;
  color: #000000;
}

@media (max-width: 767px) {
  body .navbar .nav-link .d-flex {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.25rem;
  }
  
  body .navbar .nav-link .text-white,
  body .navbar .nav-link .text-warning {
    font-size: 0.8rem;
  }
  
  body .navbar .nav-link .btn-outline-light {
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
  }
}

/* 로그인/회원가입 모달 입력창 폰트 */
#loginModal .form-control,
#loginModal .form-select,
#signupModal .form-control,
#signupModal .form-select {
  font-family: "Pretendard", "Noto Sans KR", "Malgun Gothic", "맑은 고딕", "Apple SD Gothic Neo", sans-serif;
}

/* 출금내역 스크롤 애니메이션 스타일 */
.withdraw-container {
  position: relative;
  overflow: hidden;
}

.withdraw-container ul {
  transition: transform 0.8s ease-in-out;
}

.withdraw-list-item {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.withdraw-list-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

