/* Theme stylesheet for 1xbet-korea.co.kr - copy of the home page inline <style> block.
   Shared by the home page and the internal guide pages so they render natively. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --bg: #f4f4f8;
    --paper: #ffffff;
    --ink: #0f172a;
    --muted: #475569;
    --line: #e2e8f0;
    --navy: #1e3a5f;
    --navy-dark: #0f2744;
    --rose: #e11d48;
    --rose-soft: #fff1f2;
    --font: 'Noto Sans KR', system-ui, sans-serif;
    --content: 680px;
    --rail: 240px;
}
html { scroll-behavior: smooth; }
body#kr-body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--ink);
    font-size: 1.05rem;
    line-height: 1.78;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--navy); }

#kr-bar {
    background: var(--navy-dark);
    color: #cbd5e1;
    padding: 0.55rem 1.25rem;
    font-size: 0.8rem;
    text-align: center;
}
#kr-bar a { color: #fda4af; font-weight: 600; text-decoration: none; }

#kr-header {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.9rem 1.25rem;
}
#kr-header-inner {
    max-width: calc(var(--content) + var(--rail) + 4rem);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
#kr-brand {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: var(--ink);
}
#kr-brand img { height: 30px; }
#kr-brand span { font-weight: 700; font-size: 0.86rem; }
#kr-header-btn {
    padding: 0.5rem 1rem;
    background: var(--rose);
    color: #fff;
    font-weight: 600;
    font-size: 0.84rem;
    border-radius: 8px;
    text-decoration: none;
}

#kr-hero {
    background: var(--navy);
    color: #fff;
    padding: 2.5rem 1.25rem;
}
#kr-hero-inner {
    max-width: calc(var(--content) + var(--rail) + 4rem);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: end;
}
#kr-tag {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fda4af;
    margin-bottom: 0.6rem;
}
#kr-h1 {
    font-size: clamp(1.5rem, 3.8vw, 2rem);
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.75rem;
}
#kr-lead { color: #94a3b8; font-size: 1rem; max-width: 48ch; }
#kr-hero-badge {
    background: var(--rose);
    border-radius: 12px;
    padding: 1.15rem 1.35rem;
    text-align: center;
    min-width: 200px;
}
#kr-hero-badge strong { display: block; font-size: 1.3rem; margin-bottom: 0.2rem; }
#kr-hero-badge span { font-size: 0.82rem; opacity: 0.9; }

#kr-chips-wrap {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1.25rem;
    overflow-x: auto;
}
#kr-chips {
    max-width: calc(var(--content) + var(--rail) + 4rem);
    margin: 0 auto;
    display: flex;
    gap: 0.5rem;
    flex-wrap: nowrap;
}
#kr-chips a {
    flex-shrink: 0;
    padding: 0.4rem 0.85rem;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.82rem;
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
}
#kr-chips a:hover { border-color: var(--rose); color: var(--rose); }

#kr-layout {
    max-width: calc(var(--content) + var(--rail) + 4rem);
    margin: 0 auto;
    padding: 2rem 1.25rem 3rem;
    display: grid;
    grid-template-columns: 1fr var(--rail);
    gap: 2rem;
    align-items: start;
}

.kr-block {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1.5rem 1.6rem;
    margin-bottom: 1.15rem;
}
.kr-block h2 {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.8rem;
    line-height: 1.4;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--rose-soft);
}
.kr-block p { color: #334155; margin-bottom: 0.85rem; font-size: 0.98rem; }
.kr-block p:last-child { margin-bottom: 0; }
.kr-block strong { color: var(--ink); font-weight: 600; }

.kr-img {
    margin-top: 1.1rem;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--line);
}
.kr-img a { display: block; line-height: 0; }
.kr-img img { width: 100%; height: auto; display: block; }

#kr-rail { position: sticky; top: 1rem; }
#kr-rail-card {
    background: var(--navy);
    color: #fff;
    border-radius: 14px;
    padding: 1.35rem;
    margin-bottom: 1rem;
    text-align: center;
}
#kr-rail-card img {
    height: 40px;
    margin-bottom: 0.75rem;
    background: #fff;
    padding: 0.55rem 0.85rem;
    border-radius: 8px;
}
#kr-rail-card p { font-size: 0.85rem; color: #cbd5e1; margin-bottom: 0.75rem; }
#kr-rail-card strong { display: block; font-size: 1.2rem; color: #fff; margin-bottom: 1rem; }
#kr-rail-btn {
    display: block;
    padding: 0.75rem;
    background: var(--rose);
    color: #fff;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
}
#kr-rail-nav {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1rem;
}
#kr-rail-nav h3 {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    margin-bottom: 0.6rem;
}
#kr-rail-nav a {
    display: block;
    padding: 0.35rem 0;
    font-size: 0.84rem;
    color: var(--muted);
    text-decoration: none;
    border-bottom: 1px solid var(--line);
}
#kr-rail-nav a:last-child { border-bottom: none; }
#kr-rail-nav a:hover { color: var(--rose); }

#kr-faq { margin-bottom: 1rem; }
#kr-faq > h2 {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
    color: var(--ink);
}
.kr-faq-item {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 1rem 1.15rem;
    margin-bottom: 0.55rem;
}
.kr-faq-item h3 { font-size: 0.93rem; font-weight: 700; margin-bottom: 0.35rem; line-height: 1.45; }
.kr-faq-item p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; margin: 0; }

#kr-author {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding-top: 0.5rem;
}
#kr-author img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--line);
}
#kr-author-name { font-weight: 700; font-size: 0.9rem; margin-bottom: 0.3rem; }
#kr-author-bio { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }

#kr-foot {
    background: var(--navy-dark);
    color: #94a3b8;
    padding: 2rem 1.25rem;
    text-align: center;
}
#kr-foot-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}
#kr-foot-logos img { height: 28px; opacity: 0.75; }
#kr-foot-copy { font-size: 0.78rem; color: #cbd5e1; margin-bottom: 0.5rem; }
#kr-foot-legal {
    font-size: 0.72rem;
    color: #64748b;
    max-width: 54ch;
    margin: 0 auto;
    line-height: 1.55;
}

#kr-stick {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.7rem 1rem;
    background: var(--navy-dark);
    z-index: 80;
}
#kr-stick a {
    display: block;
    text-align: center;
    padding: 0.8rem;
    background: var(--rose);
    color: #fff;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
}

@media (max-width: 860px) {
    #kr-hero-inner { grid-template-columns: 1fr; }
    #kr-hero-badge { max-width: 260px; }
    #kr-layout { grid-template-columns: 1fr; }
    #kr-rail { position: static; }
    #kr-stick { display: block; }
    body#kr-body { padding-bottom: 4rem; }
}
