@charset "utf-8";
/* CSS Document */
  * {
/*    outline: 1px solid red;*/
  }
html, body {
  width: 100%;
	scroll-behavior: smooth;
	overflow-x: hidden;
}
html {
  background-color: #000;
}
/*	pc  */
body {
  width: 100%;
  overflow-x: hidden;
  margin: 0 auto;
background: linear-gradient(135deg, rgb(7, 17, 37), rgb(33, 20, 67));
	
}
body::-webkit-scrollbar {
  display: none;
}
.mobile-only {
  display: none;
}
.mobile-nav {
	display: none;
}

p, table, h2, dt, dd, a {
  font-family:  'Noto Sans JP', 'Noto Sans KR', sans-serif;
  font-weight: 500;
	color: #FFF;
}
img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}
.menu_title img {
	width: auto;
}

/* header */

.logo-wrap {
  display: flex;        /* 가로 정렬 */
  align-items: center;  /* 세로축 가운데 정렬 */
  gap: 0px;            /* 사이 간격 */
  position: absolute;   /* 필요하다면 전체 위치 조정 */
  top: 0%;
  left: 0.5%;
}

.dg img {
  width: 210px;   /* Direct Games 로고 */
  height: auto;
}

.ps5 img {
  width: 270px;   /* PS5 로고만 크게 */
  height: auto;
}

.ps5 {
  position: static; /* absolute 제거해서 flex에 참여 */
  width: auto;      /* 크기는 img width로 제어 */
  margin-right: 10px;
}



/* main */
.warp {
  width: 100%;
  margin: 0 auto;
}

/* 오른쪽 고정 네비 전체 박스 */
.right-nav {
  position: fixed;
  top: 3%;
  right: 0;
  transform: translateY(0);
  z-index: 9999;
  font-family: "Noto Sans JP", sans-serif;
}

/* 리스트 기본 제거 */
.right-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 각 항목 */
.right-nav li {
  margin: 0;
}

/* 링크 스타일 (코믹 스타일 UI) */
.right-nav a {
  display: block;
  padding: 12px 22px;
  background: #0c0c0c;
  color: #b8ff4a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;

  border-left: 6px solid #70ff1e;
  border-radius: 0 6px 6px 0;

  box-shadow:
    inset 0 0 0 3px #000,
    4px 4px 0 #000,
    0 0 12px rgba(128, 255, 0, 0.35);

  transition: 0.18s ease-out;
}

/* hover */
.right-nav a:hover {
  background: #a2ff2c;
  color: #000;

  transform: translateX(-6px) scale(1.06);

  box-shadow:
    inset 0 0 0 3px #000,
    6px 6px 0 #000,
    0 0 18px rgba(179,255,72,0.7);
}

.right-nav {
  transition: transform 0.35s ease, opacity 0.2s ease;
  transform: translateX(65%); /* 초기: 숨김 상태 */
  opacity: 1;
}

.right-nav.show {
  transform: translateX(0);  /* 화면 안으로 진입 */
  opacity: 1;
}


