/* 메인 콘텐츠 영역 */


body {
    background: linear-gradient(180deg, #08050E 35.58%, #160538 100%);
    width:100%;
    height:auto;
}

main {
    width:100%;
    margin: 0 auto;
    overflow: hidden;
}

.main_whole_area {
    width:100%;
    margin:0 auto;
    margin-bottom:150px;
    min-height: calc(100vh - 390px); /* 630px은 헤더 높이 + 푸터 높이 값 --> 최종 헤더 높이 변경 시 값 변경 필요 */
}


/* 첫번째 콘텐츠 - 이벤트 및 랭킹 영역 */

.main_article1 {
    width:100%;
    margin:0 auto;
    background-image: url(../img/article1_bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    height: 535px;
}

.article1_wrap {
    width:100%;
    max-width: 1200px;
    margin:0 auto;
}

.atc1_wrap_up {
    width:100%;
    max-width: 1200px;
    margin:0 auto;
    display: flex;
    gap:5px;
    padding-bottom: 25px;
}



.event_banner {
    width:200px;
    height:366px;
    margin-top:31px;
    border-radius: 11px;
    display: flex;
    position: relative;
    overflow: hidden;
}

.event_banner a {
    position: absolute;
    opacity: 0;
    top:0;
    left: 0;
    transition: opacity 1s ease;
}

.event_banner a.active {
    opacity: 1;
}

.event_banner img {
    width:200px;
    height:366px;
    border-radius: 11px;
    object-fit: cover;
}

.game_start {
    width:625px;
    height:366px;
    margin-top:31px;
    border-radius: 11px;
    position: relative;
}

.game_start img {
    width:625px;
    height:366px;
    border-radius: 11px;
}

.ranked_bg {
    position: relative;
    background-image: url(../img/ranking_bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    width:312px;
    height: 160px;;
}

.start_button {
    width:364px;
    height: 160px;
    position:absolute;
    bottom:14px;
    left: 170px;
}

.start_button:hover img{
    scale:105%;
}

.ranked_item {
    width: 364px;
    height: 71px;
    position: absolute;
    top: 45px;
    right : -48px;
}

.start_button img {
    width: 321px;
    height: 73px;
    transition:all 0.35s ease;
}

.top_ranking {
    width: 365px;
    height: 366px;
    border-radius: 11px;
    background: rgba(23, 19, 31, 0.77);
    backdrop-filter: blur(7px);
    margin-top:31px;
}

.trk_text_area {
    color: #FFF;
    font-family: 'SUIT';
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
}

.tr_area {
    display: flex;
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 20px;
    padding-bottom: 20px;
    align-items: center;
    justify-content: space-between;
}

.whole_rank {
    color: #c3a7fa;
    font-size: 13px;
    font-family: 'SUIT';
}

.trk_wrap {
    overflow: hidden;
    width:343px;
    height: 248px;
    margin-left:11px;
    margin-right:11px;
}

.trk_ranking_area {
    width:343px;
    height: 248px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.trk_ranking_area:has(.trk_rank2:last-child) {
    margin-bottom: 0; /* 마지막 아이템만 gap 없도록 */
}

.trk_rank2 {
    width:343px;
    height:56px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    position:relative;
    margin-bottom: 8px;
    flex-shrink: 0;
}

.trk_rank2.flip {
  animation: flipVertical 0.6s ease-in-out forwards;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

@keyframes flipVertical {
  0% {
    transform: rotateX(0deg);
  }
  50% {
    transform: rotateX(90deg);
  }
  100% {
    transform: rotateX(0deg);
  }
}


.rank_symbol {
    width:43px;
    height:44px;
    background-image: url(../img/ranking_symbol.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position:relative;
    left:8px;
    top:6px;
}

.rank_symbol span {
    position:absolute;
    color:#fff;
    font-family: 'SUIT';
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
    line-height: 10px;
    left: 14px;
    top:16px;
}

.rank_symbol_2 {
    width:43px;
    height:44px;
    background-image: url(../img/ranking_symbol.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position:relative;
    left:8px;
    top:6px;
}

.rank_symbol_2 span {
    position:absolute;
    color:#fff;
    font-family: 'SUIT';
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
    line-height: 10px;
    left: 15px;
    top:16px;
}

.trk_data {
    display: flex;
    flex-direction: column;
    margin-left: 15px;
    margin-top: 10px;
    margin-right: 30px;
}

.trk_data .date {
    color: #BD8CFF;
    font-family: 'SUIT';
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: 10px;
    margin-bottom: 5px;
}

.trk_data .user_id2 {
    color: #FFF;
    font-family: 'SUIT';
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    line-height: 10px;
}

.price_data {
    width: auto;
    height: 15px;
    margin-top: 16.5px;
    text-align: right;
    direction: rtl;
    margin-left:50px;
    position:absolute;
    right: 15px;
}

.price_data span {
    color: #FFF;
    font-family: 'SUIT';
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    text-align: right;
    direction: rtl;
}

.won {
    color: #FFF;
    margin-left:3px;
    font-family: 'SUIT';
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
}

.trk_top_area {
    width: 343px;
    height: 44px;
    border-radius: 6px;
    background: linear-gradient(90deg, #7B47C3 0%, rgba(71, 42, 112, 0.00) 100%);
    margin-left:11px;
    margin-top: 9px;
    display: flex;
    align-items: center;
    position: relative;
}

.trk_rank_top {
    display: flex;
    align-items: center;
    margin-left: 16px;
}

.now_top {
    color: #FFF;
    font-family: 'SUIT';
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    position:relative;
}

.now_top::after {
    content: '';
    display: block;
    background-image: url(../img/arrow_right.png);
    background-repeat: no-repeat;
    background-size:contain;
    position:absolute;
    width:8px;
    height:8px;
    left: 50px;
    bottom: 5px;
}

.user_id1 {
    margin-left:15px;
    color: #FFF;
    font-family:'SUIT';
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width:100px;
}

.price_data2 {
    position:absolute;
    right:15px;
    text-align: right;
}

.price_data2 .price {
    text-align: right;
    direction: rtl;
    font-family: 'SUIT';
    font-size: 22px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: -0.66px;
    background: linear-gradient(90deg, #8EE1FF 0%, #B9D7FF 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color:transparent;
    -webkit-text-fill-color: transparent;
    width:145px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price_data2 span {
    color: #FFF;
    font-family:'SUIT';
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
}

.trk_rank_img {
    width:100px;
    height: 78px;
    position: absolute;
    right:-70px;
    bottom:-10px;
}

.trk_rank_img img {
    width:100px;
    height: 78px;
}

.atc1_wrap_down {
    width:100%;
    max-width: 1200px;
    margin:0 auto;
}

.jackpot_area {
    width: 1164px;
    height: 88px;
    border-radius: 16px;
    border: 1px solid #BD8CFF;
    background: #111;
    margin-left:auto;
    margin-right: auto;
    display: flex;
    align-items: center;
}

.jp_title {
    display: flex;
    align-items: center;
    margin-left: 30px;
}

.jp_title p {
    font-family: 'SUIT';
    font-size: 35px;
    font-style: normal;
    font-weight: 800;
    background: linear-gradient(90deg, #BD8CFF 0%, #57CDFF 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color:transparent;
    -webkit-text-fill-color: transparent;
}

.jp_icon {
    width: 75px;
    height: 75px;
    margin-top:3px;
    margin-right: 18px;
}

.jp_arrows {
    width:108px;
    height:18px;
    margin-left: 100px;
}

.number_container {
    font-size: 55px;
    color: #fff;
    font-family: 'SUIT';
    font-weight: 700;
    display: flex;
    text-align: right;
    margin-left: 80px;
}

.rolling-number {
    transition: all 0.25s ease;
    min-width: 400px;
}

.won_nm {
    font-size: 40px;
    color: #fff;
    font-family: 'SUIT';
    font-weight: 600;
    margin-left: 30px;
}

@keyframes scaleUpDownShadow {
  0% {
    transform: scale(1);
    text-shadow: none;
    filter: blur(0);
  }
  50% {
    transform: scale(1.07);
    text-shadow:
      0 0 8px rgba(255,255,255,0.6),
      0 0 15px rgba(255,255,255,0.4),
      0 0 25px rgba(255,255,255,0.2);
    filter: blur(1.1px);
  }
  100% {
    transform: scale(1);
    text-shadow: none;
    filter: blur(0);
  }
}

.scale-animation {
  animation: scaleUpDownShadow 1.5s ease forwards;
}


/* 두번째 콘텐츠 - 캘린더 영역 */
.main_article2 {
    width:100%;
    margin:0 auto;
}

.gr_bd {
    width: 100%;
    margin: 0 auto;
    max-width: 1920px;
    height: 2px;
    flex-shrink: 0;
    background: linear-gradient(270deg, rgba(0, 0, 0, 0.00) 0%, #BD8CFF 50%, rgba(0, 0, 0, 0.00) 100%);
}

.background_2 {
    width: 100%;
    margin:0 auto;
    background-image: url(../img/event_bg2.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    max-width: 1920px;
}

.evttl_area {
    width: 100%;
    margin:0 auto;
    max-width: 1920px;
    height: 180px;
    display: flex;
}

.evttl_wrap {
    width: 100%;
    max-width: 366px;
    height:118px;
    margin-top: 42px;
    margin-left: auto;
    margin-right: auto;
}

.evttl_main {
    width: 366px;
    height: 77px;
    position: relative;
}

.main_img1 {
    width: 364px;
    height: 77px;
}

.main_img1 img {
    width: 364px;
    height: 77px;
}

.evttl_sub {
    width: 100%;
    max-width: 366px;
    height: 29px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    border-top: 1px solid #BD8CFF;
    border-bottom: 1px solid #BD8CFF;
    background: linear-gradient(180deg, rgba(126, 17, 227, 0.75) 0%, rgba(42, 14, 58, 0.00) 100%);
    margin-top: 12px;
    align-items: center;
    justify-content: center;
}


.evttl_ar {
    width: 14px;
    height: 12px;
    display: flex;
    align-items: center;
}

.evttl_ar img {
    width: 12px;
    height: 10px;
}

.evttl_ar2 img {
    width: 12px;
    height: 10px;
}

.evttl_ar2 {
    width: 14px;
    height: 12px;
    display: flex;
    align-items: center;
}

.evttl_text {
    color: #FFF;
    text-align: center;
    font-family: 'SUIT';
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    margin-left: 15px;
    margin-right: 15px;
}


.calendar_area {
    width: 100%;
    height: auto;
    margin-top: 15px;
}

.calendar_wrap {
    width: 100%;
    max-width: 1190px;
    margin: 0 auto;
    height: auto;
}

.yearmonth_area {
    width: 100%;
    margin: 0 auto;
    max-width: 252px;
    height: 32px;
    display: flex;
    justify-content: center;
}

.yearmonth_wrap {
    width: 252px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.left_bt {
    width: 11px;
    height: 12px;
    border: none;
    background: transparent;
    background-image: url(../img/left_bt.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.right_bt {
    width: 11px;
    height: 12px;
    border: none;
    background: transparent;
    background-image: url(../img/right_bt.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.yearmonth {
    text-align: center;
    font-family: '62570';
    font-size: 25px;
    font-style: normal;
    background: linear-gradient(180deg, #FFF 15.08%, #57707C 156.25%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-left: 37px;
    margin-right: 37px;
    margin-top: 3px;
}

.day_area {
    width: 100%;
    height: auto;
    max-width: 1190px;
    display: flex;
    justify-content: center;
    position: relative;
    padding-top: 15px;
}

.day_wrap {
    width: 1131px;
    height: auto;
    border-radius: 15px;
    border: 2px solid #BD8CFF;
    background: rgba(29, 29, 29, 0.53);
    padding-top: 50px;
    padding-bottom: 50px;
    min-height: 477px;
}

.day_border {
    width: 1190px;
    height: 408px;
    position: absolute;
    top: -17px;
    left: -10px;
}

.day_border,
.day_border img {
  pointer-events: none;
}

.day_border img {
    width: 1189px;
    height: 408px;
}

.date_area {
    width: 100%;
    max-width: 1062px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.up_bt {
    width: 12px;
    height: 18px;
    border: none;
    background: transparent;
    background-image: url(../img/up_bt.png);
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    left: 524px;
    top: -20px;
}

.down_bt {
    width: 12px;
    height: 18px;
    border: none;
    background: transparent;
    background-image: url(../img/down_bt.png);
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    left: 524px;
    bottom: -30px;
}

.date_wrap {
    width: 100%;
    max-width: 1050px;
    height: auto;
    margin: 0 auto;
}

.week_ttl {
    width: 1050px;
    height: 35px;
    margin: 0;
    padding: 0;
}

.week_ttl tr th {
    width: 150px;
    height: 35px;
    background: var(--purple-gd, linear-gradient(180deg, rgba(95, 48, 190, 0.85) 24.29%, rgba(20, 10, 40, 0.85) 135.71%));
    color: #fff;
    text-align: center;
    font-family: '62570';
    font-size: 15px;
    font-weight: 300;
}

.week_ttl tr th:not(:last-child) {
    border-right: 1px solid rgba(19, 19, 19, 0.3);
}

.week_ttl tr .sun {
    width: 150px;
    height: 35px;
    background: linear-gradient(180deg, rgba(158, 60, 51, 0.85) 24.29%, rgba(64, 19, 19, 0.85) 135.71%);
    color: #fff;
}

.date_body {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
}

.date_body > div {
    display: flex;
}

/* 날짜 셀 */
.day-cell {
    width: 150px;
    min-height: 150px;
    background: var(--black-gd, linear-gradient(180deg, rgba(13, 13, 13, 0.65) 0%, rgba(0, 0, 0, 0.30) 100%));
    position: relative;
    box-sizing: border-box;
    padding-bottom: 10px;
}

.day-cell:not(:last-child) {
    border-right: 1px solid rgba(63, 63, 63, 0.3);
}

.day-cell .day-number {
    position: absolute;
    top: 11px;
    left: 10px;
    font-size: 14px;
    font-family: 'SUIT';
}

.day-cell.other-month .day-number {
    color: rgba(255, 255, 255, 0.30);
}

.day-cell.current-month .day-number {
    color: #FFF;
}

/* 이벤트 스타일 */


.day-cell .event-banner:first-of-type {
    margin-top: 45px; /* 날짜 텍스트보다 16px 아래 */
}

.event-banner {
  width: 150px;            /* 이벤트 배너 전체 너비 */
  height: 23px;
  background: linear-gradient(90deg, #4B8EDB 0%, #9C44E9 128%);
  opacity: 0.8;
  display: flex;
  align-items: center;
  padding-left: 12px;
  box-sizing: border-box;
  margin-top: 4px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  user-select: none;
  text-decoration: none;   /* a 태그 밑줄 제거 */
}

.event-banner .event-title {
  color: #fff;
  font-weight: 700;
  font-family: 'SUIT', sans-serif;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 119px;       /* 텍스트 영역 최대 너비 제한 */
}

/* 호버 시 빛나는 그라디언트 애니메이션 */
.event-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  transition: none;
  z-index: 1;

}

.event-banner:hover::before {
  animation: shine 1s forwards;
  pointer-events: none;
  z-index: 1;
}

@keyframes shine {
  0% {
    left: -50%;
  }
  100% {
    left: 150%;
  }
}

.event_notice {
    color:#a8a8a8;
    font-family: 'SUIT';
    font-size: 12px;
    font-weight: 500;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    text-align: right;
    margin-top: 18px;
    padding-bottom: 18px;
}

.gr_bd2 {
    width: 100%;
    margin: 0 auto;
    max-width: 1920px;
    height: 2px;
    flex-shrink: 0;
    background: linear-gradient(270deg, rgba(0, 0, 0, 0.00) 0%, #BD8CFF 50%, rgba(0, 0, 0, 0.00) 100%);
}



.today-number {
    color: #FFF !important;
    background-color: #5b14c3;
    border-radius: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    top: 2px;
    left: 5px;
    position: absolute;
    box-sizing: border-box;
    z-index: 1;
    font-weight: 700;
}

/* 세번째 콘텐츠 - 인기 게임 영역 */
.main_article3 {
    width:100%;
    margin:0 auto;
}

.background {
    width:100%;
    margin:0 auto;
    max-width: 1920px;
}

.article3_wrap {
    width:100%;
    max-width:1200px;
    margin: 0 auto;
}

.article3_title {
    display: flex;
    gap:33px;
    align-items: center;
    margin-left:40px;
    padding-top: 32px;
}

.sub_title3 {
    color: rgba(255, 255, 255, 0.45);
    font-family: 'SUIT';
    font-size: 15px;
    font-weight: 400;
}


.jp_area_wrap {
    width:1200px;
    display: grid;
    grid-template-columns: repeat(4, 302px);
    grid-template-rows: repeat(2, 239px);
    margin-top:40px;
}

.jp_area {
    padding-left:10px;
    padding-right: 10px;
    padding-top: 8px;
    width: 294px;
    height: 220px;
    border-radius: 10px;
    border: 1px solid #3D3D3D;
    background: rgba(23, 23, 23, 0.50);
    backdrop-filter: blur(7.5px);
    transition: all 0.25s linear;
}

.jp_area:hover {
    transform: translateY(-4%);
}

.jp_img_area {
    width: 274px;
    height: 140px;
    border-radius: 10px;
    margin-bottom: 12px;
}

.jp_img_area img {
    width: 274px;
    height: 140px;
}

.jp_title_area h2 {
    color: #BD8CFF;
    font-family: 'SUIT';
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    padding-left: 8px;
}

.jp_title_area h5 {
    color: #FFF;
    font-family: 'SUIT';
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    margin-bottom:3px;
    padding-left: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width:208px;
}

.line_area {
    width:1106px;
    height:53px;
    margin-left: 40px;
    margin-bottom: 30px;
}

.line_area img {
    width:1106px;
    height:53px;
}


/* 네번째 콘텐츠 - 홍보방 */

.main_article4 {
    width:100%;
    max-width: 1200px;
    margin:0 auto;
}

.article4_wrap {
    width:1200px;
    border-radius: 15px;
    border: 1px solid rgba(240, 240, 240, 0.30);
    background: rgba(134, 134, 134, 0.08);
    backdrop-filter: blur(7px);
}

hr {
    width: 1080px;
    height: 1px;
    background-color: rgba(240, 240, 240, 0.30);
    border:none;
}

.article4_title {
    display: flex;
    width:1080px;
    height:26px;
    margin-top:30px;
    margin-left:60px;
    margin-bottom:19px;
    align-items: center;
    gap:37px;
}

.title1 {
    color: #FFF;
    font-family: 'SUIT';
    font-size: 22px;
    font-weight: 700;
}

.arrow {
    width: 5px;
    height: 10px;
    background-image: url(../img/arrow_right.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.sub_title1 {
    color: rgba(255, 255, 255, 0.45);
    font-family: 'SUIT';
    font-size: 15px;
    font-weight: 400;
}

.sub_title1:hover {
    color:#fff;
    cursor: pointer;
}

.article4_post {
    width: 1070px;
    margin-top:20px;
    margin-left:65px;
    margin-right:65px;
    display: grid;
    grid-template-columns: repeat(2, 560px);
    grid-template-rows: repeat(3, 45px);
    align-items: center;
    padding-bottom: 30px;
}

.post1 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color:white;
    width: 480px;
    padding-right:20px;
    position:relative;
}

.post2 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color:white;
    width: 480px;
    padding-right:20px;
    position:relative;
}

.post3 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color:white;
    width: 480px;
    padding-right:20px;
    position:relative;
}

.post4 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color:white;
    width: 480px;
    padding-right:20px;
    position:relative;
}

.post5 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color:white;
    width: 480px;
    padding-right:20px;
    position:relative;
}


.post6 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color:white;
    width: 480px;
    padding-right:20px;
    position:relative;
}

/* new icon 가상요소 부분 */

.post1::after {
    content: '';
    display: block;
    background-image: url(../img/new_icon.png);
    width:14px;
    height:10px;
    border-radius: 2px;
    background-size: contain;
    background-repeat: no-repeat;
    position:absolute;
    top:7px;
    right:0;
}

.post2::after {
    content: '';
    display: block;
    background-image: url(../img/new_icon.png);
    width:14px;
    height:10px;
    border-radius: 2px;
    background-size: contain;
    background-repeat: no-repeat;
    position:absolute;
    top:7px;
    right:0;
}

.post3::after {
    content: '';
    display: block;
    background-image: url(../img/new_icon.png);
    width:14px;
    height:10px;
    border-radius: 2px;
    background-size: contain;
    background-repeat: no-repeat;
    position:absolute;
    top:7px;
    right:0;
}

.post4::after {
    content: '';
    display: block;
    background-image: url(../img/new_icon.png);
    width:14px;
    height:10px;
    border-radius: 2px;
    background-size: contain;
    background-repeat: no-repeat;
    position:absolute;
    top:7px;
    right:0;
}

.post5::after {
    content: '';
    display: block;
    background-image: url(../img/new_icon.png);
    width:14px;
    height:10px;
    border-radius: 2px;
    background-size: contain;
    background-repeat: no-repeat;
    position:absolute;
    top:7px;
    right:0;
}

.post6::after {
    content: '';
    display: block;
    background-image: url(../img/new_icon.png);
    width:14px;
    height:10px;
    border-radius: 2px;
    background-size: contain;
    background-repeat: no-repeat;
    position:absolute;
    top:7px;
    right:0;
}

.promote {
    width: 62px;
    height: 21px;
    border-radius: 6px;
    background: #8850D6;
    color:#fff;
    text-align: center;
    font-family: 'SUIT';
    font-size: 13px;
    font-weight: 600;
    padding: 3px 12px 3px 12px;
}

.post_title {
    margin-left:10px;
}

.post_title a {
    color: #FFF;
    font-family: 'SUIT';
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    width:400px;
}

.post_title a:hover {
    font-size:14px;
    font-weight: 500;
}

/* 네번째 콘텐츠 - 커뮤니티 영역 */

.main_article5 {
    width:100%;
    max-width: 1200px;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
}

.article5_wrap {
    width:1200px;
    border-radius: 15px;
    border: 1px solid rgba(240, 240, 240, 0.30);
    background: rgba(134, 134, 134, 0.08);
    backdrop-filter: blur(7px);
}

hr {
    width: 1080px;
    height: 1px;
    background-color: rgba(240, 240, 240, 0.30);
    border:none;
}

.article5_title {
    display: flex;
    width:1080px;
    height:26px;
    margin-top:30px;
    margin-left:60px;
    margin-bottom:19px;
    align-items: center;
    gap:37px;
}

.title5 {
    color: #FFF;
    font-family: 'SUIT';
    font-size: 22px;
    font-weight: 700;
}

.sub_title5 {
    color: rgba(255, 255, 255, 0.45);
    font-family: 'SUIT';
    font-size: 15px;
    font-weight: 400;
    position: relative;
}

.sub_title5_first {
    color: rgba(255, 255, 255, 0.45);
    font-family: 'SUIT';
    font-size: 15px;
    font-weight: 400;
    position: relative;
}

.sub_title5::after {
    content:'';
    display: block;
    position: absolute;
    width: 2px;
    height: 2px;
    left: -18px;
    top: calc(50% - 2px/2);
    background: rgba(255, 255, 255, 0.45);
    border-radius: 1px;
}


.sub_title5:hover {
    color:#fff;
    cursor: pointer;
}

.sub_title5_first:hover {
    color:#fff;
    cursor: pointer;
}

.subtitle_wrap {
    width:1075px;
    height:37px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.04);
    margin-left:60px;
    margin-right:65px;
    display: flex;
    align-items: center;
}

.article5_subtitle {
    display: flex;
    align-items: center;
    width:286px;
    height:24px;
    margin-left:20px;
    gap:37px;
}

.sub_text_first {
    color: #BD8CFF;
    font-family: 'SUIT';
    font-size: 15px;
    font-weight: 700;
    line-height: 20px;
}

.sub_text {
    color: rgba(255, 255, 255, 0.45);
    font-family: 'SUIT';
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
}

.sub_text:hover {
    color: #BD8CFF;
}

.home {
    margin-left:673px;
}

.home span{
    color: #FFF;
    font-family: 'SUIT';
    font-size: 14px;
    font-weight: 400;
    line-height:20px;
}

/* 게시글 리스트 */

.article5_post {
    width: 1070px;
    margin-top:15px;
    margin-left:65px;
    margin-right:65px;
    margin-bottom: 10px;
    display: grid;
    grid-template-columns: repeat(2, 560px);
    grid-template-rows: repeat(5, 53px);
    align-items: center;
    padding-bottom: 20px;
}

.a_post1 {
    color:white;
    width: 480px;
    padding-right: 20px;
    align-items: center;
    display: flex;
    position: relative;
}

.a_post2 {
    color:white;
    width: 100%;
    padding-right: 20px;
    align-items: center;
    display: flex;
}

.a_post3 {
    color:white;
    width: 100%;
    padding-right: 20px;
    align-items: center;
    display: flex;
}

.a_post4 {
    color:white;
    width: 100%;
    padding-right: 20px;
    align-items: center;
    display: flex;
}

.a_post5 {
    color:white;
    width: 100%;
    padding-right: 20px;
    align-items: center;
    display: flex;
}

.a_post6 {
    color:white;
    width: 100%;
    padding-right: 20px;
    align-items: center;
    display: flex;
}

.a_post7 {
    color:white;
    width: 100%;
    padding-right: 20px;
    align-items: center;
    display: flex;
}

.a_post8 {
    color:white;
    width: 100%;
    padding-right: 20px;
    align-items: center;
    display: flex;
}

.a_post9 {
    color:white;
    width: 100%;
    padding-right: 20px;
    align-items: center;
    display: flex;
}

.a_post10 {
    color:white;
    width: 100%;
    padding-right: 20px;
    align-items: center;
    display: flex;
}

.a_post1::after {
    content: '';
    display: block;
    background-image: url(../img/new_icon.png);
    width: 14px;
    height: 10px;
    border-radius: 2px;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 7px;
    right: 0;
}



.a_promote {
    min-width: 50px;
    height: 21px;
    border-radius: 6px;
    background: #4c4655;
    color:#fff;
    text-align: center;
    font-family: 'SUIT';
    font-size: 13px;
    font-weight: 600;
    padding: 2.5px 4px 2.5px 4px;
}

.a_post_title {
    margin-left:10px;
    width:420px;
}

.ttl {
    display: flex;
}

.ttl_title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 5px;
    color: #FFF;
    font-family: 'SUIT';
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    width:auto;
    transition: all 0.15s linear;
}

.ttl_title:hover {
    transform: scale(1.02);
}

.ttl_comment {
    color: #ff6a6a;
    font-family: 'SUIT';
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.ba_button_area {
    width:152px;
    height:24px;
    margin-left:auto;
    margin-right: auto;
    margin-top:18px;
}

.button_wrap {
    width:152px;
    height:24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap:50px;
}

.bf_button {
    width: 24px;
    height: 24px;
    background-color: transparent;
    border:0;
    background-image: url(../img/button_left.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.af_button {
    width: 24px;
    height: 24px;
    background-color: transparent;
    border:0;
    background-image: url(../img/button_right.png);
    background-size: contain;
    background-repeat: no-repeat;
}

/* 여섯번째 콘텐츠 - 커뮤니티 영역 */

.main_article6 {
    width:100%;
    max-width: 1200px;
    margin-top: 80px;
    margin-left: auto;
    margin-right: auto;
}


.article6_wrap {
    width:1200px;
    position: relative;
    min-width: 1200px;
}

.character_bg {
    width:1200px;
    height:571px;
    position:absolute;
    bottom: 120px;
}

.character_bg img {
    width:1200px;
    height:571px;
    opacity: 0.25;
}


.title5 h2 {
    color: #FFF;
    font-family: 'SUIT';
    font-size: 26px;
    font-style: normal;
    font-weight: 700;
}

.title5 h5 {
    color: #A8A8A8;
    font-family: 'SUIT';
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    margin-top: 10px;
}


.wr_banner_wrap {
    display: flex;
    width:1200px;
    height:281px;
    margin-top:45px;
    gap:12px;
}

.wr_banner {
    width: 230px;
    height: 281px;
    border-radius: 10px;
    border: 1px solid #3D3D3D;
    background: rgba(23, 23, 23, 0.50);
    backdrop-filter: blur(7.5px);
    transition: all 0.25s ease;
}

.wr_banner:hover {
    transform: translateY(-10px);
    scale:calc(101%);
}

.wr_img {
    width:210px;
    height:164px;
    margin-top: 10px;
    margin-left:10px;
    border-radius: 10px;
}

.wr_img img {
    width:210px;
    height:164px;
    border-radius: 10px;
}

.wr_text {
    margin-left:15px;
    margin-top: 24px;
}

.wr_text h2 {
    color: #FFF;
    font-family: 'SUIT';
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    margin-bottom:10px;
}

.wr_text h5 {
    color: rgba(255, 255, 255, 0.50);
    font-family: 'SUIT';
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
}

/* 움직이는 로고 영역 */

.logo_wrap {
    margin-top: 130px;
    overflow: hidden;
    width:1080px;
    margin-left: 60px;
    height:35px;
    display: flex;
    align-items: center;
    position: relative;
}

.logo_track {
    display: flex;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    will-change: transform;
}

.logo_list {
    display: flex;
    flex-shrink: 0;
}

.li_logo {
    width: 75px;
    height: 35px;
    margin-right: 15px;
}

/* 푸터 영역 */

footer {
    width:100%;
}

.footer_area {
    width:100%;
    margin:0 auto;
    height:180px;
    background-color:#0f0911;
}


.footer_wrap {
    width:100%;
    height:180px;
    justify-content: center;
    float:left;
    margin:0 auto;
}

.footer_up {
    width: 100%;
    max-width: 690px;
    height: 30px;
    display: flex;
    align-items: center;
    margin-top:58px;
    margin-left:auto;
    margin-right:auto;
    justify-content: center;
}

.footer_down {
    width: 690px;
    height: 24px;
    margin-top:30px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.logo_gray {
    width:122px;
    height:27px;
    background-image: url(../img/arena_logo_gray.png);
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 70px;
}

.footer_text {
    display: flex;
    gap:70px;
}

.footer_text a{
    color: #FFF;
    font-family: 'SUIT';
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;

}

.footer_down {
    color: rgba(255, 255, 255, 0.50);
    text-align: center;
    font-family: 'SUIT';
    font-size: 12px;
    font-weight: 300;
    line-height: 24px;
}

/* 새로 추가한 영역 */

.ba_sz_2 {
    display: none;
}

.ba_sz_3 {
    display: none;
}

.ba_sz_4 {
    display: none;
}

.wide_event_wrap {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 10px;
    height: 120px;
    position: relative; /* 자식 요소의 absolute 위치 기준점 */
    border-radius: 11px;
    display: none;
    overflow: hidden; /* 배너 밖으로 나가는 요소 숨김 */
}

.wide_event_banner {
    width: 100%;
    height: 100%; /* wrap과 동일한 높이 */
    position: relative; /* 자식 <a> 태그들을 위한 포지셔닝 컨텍스트 */
}

.wide_event_banner a {
    position: absolute; /* 모든 배너를 한 곳에 겹치게 만듭니다. */
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0; /* 기본적으로 투명하게 시작 */
    transition: opacity 1s ease-in-out; /* 1초 동안 부드럽게 투명도 변경 */
    z-index: 1; /* 비활성 슬라이드는 낮은 z-index */
    pointer-events: none; /* 비활성 슬라이드는 클릭되지 않도록 */
}

.wide_event_banner a.active {
    opacity: 1; /* 활성화된 슬라이드는 완전히 보이게 */
    z-index: 2; /* 활성화된 슬라이드는 위에 오도록 */
    pointer-events: auto; /* 활성 슬라이드는 클릭 가능하도록 */
}

.wide_event_banner img {
    width: 100%;
    height: 120px;
    border-radius: 11px;
    object-fit: cover;
}

/* 팝업 배너 */


/* 팝업 기본 스타일 */
.popup {
    position: fixed;
    display: none; /* 기본적으로 숨김 */
    z-index: 1500;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.main_popup {
    position: fixed;
    z-index: 1600;
    overflow: hidden;
    display: none;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.content {
    width: 100%;
    height: 100%;
    line-height: 0;
}

.content img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 이미지 비율 유지 */
    display: block;
}

.popup_content {
    width: 100%;
    height: 100%;
    line-height: 0; /* 이미지 아래 여백 제거 */
}

.popup_content img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 이미지 비율 유지 */
    display: block;
}

/* 데스크톱 (1201px 이상) */
@media screen and (min-width: 1201px) {
    .popup {
        width: 300px; /* 원본 사이즈 */
        height: 484px;
    }

    .main_popup {
        width: 300px; /* 원본 사이즈 */
        height: 484px;
        left: calc(50% - 600px + 450px + 30px);
        top: 35%;
        transform: translateY(-50%);
    }

    #popup_1 {
        left: calc(50% - 600px + 0px);
        top: 39%;
        transform: translateY(-50%);
    }

    #popup_2 {
        left: calc(50% - 600px + 300px + 20px);
        top: 39%;
        transform: translateY(-50%);
    }

    #popup_3 {
        left: calc(50% - 600px + 600px + 40px);
        top: 39%;
        transform: translateY(-50%);
    }

    #popup_4 {
        left: calc(50% - 600px + 900px + 60px);
        top: 39%;
        transform: translateY(-50%);
    }

    #popup_5 {
        left: calc(50% - 600px + 450px + 30px);
        top: 36%;
        transform: translateY(-50%);
    }
}


/* 태블릿 및 소형 pc(481px ~ 1200px) */
@media screen and (min-width: 481px) and (max-width: 1200px) {
    .popup {
        width: 300px;
        height: 484px;
        left: 50% !important;
        top: 40% !important;
        transform: translate(-50%, -50%) !important;
    }

    .main_popup {
        width: 300px;
        height: 484px;
        left: 50% !important;
        top: 35% !important;
        transform: translate(-50%, -50%) !important;
    }

    #popup_2 { z-index: 1499; }
    #popup_3 { z-index: 1489; }
    #popup_4 { z-index: 1479; }
}

/* 모바일 (480px 이하) */
@media screen and (max-width: 480px) {
    .popup {
        width: 300px;
        height: 484px;
        left: 50% !important;
        top: 45% !important;
        transform: translate(-50%, -50%) !important;
    }

    .main_popup {
        width: 300px;
        height: 484px;
        left: 50% !important;
        top: 42% !important;
        transform: translate(-50%, -50%) !important;
    }

    #popup_2 { z-index: 1499; }
    #popup_3 { z-index: 1489; }
    #popup_4 { z-index: 1479; }
}

/* 반응형 break point 1 - 1220px */


@media all and (max-width:1220px) {

    .trk_rank_img {
        display: none;
    }

    .day_border img {
        display: none;
    }

}

/* 반응형 break point 3 - 1200px */

@media all and (max-width:1200px) {

    .a_post1 {
        width: 100%;
    }


    .event_banner {
        display: none;
    }

    .ba_sz_1 {
        display: none;
    }

    .ba_sz_2 {
        display: block;
    }

    .atc1_wrap_up {
        max-width: 800px;
        gap:0;
        padding-bottom: 10px;
    }

    .wide_event_wrap {
        display: block;
    }



    .atc1_wrap_down {
        padding-bottom: 30px;
    }

    .game_start {
        width: 424px;
        margin-right: 5px;
    }

    .game_start img {
        width: 424px;
    }

    .ranked_item img {
        width: 321px;
    }

    .start_button {
        left:65px;
    }

    .main_article1 {
        height: auto;
    }

    .jackpot_area {
        width: 100%;
        max-width: 800px;
        box-sizing: border-box;
    }

    .jp_title {
        margin-left: 20px;
    }

    .jp_icon {
        width: 58px;
        height: 58px;
    }

    .jp_title p {
        font-size: 30px;
    }

    .number_container {
        margin-left: 0;
        font-size: 48px
    }

    .won_nm {
        font-size: 28px;
    }

    .jp_arrows {
        display: none;
    }

    .background_2 {
        max-width: 800px;
    }

    .day_wrap {
        width: 100%;
        max-width: 800px;
        margin: 0 auto;
        padding-left: 25px;
        padding-right: 25px;
        box-sizing: border-box;
    }

    .week_ttl {
        width: 100%;
    }

    .up_bt {
        left: 368px;
    }

    .down_bt {
        left: 368px;
    }

    .day-cell {
        width: 100%;
    }

    .event-banner {
        width: 100%;
        padding-left: 8px;
        padding-right: 8px;
    }

    .event-banner .event-title {
        max-width: 85px;
        font-size: 11px;
        font-weight: 500;
    }

    .article3_wrap {
        max-width: 800px;
    }

    .article3_title {
        margin-left: 25px;
    }

    .line_area {
        display: none;
    }

    .jp_area_wrap {
        grid-template-columns: repeat(3,1fr);
        grid-template-rows: repeat(3,240px);
        width: 100%;
        max-width: 800px;
        box-sizing: border-box;
    }

    .jp_area {
        width: 258px;
    }

    .jp_img_area {
        width: 238px;
    }

    .jp_img_area img {
        width: 238px;
    }

    .background {
        margin-bottom: 40px;
    }

    .article4_wrap {
        width: 100%;
        max-width: 800px;
        margin: 0 auto;
    }

    .article4_title {
        width: 100%;
        max-width: 800px;
        box-sizing: border-box;
        padding-left: 60px;
        margin-left: 0;
    }

    hr {
        width: 100%;
        max-width: 680px;
        box-sizing: border-box;
    }

    .article4_post {
        width: 100%;
        grid-template-columns: repeat(1,670px);
        grid-template-rows: repeat(6, 45px);
        padding-left: 65px;
        padding-right: 65px;
        margin-right: 0;
        margin-left: 0;
        margin-bottom: 30px;
        padding-bottom: 0;
    }

    .post1, .post2, .post3, .post4, .post5, .post6 {
        width: 100%;
    }

    .article5_wrap {
        width: 100%;
        max-width: 800px;
        margin: 0 auto;
    }

    .main_article6 {
        display: none;
    }

    .article5_post {
        width: 100%;
        grid-template-columns: repeat(1,670px);
        grid-template-rows: repeat(10, 53px);
        padding-left: 65px;
        padding-right: 65px;
        margin-right: 0;
        margin-left: 0;
        margin-bottom: 30px;
        padding-bottom: 0;
    }

    .article5_title {
        width: 100%;
        max-width: 800px;
        box-sizing: border-box;
        padding-left: 60px;
        margin-left: 0;
    }

}

/* 반응형 break point 3 - 800px */


@media all and (max-width:800px) {

    .atc1_wrap_up {
        max-width: 640px;
    }

    .game_start {
        width: 350px;
    }

    .start_button {
        width: 247px;
        height: 123px;
        left: 62px;
        bottom: 18px;
    }

    .ranked_item {
        width:247px;
        height: 56px;
        top: 35px;
        right: 0;
    }

    .ranked_item img {
        width:247px !important;
        height: 56px;
    }


    .ranked_bg {
        width: 240px;
        height: 123px;
    }

    .game_start img {
        width: 350px;
    }

    .ba_sz_1 {
        display: none;
    }

    .ba_sz_2 {
        display: none;
    }

    .ba_sz_3 {
        display: block;
    }

    .top_ranking {
        width: 280px;
    }

    .trk_text_area {
        font-size: 15px;
    }

    .trk_wrap {
        width: 280px;
    }

    .trk_ranking_area {
        width: 256px;
    }

    .trk_rank2 {
        width: 256px;
    }

    .rank_symbol {
        width: 38px;
        height: 39px;
        top: 8px;
        left: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .rank_symbol_2 {
        width: 38px;
        height: 39px;
        top: 8px;
        left: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .rank_symbol span {
        font-size: 11px;
        position:static;
        left:0;
        right: 0;
    }

    .rank_symbol_2 span {
        font-size: 11px;
        position:static;
        left:0;
        right: 0;

    }

    .trk_data .user_id2 {
        font-size: 12px;
    }

    .trk_data .date {
        font-size: 10px;
    }

    .price_data span {
        font-size: 13px;
    }

    .trk_top_area {
        width: 256px;
    }

    .trk_rank_top {
        margin-left: 8px;
        flex-direction: column;
        align-items: baseline;
    }

    .now_top {
        font-size: 11px;
        font-weight: 500;
    }

    .price_data2 {
        top: 10px;
    }

    .price_data2 .price {
        font-size: 18px;
    }

    .user_id1 {
        font-size: 12px;
    }

    .now_top::after {
        display: none;
    }

    .wide_event_wrap {
        width: 100%;
        max-width: 640px;
        height: 96px;
    }

    .wide_event_banner img {
        height: 96px;
    }

    .jackpot_area {
        max-width: 640px;
        height: 66px;
        border-radius: 12px;
    }

    .jp_title p {
        font-size: 24px;
    }

    .number_container {
        font-size: 35px;
    }

    .rolling-number {
        min-width: 300px;
    }

    .won_nm {
        font-size: 24px;
    }

    .background_2 {
        max-width: 640px;
    }

    .evttl_wrap {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .evttl_main {
        width: 290px;
        height: 61px;
    }

    .main_img1 {
        width: 290px;
        height: 61px;
    }

    .main_img1 img {
        width: 290px;
        height: 61px;
    }

    .evttl_text {
        font-size:14px;
    }

    .yearmonth {
        font-size: 22px;
    }

    .day_area {
        max-width: 640px;
        margin-left: auto;
        margin-right: auto;
    }

    .day_wrap {
        padding-left: 10px;
        padding-right: 10px;
    }

    .up_bt {
        left: 302px;
    }

    .down_bt {
        left: 302px;
    }

    .week_ttl tr th {
        font-size: 14px;
    }

    .day-cell .day-number {
        font-size: 13px;
    }

    .event-banner {
        padding-left: 5px;
        padding-right: 5px;
    }

    .event-banner .event-title {
        max-width: 72px;
        font-size: 11px;
    }

    .event_notice {
        font-size: 11px;
    }

    .article3_wrap {
        max-width: 640px;
    }

    .title1 {
        font-size: 18px;
    }

    .sub_title3 {
        font-size: 14px;
    }

    .sub_title1 {
        font-size: 14px;
    }

    .jp_area {
        width: 210px;
    }

    .jp_img_area {
        width: 190px;
    }

    .jp_img_area img {
        width: 190px;
    }

    .jp_title_area h5 {
        font-size: 12px;
    }

    .jp_title_area h2 {
        font-size: 11px;
    }

    .article4_wrap {
        max-width: 640px;
    }

    .article4_title {
        padding-left: 40px;
    }

    hr {
        max-width: 560px;
    }

    .article4_post {
        padding-left: 40px;
        padding-right: 40px;
        grid-template-columns: repeat(1, 1fr);
    }

    .post1, .post2, .post3, .post4, .post5, .post6 {
        max-width: 560px;
    }

    .post_title a {
        font-size: 12px;

    }

    .article5_wrap  {
        max-width: 640px;
    }

    .article5_title {
        padding-left: 40px;
    }

    .article5_post {
        padding-left: 40px;
        padding-right: 40px;
        grid-template-columns: repeat(1, 1fr);
    }

    .a_post1, .a_post2, .a_post3, .a_post4, .a_post5, .a_post6, .a_post7, .a_post8, .a_post9, .a_post10 {
        width: 100%;
        max-width: 560px;
    }

    .title5 {
        font-size: 18px;
        margin-left: 0;
    }

    .sub_title5_first {
        font-size: 14px;
    }

    .sub_title5 {
        font-size: 14px;
    }

    .ttl_title {
        font-size: 12px;
    }
}

/* 반응형 break point 4 - 640px */

@media all and (max-width:640px) {

    .article1_wrap {
        padding-left: 10px;
        padding-right: 10px;
    }

    .wide_event_wrap {
        border-radius: 6px;
    }

    .atc1_wrap_up {
        max-width: none;
        flex-direction: column;
    }

    .ba_sz_3 {
        display: none;
    }

    .ba_sz_4 {
        display: block;
    }

    .game_start {
        width: auto;
        margin-right: 0;
        height: 0;
        padding-bottom: 60.25%;
    }

    .game_start img {
        width: 100%;
        height: auto;
    }

    .start_button {
        width: 55%;
        max-width: 280px;
        bottom: 10px;
        left: 51%;
        transform: translateX(-50%);
        right: 0;
        height: auto;
        aspect-ratio: 240 / 123;
        box-sizing: border-box;
    }

    .ranked_bg {
        width: 100%;
        height: auto;
        aspect-ratio: 240 / 123;
    }

    .ranked_item {
        width: 100%;
        height: auto;
        top: 30%;
    }

    .ranked_item img {
        width: 100% !important;
        height: auto;
    }

    .top_ranking {
        width: 100%;
    }

    .trk_wrap {
        width: 100%;
        margin: 0;
    }

    .trk_rank2 {
        width: 100%;
    }

    .trk_ranking_area {
        width: 100%;
    }

    .tr_area {
        display: flex;
        padding-left: 6px;
        padding-right: 10px;
        padding-top: 20px;
        padding-bottom: 20px;
        align-items: center;
        justify-content: space-between;
    }

    .whole_rank {
        font-size: 0.85rem;
    }

    .trk_top_area {
        width: 100%;
        margin-left: 0;
    }

    .trk_text_area {
        margin-left: 10px;
        font-size: 0.9rem;
    }

    .wide_event_banner img {
        height: auto;
        border-radius: 6px;
    }

    .jp_title {
        padding-left: 1rem;
        margin-left: 0;
    }

    .jp_icon {
        margin-right: 1rem;
    }

    .jp_title p {
        font-size: 1.3em;
    }

    .jackpot_area {
        max-width: 100%;
    }

    .jp_icon {
        width: 3rem;
        height: 3rem;
    }

    .number_container {
        font-size: 2rem;
    }

    .won_nm {
        font-size: 1.3rem;
        margin-left: 2rem;
    }

    .background_2 {
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
        background-image: none;
    }

    .article3_wrap {
        padding-left: 10px;
        padding-right: 10px;
    }

    .jp_area {
        width: 100%;
        height: 100%;
        padding-bottom: 5px;
    }

    .jp_area_wrap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(2, minmax(0, 1fr));
        gap:5px;
        margin-top: 2rem;
    }

    .jp_img_area {
        width: 100%;
        margin-bottom: 8px;
    }

    .event_notice {
        margin-bottom: 20px;
        padding-right: 10px;
    }

    .article3_title {
        gap:4%;
    }

    .jp_title_area {
        margin-bottom: 5px;
    }

    .jp_img_area img{
        width: 100%;
        height: 100%;
    }

    .title1 {
        font-size: 1rem;
    }

    .sub_title3 {
        font-size: 0.8rem;
    }

    .jp_title_area h5 {
        font-size: 0.7rem;
    }

    .jp_title_area h2 {
        font-size: 0.65rem;
    }

    html {
        font-size: 16px;
    }

    .main_article2 {
        height: auto;
    }

    .main_article4 {
        padding-left: 10px;
        padding-right: 10px;
    }

    .main_article5 {
        padding-left: 10px;
        padding-right: 10px;
    }

    .up_bt {
        left: 49%;
    }

    .down_bt {
        left: 49%;
    }

    .event-banner .event-title {
        max-width: 60px;
    }

    .title1 {
        font-size: 1rem;
    }

    .sub_title1 {
        font-size: 0.9rem;
    }

    .title5 {
        font-size: 1rem;
    }

    .sub_title5_first {
        font-size: 0.9rem;
    }

    .sub_title5 {
        font-size: 0.9rem;
    }

}

/* 반응형 break point 4 - 586px */

@media all and (max-width:586px) {

    .atc1_wrap_down {
        display: none;
    }

    .event-banner .event-title {
        max-width: 50px;
    }

    .article4_title {
        gap:5%;
    }

    hr {
        max-width: 90%;
    }

    .a_post1, .a_post2, .a_post3, .a_post4, .a_post5, .a_post6, .a_post7, .a_post8, .a_post9, .a_post10 {
        box-sizing: border-box;
    }


    .top_ranking {
        margin-top: 0;
        height: auto;
    }

    .a_post_title {
        width: 0;
        flex-grow: 1;
    }

    .ttl_title {
        flex:1;
        min-width: 0;
    }


}

@media all and (max-width:586px) {
    .game_start {
        margin-bottom: 15px;
    }
}

/* 반응형 break point 4 - 430px */

@media all and (max-width:430px) {

    html {
        font-size: 15px;
    }

    .today-number {
        width: 20px;
        height: 20px;
    }

    .day_wrap {
        padding-left: 5px;
        padding-right: 5px;
        border: 1px solid #BD8CFF;
        border-radius: 10px;
    }

    .event-banner {
        padding-left: 5px;
        padding-right: 5px;
    }

    .event-banner .event-title {
        max-width: 40px;
    }

    .week_ttl tr th {
        font-size: 0.8rem;
    }

    .yearmonth {
        font-size: 1.4rem;
    }

    .evttl_tet {
        font-size: 0.85rem;
    }

    .day-cell .day-number {
        font-size: 0.7rem;
    }

    .event-banner .event-title {
        font-size: 0.65rem;
        font-weight: 400;
        white-space: wrap;
        max-width: 35px;
    }

    .event-banner {
        height: 28px;
        align-items: normal;
        padding-top: 1px;
        padding-bottom: 2px;
    }

    .event_notice {
        font-size: 0.65rem;
    }

    .article3_title {
        margin-left: 15px;
    }

    .gr_bd {
        height: 1px;
    }

    .gr_bd2 {
        height: 1px;
    }

    .jp_img_area {
        height: 110px;
        border-radius: 4px;
    }

    .article4_title {
        padding-left: 25px;
        gap: 4%;
    }

    .article4_post {
        padding-left: 25px;
        padding-right: 25px;
    }

    .promote {
        font-size: 0.77rem;
        font-weight: 500;
        padding: 3px 7px 3px 7px;
        border-radius: 4px;
    }

    .post_title {
        margin-left: 6px;
    }

    .post_title a {
        font-size: 0.77rem;
    }

    .article5_title {
        padding-left: 25px;
        gap: 4%;
    }

    .sub_title5::after {
        display: none;
    }

    .article5_post {
        padding-left: 25px;
        padding-right: 25px;
    }

    .a_promote {
        width: auto;
        height: auto;
        font-size: 0.77rem;
        font-weight: 500;
        padding: 3px 7px 3px 7px;
        border-radius: 4px;
    }

    .a_post_title {
        margin-left: 6px;
    }

    .ttl_title {
        font-size: 0.77rem;
    }

}

/* 반응형 break point 4 - 375px */

@media all and (max-width:375px) {

    html {
        font-size: 15px;
    }

    .jp_area_wrap {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .jp_area {
        display: flex;
        padding-bottom: 8px;
    }

    .jp_img_area {
        width: 70%;
    }

    .jp_title_area {
        width: 80%;
        padding-top: 40px;
    }

    .jp_title_area h5 {
        padding-left: 12px;
        font-size: 0.78rem;
    }

    .jp_title_area h2 {
        padding-left: 12px;
        font-size: 0.74rem;
    }

    .title1 {
        font-size: 0.95rem;
    }

    .sub_title1 {
        font-size: 0.85rem;
    }

    .title5 {
        font-size: 0.95rem;
    }

    .sub_title5_first {
        font-size: 0.85rem;
    }

    .sub_title5 {
        font-size: 0.85rem;
    }

    .evttl_main {
        width: 232px;
        height: 48px;
    }

    .main_img1 {
        width: 232px;
        height: 48px;
    }

    .main_img1 img {
        width: 232px;
        height: 48px;
    }

    .evttl_area {
        height: auto;
    }

    .evttl_sub {
        max-width: 310px;
        padding-left: 5px;
        padding-right: 5px;
        height: 25px;
    }

    .evttl_text {
        font-size: 0.8rem;
    }

    .evttl_wrap {
        height: auto;
    }


    .yearmonth_area {
        height: 28px;
    }

    .yearmonth_wrap {
        height: 28px;
    }

    .left_bt {
        width: 9px;
        height: 10px;
    }

    .right_bt {
        width: 9px;
        height: 10px;
    }

    .yearmonth {
        font-size: 1.2rem;
    }

}

/* 반응형 break point 4 - 320px */

@media all and (max-width:320px) {

    html {
        font-size: 13.7px;
    }

    .article4_post {
        padding-left: 15px;
        padding-right: 15px;
    }

    .article5_post {
        padding-left: 15px;
        padding-right: 15px;
    }

    .article4_title {
        padding-left: 15px;
    }

    .article5_title {
        padding-left: 15px;
    }
}

/* 반응형 break point 3 - 800px */


@media all and (max-width:800px) {

    .atc1_wrap_up {
        max-width: 640px;
    }

    .game_start {
        width: 350px;
    }

    .start_button {
        width: 247px;
        height: 123px;
        left: 62px;
        bottom: 18px;
    }

    .ranked_item {
        width:247px;
        height: 56px;
        top: 35px;
        right: 0;
    }

    .ranked_item img {
        width:247px !important;
        height: 56px;
    }


    .ranked_bg {
        width: 240px;
        height: 123px;
    }

    .game_start img {
        width: 350px;
    }

    .ba_sz_1 {
        display: none;
    }

    .ba_sz_2 {
        display: none;
    }

    .ba_sz_3 {
        display: block;
    }

    .top_ranking {
        width: 280px;
    }

    .trk_text_area {
        font-size: 15px;
    }

    .trk_wrap {
        width: 280px;
    }

    .trk_ranking_area {
        width: 256px;
    }

    .trk_rank2 {
        width: 256px;
    }

    .rank_symbol {
        width: 38px;
        height: 39px;
        top: 8px;
        left: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .rank_symbol_2 {
        width: 38px;
        height: 39px;
        top: 8px;
        left: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .rank_symbol span {
        font-size: 11px;
        position:static;
        left:0;
        right: 0;
    }

    .rank_symbol_2 span {
        font-size: 11px;
        position:static;
        left:0;
        right: 0;

    }

    .trk_data .user_id2 {
        font-size: 12px;
    }

    .trk_data .date {
        font-size: 10px;
    }

    .price_data span {
        font-size: 13px;
    }

    .trk_top_area {
        width: 256px;
    }

    .trk_rank_top {
        margin-left: 8px;
        flex-direction: column;
        align-items: baseline;
    }

    .now_top {
        font-size: 11px;
        font-weight: 500;
    }

    .price_data2 {
        top: 10px;
    }

    .price_data2 .price {
        font-size: 18px;
    }

    .user_id1 {
        font-size: 12px;
    }

    .now_top::after {
        display: none;
    }

    .wide_event_wrap {
        width: 100%;
        max-width: 640px;
        height: 96px;
    }

    .wide_event_banner img {
        height: 96px;
    }

    .jackpot_area {
        max-width: 640px;
        height: 66px;
        border-radius: 12px;
    }

    .jp_title p {
        font-size: 24px;
    }

    .number_container {
        font-size: 35px;
    }

    .rolling-number {
        min-width: 300px;
    }

    .won_nm {
        font-size: 24px;
    }

    .background_2 {
        max-width: 640px;
    }

    .evttl_wrap {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .evttl_main {
        width: 290px;
        height: 61px;
    }

    .main_img1 {
        width: 290px;
        height: 61px;
    }

    .main_img1 img {
        width: 290px;
        height: 61px;
    }

    .evttl_text {
        font-size:14px;
    }

    .yearmonth {
        font-size: 22px;
    }

    .day_area {
        max-width: 640px;
        margin-left: auto;
        margin-right: auto;
    }

    .day_wrap {
        padding-left: 10px;
        padding-right: 10px;
    }

    .up_bt {
        left: 302px;
    }

    .down_bt {
        left: 302px;
    }

    .week_ttl tr th {
        font-size: 14px;
    }

    .day-cell .day-number {
        font-size: 13px;
    }

    .event-banner .event-title {
        max-width: 72px;
        font-size: 11px;
    }

    .event_notice {
        font-size: 11px;
    }

    .article3_wrap {
        max-width: 640px;
    }

    .title1 {
        font-size: 18px;
    }

    .sub_title3 {
        font-size: 14px;
    }

    .sub_title1 {
        font-size: 14px;
    }

    .jp_area {
        width: 210px;
    }

    .jp_img_area {
        width: 190px;
    }

    .jp_img_area img {
        width: 190px;
    }

    .jp_title_area h5 {
        font-size: 12px;
    }

    .jp_title_area h2 {
        font-size: 11px;
    }

    .article4_wrap {
        max-width: 640px;
    }

    .article4_title {
        padding-left: 40px;
    }

    hr {
        max-width: 560px;
    }

    .article4_post {
        padding-left: 40px;
        padding-right: 40px;
        grid-template-columns: repeat(1, 1fr);
    }

    .post1, .post2, .post3, .post4, .post5, .post6 {
        max-width: 560px;
    }

    .post_title a {
        font-size: 12px;

    }

    .article5_wrap  {
        max-width: 640px;
    }

    .article5_title {
        padding-left: 40px;
        gap: 5%;
    }

    .sub_title5::after {
        display: none;
    }

    .article5_post {
        padding-left: 40px;
        padding-right: 40px;
        grid-template-columns: repeat(1, 1fr);
    }

    .a_post1, .a_post2, .a_post3, .a_post4, .a_post5, .a_post6, .a_post7, .a_post8, .a_post9, .a_post10 {
        width: 100%;
        max-width: 560px;
    }

    .title5 {
        font-size: 18px;
        margin-left: 0;
    }

    .sub_title5_first {
        font-size: 14px;
    }

    .sub_title5 {
        font-size: 14px;
    }

    .ttl_title {
        font-size: 12px;
    }

    .footer_up {
        flex-direction: column;
        height: auto;
        margin-top: 55px;
    }

    .logo_gray {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .footer_text {
        display: none;
    }


    .footer_down {
        margin-top: 20px;
        font-size: 11px;
    }
}

/* 반응형 break point 4 - 640px */

@media all and (max-width:640px) {
    .footer_down {
        width: 100%;
    }

    .hd_wrap2 {
        padding-left: 20px;
        padding-right: 20px;
    }

    .article1_wrap {
        padding-left: 10px;
        padding-right: 10px;
    }

    .atc1_wrap_up {
        max-width: none;
        flex-direction: column;
    }

    .ba_sz_3 {
        display: none;
    }

    .ba_sz_4 {
        display: block;
    }

    .game_start {
        width: auto;
        margin-right: 0;
        height: 0;
        padding-bottom: 60.25%;
    }

    .game_start img {
        width: 100%;
        height: auto;
    }

    .start_button {
        width: 55%;
        max-width: 280px;
        bottom: 10px;
        left: 51%;
        transform: translateX(-50%);
        right: 0;
        height: auto;
        aspect-ratio: 240 / 123;
        box-sizing: border-box;
    }

    .ranked_bg {
        width: 100%;
        height: auto;
        aspect-ratio: 240 / 123;
    }

    .ranked_item {
        width: 100%;
        height: auto;
        top: 30%;
    }

    .ranked_item img {
        width: 100% !important;
        height: auto;
    }

    .top_ranking {
        width: 100%;
    }

    .trk_wrap {
        width: 100%;
        margin: 0;
    }

    .trk_rank2 {
        width: 100%;
    }

    .trk_ranking_area {
        width: 100%;
    }

    .trk_top_area {
        width: 100%;
        margin-left: 0;
    }


    .trk_text_area {
        margin-left: 10px;
        font-size: 0.9rem;
    }


    .wide_event_banner img {
        height: auto;
        border-radius: 6px;
    }

    .jp_title {
        padding-left: 1rem;
        margin-left: 0;
    }

    .jp_icon {
        margin-right: 1rem;
    }

    .jp_title p {
        font-size: 1.3em;
    }

    .jackpot_area {
        max-width: 100%;
    }

    .jp_icon {
        width: 3rem;
        height: 3rem;
    }

    .number_container {
        font-size: 2rem;
    }

    .won_nm {
        font-size: 1.3rem;
        margin-left: 2rem;
    }

    .background_2 {
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
        background-image: none;
    }

    .article3_wrap {
        padding-left: 10px;
        padding-right: 10px;
    }

    .jp_area {
        width: 100%;
        height: 100%;
        padding-bottom: 5px;
    }

    .jp_area_wrap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(2, minmax(0, 1fr));
        gap:5px;
        margin-top: 2rem;
    }

    .jp_img_area {
        width: 100%;
        margin-bottom: 8px;
    }

    .event_notice {
        margin-bottom: 20px;
        padding-right: 10px;
    }

    .article3_title {
        gap:4%;
    }

    .jp_title_area {
        margin-bottom: 5px;
    }

    .jp_img_area img{
        width: 100%;
        height: 100%;
    }

    .title1 {
        font-size: 1rem;
    }

    .sub_title3 {
        font-size: 0.8rem;
    }

    .jp_title_area h5 {
        font-size: 0.7rem;
    }

    .jp_title_area h2 {
        font-size: 0.65rem;
    }

    html {
        font-size: 16px;
    }

    .main_article2 {
        height: auto;
    }

    .main_article4 {
        padding-left: 10px;
        padding-right: 10px;
    }

    .main_article5 {
        padding-left: 10px;
        padding-right: 10px;
    }

    .up_bt {
        left: 49%;
    }

    .down_bt {
        left: 49%;
    }

    .event-banner .event-title {
        max-width: 60px;
    }

    .title1 {
        font-size: 1rem;
    }

    .sub_title1 {
        font-size: 0.9rem;
    }

    .title5 {
        font-size: 1rem;
    }

    .sub_title5_first {
        font-size: 0.9rem;
    }

    .sub_title5 {
        font-size: 0.9rem;
    }

}

/* 반응형 break point 4 - 586px */

@media all and (max-width:586px) {

    .atc1_wrap_down {
        display: none;
    }

    .event-banner .event-title {
        max-width: 50px;
    }

    .article4_title {
        gap:5%;
    }

    hr {
        max-width: 93%;
    }

    .a_post1, .a_post2, .a_post3, .a_post4, .a_post5, .a_post6, .a_post7, .a_post8, .a_post9, .a_post10 {
        box-sizing: border-box;
    }


    .top_ranking {
        margin-top: 0;
        padding-top: 10px;
    }

    .a_post_title {
        width: 0;
        flex-grow: 1;
    }

    .ttl_title {
        flex:1;
        min-width: 0;
    }


}


/* 반응형 break point 4 - 425px */

@media all and (max-width:425px) {

    html {
        font-size: 15px;
    }

    .today-number {
        width: 20px;
        height: 20px;
    }

    .day_wrap {
        padding-left: 5px;
        padding-right: 5px;
        border: 1px solid #BD8CFF;
        border-radius: 10px;
    }

    .event-banner {
        padding-left: 5px;
        padding-right: 5px;
    }

    .event-banner .event-title {
        max-width: 40px;
    }

    .week_ttl tr th {
        font-size: 0.8rem;
    }

    .yearmonth {
        font-size: 1.4rem;
    }

    .evttl_tet {
        font-size: 0.85rem;
    }

    .day-cell .day-number {
        font-size: 0.7rem;
    }

    .event-banner .event-title {
        font-size: 0.65rem;
        font-weight: 400;
        white-space: wrap;
        max-width: 35px;
    }

    .event-banner {
        height: 26px;
        align-items: normal;
        padding-top: 1px;
        padding-bottom: 2px;
    }

    .event_notice {
        font-size: 0.65rem;
    }

    .article3_title {
        margin-left: 15px;
    }

    .gr_bd {
        height: 1px;
    }

    .gr_bd2 {
        height: 1px;
    }

    .jp_img_area {
        height: 110px;
        border-radius: 4px;
    }

    .article4_title {
        padding-left: 25px;
        gap: 4%;
    }

    .article4_post {
        padding-left: 25px;
        padding-right: 25px;
    }

    .promote {
        font-size: 0.77rem;
        font-weight: 500;
        padding: 3px 7px 3px 7px;
        border-radius: 4px;
    }

    .post_title {
        margin-left: 6px;
    }

    .post_title a {
        font-size: 0.77rem;
    }

    .article5_title {
        padding-left: 25px;
        gap: 4%;
    }

    .sub_title5::after {
        display: none;
    }

    .article5_post {
        padding-left: 25px;
        padding-right: 25px;
    }

    .a_promote {
        width: auto;
        height: auto;
        font-size: 0.77rem;
        font-weight: 500;
        padding: 3px 7px 3px 7px;
        border-radius: 4px;
    }

    .a_post_title {
        margin-left: 6px;
    }

    .ttl_title {
        font-size: 0.77rem;
    }

}

/* 반응형 break point 4 - 375px */

@media all and (max-width:375px) {

    html {
        font-size: 15px;
    }

    .jp_area_wrap {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .jp_area {
        display: flex;
        padding-bottom: 8px;
    }

    .jp_img_area {
        width: 70%;
    }

    .jp_title_area {
        width: 80%;
        padding-top: 40px;
    }

    .jp_title_area h5 {
        padding-left: 12px;
        font-size: 0.78rem;
    }

    .jp_title_area h2 {
        padding-left: 12px;
        font-size: 0.74rem;
    }

    .title1 {
        font-size: 0.95rem;
    }

    .sub_title1 {
        font-size: 0.85rem;
    }

    .title5 {
        font-size: 0.95rem;
    }

    .sub_title5_first {
        font-size: 0.85rem;
    }

    .sub_title5 {
        font-size: 0.85rem;
    }

    .evttl_main {
        width: 232px;
        height: 48px;
    }

    .main_img1 {
        width: 232px;
        height: 48px;
    }

    .main_img1 img {
        width: 232px;
        height: 48px;
    }

    .evttl_area {
        height: auto;
    }

    .evttl_sub {
        max-width: 310px;
        padding-left: 5px;
        padding-right: 5px;
        height: 25px;
    }

    .evttl_text {
        font-size: 0.8rem;
    }

    .evttl_wrap {
        height: auto;
    }


    .yearmonth_area {
        height: 28px;
    }

    .yearmonth_wrap {
        height: 28px;
    }

    .left_bt {
        width: 9px;
        height: 10px;
    }

    .right_bt {
        width: 9px;
        height: 10px;
    }

    .yearmonth {
        font-size: 1.2rem;
    }

}

/* 반응형 break point 4 - 320px */

@media all and (max-width:425px) {

    html {
        font-size: 13.7px;
    }

    .article4_post {
        padding-left: 15px;
        padding-right: 15px;
    }

    .article5_post {
        padding-left: 15px;
        padding-right: 15px;
    }

    .article4_title {
        padding-left: 15px;
    }

    .article5_title {
        padding-left: 15px;
    }
}





