:root {
    --primary: #a855f7;
    --primary-dark: #7c31b6;
    --bg-dark: #11111a;
    --bg-card: #16161c;
    --text-main: #fff;
    --text-muted: #c7c7e0;
    --font-main: 'Inter', sans-serif;
    --font-mono: 'Roboto Mono', monospace;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    background: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
}

/* Header */
.site-header {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 0 10px 0;
    margin-bottom: 30px;
}

.logo {
    font-weight: 700;
    font-size: 2rem;
    color: #fff;
    letter-spacing: 0.5px;
}
.logo span {
    color: var(--primary);
}

.asn-container {
    max-width: 900px;
    width: 95%;
    margin: 0 auto 100px;
    padding: 0 20px;
}

h1, h2 {
    margin: 0 0 16px 0;
}
h1 {
    font-size: 2.4rem;
    font-weight: 800;
}
h2.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 42px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
}
.accent {
    color: var(--primary);
}

.asn-meta {
    color: var(--primary);
    font-size: 0.95rem;
    font-family: var(--font-mono);
    margin-top: 0.5em;
    display: inline-block;
}

.about-asn {
    background: var(--bg-card);
    border-radius: 18px;
    padding: 36px 26px 30px 26px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.13);
    margin-bottom: 32px;
    border: 1px solid #222;
}

/* Peering Table */
.peers-table-wrapper {
    background: var(--bg-card);
    border-radius: 14px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.18);
    overflow-x: auto;
    margin-bottom: 20px;
    border: 1px solid #222;
}
.peers-table {
    width: 100%;
    border-collapse: collapse;
}
.peers-table th, .peers-table td {
    padding: 15px 10px;
    text-align: left;
}
.peers-table th {
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
    border-bottom: 2px solid #222;
    background: rgba(168, 85, 247, 0.08);
}
.peers-table tr:not(:last-child) td {
    border-bottom: 1px solid #222;
}
.peers-table td {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.99rem;
}
.peers-table a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.98rem;
}
.peers-table a:hover {
    text-decoration: underline;
}

/* Peering CTA */
.peering-cta {
    margin: 18px 0 0 0;
    background: rgba(168, 85, 247, 0.05);
    border-radius: 8px;
    padding: 18px 16px;
    text-align: center;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
    border-radius: 6px;
    padding: 10px 22px;
    font-weight: 600;
    border: none;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    transition: background 0.18s;
}
.btn-primary i {
    margin-right: 7px;
}
.btn-primary:hover {
    background: var(--primary-dark);
    text-decoration: none;
}

/* ASN Info List */
.network-section {
    background: var(--bg-card);
    border-radius: 14px;
    padding: 28px 22px 22px 22px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.13);
    border: 1px solid #222;
    margin-top: 40px;
}
.asn-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.asn-info-list li {
    margin-bottom: 11px;
    color: var(--text-muted);
    font-size: 1.04rem;
}
.asn-info-list code {
    color: var(--primary);
    font-family: var(--font-mono);
    font-size: 1.01rem;
}

/* Footer */
.site-footer {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 0 auto;
    padding: 30px 10px 30px 10px;
    color: #c7c7e0;
    font-size: 0.98rem;
    border-top: 1px solid #222;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    background: none;
    text-align: center;
}
.site-footer a {
    color: var(--primary);
    text-decoration: none;
}
.site-footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
    .asn-container, .site-footer {
        padding: 0 5px;
    }
    .about-asn, .network-section, .peers-table-wrapper {
        padding-left: 8px;
        padding-right: 8px;
    }
    .logo {
        font-size: 1.4rem;
    }
    h1 { font-size: 1.45rem; }
    h2.section-title { font-size: 1.05rem; }
}