/* home */
#home {
  width: 100%;
  height: 100vh;
  margin: 0 auto;
  background-image: url(https://image.directg.net/m84M2mUjYQ);
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

#home::before {
  content: "";
  position: absolute;
  inset: 0; /* top, right, bottom, left 전부 0 */
  background: radial-gradient(
    circle at 0% 0%, 
    rgba(0,0,0,0.6) 0%, 
    transparent 40%
  );
  pointer-events: none;
}
/* 로고 박스 */
.logo-box {
  position: absolute;
  left: 30%;
  top: 50%; /* 여기 값을 조절하면 위/아래 이동 가능 */
  transform: translate(-50%, -50%);
  z-index: 2;

  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-box img {
  width: 100%;   /* 화면 비율에 따라 자동 줄어드는 값 */
  max-width: 750px;
  filter: drop-shadow(0 0 12px rgba(0,0,0,0.45));
}

/* 트위터 & 토픽 */
.hero-wrap {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* 트위터 아이콘 */
.twitter-fixed {
  position: absolute;
  left: -1.5%;
  top: 10%;
  z-index: 5;
}

.twitter-fixed a {
	display: block;
}

.twitter-fixed a img {
  display: block;
}

.twitter-fixed img {
  width: 55%;
  transition: 0.25s;
	display: block;
	margin: 0 auto;
}
.twitter-fixed img:hover {
  content: url("https://image.directg.net/M84M1gmGKP");
  transform: scale(1.08);
}

/* 토픽 컨테이너: 배경이 여기만 있음 */
.topic-container {
  position: absolute;
  bottom: 7%;
  left: 30%;
  transform: translateX(-50%);

  width: 40%;
  height: 60px;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;

  /* ===== 배경을 단색 → 코스믹 네온 그라데이션으로 변경 ===== */
  background: linear-gradient(
    135deg,
    rgba(22, 14, 52, 0.95),
    rgba(60, 30, 100, 0.95),
    rgba(90, 40, 160, 0.95)
  );

  /* ===== 라운드 ===== */
  border-radius: 7px;

  /* ===== 외곽 글로우 ===== */
  box-shadow:
    0 0 12px rgba(140, 255, 120, 0.35),
    0 0 25px rgba(140, 80, 255, 0.25);

  /* ===== 안쪽 글라스 느낌 ===== */
  backdrop-filter: blur(6px);

  z-index: 3;
}

.topic-container::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  pointer-events: none;
}

/* 리스트는 스크롤 가능하지만 스크롤바 숨김 */
.topic-list {
  overflow-y: scroll;
  height: 100%;
  scrollbar-width: none; /* Firefox */
	display: flex;
}
.topic-list::-webkit-scrollbar {
  display: none; /* Chrome */
}

/* 각 토픽 아이템은 배경 없음 */
.topic-item {
  height: 60px;
  display: flex;
  align-items: center;
  gap: 15px;

  padding-left: 20px;
  margin-bottom: 10px;

  /* 배경 제거 → container 배경만 보임 */
  background: none;

  color: rgb(198, 255, 120);
  font-size: 20px;
  font-weight: 700;
	  justify-content: center;  /* 가운데 정렬 */
}
.topic-item span {
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.45);
}

/* ABOUT 전체 섹션 */
#intro {
  width: 100%;
  padding: 0px 0;
  background: url("https://image.directg.net/J84Nume03l") center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

/* 내부 구조 잡기 */
.intro-visual {
  width: 90%;
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* 왼쪽 히어로 이미지 */
.intro-hero img {
  width: 100%;
  max-width: 40vw;
  filter: drop-shadow(0 0 25px rgba(0,0,0,0.6));
  transform: translateY(0);
  animation: heroFloat 4s ease-in-out infinite alternate;
	margin-top: 50px;
	margin-bottom: -50px;
}

@keyframes heroFloat {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-16px); }
}

/* 오른쪽 텍스트 */
.intro-text {
  flex: 1;
  color: #fff;
}

/* 연두색 제목 */
.sub-title {
  font-size: 24px;
  font-weight: 900;
  color: #b5ff3a;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

/* 큰 메인 타이틀 */
.main-title {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 30px;
  text-shadow: 0 0 12px rgba(255,255,255,0.4);
}

/* 설명문 */
.desc {
  font-size: 18px;
  line-height: 1.8;
  color: #eaeaea;
  max-width: 550px;
}


/* game */
/* 전체 배경 */
#game-section {
  background: url("https://image.directg.net/E84NAsarR4") center/cover no-repeat;
  padding: 80px 0;
  position: relative;
  z-index: 1;
}
/* 하단 그림자(그라데이션) 추가 */
#game-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 55%; /* 조절 가능: 그림자 범위 */
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.25) 40%,
    rgba(0,0,0,0.55) 70%,
    rgba(0,0,0,0.65) 100%
  );
  pointer-events: none; /* 클릭 방해 안되게 */
  z-index: 2;
}

