/* ================================
   로또정보 공통 레이아웃
================================ */
.lotto-info-page {
  width: 100%;
  padding-bottom: 60px;
}

/* ================================
   로또정보 하위 메뉴
================================ */
.lotto-info-subnav-wrap {
  width: min(1100px, calc(100% - 32px));
  margin: 34px auto 0;
  padding: 30px 24px;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 207, 51, 0.13), rgba(255, 255, 255, 0.045));
  border: 1px solid rgba(255, 207, 51, 0.22);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.24);
  text-align: center;
}

.lotto-info-subnav-wrap h1 {
  color: #ffffff;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1.4px;
}

.lotto-info-subnav-desc {
  max-width: 720px;
  margin: 12px auto 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.75;
  word-break: keep-all;
}

.lotto-info-subnav {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.lotto-info-subnav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none;
}

.lotto-info-subnav a:hover,
.lotto-info-subnav a.active {
  background: #ffcf33;
  border-color: #ffcf33;
  color: #111111;
}

/* ================================
   로또정보 본문
================================ */
.lotto-info-content {
  width: min(980px, calc(100% - 32px));
  margin: 24px auto 0;
  padding: 32px 28px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.20);
}

.lotto-info-content h2 {
  color: #ffffff;
  font-size: 28px;
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: -0.8px;
}

.lotto-info-content h3 {
  margin-top: 28px;
  color: #ffcf33;
  font-size: 21px;
  line-height: 1.4;
  font-weight: 900;
}

.lotto-info-content p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.85;
  word-break: keep-all;
}

.lotto-info-content ul,
.lotto-info-content ol {
  margin-top: 14px;
  padding-left: 20px;
}

.lotto-info-content li {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.75;
  word-break: keep-all;
}

.lotto-info-content strong {
  color: #ffffff;
  font-weight: 900;
}

/* ================================
   정보 카드형 목록
================================ */
.lotto-info-card-grid {
  width: min(1100px, calc(100% - 32px));
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.lotto-info-card {
  min-height: 210px;
  padding: 24px 22px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.20);
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.lotto-info-card:hover {
  border-color: rgba(255, 207, 51, 0.34);
  transform: translateY(-2px);
}

.lotto-info-card span {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(255, 207, 51, 0.13);
  border: 1px solid rgba(255, 207, 51, 0.22);
  color: #ffcf33;
  font-size: 12px;
  font-weight: 900;
}

.lotto-info-card h2 {
  margin-top: 15px;
  color: #ffffff;
  font-size: 21px;
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.lotto-info-card p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  line-height: 1.7;
  word-break: keep-all;
}

.lotto-info-card em {
  margin-top: auto;
  padding-top: 18px;
  color: #ffcf33;
  font-size: 14px;
  font-style: normal;
  font-weight: 900;
}

/* ================================
   안내 박스
================================ */
.lotto-info-warning {
  margin-top: 28px;
  padding: 20px 22px;
  border-radius: 18px;
  background: rgba(255, 207, 51, 0.08);
  border: 1px solid rgba(255, 207, 51, 0.18);
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  line-height: 1.75;
  word-break: keep-all;
}

/* ================================
   모바일
================================ */
@media (max-width: 900px) {
  .lotto-info-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .lotto-info-subnav-wrap {
    margin-top: 28px;
    padding: 26px 18px;
    border-radius: 22px;
  }

  .lotto-info-subnav-wrap h1 {
    font-size: 34px;
  }

  .lotto-info-subnav-desc {
    font-size: 14px;
  }

  .lotto-info-subnav {
    gap: 8px;
  }

  .lotto-info-subnav a {
    min-height: 36px;
    padding: 0 12px;
    font-size: 13px;
  }

  .lotto-info-content {
    padding: 26px 20px;
    border-radius: 20px;
  }

  .lotto-info-content h2 {
    font-size: 24px;
  }

  .lotto-info-content h3 {
    font-size: 19px;
  }

  .lotto-info-content p,
  .lotto-info-content li {
    font-size: 14px;
  }

  .lotto-info-card-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .lotto-info-card {
    min-height: auto;
    padding: 22px 20px;
    border-radius: 20px;
  }

  .lotto-info-card h2 {
    font-size: 20px;
  }
}

/* ================================
   로또정보 광고 영역
================================ */
.lotto-info-ad-wrap {
  width: min(980px, calc(100% - 32px));
  margin: 24px auto;
  min-height: 90px;
  border-radius: 18px;
  overflow: hidden;
}

/* PC 광고 기본 노출 */
.lotto-info-ad-pc {
  display: block;
}

/* 모바일 광고 기본 숨김 */
.lotto-info-ad-mobile {
  display: none;
}

/* 모바일 */
@media (max-width: 600px) {
  .lotto-info-ad-wrap {
    width: min(100% - 24px, 420px);
    margin: 18px auto;
    min-height: 100px;
    border-radius: 14px;
  }

  .lotto-info-ad-pc {
    display: none;
  }

  .lotto-info-ad-mobile {
    display: block;
  }
}

/* ================================
   로또정보 준비중 페이지
================================ */
.lotto-info-coming {
  width: min(980px, calc(100% - 32px));
  margin: 24px auto 0;
  padding: 44px 28px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.20);
  text-align: center;
}

.lotto-info-coming .coming-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(255, 207, 51, 0.13);
  border: 1px solid rgba(255, 207, 51, 0.22);
  color: #ffcf33;
  font-size: 13px;
  font-weight: 900;
}

.lotto-info-coming h2 {
  margin-top: 18px;
  color: #ffffff;
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -1px;
}

.lotto-info-coming p {
  max-width: 680px;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.70);
  font-size: 16px;
  line-height: 1.8;
  word-break: keep-all;
}

.lotto-info-coming .back-link {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: #ffcf33;
  color: #111111;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 600px) {
  .lotto-info-coming {
    padding: 36px 20px;
    border-radius: 20px;
  }

  .lotto-info-coming p {
    font-size: 14px;
  }
}