body {
  margin: 0;
  font-family: 'Malgun Gothic', sans-serif;
  background-color: #111;
  color: #fff;
}
header {
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 50px;
  border-bottom: 2px solid #444;
}
header img { height: 50px; }
nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 20px;
  font-weight: bold;
}
nav a.active { color: #f1c40f; }
nav a:hover { color: #ffb400; }
.download-btn {
  background: linear-gradient(90deg, #a34b00, #e26b00);
  border: none;
  padding: 12px 25px;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
}
.banner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: url('banner-bg.jpg') no-repeat center/cover;
  padding: 100px 0;
  text-align: center;
}
.banner h1 {
  font-size: 3em;
  color: #ffcb63;
  text-shadow: 0 0 10px #000;
}
.section {
  background: #1b1b1b;
  padding: 50px;
  text-align: center;
  border-top: 1px solid #333;
}
.section h2 { color: #ffb400; font-size: 2em; }
.section p, label { color: #ccc; font-size: 1.1em; }
form {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 500px;
  margin: 0 auto;
}
input, textarea {
  width: 100%;
  margin: 10px 0;
  padding: 10px;
  border: none;
  border-radius: 5px;
  background-color: #222;
  color: #fff;
}
button[type="submit"] {
  background: linear-gradient(90deg, #a34b00, #e26b00);
  border: none;
  padding: 12px 25px;
  color: #fff;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}
button[type="submit"]:hover { background: #ffb400; color: #000; }
.content-wrapper {
  display: flex;
  background-color: #1a1a1a;
  min-height: 400px;
}
.sidebar {
  width: 200px;
  background-color: #111;
  border-right: 1px solid #333;
}
.sidebar ul { list-style: none; padding: 0; margin: 0; }
.sidebar li {
  padding: 15px;
  border-bottom: 1px solid #333;
  cursor: pointer;
  text-align: center;
}
.sidebar li.active { background-color: #a34b00; color: #fff; font-weight: bold; }
.sidebar li:hover { background-color: #ffb400; color: #000; }
.content {
  flex: 1;
  padding: 30px;
  background-color: #1c1c1c;
}
.content h2 { color: #ffb400; }
.content p { color: #ccc; font-size: 1em; line-height: 1.6; }
.telegram-box {
  background-color: #111;
  padding: 30px;
  border-top: 1px solid #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.telegram-box button {
  background-color: #00aef1;
  color: white;
  border: none;
  padding: 15px 30px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}
.telegram-box button:hover { background-color: #008ac4; }
footer {
  background-color: #000;
  text-align: center;
  padding: 15px;
  color: #888;
  border-top: 1px solid #333;
  font-size: 0.9em;
}

/* --- 규칙 박스 --- */
.rules-box {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 40px 60px;
  text-align: left;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  margin-top: 30px;
  user-select: none;
}

.rules-box h3 {
  color: #ffb400;
  margin-top: 25px;
  margin-bottom: 10px;
  border-bottom: 1px solid #333;
  padding-bottom: 5px;
}

.rules-box ul {
  margin: 10px 0 20px 0;
  padding-left: 0;
  list-style-type: none;
}

.rules-box li {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 8px;
}

/* --- 전체 복사 방지 --- */
.no-select {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* --- 타이틀 반짝임 --- */
.title-glow {
  font-size: 1.8em;
  font-weight: 900;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #ffcc33, #ff8800, #ffcc33);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 0 10px rgba(255, 200, 0, 0.8),
    0 0 30px rgba(255, 160, 0, 0.6),
    0 0 60px rgba(255, 120, 0, 0.4);
  animation: glowPulse 2.5s infinite alternate;
  transition: transform 0.3s ease;
}

.title-glow:hover {
  transform: scale(1.05);
  text-shadow:
    0 0 20px rgba(255, 220, 100, 0.9),
    0 0 40px rgba(255, 170, 0, 0.8),
    0 0 80px rgba(255, 120, 0, 0.6);
}

@keyframes glowPulse {
  0% {
    text-shadow:
      0 0 10px rgba(255, 200, 0, 0.6),
      0 0 20px rgba(255, 160, 0, 0.4);
  }
  100% {
    text-shadow:
      0 0 25px rgba(255, 220, 100, 0.9),
      0 0 60px rgba(255, 150, 0, 0.8);
  }
}