/* 기존 콘텐츠가 그림자 위로 올라오도록 */
#game-section .game-inner {
  position: relative;
  z-index: 3;
}

/* 내부 컨테이너 */
.game-inner {
  width: 90%;
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

/* 각 블록 (좌/우) */
.game-block {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* 이미지 */
.game-img img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

/* 텍스트 */
.game-text {
  margin-top: 25px;
  color: #ffffff;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.7;
  font-size: 16px;
	text-align: center;
}
.game-title {
  text-align: center;  
}
/* 제목 색상 */
.game-title.green {
  color: #c7ff57;
	text-shadow: 1px 1px 1px #000;
}

.game-title.pink {
  color: deeppink;
	text-shadow: 1px 1px 1px #000;
}

.game-title {
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.4;
  letter-spacing: 0.05em;
}
/* 섹션 전체 배경 */
#game-section-2 {
  background: url("https://image.directg.net/o84NGan4E7") right/cover no-repeat;
  padding: 0px 0;
  position: relative;
  z-index: 1;
	height: 800px;
}

/* 내부 레이아웃 */
.game-inner-2 {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

/* LEFT TEXT */
.lineup-text {
  width: 45%;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.7;
	margin-left: 20%;
}

/* 작은 연두색 제목 */
.lineup-subtitle {
  color: #c7ff57;
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 10px;
	text-align: left;
}

/* 큰 흰색 제목 */
.lineup-title {
  color: #ffffff;
  font-size: 44px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 25px;
}

/* 내용 */
.lineup-desc {
  font-size: 17px;
  color: #ffffff;
  font-weight: 500;
  line-height: 1.8;
}

/* RIGHT IMAGE */
.lineup-img {
  width: 40%;
  position: relative;
  overflow: hidden;
}

.lineup-img img {
  width: 105%;
  transition: transform 0.1s ease-out;
  will-change: transform;
}

/*캐릭터*/
.characters-section {
  padding: 0px 0;
  background: url("https://image.directg.net/m84NHpupA7") center/cover no-repeat;
  position: relative;
  color: #fff;
	padding-bottom: 5%;
}

.char-title-box {
  background: #b7ff3a;
  color: #000;
  display: inline-block;
  padding: 8px 20px;
  font-size: 28px;
  font-weight: 800;
  margin-left: 0%;
  margin-bottom: 50px;
}

.characters-wrapper {
  display: flex;
  justify-content: center;
  gap: 60px;
}

.character-display img {
  width: 480px;
  height: auto;
  object-fit: contain;
}

.character-list {
  display: grid;
  grid-template-columns: repeat(5, 165px);
  gap: 25px;
  justify-content: center;
}

.char-item {
  text-align: center;
  cursor: pointer;
  padding: 10px;
  border-radius: 10px;
  transition: 0.25s ease;
  background: rgba(0,0,0,0.4);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}
.char-item:hover {
  border-color: rgba(255,255,255,0.9);
  transform: scale(1.05);
}
.char-item.active {
  border-color: #ffffff;
  box-shadow: 
    0 0 15px #ff1e8d,
    0 0 30px rgba(255, 30, 141, 0.7),
    0 0 60px rgba(255, 30, 141, 0.4);
  animation: pinkPulse 1.2s infinite ease-in-out;
}
.char-item.active::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 2px solid rgba(255,255,255,0.9);
  border-radius: 8px;
  pointer-events: none;
}
.char-item img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 8px;
}
@keyframes pinkPulse {
  0% { box-shadow: 0 0 10px #ff1e8d; }
  50% { box-shadow: 0 0 25px #ff1e8d, 0 0 40px rgba(255, 30, 141, 0.7); }
  100% { box-shadow: 0 0 10px #ff1e8d; }
}
/* 페이드아웃 */
.fade-out {
  opacity: 0;
  transition: opacity 0.15s ease-out;
}
#charGif {
  display: block;
  max-width: 100%;
}

/* GIF 애니메이션 클래스 */
.char-animate {
  animation: popIn 0.35s ease-out forwards;
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.6);
    filter: brightness(1.6);
  }
  60% {
    opacity: 1;
    transform: scale(1.08);
    filter: brightness(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: brightness(1);
  }
}


/* 애니메이션 클래스 */
.char-animate {
  animation: dropIn 0.45s ease-out forwards;
}

.char-item:hover {
  transform: scale(1.05);
}

/* 비디오 배경 섹션 */
.retro-section {
  position: relative;
  height: 700px;
  width: 100%;
  overflow: hidden;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
}

/* 비디오 */
.retro-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  z-index: 1;
  object-fit: cover;
}

