


/*🟦 컨테이너 */
.container {
  width: 100%;
  text-align: center;
  
  display: flex;
  flex-wrap: wrap;
}




/* 대문 비디오 슬라이더 컨테이너 */
.service-image-container {
    width: 100%;
    background: #000;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: #000;
}

/* 배경 비디오 */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
}

/* 전체 어두운 레이어 */
.slide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.38);
    z-index: 1;
}

.bottom-gradient {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 70%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.65) 55%,
        #0e0e0e 100%
    );
    z-index: 2;
    pointer-events: none;
}

.text-slider {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
}

.slide-item {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease-in-out, visibility 0.7s ease-in-out;
}

.slide-item.active {
    opacity: 1;
    visibility: visible;
}

.slide-content {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    color: #fff;
    padding: 20px;
}

.slide-subtitle {
    font-size: 14px;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 18px;

    color: #ffffff;
    font-weight: 700;

    text-shadow: 
        0 0 8px rgba(255, 255, 255, 0.8),
        0 0 8px rgba(158, 158, 158, 0.45);
}



.slide-title {
    font-size: 55px;
    letter-spacing: -1px;
    text-transform: none;
    line-height: 1;
    margin-bottom: 20px;

    color: #ffffff;
    font-weight: 350;

    text-shadow:
        0 2px 12px rgba(0, 0, 0, 0.35);

}

.slide-description {
    font-size: clamp(15px, 2vw, 20px);
    line-height: 1.6;
    max-width: 700px;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);

    
}


/* 도트 */
.dots {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 10px;
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #fff;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .slider-wrapper {
        height: 100svh;
        min-height: 520px;
    }

    .slide-content {
        padding: 16px;
    }

    .slide-subtitle {
        font-size: 12px;
        letter-spacing: 3px;
    }

    .slide-description {
        font-size: 14px;
        max-width: 90%;
    }


    .dots {
        bottom: 18px;
        gap: 8px;
    }

    .dot {
        width: 9px;
        height: 9px;
    }

    .bottom-gradient {
        height: 25%;
    }
}










/* 추천 게임 섹션 */

.games-preview {
    width: 100%;
    background:#0e0e0e;
    color: #fff;
}

.games-preview-inner {
    max-width: 900px;
    padding: 82px 36px 92px;
    margin: 0 auto;

}


/* Header */

.games-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.section-label {
    text-align: left;

    display: block;
    color: #56d7e8;
    
    font-size: 20px;
    font-weight: 350;
    letter-spacing: 3px;
}


.games-header h2 {
    text-align: left;
    color: #ffffff;
    
    font-size: 40px;
    letter-spacing: -1px;
    margin-bottom: 20px;

    font-weight: 350;

    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}


.games-header p {
    text-align: left;
    color: rgba(154, 154, 154, 0.55);

    font-size: 15px;
    font-weight: 350;
}

.games-header-links {
    display: flex;
    gap: 20px;
    justify-content: flex-end; /* 오른쪽 정렬 */
}

.games-header-links a {
    padding: 15px 0;
    color: rgba(255, 255, 255, 0.78);
    text-align: center;
    text-decoration: none;
    font-size: 15px;
    font-weight: 350;
    transition: 0.25s ease;
}

.games-header-links a:hover {
    transform: translateY(-3px);
    color: #56d7e8;
}

/* Layout */

.games-layout {
    display: grid;
    grid-template-columns: 0.62fr 0.7fr;
    gap: 20px;
    padding-top: 34px;
}
/* Common Card */

.game-main-card,
.rank-card {
    position: relative;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    background: #0d0d10;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    box-shadow: 0 24px 50px rgba(0,0,0,0.24);
    transition: 0.28s ease;
}


.game-main-card:hover,
.rank-card:hover {
    transform: translateY(-3px);
    border-color: rgba(86, 215, 232, 0.34);
}

/* Rank Number */

.rank-number {
    color: rgba(255,255,255,0.76);
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 1px;
}

.rank-number::after {
    content: "";
    display: block;
    width: 22px;
    height: 1px;
    margin-top: 10px;
    background: #56d7e8;
}

/* =========================
   MAIN CARD
========================= */

.game-main-card {
    min-height: 300px;
    padding: 72px 34px 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
}

.game-main-card .rank-number {
    position: absolute;
    top: 34px;
    left: 24px;
}

.main-thumb {
    width: 220px;
    height: 220px;
    border-radius: 6px;
    overflow: hidden;
    background: #000;
}

.main-thumb img,
.rank-thumb img,
.store-icons img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Main Info */

