/* 1xBet Korea SEO Site - Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap');

:root {
  --brand-blue: #003087;
  --brand-red: #e8001c;
  --brand-gold: #f5a623;
  --text-dark: #0f172a;
  --text-mid: #334155;
  --text-light: #64748b;
  --border: #e2e8f0;
  --bg-light: #f8fafc;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  line-height: 1.8;
  color: var(--text-dark);
}

/* ===== SITE HEADER ===== */
.site-header {
  background: linear-gradient(135deg, #001a4d 0%, #003087 50%, #001a4d 100%);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  gap: 16px;
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 44px;
  width: auto;
}

/* ===== HEADER ACTIONS GROUP ===== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-app-btn {
  background: transparent;
  color: #fff;
  padding: 9px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
  border: 1.5px solid rgba(255,255,255,0.5);
  transition: border-color 0.2s, background 0.2s;
}

.header-app-btn:hover {
  border-color: var(--brand-gold);
  color: var(--brand-gold);
  background: rgba(245,166,35,0.08);
}

.header-cta {
  background: var(--brand-red);
  color: #fff;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
  flex-shrink: 0;
}

.header-cta:hover {
  background: #c0001a;
  transform: translateY(-1px);
}

/* ===== MAIN NAV ===== */
.main-nav {
  background: #001a4d;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nav-inner::-webkit-scrollbar { display: none; }

.nav-item {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 13px 14px;
  white-space: nowrap;
  transition: color 0.2s, border-bottom 0.2s;
  border-bottom: 3px solid transparent;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-item:hover,
.nav-item.active {
  color: #fff;
  border-bottom-color: var(--brand-gold);
}

/* ===== PROMO CODE BANNER ===== */
.promo-banner {
  background: linear-gradient(135deg, var(--brand-red) 0%, #c0001a 100%);
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.promo-banner code {
  background: #fff;
  color: var(--brand-red);
  padding: 3px 10px;
  border-radius: 5px;
  font-family: monospace;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1px;
}

/* ===== MAIN CONTENT ===== */
main {
  min-height: 60vh;
}

/* ===== SITE FOOTER ===== */
.site-footer {
  background: #001a4d;
  color: rgba(255,255,255,0.7);
  padding: 48px 24px 24px;
  margin-top: 60px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .footer-logo {
  margin-bottom: 16px;
}

.footer-logo img {
  height: 40px;
  width: auto;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 280px;
  margin-bottom: 16px;
}

.footer-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-cta-btn,
.footer-app-btn {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.15s;
}

.footer-cta-btn {
  background: var(--brand-red);
  color: #fff;
}

.footer-app-btn {
  background: transparent;
  color: var(--brand-gold);
  border: 1.5px solid var(--brand-gold);
}

.footer-cta-btn:hover,
.footer-app-btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--brand-gold);
  display: inline-block;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--brand-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-disclaimer {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  max-width: 700px;
}

.footer-legal {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  text-align: right;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  background: var(--bg-light);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  font-size: 13px;
  color: var(--text-light);
}

.breadcrumb-inner a {
  color: var(--brand-blue);
  text-decoration: none;
}

.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-inner span { margin: 0 6px; color: #cbd5e1; }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .header-inner { padding: 10px 16px; }
  .logo-img { height: 36px; }
  .header-cta { padding: 8px 14px; font-size: 13px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-legal { text-align: left; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