/* 비디오 위에 어둡게 오버레이 */
.retro-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2;
}

/* 텍스트 컨텐츠 */
.retro-content {
  position: relative;
  z-index: 3;
}

.retro-title {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 25px;
	text-shadow: 0px 0px 15px #000;
}

.retro-desc {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.8;
	text-shadow: 0px 0px 7px #010101;
}


/*스크린샷&비디오*/
/* 텍스트 영역 */
.media-title {
  background: #b7ff3a;
  color: #000;
  display: inline-block;
  padding: 8px 20px;
  font-size: 28px;
  font-weight: 800;
  margin-left: 0%;
  margin-bottom: 50px;
}
.media-section {
  padding: 100px 0;
  background: #0b0f17;
  text-align: center;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
	  position: relative;
  overflow: hidden;
	background-image: url(https://image.directg.net/N84Ws2xjZ1);
	background-position: center;
	background-attachment: fixed;
	background-size: cover;
}

.media-title {
  font-size: 32px;
  margin-bottom: 50px;
}

/* 스크린샷 */
.screenshot-area {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto 80px;
	scrollbar-width: none; /* Firefox */
}

.screenshot-view {
  position: relative;
  width: 100%;
}

.screenshot-view img {
  width: 100%;
  border-radius: 12px;
  display: block;
  box-shadow: 0 10px 30px rgba(0,0,0,0.7);
}

/* 화살표 */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  padding: 12px 18px;
  background: rgba(0,0,0,0.4);
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 20;                   /* << 절대 위로 */
  border-radius: 6px;
  transition: 0.2s;
}

.arrow.left { left: 10px; }
.arrow.right { right: 10px; }

.arrow:hover {
  background: rgba(255,255,255,0.3);
}

/* 스크린샷 썸네일 */
.screenshot-thumbs,
.trailer-thumbs {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: nowrap;
	overflow-x: auto;
}
/* 가로 스크롤바 스타일 */
.screenshot-thumbs::-webkit-scrollbar {
  height: 6px; /* 얇게 */
}

.screenshot-thumbs::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05); 
  border-radius: 10px;
}

.screenshot-thumbs::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #7aff56, #3cffc6);
  border-radius: 10px;
  box-shadow: 0 0 8px #3cffc6;
}

.screenshot-thumbs::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #b4ff66, #66ffe7);
  box-shadow: 0 0 10px #66ffe7;
}
.screenshot-thumbs img,
.trailer-thumbs img {
  width: 120px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid rgba(255,255,255,0.3);
  transition: 0.2s;
	flex-shrink: 0;
}

/* 선택된 썸네일 — 충돌 없는 이름! */
.thumb-active {
  animation: thumb-blink 1.2s infinite;
  border-color: #fff !important;
  box-shadow: 0 0 12px #ff2ea8, 
              0 0 18px #ff2ea8 inset;
}