.main-info {
    width: 100%;
    text-align: center;
}

.main-info h3 {
    margin: 0 0 24px;
    color: #fff;
    font-size: 26px;
    font-weight: 350;
    line-height: 1.35;
    letter-spacing: -1px;
    word-break: keep-all;
}

.main-info p {
    margin: 0;
    color: rgba(255,255,255,0.58);
    font-size: 15px;
    font-weight: 350;
    line-height: 1.75;
    word-break: keep-all;
}

/* Bottom */

.card-bottom {
    position: absolute;
    left: 34px;
    right: 34px;
    bottom: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.store-icons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.store-icons img {
    width: 24px;
    height: 24px;
    border-radius: 5px;
}

.platform-text,
.rank-info em {
    color: rgba(255,255,255,0.78);
    font-size: 12px;
    font-weight: 350;
    font-style: normal;
    letter-spacing: 0.5px;
}

/* =========================
   RIGHT CARDS
========================= */

.game-rank-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.rank-card {
    min-height: 170px;
    padding: 22px 24px 48px 88px;
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    gap: 24px;
}

.rank-card .rank-number {
    position: absolute;
    top: 28px;
    left: 22px;
}

.rank-thumb {
    width: 120px;
    height: 120px;
    border-radius: 6px;
    overflow: hidden;
    background: #000;
}

.rank-info {
    padding-right: 8px;
}

.rank-info h3 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 18px;
    font-weight: 350;
    line-height: 1.35;
    letter-spacing: -0.5px;
    word-break: keep-all;
}

.rank-info p {
    margin: 0;
    color: rgba(255,255,255,0.55);
    font-size: 13px;
    font-weight: 350;
    line-height: 1.7;
    word-break: keep-all;
}

/* Bottom */

