/* 한게임머니 정보센터 - 공통 스타일 */
:root {
  --max-width: 1000px;
  --color-bg: #f5f7fb;
  --color-card: #ffffff;
  --color-text: #1f2430;
  --color-text-soft: #545b6b;
  --color-primary: #2f5fd6;
  --color-primary-dark: #23458f;
  --color-accent: #f2a71b;
  --color-border: #e6e9f2;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow-card: 0 10px 30px rgba(31, 36, 48, 0.06);
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  word-break: keep-all;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header .header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 16px;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.main-nav a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--color-text-soft);
  font-size: 0.92rem;
  font-weight: 500;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: #eef2fd;
  color: var(--color-primary-dark);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px 40px;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--color-text-soft);
  padding: 16px 0 4px;
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.breadcrumb a {
  color: var(--color-text-soft);
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}

.hero {
  background: linear-gradient(135deg, #eef3ff 0%, #f8fbff 100%);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  margin: 20px 0 32px;
  box-shadow: var(--shadow-card);
}

.hero h1 {
  font-size: 1.75rem;
  margin: 0 0 14px;
  color: var(--color-text);
  line-height: 1.4;
}

.hero p {
  color: var(--color-text-soft);
  font-size: 1rem;
  max-width: 640px;
  margin: 0 0 20px;
}

.hero-image {
  border-radius: var(--radius-md);
  margin-top: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.page-hero h1 {
  font-size: 1.6rem;
  margin: 24px 0 10px;
}

.page-lead {
  color: var(--color-text-soft);
  margin-bottom: 24px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.info-card {
  background: var(--color-card);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: var(--color-text);
  display: block;
}

.info-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--color-primary-dark);
}

.info-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-soft);
}

section.content-section {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
}

section.content-section h2 {
  font-size: 1.3rem;
  margin: 0 0 14px;
  color: var(--color-text);
}

section.content-section h3 {
  font-size: 1.05rem;
  margin: 18px 0 8px;
  color: var(--color-primary-dark);
}

section.content-section p {
  margin: 0 0 12px;
  color: var(--color-text-soft);
}

section.content-section ul,
section.content-section ol {
  margin: 0 0 12px;
  padding-left: 22px;
  color: var(--color-text-soft);
}

section.content-section li {
  margin-bottom: 6px;
}

.figure-block {
  margin: 20px 0;
}
.figure-block figcaption {
  font-size: 0.85rem;
  color: var(--color-text-soft);
  margin-top: 8px;
  text-align: center;
}

.notice-box {
  background: #fff7e8;
  border: 1px solid #f2d9a4;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin: 16px 0;
  color: #7a5b12;
  font-size: 0.92rem;
}

.notice-box strong {
  color: #5c4306;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 16px 0;
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-item h3 {
  font-size: 1.02rem;
  margin: 0 0 8px;
  color: var(--color-text);
}
.faq-item p {
  margin: 0;
  color: var(--color-text-soft);
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, #2f5fd6 0%, #1f3f9e 100%);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  margin: 28px 0;
  color: #fff;
  text-align: center;
}

.cta-section h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  color: #fff;
}

.cta-section p {
  margin: 0 0 20px;
  color: #dce6ff;
  font-size: 0.95rem;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-phone,
.cta-kakao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 220px;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.cta-phone {
  background: #ffffff;
  color: var(--color-primary-dark);
}

.cta-kakao {
  background: #fee500;
  color: #3c1e1e;
}

.cta-buttons a:focus-visible,
.cta-buttons button:focus-visible {
  outline: 3px solid #ffe27a;
  outline-offset: 2px;
}

.cta-hint {
  margin-top: 14px;
  font-size: 0.8rem;
  color: #cdd9fb;
}

@media (max-width: 480px) {
  .cta-buttons {
    flex-direction: column;
  }
  .cta-phone,
  .cta-kakao {
    width: 100%;
    min-width: 0;
  }
}

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 28px 20px 40px;
  text-align: center;
  color: var(--color-text-soft);
  font-size: 0.85rem;
}

.site-footer nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 0 12px;
  padding: 0;
}

.site-footer nav a {
  color: var(--color-text-soft);
  text-decoration: none;
  font-size: 0.85rem;
}
.site-footer nav a:hover {
  text-decoration: underline;
}

/* Quick menu (mobile fixed bar) */
.quick-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  z-index: 30;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

.quick-phone,
.quick-kakao {
  flex: 1;
  border: none;
  min-height: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.3;
}

.quick-phone {
  background: var(--color-primary);
  color: #fff;
}

.quick-kakao {
  background: #fee500;
  color: #3c1e1e;
}

.quick-phone span,
.quick-kakao span {
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.9;
}

body {
  padding-bottom: 66px;
}

@media (min-width: 769px) {
  .quick-menu {
    display: none;
  }
  body {
    padding-bottom: 0;
  }
}

@media (max-width: 640px) {
  .site-header .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .main-nav ul {
    gap: 2px;
  }
  .hero {
    padding: 28px 20px;
  }
  section.content-section {
    padding: 22px 18px;
  }
}