@keyframes thumb-blink {
  0% { box-shadow: 0 0 12px #ff2ea8 inset; }
  50% { box-shadow: 0 0 4px #ff2ea8 inset; }
  100% { box-shadow: 0 0 12px #ff2ea8 inset; }
}

/* 트레일러 */
.trailer-view {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

#trailer-main {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.7);
}

.trailer-thumbs img:hover {
  border-color: white;
}
/* 가로 스크롤바 스타일 */
.trailer-thumbs::-webkit-scrollbar {
  height: 6px; /* 얇게 */
}

.trailer-thumbs::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05); 
  border-radius: 10px;
}

.trailer-thumbs::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #7aff56, #3cffc6);
  border-radius: 10px;
  box-shadow: 0 0 8px #3cffc6;
}

.trailer-thumbs::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #b4ff66, #66ffe7);
  box-shadow: 0 0 10px #66ffe7;
}

/* ===========================
   PRODUCT
   =========================== */
#product {
  width: 100%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
padding-top: 20px;
	padding-bottom: 40px;
  background-image: url("https://image.directg.net/I84Ww52yMq");
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: cover;
}

#product .inner {
  width: 100%;
  position: relative;
  z-index: 1;
}

/* PRODUCT 타이틀 이미지 */
#product .menu_title {
  text-align: center;
  margin-bottom: 24px;
}

#product .menu_title img {
  width: 260px;
  max-width: 40%;
}

/* 정보 테이블 래퍼 */
.infor_table {
  width: 63.5%;
  max-width: 1140px;
  margin: 0 auto 20px;
  padding: 26px 32px 22px;
  text-shadow: 0 0 5px #000;
}

/* 주의 문구 */
.infor_table p {
  font-size: 0.8vw;
  color: #eee;
  font-weight: 300;
  margin-top: 12px;
  line-height: 1.6;
}

/* 테이블 기본 */
.table_if1 {
  width: 100%;
  border-collapse: collapse;
  font-size: 1vw;
  color: #fff;
}

/* 왼쪽 헤더 셀 */
.table_if1 th {
  width: 26%;
  padding: 10px 14px 8px 0;
  font-size: 1.05vw;
  font-weight: 700;
  color: #b8ff4a;

  border-bottom: 2px solid rgba(255,255,255,0.45);
  white-space: nowrap;
  vertical-align: center;
}

/* 오른쪽 내용 셀 */
.table_if1 td {
  width: 74%;
  padding: 10px 0 8px 6px;
  font-size: 1vw;
  font-weight: 300;
  color: #ffffff;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  line-height: 1.7;
}

/* ===========================
   FOOTER
   =========================== */

footer {
  background-color: #000;
  padding: 18px 0 26px;
	border-top: 1px solid rgba(255,255,255,0.25);
	
}