.rank-bottom {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rank-bottom .store-icons img {
    width: 22px;
    height: 22px;
    border-radius: 5px;
}

.rank-info em {
    padding: 0;
    background: none;
    border-radius: 0;
}

/* =========================
   Responsive
========================= */

@media (max-width: 1024px) {

    .games-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .games-layout {
        grid-template-columns: 1fr;
    }

    .game-main-card {
        min-height: auto;
    }
}

@media (max-width: 640px) {

    .games-preview-inner {
        padding: 80px 22px;
    }

    .games-header h2 {
        font-size: 40px;
    }

    .games-header-links {
        width: 100%;
        flex-direction: column;
    }

    .games-header-links a {
        width: 100%;
    }

    .game-main-card {
        padding: 72px 22px 84px;
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .main-thumb {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .main-info h3 {
        font-size: 22px;
    }

    .main-info p {
        font-size: 14px;
    }

    .card-bottom {
        left: 22px;
        right: 22px;
        bottom: 24px;
    }

    .rank-card {
        min-height: 155px;
        padding: 68px 18px 52px;
        grid-template-columns: 95px 1fr;
        gap: 18px;
    }

    .rank-card .rank-number {
        top: 22px;
        left: 18px;
    }

    .rank-thumb {
        width: 95px;
        height: 95px;
    }

    .rank-info h3 {
        font-size: 17px;
    }

    .rank-info p {
        font-size: 12px;
        line-height: 1.6;
    }

    .rank-bottom {
        left: 18px;
        right: 18px;
        bottom: 18px;
    }
}













/* 비즈니스 섹션 */
.business-section {
    width: 100%;
    background: #000;
    padding: 120px 20px;
    margin: 0;
}

.business-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.business-label {
    margin: 0 0 14px;
    display: block;
    color: #56d7e8;
    font-size: 20px;
    font-weight: 350;
    letter-spacing: 3px;
}

.business-title {
    margin: 0;
    color: #ffffff;
    
    font-size: 40px;
    letter-spacing: -1px;
    margin-bottom: 20px;

    font-weight: 350;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.business-description {
    max-width: 760px;
    margin: 28px auto 70px;
    color: rgba(154, 154, 154, 0.55);

    font-size: 15px;
    font-weight: 350;
    line-height: 1.8;
}

.business-cards {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.business-card {
    width: 100%;
    max-width: 460px;
    min-height: 260px;
    padding: 36px;

    background: #0d0d10;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;

    color: #fff;
    text-decoration: none;
    overflow: hidden;

    box-sizing: border-box;
    text-align: left;

    transition: 0.28s ease;
}

.business-card:hover {
    transform: translateY(-3px);
    border-color: rgba(86, 215, 232, 0.55);
    background: rgba(255, 255, 255, 0.03);
}

.business-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 4px;

    display: flex;
    align-items: center;
    justify-content: center;
}


.business-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;

    transition: all .25s ease;
}

.business-card:hover .business-icon img {
    transform: scale(1.08);
}


.business-card h3 {
    margin: 0 0 18px;
    color: #ffffff;
    
    font-size: 40px;
    letter-spacing: -1px;
    margin-bottom: 20px;

    font-weight: 350;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.business-card p {
    margin: 0 0 30px;
    color: #8b8b8b;
    font-size: 15px;
    font-weight: 350;
    line-height: 1.8;
    word-break: keep-all;
}

.learn-more {
    color: #56d7e8;
    font-size: 15px;
    font-weight: 350;
    letter-spacing: 3px;
}


@media (max-width: 768px) {
  .business-section {
    padding: 90px 16px;
  }

  .business-title {
    font-size: 42px;
  }

  .business-description {
    font-size: 15px;
    margin: 20px auto 45px;
  }

  .business-card h3 {
    font-size: 28px;
  }

  .business-card {
    padding: 28px 24px;
  }
}
/* 끝 */



























/* 뉴스섹션 */
.news-section {
  width: 100%;
  background: #0e0e0e;
  color: #fff;
  padding: 110px 0 120px;
  display: flex;
  justify-content: center;
}

.news-inner {
  width: min(1100px, calc(100% - 48px));
}


.news-header {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 40px;

    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.news-btn-group {
    display: flex;
    gap: 16px;
}
.news-label {
    text-align: left;
    display: block;
    color: #56d7e8;
    font-size: 15px;
    font-weight: 350;
    letter-spacing: 3px;
}

.news-title {
    margin: 0;
    text-align: left;
    color: #ffffff;
    
    font-size: 40px;
    letter-spacing: -1px;
    margin-bottom: 20px;

    font-weight: 350;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.news-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  min-width: 160px;
  margin-top: 60px;

    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    background: #0d0d10;

  color: #00bcd4;
  text-decoration: none;
  font-size: 15px;
  font-weight: 350;
  white-space: nowrap;

    transition: 0.28s ease;
}

.news-btn:hover {
    transform: translateY(-3px);
    border-color: rgba(86, 215, 232, 0.55);
    background: rgba(255, 255, 255, 0.03);
}

.news-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.news-card {
  min-width: 0;
}

.news-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1.7 / 1;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
  margin-bottom: 14px;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.news-card:hover .news-thumb img {
  transform: scale(1.04);
}

.news-meta {
  font-size: 11px;
  margin-bottom: 8px;
  text-align: left;
}

.news-meta .divider {
  color: rgba(255, 255, 255, 0.35);
}

.news-card-title {
  line-height: 1.3;
  margin-bottom: 8px;
  text-align: left;
}

.news-card-title a {
  color: #fff;
  font-size: 15px;
  text-decoration: none;
}

.news-desc {
  margin: 0;
  font-size: 14px;
  text-align: left;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 1024px) {
  .news-title {
    font-size: 48px;
  }

  .news-card-title {
    font-size: 24px;
  }

  .news-grid {
    gap: 22px;
  }
}

@media (max-width: 768px) {
  .news-section {
    padding: 80px 0 90px;
  }

  .news-inner {
    width: min(100%, calc(100% - 32px));
  }

  .news-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 28px;
  }

  .news-title {
    font-size: 42px;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .news-card-title {
    font-size: 24px;
  }

  .news-btn {
    min-width: auto;
    padding: 11px 16px;
    font-size: 13px;
  }
}
/* 끝 */




/* 마지막배치, 미디어 게임 컬렉션 관련 */
@media (max-width: 768px) {
    .collections {
        padding: 80px 20px 50px;
    }

    .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .card-overlay {
        padding: 16px;
        transform: translateY(0);
        opacity: 0;
    }

    .collection-thumbnail::before {
        opacity: 1;
    }

    .card-title {
        font-size: 20px;
    }

    .card-price {
        font-size: 16px;
    }

    .card-desc {
        font-size: 13px;
    }
}
/* 끝 */














/* 🟫스크롤 등장 애니메이션 */

.game-main-card,
.rank-card,
.business-card,
.news-btn,
.news-card {
    opacity: 0;
    transform: translateY(60px);
    transition:
        opacity 0.9s cubic-bezier(.22,1,.36,1),
        transform 0.9s cubic-bezier(.22,1,.36,1);
}

.game-main-card.show,
.rank-card.show,
.business-card.show,
.news-btn,
.news-card.show {
    opacity: 1;
    transform: translateY(0);
}
