/* --- 기본 설정 및 폰트 --- */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  font-family: 'Noto Sans KR', sans-serif;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: #ffffff;
  background-color: #000000;
}

/* --- 상단 공지 배너 --- */
.notice-banner {
  background-color: #ff6600;
  color: white;
  text-align: center;
  padding: 10px 0;
  font-weight: bold;
  font-size: 16px;
}

/* --- 상단 메뉴바 --- */
.menu-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #010101;
  padding: 12px 20px;
  position: relative;
  z-index: 10;
}
.logo {
  color: white;
  font-size: 22px;
  font-weight: bold;
}
.menu {
  list-style: none;
  display: flex;
  gap: 15px;
  margin: 0;
  padding: 0;
}
.menu li {
  display: inline;
}
.menu button {
  background: none;
  border: none;
  color: white;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.3s;
  padding: 10px 15px;
}
.menu button:hover, .menu button.active {
  color: #ff6600;
}
.action-button {
  background-color: #ff6600;
  color: white;
  border: none;
  border-radius: 20px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.action-button:hover {
  background-color: #333;
  color: white;
}

/* --- 메인 컨텐츠 및 게임 화면 --- */
#main-content {
    flex-grow: 1;
    display: flex;
}
#game-frame {
    width: 100%;
    height: 100%;
    border: none;
}

/* --- 각 탭 페이지 컨텐츠 --- */
.page-content {
    padding: 2rem;
    overflow-y: auto;
    box-sizing: border-box;
}
.content-card {
  max-width: 800px;
  margin: 0 auto;
  /* ✨ 배경색, 테두리 등 박스 스타일을 모두 제거합니다. */
  background-color: transparent;
  border: none;
  /* ✨ 내부 여백(padding)은 유지하여 텍스트가 화면 가장자리에 붙지 않도록 합니다. */
  padding: 2rem;
  overflow-wrap: break-word;
}
.content-card h2 {
    margin-top: 0;
    color: #ff6600;
    border-bottom: 1px solid #444;
    padding-bottom: 0.5rem;
}
.content-card h3 {
    color: #eee;
    margin-top: 2rem;
}
.content-card p, .content-card li {
    line-height: 1.8;
    color: #ccc;
}
.content-card ul, .content-card ol {
    padding-left: 20px;
}
.main-cta {
    background-color: #222;
    padding: 1.5rem;
    margin-top: 2rem;
    border-radius: 6px;
    text-align: center;
}
.discord-button {
    background-color: #5865F2;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 1rem;
}
.discord-button:hover {
    background-color: #4752c4;
}
.email-link {
    color: #ff6600;
    font-weight: bold;
    font-family: monospace;
}

/* --- 반응형 스타일 (모바일 화면 대응) --- */
@media (max-width: 768px) {
  .menu-bar {
    padding: 10px 15px;
  }
  .logo {
    font-size: 20px;
  }
  .menu {
    gap: 5px;
  }
  .menu button {
    font-size: 13px;
    padding: 8px 10px;
  }
  .action-button {
    font-size: 13px;
    padding: 8px 15px;
  }
}

@media (max-width: 480px) {
  .menu-bar {
    flex-wrap: wrap;
    justify-content: center;
  }
  .logo {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }
  .action-button {
    display: none;
  }
}