/* footer 전체 래퍼 */
.footer-inner {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* 게임 로고 */
.footer-game-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.footer-game-logo img {
  width: 260px;
  max-width: 50%;
}

/* 회사 로고 영역 */
.company {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  border: 0;
}

.company ul {
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 56px;
}

/* 각 회사 아이템 */
.company li {
  display: flex;
  align-items: center;
  justify-content: center;
}

.company a {
  display: inline-block;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.company a:hover {
  transform: translateY(-2px) scale(1.03);
}

/* 로고별 사이즈 튜닝 */
.company li.h2 img {
  height: 62px;
}

.company li.tribute img {
  height: 52px;
}

.company li.dotemu img {
  height: 52px;
}

.company li.marvel img {
  height: 52px;
}

/* 모든 로고 공통 */
.company img {
  height: 100%;
  width: auto;
}

/* 저작권 문구 */
.copyright {
  font-size: 12px;
  padding-top: 16px;
  text-align: center;
  margin: 0 auto;
  width: 80%;
  color: #bfc5d5;
  font-family: 'Noto Sans CJK', sans-serif;
  font-weight: 300;
  opacity: 0.9;
}








/*--태블릿--*/
/* Tablet 대응 (769px ~ 991px) */
@media screen and (max-width:991px) and (min-width:769px) {

  .right-nav,.logo-box {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
	  .right-nav.show {
    display: none !important;
  }
	
	
	/* ============================
    햄버거 버튼 (991px 이하만)
   ============================ */
.hamburger {
  display: none;
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 99999;
  width: 34px;
  height: 26px;
  cursor: pointer;
}
	  .hamburger {
    display: block;
  }
  .right-nav {
    display: none !important;
  }

.hamburger span {
  display: block;
  width: 100%;
  height: 4px;
  background: #b7ff3a;
  margin-bottom: 6px;
  border-radius: 3px;
  transition: 0.3s;
}

/* X자 변환 */
.hamburger.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* ============================
   모바일 메뉴
   ============================ */
.mobile-nav {
  position: fixed;
	display: block;
  top: 0;
  left: -460px;
  width: 460px;
  height: 100vh;
  background: rgba(15, 15, 20, 0.98);
  padding: 80px 20px;
  z-index: 99998;
  transition: 0.3s ease;
}

.mobile-nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.mobile-nav li {
  margin-bottom: 20px;
}

.mobile-nav a {
  color: #b7ff3a;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  display: block;
  padding: 10px 0;
}

/* 메뉴 오픈 */
.mobile-nav.show {
  left: 0;
}

/* 어두운 오버레이 */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 99997;
  opacity: 0;
  visibility: hidden;
  transition: 0.25s;
}

.nav-overlay.show {
  opacity: 1;
  visibility: visible;
}


  /* HOME 로고 */
  .logo-box {
    left: 50%;
    transform: translate(-50%, -45%);
  }
  .logo-box img {
    max-width: 520px;
  }

	/* header */


.dg img {
  width: 150px;   /* Direct Games 로고 */
  height: auto;
}
.nsw12 img {
  width: 150px;   /* PS5 로고만 크게 */
  height: auto;
}
.ps5 img {
  width: 210px;   /* PS5 로고만 크게 */
  height: auto;
}

.ps5 {
  position: static; /* absolute 제거해서 flex에 참여 */
  width: auto;      /* 크기는 img width로 제어 */
  margin-right: 10px;
}
	
  /* 트위터 아이콘 */
  .twitter-fixed {
    left: -8%;
    top: 8%;
  }
  .twitter-fixed img {
    width: 45%;
  }

  /* 토픽 */
  .topic-container {
    width: 100%;
    height: 50px;
    bottom: 0%;
    left: 50%;
  }
  .topic-item {
    font-size: 16px;
  }

  /* INTRO */
  .intro-visual {
    flex-direction: column-reverse;
    text-align: center;
    gap: 30px;
  }
  .intro-hero img {
    max-width: 65vw;
  }
  .intro-text {
    width: 90%;
	  text-align: center;
  }
  .main-title {
    font-size: 36px;
  }
  .desc {
    font-size: 16px;
	  margin: 0 auto;
  }
#home {
  width: 100%;
  background-image: url(https://image.directg.net/Y84WAsoBnO);
}
  /* GAME 블록 */
  .game-inner {
    flex-direction: column;
    gap: 60px;
  }
  .game-block {
    width: 100%;
  }
  .game-title {
    font-size: 22px;
  }

  /* GAME 2 */
  #game-section-2 {
    height: auto;
    padding: 60px 0;
    background-position: right;
  }
  .game-inner-2 {
    flex-direction: column;
    text-align: center;
  }
  .lineup-text {
    width: 85%;
    margin-left: 0;
  }
  .lineup-title {
    font-size: 32px;
  }
  .lineup-img {
    width: 70%;
  }
	.lineup-subtitle {
		text-align: center;
	}
  /* 캐릭터 */
.characters-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
  }

  .character-display img {
    width: 360px;
    max-width: 100%;
    margin: 0 auto 20px;
  }

  /* 캐릭터 리스트: 5열 그리드 */
.character-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 12px;
  justify-content: center;
}

