/* styles.css */

/* ===== Base ===== */
:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #555555;
  --line: #3a3a3a;
  --soft-line: #e6e6e6;
  --card: #fafafa;
  --btn: #111111;
  --btnText: #ffffff;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }

.container {
  width: min(1024px, 92vw);
  margin: 0 auto;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;

  /* Header background image (if your file is .jpg, change .png below) */
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.88)),
    url("images/HFImg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border-bottom: 4px solid var(--line);
}


.header-inner {
  height: 86px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  width: min(1100px, 94vw);
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
}

.brand-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.brand-name {
  font-weight: 650;
  letter-spacing: 0.2px;
  font-size: 30px;
}

/* Center nav */
.nav {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.nav-link {
  font-size: 15px;
  color: var(--muted);
  padding: 7px 9px;
  border-radius: 10px;
}

.nav-link:hover {
  color: var(--text);
  background: #f3f3f3;
}

.nav-link.active {
  color: var(--text);
  background: #e9e9e9;
  font-weight: 700;
}

/* Right actions */
.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

/* Social buttons (icon + label) */
.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform 120ms ease, background 120ms ease;
}

.social-btn:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.55);
}


.social-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.lang-switch.is-disabled {
  opacity: 0.65;
  pointer-events: none;
  user-select: none;
}

.lang-note {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  padding-right: 6px;
}

.lang-btn {
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--soft-line);
  background: #ffffff;
  font-weight: 800;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
}

.lang-btn.is-active {
  border-color: var(--line);
  color: var(--text);
}

/* ===== Main sections ===== */
.main { padding-top: 12px; }

.section {
  padding: 72px 0;
  border-bottom: 1px solid var(--soft-line);
}

.section-title {
  font-size: 28px;
  margin: 0 0 10px;
  letter-spacing: -0.2px;
}

.section-desc {
  margin: 0 0 26px;
  color: var(--muted);
  max-width: 70ch;
}

/* ===== Hero ===== */
.hero {
  padding: 112px 0 92px;
}


.hero-logo {
  width: 180px;
  height: auto;
  margin: 0 0 22px;
  opacity: 0.97;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.hero-title {
  margin: 0 0 12px;
  font-size: clamp(34px, 4.2vw, 52px);
  letter-spacing: -1px;
  line-height: 1.1;
}

.hero-subtitle {
  margin: 0 0 22px;
  font-size: 16px;
  color: var(--muted);
  max-width: 72ch;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

/* Hero layout (extended) */
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
  align-items: start;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--soft-line);
  background: rgba(255,255,255,0.70);
  backdrop-filter: blur(8px);
  color: var(--muted);
  font-weight: 800;
  font-size: 12px;
}

.hero-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  max-width: 72ch;
}

.hero-card {
  border: 1px solid var(--soft-line);
  border-radius: calc(var(--radius) + 2px);
  padding: 18px;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(10px);
}

.hero-card-title {
  margin: 0 0 12px;
  font-size: 16px;
  letter-spacing: -0.2px;
}

.hero-list {
  margin: 0 0 16px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}

.hero-list li { margin: 8px 0; }

.hero-metric {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 14px;
}

.metric {
  border: 1px solid var(--soft-line);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.80);
}

.metric-label {
  font-size: 12px;
  font-weight: 900;
  color: var(--muted);
  margin-bottom: 4px;
}

.metric-value {
  font-size: 14px;
  font-weight: 900;
  color: var(--text);
}

.btn-full { width: 100%; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 12px;
  border: 1px solid var(--soft-line);
  font-weight: 700;
  font-size: 14px;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease, opacity 120ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.btn.primary {
  background: var(--btn);
  color: var(--btnText);
  border-color: var(--btn);
}

.btn.primary:hover { opacity: 0.94; }

.btn.ghost {
  background: #ffffff;
}

.btn.ghost:hover { background: #f3f3f3; }

.btn-small {
  padding: 9px 12px;
  border-radius: 11px;
  font-size: 13px;
}

/* ===== Cards ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card {
  background: var(--card);
  border: 1px solid var(--soft-line);
  border-radius: var(--radius);
  padding: 16px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}

.list li { margin: 6px 0; }

/* ===== Games ===== */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.game {
  border: 1px solid var(--soft-line);
  border-radius: var(--radius);
  padding: 18px;
  background: #ffffff;
}

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--soft-line);
  background: #f4f4f4;
  margin-bottom: 12px;
}

.badge.subtle { background: #fbfbfb; }

.game-thumb {
  height: 160px;
  border-radius: 12px;
  border: 1px solid var(--soft-line);
  background: linear-gradient(180deg, #f3f3f3, #e9e9e9);
  margin-bottom: 14px;
}

.game h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.game p {
  margin: 0 0 14px;
  color: var(--muted);
}

.meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 14px;
}

.game-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ===== News ===== */
.timeline {
  display: grid;
  gap: 12px;
}

.post {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--soft-line);
  border-radius: var(--radius);
  background: #ffffff;
}

.post-date {
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}

.post-body h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.post-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* ===== Contact ===== */
.contact-box {
  border: 1px solid var(--soft-line);
  border-radius: var(--radius);
  padding: 18px;
  background: #ffffff;
  display: inline-block;
}

.email {
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.2px;
}

.email:hover { text-decoration: underline; }

.tiny {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

/* ===== Footer ===== */
.site-footer {
  border-top: 4px solid var(--line);
  padding: 18px 0;

  /* Footer background image (if your file is .jpg, change .png below) */
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.90), rgba(255, 255, 255, 0.90)),
    url("images/HFImg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.footer-inner {
  width: min(1100px, 94vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.footer-left {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.footer-copy { font-size: 14px; color: var(--muted); }

.footer-sub {
  font-size: 13px;
  color: var(--muted);
}

.footer-location { font-size: 13px; color: var(--muted); }

.top-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 2px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: var(--text);
  font-weight: 900;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.top-btn:hover {
  background: #f3f3f3;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    height: auto;
    padding: 10px 0;
  }

  .brand { min-width: unset; }

  .nav {
    grid-column: 1 / -1;
    justify-content: center;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
  }

  .cards { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .post { grid-template-columns: 1fr; }

.header-actions { flex-wrap: wrap; }

.hero-grid { grid-template-columns: 1fr; }

}
