@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400;600;800&family=Share+Tech+Mono&display=swap');

:root {
    --bg: #060d1a;
    --bg-card: #0c1628;
    --accent: #00d4ff;
    --accent2: #7c3aed;
    --accent-glow: rgba(0, 212, 255, 0.25);
    --copper: #b87333;
    --copper-light: #e0a060;
    --text: #dde6f0;
    --text-dim: #7a90b0;
    --glass: rgba(0, 212, 255, 0.04);
    --glass-border: rgba(0, 212, 255, 0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Exo 2', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ── ANIMATED GRID BACKGROUND ── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,212,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,212,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 50% 0%, rgba(0,212,255,0.1) 0%, transparent 60%),
        radial-gradient(ellipse 40% 30% at 80% 80%, rgba(124,58,237,0.08) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 10% 60%, rgba(184,115,51,0.05) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}

/* ── LANG BAR ── */
.lang-bar {
    position: fixed;
    top: 1.2rem; right: 1.5rem;
    z-index: 100;
    display: flex; gap: 0.4rem;
}

.lang-btn {
    display: flex; align-items: center; gap: 0.35rem;
    padding: 0.38rem 0.75rem;
    background: rgba(6, 13, 26, 0.92);
    border: 1px solid var(--glass-border);
    color: var(--text-dim);
    font-family: 'Exo 2', sans-serif;
    font-size: 0.68rem; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase;
    cursor: pointer; border-radius: 6px;
    transition: all 0.25s ease;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.lang-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 10px rgba(0,212,255,0.15);
}

.lang-btn.active {
    background: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(124,58,237,0.1));
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 16px rgba(0,212,255,0.25);
}

.lang-flag { font-size: 0.95rem; }

/* ── LAYOUT ── */
.page-wrapper {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

/* ── HEADER ── */
.site-header {
    text-align: center;
    padding: 56px 0 48px;
    animation: fadeDown 0.7s ease both;
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.logo-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 28px;
}

.logo-wrap::before {
    content: '';
    position: absolute;
    inset: -16px;
    border-radius: 28px;
    background: radial-gradient(ellipse, rgba(0,212,255,0.2) 0%, transparent 70%);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50%       { opacity: 1;   transform: scale(1.06); }
}

.logo-wrap img {
    width: 170px;
    height: 170px;
    object-fit: cover;
    border-radius: 22px;
    border: 1px solid rgba(0,212,255,0.25);
    box-shadow: 0 0 40px rgba(0,212,255,0.25), 0 0 80px rgba(0,212,255,0.1);
    position: relative;
    z-index: 1;
    animation: float 7s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

.site-header h1 {
    font-family: 'Exo 2', sans-serif;
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, #fff 0%, var(--accent) 50%, var(--copper-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.site-header .tagline {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.78rem;
    color: var(--accent);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 20px;
}

.badge-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    padding: 6px 18px;
    font-size: 0.78rem;
    color: var(--text-dim);
    font-family: 'Share Tech Mono', monospace;
    letter-spacing: 0.05em;
}

.badge-date svg { color: var(--accent); }

/* ── DIVIDER ── */
.divider {
    display: flex; align-items: center; gap: 12px;
    margin: 0 0 40px;
}

.divider-line {
    flex: 1; height: 1px;
    background: linear-gradient(to right, transparent, var(--glass-border), transparent);
}

.divider-center {
    display: flex; align-items: center; gap: 8px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.6rem;
    color: var(--accent);
    letter-spacing: 0.2em;
    opacity: 0.6;
    white-space: nowrap;
}

/* ── TOC ── */
.toc {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 22px 26px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
    animation: fadeUp 0.6s ease both 0.1s;
}

.toc::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--accent2), transparent);
}

.toc h3 {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
    display: flex; align-items: center; gap: 8px;
}

.toc ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 6px;
}

.toc ul li a {
    display: flex; align-items: center; gap: 8px;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.84rem;
    padding: 5px 0;
    transition: color 0.2s;
}

.toc ul li a:hover { color: var(--accent); }

.toc-num {
    font-family: 'Share Tech Mono', monospace;
    color: var(--accent);
    font-size: 0.7rem;
    min-width: 22px;
    opacity: 0.8;
}

/* ── SECTIONS (accordion) ── */
.policy-section {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    position: relative;
    transition: border-color 0.3s, box-shadow 0.3s;
    animation: fadeUp 0.55s ease both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

.policy-section:hover {
    border-color: rgba(0,212,255,0.3);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,212,255,0.08);
}

.policy-section:nth-child(1) { animation-delay: 0.05s; }
.policy-section:nth-child(2) { animation-delay: 0.1s; }
.policy-section:nth-child(3) { animation-delay: 0.15s; }
.policy-section:nth-child(4) { animation-delay: 0.2s; }
.policy-section:nth-child(5) { animation-delay: 0.25s; }