/* 박스 전체 */
.char-item {
  text-align: center;
  cursor: pointer;
  padding: 12px;
  border-radius: 10px;
  transition: 0.25s ease;
  background: rgba(0,0,0,0.4);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;

  /* 이름 길어져도 공간 확보 가능하도록 높이 자동 */
  min-height: 180px;
}

/* 썸네일 이미지 */
.char-item img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* 이름 영역 */
.char-item p {
  margin: 0;
  padding: 0 4px;

  font-size: 14px;
  color: #fff;
  font-weight: 600;
  line-height: 1.4;

  /* ✔ 이름 절대 잘리지 않도록 */
  white-space: normal;
  overflow: visible;
  text-overflow: unset;

  /* ✔ 항상 두 줄 이상도 문제없게 */
  word-break: keep-all;
  word-wrap: break-word;
}

  /* 비디오 배경 */
  .retro-section {
    height: 520px;
    padding: 40px 0;
  }
  .retro-title {
    font-size: 36px;
  }
  .retro-desc {
    font-size: 16px;
  }

  /* 스크린샷 */
  .screenshot-area {
    width: 95%;
  }
  .screenshot-thumbs img {
    width: 110px;
    height: 60px;
  }

  .arrow {
    font-size: 28px;
    padding: 8px 12px;
  }

  /* 트레일러 */
  .trailer-view {
    width: 95%;
  }
  .trailer-thumbs img {
    width: 110px;
    height: 60px;
  }
  /* PRODUCT */

  .infor_table {
    width: 95%;
    padding: 18px 22px;
  }

  .table_if1 th {
    font-size: 18px;
  }
  .table_if1 td {
    font-size: 18px;
  }
	.infor_table p {
		font-size: 18px;
	}
  /* FOOTER */
  .footer-game-logo img {
    width: 200px;
  }

  .company ul {
    gap: 34px;
  }

  .company li img {
    height: 46px !important;
  }
}