/* left accent bar */
.policy-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 100%;
    background: linear-gradient(180deg, var(--accent), var(--accent2), transparent);
    pointer-events: none;
}

/* Section header — clickable */
.section-header {
    display: flex; align-items: center; gap: 14px;
    padding: 18px 24px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
}

.section-header:hover { background: rgba(0,212,255,0.03); }

.section-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    background: rgba(0,212,255,0.07);
    border: 1px solid rgba(0,212,255,0.18);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 1.15rem;
}

.section-meta { flex: 1; }

.section-num {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.68rem;
    color: var(--accent);
    letter-spacing: 0.18em;
    opacity: 0.7;
    margin-bottom: 3px;
}

.section-title-text {
    font-family: 'Exo 2', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.02em;
}

.section-chevron {
    color: var(--accent);
    font-size: 0.62rem;
    flex-shrink: 0;
    opacity: 0.55;
    transition: transform 0.35s ease, opacity 0.2s;
}

.policy-section.open .section-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

/* Accordion body */
.section-body {
    padding: 0 24px 22px;
    overflow: hidden;
    max-height: 900px;
    transition: max-height 0.45s ease, padding 0.35s ease, opacity 0.3s ease;
    opacity: 1;
    border-top: 1px solid rgba(0,212,255,0.06);
}

.section-body.collapsed {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    border-top-color: transparent;
}

.section-body-inner { padding-top: 18px; }

.section-body p {
    color: var(--text-dim);
    font-weight: 300;
    line-height: 1.85;
    font-size: 0.92rem;
    margin-bottom: 12px;
}

.section-body p:last-child { margin-bottom: 0; }

.section-body ul {
    list-style: none;
    margin-bottom: 14px;
}

.section-body li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.7;
}

.section-body li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 600;
}

.section-body a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(0,212,255,0.3);
    transition: color 0.2s, border-color 0.2s;
}

.section-body a:hover {
    color: #fff;
    border-color: #fff;
}

/* Info boxes */
.info-box {
    border-radius: 10px;
    padding: 14px 18px;
    margin: 14px 0;
    display: flex; gap: 12px; align-items: flex-start;
    font-size: 0.86rem;
}

.info-box.safe {
    background: rgba(0,212,255,0.06);
    border: 1px solid rgba(0,212,255,0.2);
}

.info-box.notice {
    background: rgba(124,58,237,0.06);
    border: 1px solid rgba(124,58,237,0.2);
}

.info-box.warn {
    background: rgba(184,115,51,0.08);
    border: 1px solid rgba(184,115,51,0.25);
}

.info-box-icon { flex-shrink: 0; font-size: 1rem; margin-top: 1px; }
.info-box p { margin: 0 !important; color: var(--text-dim); }

/* Contact card */
.contact-card {
    display: flex; align-items: center; gap: 16px;
    background: rgba(0,212,255,0.05);
    border: 1px solid rgba(0,212,255,0.2);
    border-radius: 12px;
    padding: 18px 22px;
    margin-top: 16px;
    transition: background 0.3s;
}

.contact-card:hover { background: rgba(0,212,255,0.09); }
.contact-card .contact-icon { font-size: 1.8rem; }

.contact-card .contact-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.68rem;
    color: var(--text-dim);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.contact-card a {
    color: var(--accent);
    font-size: 0.95rem;
    font-weight: 600;
    border: none !important;
    text-decoration: none;
}

.contact-card a:hover { color: #fff; }

/* ── FOOTER ── */
footer {
    margin-top: 56px;
    text-align: center;
    padding: 28px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--accent2), transparent);
}

.footer-logo {
    font-family: 'Exo 2', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--accent), var(--copper-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
}

.footer-tagline {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.72rem;
    color: var(--text-dim);
    letter-spacing: 0.2em;
    margin-bottom: 10px;
}

footer p {
    color: var(--text-dim);
    font-size: 0.8rem;
}

footer a { color: var(--accent); text-decoration: none; }
footer a:hover { color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(0,212,255,0.25); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
    .lang-bar {
        top: auto; bottom: 1.2rem; right: 50%; transform: translateX(50%);
        background: rgba(6,13,26,0.96); padding: 0.4rem;
        border-radius: 10px; border: 1px solid var(--glass-border);
    }
    .page-wrapper { padding: 20px 16px 90px; }
    .logo-wrap img { width: 130px; height: 130px; }
    .section-header { padding: 14px 18px; }
    .section-body { padding: 0 18px 18px; }
    .toc ul { grid-template-columns: 1fr; }
    .contact-card { flex-direction: column; gap: 10px; }
}