/* =========================================
   Mobile (300px ~ 768px)
========================================= */
@media screen and (max-width:768px) {

  /* 공통 기본 */
  html, body { overflow-x: hidden; }
  body {
    margin: 0;
    padding: 0;
    background-image: none;
  }

  /* ===========================
       햄버거 메뉴
     =========================== */
  .hamburger {
    display: block;
    position: fixed;
    top: 22px;
    right: 22px;
    z-index: 99999;
    width: 34px;
    height: 26px;
    cursor: pointer;
  }

  .hamburger span {
    display: block;
    width: 100%;
    height: 4px;
    background: #b7ff3a;
    margin-bottom: 6px;
    border-radius: 3px;
    transition: 0.3s;
  }

  /* X자 전환 */
  .hamburger.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }

  /* 모바일 전용 네비 */
  .mobile-nav {
    position: fixed;
	  display: block;
    top: 0;
    left: -260px;
    width: 260px;
    height: 100vh;
    background: rgba(15,15,20,0.98);
    padding: 80px 20px;
    z-index: 99998;
    transition: 0.3s ease;
  }

  .mobile-nav.show {
    left: 0;
  }

  .mobile-nav ul { list-style: none; padding: 0; margin: 0; }
  .mobile-nav li { margin-bottom: 20px; }

  .mobile-nav a {
    color: #b7ff3a;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    padding: 10px 0;
    display: block;
  }

  /* 오버레이 */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 99990;
    opacity: 0;
    visibility: hidden;
    transition: 0.25s;
  }
  .nav-overlay.show {
    opacity: 1;
    visibility: visible;
  }

  /* 기존 우측 네비 숨김 */
  .right-nav {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }


  /* ===========================
       HOME
     =========================== */
	#home {
  width: 100%;
		height: 100vh;
  background-image: url(https://image.directg.net/w84WAsoIkI);
		background-size: cover;
}
  .logo-box {
    display: none;
  }

  .dg img, .ps5 img {
    width: 100px;
  }
	
	.nsw12 img{
		width: 70px;
	}

  /* Twitter */
  .twitter-fixed {
    left: -23%;
    top: 4.5%;
  }
  .twitter-fixed img {
    width: 30%;
  }

  /* Topic */
  .topic-container {
    width: 100%;
    height: 48px;
    bottom: 5%;
    left: 50%;
	  border-radius: 0px;
  }
  .topic-item { 
	  font-size: 13px;
	  line-height: 48px;
	}


  /* ===========================
       INTRO
     =========================== */
  .intro-visual {
    flex-direction: column-reverse;
    text-align: center;
    gap: 20px;
  }
  .intro-hero img {
    max-width: 78vw;
  }
  .intro-text {
    width: 90%;
    margin: 0 auto;
  }
  .main-title { font-size: 28px; }
  .desc { font-size: 15px; }


  /* ===========================
       GAME SECTION 1
     =========================== */
  .game-inner {
    flex-direction: column;
    gap: 50px;
  }
  .game-block { width: 100%; }
  .game-title { font-size: 20px; }


  /* ===========================
       GAME SECTION 2
     =========================== */
  #game-section-2 {
    height: auto;
    padding: 50px 0;
    background-position: right;
  }

  .game-inner-2 {
    flex-direction: column;
    text-align: center;
  }

  .lineup-text {
    width: 90%;
    margin: 0 auto;
  }
  .lineup-title { font-size: 26px; }
  .lineup-img { width: 100%; }
	.lineup-subtitle {
		text-align: center;
	}

  /* ===========================
       CHARACTERS
     =========================== */
  .characters-wrapper {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 20px;
  }

  .character-display img {
    width: 280px;
    max-width: 90%;
  }

  /* 모바일 3열 */
  .character-list {
    width: 92%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(100px,1fr));
    gap: 14px;
  }

  .char-item {
    min-height: 160px;
    padding: 10px;
  }

  .char-item p {
    font-size: 13px;
    line-height: 1.35;
  }


  /* ===========================
       RETRO VIDEO
     =========================== */
  .retro-section {
    height: 420px;
    padding: 40px 0;
  }
  .retro-title { font-size: 28px; }
  .retro-desc {
    width: 90%;
    margin: 0 auto;
    font-size: 15px;
  }
	.media-title {
		font-size: 20px;
	}

  /* ===========================
       SCREENSHOTS
     =========================== */
  .screenshot-area {
    width: 95%;
  }

  .screenshot-thumbs img {
    width: 88px;
    height: 52px;
  }

  .arrow {
    font-size: 24px;
    padding: 6px 10px;
  }


  /* ===========================
       TRAILER
     =========================== */
  .trailer-view { width: 95%; }
	.trailer-thumbs {
		justify-content: flex-start;
	}
  .trailer-thumbs img {
    width: 88px;
    height: 52px;
  }


  /* ===========================
       PRODUCT
     =========================== */
  #product .menu_title img {
    width: 180px;
  }

  .infor_table {
    width: 98%;
    padding: 4px 10px;
  }

  .table_if1 tr {
    display: block;
    margin-bottom: 20px;
  }

  .table_if1 th,
  .table_if1 td {
    width: 100%;
    display: block;
    font-size: 15px;
    margin-bottom: 0px;
	  border-bottom: none;
  }
	.table_if1 th {
		text-align: left;
	}

  .infor_table p {
    font-size: 12px;
  }


  /* ===========================
       FOOTER
     =========================== */
  .footer-game-logo img {
    width: 160px;
  }

  .company ul {
    flex-wrap: wrap;
    gap: 22px;
  }

  .company li img {
    height: 40px !important;
  }

  .copyright {
    font-size: 11px;
    width: 90%;
  }

}
