* {
    box-sizing: border-box;
}

:root {
    --bg: #020901;
    --card: rgba(45, 80, 17, 0.65);
    --border: #4A682A;
    --button: #61951C;
    --hover: #97CF28;
    --glow: #DAF5A0;
    --text: #e8e8e8;
    --danger: #ff3333;
    --danger-light: #ff7777;
    --danger-text: #ffaaaa;
}

body {
    margin: 0;
    background: var(--bg) url("images/tor.png") center center / cover no-repeat fixed;
    color: var(--text);
    font-family: "Courier New", monospace;
    line-height: 1.7;
}

header {
    background:
        linear-gradient(
            135deg,
            rgba(2, 9, 1, 0.70),
            rgba(0, 0, 0, 0.75)
        );
    border-bottom: 1px solid var(--border);
    padding: 50px 20px;
    text-align: center;
}

header h1 {
    color: var(--hover);
    font-size: 3em;
    text-shadow:
        0 0 10px var(--glow),
        0 0 25px rgba(151,207,40,0.6);
    margin: 0;
}

header p {
    color: var(--glow);
    text-shadow: 0 0 10px rgba(218,245,160,0.5);
}
nav {
    background: rgba(2, 9, 1, 0.85);
    border-bottom: 1px solid var(--border);
    text-align: center;
    padding: 15px;
}

nav a {
    color: var(--button);
    margin: 0 20px;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
    transition: 0.3s;
}

nav a:hover {
    color: var(--hover);
    text-shadow:
        0 0 10px var(--glow),
        0 0 20px var(--hover);
}


.container {
    max-width: 950px;
    margin: auto;
    padding: 30px;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow:
        0 0 20px rgba(218,245,160,0.15);
    backdrop-filter: blur(4px);
}


h2 {
    color: var(--hover);
    text-shadow: 0 0 10px var(--glow);
    letter-spacing: 1px;
}


a {
    color: var(--hover);
    transition: 0.3s;
}

a:hover {
    color: var(--glow);
}
a:hover {
    color: var(--hover);
    text-shadow: 0 0 10px var(--glow);
}


.code {
    background: rgba(2, 9, 1, 0.9);
    border-left: 4px solid var(--button);
    padding: 15px;
    color: var(--glow);
    box-shadow: 0 0 15px rgba(218,245,160,0.15);
}


.warning {
    border-color: var(--danger);
    color: var(--danger-text);
}


footer {
    text-align: center;
    padding: 40px;
    color: var(--glow);
    font-size: 0.9em;
    opacity: 0.7;
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(218,245,160,0.3);
}

@media(max-width:700px){

header h1 {
    font-size: 2em;
}

.container {
    padding: 15px;
}

}
/* Exit Relay special styling */

.exit-card {
    background: linear-gradient(
        135deg,
        rgba(80, 0, 0, 0.85),
        rgba(20, 0, 0, 0.90)
    );
    border: 2px solid var(--danger);
    box-shadow: 0 0 25px rgba(255, 51, 51, 0.35);
}

.exit-card h2 {
    color: var(--danger);
    text-shadow: 0 0 10px rgba(255, 51, 51, 0.5);
}

.exit-card h3 {
    color: var(--danger-light);
}

.exit-card strong {
    color: #ffffff;
}

.exit-card a {
    color: var(--danger-light);
}

.exit-card a:hover {
    color: #ffaaaa;
}
.fingerprint {
    color: var(--glow);
    font-family: "Courier New", monospace;
    letter-spacing: 1px;
}
h3 {
    color: var(--hover);
    text-shadow: 0 0 8px var(--glow);
    letter-spacing: 1px;
}
.button {
    display: inline-block;
    background: var(--button);
    color: #020901;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
    border: 1px solid var(--hover);
    box-shadow: 0 0 15px rgba(218,245,160,0.25);
    transition: 0.3s;
}

.button:hover {
    background: var(--hover);
    color: #020901;
    box-shadow:
        0 0 10px var(--glow),
        0 0 25px var(--hover);
}
.domain-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: none;
    color: #9be22d;
    text-shadow: 0 0 8px rgba(155, 226, 45, 0.35);
    margin-bottom: 18px;
}

/* =========================================
   EXITNODE MODERN DESIGN OPTIMIZATION
   ========================================= */

:root {
    --bg: #050a06;
    --card: rgba(12, 24, 14, 0.94);
    --border: rgba(139, 190, 75, 0.28);
    --button: #82b936;
    --hover: #b4ed62;
    --glow: #c5f28b;
    --text: #e5ebdf;
}

/* Global typography */
body {
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    line-height: 1.65;
    background-color: var(--bg);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Header */
header {
    padding: clamp(38px, 6vw, 70px) 20px;
    background: linear-gradient(
        135deg,
        rgba(3, 12, 5, 0.88),
        rgba(0, 0, 0, 0.82)
    );
}

header h1 {
    letter-spacing: 2px;
    text-shadow: 0 0 14px rgba(151, 207, 40, 0.28);
}

/* Navigation */
nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 26px;
    padding: 18px 20px;
    position: relative;
    z-index: 10;
}

nav a {
    margin: 0;
    font-size: 0.9rem;
    letter-spacing: 0.7px;
    transition: color 0.2s ease;
}

nav a:hover {
    text-shadow: none;
}

/* Main content */
.container {
    width: min(1100px, 100%);
    margin: 0 auto;
    padding: clamp(18px, 3vw, 36px);
}

/* Cards */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: clamp(20px, 3vw, 30px);
    margin-bottom: 24px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.card h2 {
    text-shadow: none;
    letter-spacing: 0.4px;
}

h2, h3 {
    line-height: 1.35;
}

/* Links */
a {
    text-underline-offset: 4px;
}

a:hover {
    text-shadow: none;
}

/* Buttons */
.button {
    border-radius: 7px;
    padding: 11px 22px;
    box-shadow: 0 3px 12px rgba(130, 185, 54, 0.16);
}

.button:hover {
    transform: translateY(-1px);
}

/* Code blocks */
.code {
    border-radius: 7px;
    overflow-wrap: anywhere;
    line-height: 1.6;
}

/* Fingerprints */
.fingerprint {
    overflow-wrap: anywhere;
    word-break: break-word;
    font-size: 0.92rem;
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    background: rgba(2, 9, 1, 0.65);
}

/* Mobile optimization */
@media (max-width: 700px) {
    body {
        background-attachment: scroll;
    }

    header {
        padding: 36px 16px;
    }

    header h1 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    nav {
        gap: 12px 18px;
        padding: 16px 10px;
    }

    nav a {
        font-size: 0.82rem;
    }

    .container {
        padding: 16px 12px;
    }

    .card {
        padding: 19px 16px;
        margin-bottom: 18px;
    }

    .fingerprint {
        font-size: 0.78rem;
    }

    footer {
        padding: 28px 16px;
    }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}


/* EXITNODE - VISUAL REFINEMENT */

body {
    background-color: #030704;
    background-blend-mode: multiply;
}

.card {
    background: rgba(5, 14, 8, 0.94);
    border: 1px solid rgba(139, 190, 75, 0.24);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

header {
    background: linear-gradient(
        135deg,
        rgba(2, 8, 4, 0.92),
        rgba(0, 0, 0, 0.88)
    );
}

nav {
    background: rgba(2, 8, 4, 0.96);
    border-bottom: 1px solid rgba(139, 190, 75, 0.25);
}

h2, h3 {
    text-shadow: 0 0 5px rgba(151, 207, 40, 0.16);
}

.exit-card {
    background: linear-gradient(
        135deg,
        rgba(48, 5, 5, 0.96),
        rgba(17, 4, 4, 0.98)
    );
    border: 1px solid rgba(255, 70, 70, 0.7);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
}


/* EXITNODE - BALANCED GREEN VISUAL */

body {
    background-color: #071108;
    background-blend-mode: normal;
}

.card {
    background: rgba(16, 34, 18, 0.90);
    border: 1px solid rgba(139, 190, 75, 0.38);
    box-shadow:
        0 8px 26px rgba(0, 0, 0, 0.30),
        0 0 12px rgba(100, 160, 45, 0.08);
}

header {
    background: linear-gradient(
        135deg,
        rgba(3, 15, 5, 0.82),
        rgba(2, 10, 3, 0.78)
    );
}

nav {
    background: rgba(5, 18, 7, 0.94);
}

#official-domains {
    background: rgba(5, 19, 8, 0.93) !important;
}

h2, h3 {
    text-shadow: 0 0 7px rgba(151, 207, 40, 0.23);
}


/* =========================================
   EXITNODE - DARK PURPLE DESIGN
   ========================================= */

:root {
    --bg: #100b18;
    --card: rgba(33, 21, 46, 0.94);
    --border: rgba(167, 139, 250, 0.30);
    --button: #8b5cf6;
    --hover: #c4b5fd;
    --glow: #ddd6fe;
    --text: #f1edf7;
}

/* Purple tinted background */
body {
    background:
        linear-gradient(
            rgba(16, 11, 24, 0.68),
            rgba(16, 11, 24, 0.78)
        ),
        url("images/tor.png") center center / cover fixed;
    background-color: #100b18;
    color: #f1edf7;
}

/* Header */
header {
    background: linear-gradient(
        135deg,
        rgba(16, 11, 24, 0.94),
        rgba(33, 21, 46, 0.88)
    );
    border-bottom: 1px solid rgba(167, 139, 250, 0.30);
}

header h1 {
    color: #c4b5fd;
    text-shadow: 0 0 12px rgba(167, 139, 250, 0.25);
}

header p {
    color: #ddd6fe;
    text-shadow: none;
}

/* Navigation */
nav {
    background: rgba(16, 11, 24, 0.97);
    border-bottom: 1px solid rgba(167, 139, 250, 0.25);
}

nav a {
    color: #c4b5fd;
}

nav a:hover {
    color: #ffffff;
}

/* Content cards */
.card {
    background: rgba(33, 21, 46, 0.94);
    border: 1px solid rgba(167, 139, 250, 0.30);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.30);
}

/* Headings */
h2, h3 {
    color: #c4b5fd;
    text-shadow: 0 0 6px rgba(167, 139, 250, 0.18);
}

/* Links */
a {
    color: #b9a0ff;
}

a:hover {
    color: #ffffff;
}

/* Buttons */
.button {
    background: #7045c4;
    color: #ffffff;
    border: 1px solid #a78bfa;
    box-shadow: 0 4px 14px rgba(112, 69, 196, 0.22);
}

.button:hover {
    background: #8b5cf6;
    color: #ffffff;
}

/* Official domains */
#official-domains {
    background: rgba(25, 16, 36, 0.97) !important;
    border: 2px solid #8b5cf6 !important;
    box-shadow: 0 0 22px rgba(139, 92, 246, 0.18) !important;
    color: #f1edf7 !important;
}

#official-domains a {
    border-color: #a78bfa !important;
    background: rgba(112, 69, 196, 0.16) !important;
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.20) !important;
}

#official-domains a:hover {
    background: rgba(139, 92, 246, 0.30) !important;
}

/* Domain notice */
#domain-notice {
    color: #ddd6fe !important;
}

/* Code blocks */
.code {
    background: rgba(12, 8, 19, 0.96);
    border-left-color: #8b5cf6;
    color: #ddd6fe;
}

/* Fingerprints */
.fingerprint {
    color: #c4b5fd;
}

/* Footer */
footer {
    background: rgba(16, 11, 24, 0.90);
    border-top: 1px solid rgba(167, 139, 250, 0.25);
    color: #c4b5fd;
}

/* Exit relays remain red */
.exit-card {
    background: linear-gradient(
        135deg,
        rgba(48, 5, 12, 0.96),
        rgba(20, 5, 10, 0.98)
    );
    border: 1px solid rgba(255, 70, 90, 0.70);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.40);
}

.exit-card h2 {
    color: #ff7777;
}

.exit-card h3 {
    color: #ffaaaa;
}

/* Mobile */
@media (max-width: 700px) {
    body {
        background-attachment: scroll;
    }
}


/* EXITNODE - DARK PURPLE / WHITE FINAL THEME */

/* Dark purple network background */
body {
    background:
        linear-gradient(
            rgba(18, 8, 29, 0.82),
            rgba(10, 5, 18, 0.88)
        ),
        url("images/tor.png") center center / cover fixed;
    background-color: #0b0712;
    color: #f5f3fa;
}

/* White headings */
header h1,
header p,
h2,
h3 {
    color: #f5f3fa !important;
    text-shadow: none !important;
}

/* White navigation */
nav a {
    color: #f5f3fa !important;
}

nav a:hover {
    color: #c4b5fd !important;
}

/* Official domains */
#official-domains,
#official-domains * {
    color: #f5f3fa !important;
}

#official-domains {
    background: rgba(25, 15, 37, 0.96) !important;
    border-color: #8b5cf6 !important;
}

/* Purple links */
a {
    color: #c4b5fd;
}

a:hover {
    color: #ffffff;
}

/* Normal content */
.card {
    background: rgba(30, 20, 42, 0.94);
    border-color: rgba(167, 139, 250, 0.28);
}

.card p,
.card li,
.card strong {
    color: #f1edf7;
}

/* Code */
.code,
.fingerprint {
    color: #ddd6fe;
}

/* Exit relays remain red */
.exit-card h2,
.exit-card h3 {
    color: #ffaaaa !important;
}


/* Animated red Exit Relay online status */
.exit-relay-status {
    color: #ff4545;
    font-family: Arial, sans-serif;
    font-size: 1.08em;
    font-weight: 900;
    margin: 5px 0 8px;
    text-shadow: 0 0 8px rgba(255, 50, 50, 0.35);
}

.exit-relay-flame {
    display: inline-block;
    animation: exitFlame 0.8s ease-in-out infinite alternate;
}

.exit-relay-flame:last-child {
    animation-delay: 0.35s;
}

@keyframes exitFlame {
    from {
        transform: translateY(1px) scale(0.92);
    }
    to {
        transform: translateY(-3px) scale(1.12);
    }
}


/* =========================================
   EXITNODE - PREMIUM PURPLE CONTENT CARDS
   ========================================= */

.card:not(.exit-card) {
    background: rgba(24, 15, 36, 0.88);
    border: 1px solid rgba(167, 139, 250, 0.48);
    border-radius: 14px;
    box-shadow:
        0 8px 28px rgba(0, 0, 0, 0.38),
        0 0 16px rgba(139, 92, 246, 0.10);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.card:not(.exit-card):hover {
    border-color: rgba(196, 181, 253, 0.78);
    box-shadow:
        0 10px 32px rgba(0, 0, 0, 0.42),
        0 0 20px rgba(139, 92, 246, 0.20);
    transform: translateY(-2px);
}

.card:not(.exit-card) h2,
.card:not(.exit-card) h3 {
    color: #f5f3fa !important;
}

.card:not(.exit-card) p,
.card:not(.exit-card) li,
.card:not(.exit-card) strong {
    color: #f1edf7;
}


/* =========================================
   EXITNODE - MODERN TYPOGRAPHY
   ========================================= */

body {
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    letter-spacing: 0;
}

header h1 {
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    font-weight: 800;
    letter-spacing: 1px;
}

header p {
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
}

h2 {
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    font-weight: 750;
    letter-spacing: 0.2px;
    line-height: 1.35;
}

h3 {
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.2px;
    line-height: 1.4;
}

p, li {
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    line-height: 1.75;
}

strong {
    font-weight: 700;
}

/* Keep technical information monospace */
.fingerprint,
.code,
code,
pre {
    font-family: "Courier New", monospace;
}


/* Modern typography for buttons */

.button,
a.button,
button {
    font-family: "Inter", "Segoe UI", Arial, sans-serif !important;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.2px;
}


/* =========================================
   EXITNODE - PREMIUM PURPLE NAVIGATION
   ========================================= */

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 20px;
    background: rgba(14, 8, 24, 0.97);
    border-bottom: 1px solid rgba(167, 139, 250, 0.35);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    margin: 0;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    color: #f5f3fa !important;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    font-size: 13px;
    font-weight: 650;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-shadow: none;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        color 0.25s ease;
}

nav a:hover,
nav a:focus-visible {
    background: rgba(139, 92, 246, 0.18);
    border-color: rgba(167, 139, 250, 0.55);
    color: #ffffff !important;
    box-shadow: 0 0 14px rgba(139, 92, 246, 0.20);
    text-shadow: none;
}

nav a:focus-visible {
    outline: 2px solid #c4b5fd;
    outline-offset: 2px;
}

@media (max-width: 700px) {
    nav {
        gap: 6px;
        padding: 12px 8px;
    }

    nav a {
        padding: 9px 11px;
        font-size: 12px;
    }
}


/* =========================================
   EXITNODE - PREMIUM OFFICIAL DOMAINS
   ========================================= */

#official-domains {
    background: rgba(20, 12, 31, 0.96) !important;
    border: 1px solid rgba(167, 139, 250, 0.75) !important;
    border-radius: 14px !important;
    box-shadow:
        0 8px 28px rgba(0, 0, 0, 0.35),
        0 0 22px rgba(139, 92, 246, 0.18) !important;
    color: #f5f3fa !important;
}

#official-domains > div:first-child {
    color: #f5f3fa !important;
    letter-spacing: 1.8px !important;
}

#official-domains > div:nth-of-type(2) {
    gap: 16px !important;
}

#official-domains > div:nth-of-type(2) a {
    display: inline-block;
    padding: 10px 20px !important;
    border: 1px solid #a78bfa !important;
    border-radius: 9px !important;
    background: rgba(112, 69, 196, 0.16) !important;
    color: #ffffff !important;
    font-family: "Inter", "Segoe UI", Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.18) !important;
    transition: all 0.25s ease !important;
}

#official-domains > div:nth-of-type(2) a:hover {
    background: rgba(139, 92, 246, 0.32) !important;
    border-color: #c4b5fd !important;
    box-shadow:
        0 0 12px rgba(139, 92, 246, 0.35),
        0 0 24px rgba(139, 92, 246, 0.18) !important;
    transform: translateY(-2px);
}

#official-domains > div:nth-of-type(2) span {
    color: #c4b5fd !important;
}

#official-domains > div:nth-of-type(3) {
    color: #ddd6fe !important;
}

#domain-notice {
    color: #ffaaaa !important;
    border-color: rgba(255, 70, 90, 0.55) !important;
    background: rgba(70, 8, 18, 0.22) !important;
}

@media (max-width: 700px) {
    #official-domains {
        margin: 16px 12px 22px !important;
        padding: 16px 12px !important;
    }

    #official-domains > div:nth-of-type(2) a {
        padding: 9px 14px !important;
        font-size: 14px !important;
    }
}


/* Active navigation item */
nav a.active {
    background: rgba(139, 92, 246, 0.24);
    border-color: rgba(167, 139, 250, 0.75);
    color: #ffffff !important;
    box-shadow: 0 0 16px rgba(139, 92, 246, 0.22);
}

/* Slightly larger official domain buttons */
#official-domains > div:nth-of-type(2) a {
    padding: 12px 24px !important;
    font-size: 17px !important;
}


/* Exitnode brand logo */
.brand-lockup {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 0 auto 8px;
}

.brand-logo {
    width: 68px;
    height: 68px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 0 18px rgba(139, 92, 246, 0.30);
}

.brand-lockup h1 {
    margin: 0;
}

@media (max-width: 700px) {
    .brand-lockup {
        gap: 11px;
    }

    .brand-logo {
        width: 52px;
        height: 52px;
    }
}

/* EXITNODE - LOGO IN CONTENT CARDS */
.card:not(.exit-card) {
    position: relative;
}

.card:not(.exit-card)::after {
    content: "";
    position: absolute;
    top: 15px;
    right: 16px;
    width: 30px;
    height: 30px;
    background-image: url("images/favicon-new.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.9;
    pointer-events: none;
}

.card:not(.exit-card) > h2:first-child,
.card:not(.exit-card) > h3:first-child {
    padding-right: 42px;
}


/* EXITNODE - SLOW ROTATING CARD LOGOS */
@keyframes exitnode-logo-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.card:not(.exit-card)::after {
    animation: exitnode-logo-spin 8s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
    .card:not(.exit-card)::after {
        animation: none;
    }
}


/* EXITNODE - PULSING EXIT RELAY ONLINE STATUS */
.exit-relay-status > span:nth-child(2) {
    display: inline-block;
    animation: exitStatusPulse 1.6s ease-in-out infinite;
}

/* EXITNODE - RED/GREEN EXIT RELAY STATUS */
.exit-relay-status > span:nth-child(2) {
    display: inline-block;
    animation: exitStatusTraffic 1.2s steps(1, end) infinite;
}

@keyframes exitStatusTraffic {
    0%, 49% {
        color: #39ff14;
        text-shadow:
            0 0 6px #39ff14,
            0 0 14px rgba(57, 255, 20, 0.85);
    }

    50%, 100% {
        color: #ff2020;
        text-shadow:
            0 0 6px #ff2020,
            0 0 14px rgba(255, 32, 32, 0.85);
    }
}

@media (prefers-reduced-motion: reduce) {
    .exit-relay-status > span:nth-child(2) {
        animation: none;
    }
}

/* =========================================
   EXITNODE - CYBERPUNK LIVE DASHBOARD
   ========================================= */

.home-dashboard {
    max-width: 950px;
    margin: 25px auto 35px;
    padding: 28px;
    box-sizing: border-box;
    background: linear-gradient(
        145deg,
        rgba(29, 16, 48, 0.96),
        rgba(10, 8, 22, 0.97)
    );
    border: 1px solid rgba(167, 139, 250, 0.65);
    border-radius: 16px;
    box-shadow:
        0 0 25px rgba(139, 92, 246, 0.18),
        0 12px 35px rgba(0, 0, 0, 0.45);
}

.dashboard-heading {
    text-align: center;
    margin-bottom: 25px;
}

.dashboard-kicker {
    color: #a78bfa;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}

.dashboard-heading h2 {
    color: #ffffff;
    font-size: clamp(22px, 4vw, 30px);
    margin: 12px 0;
    text-shadow: 0 0 15px rgba(167,139,250,0.45);
}

.dashboard-heading p {
    color: #c4b5fd;
    font-size: 14px;
}

.dashboard-status-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.dashboard-status {
    min-width: 0;
    padding: 20px 12px;
    text-align: center;
    background: rgba(12, 10, 25, 0.9);
    border: 1px solid rgba(167,139,250,0.28);
    border-radius: 12px;
}

.dashboard-label {
    display: block;
    color: #c4b5fd;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.status-value {
    display: block;
    font-size: 14px;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.status-loading {
    color: #fbbf24;
}

.status-online {
    color: #39ff14;
    text-shadow: 0 0 12px rgba(57,255,20,0.65);
}

.status-offline {
    color: #ff4545;
    text-shadow: 0 0 12px rgba(255,69,69,0.55);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.dashboard-stat {
    min-width: 0;
    text-align: center;
    padding: 22px 12px;
    background: rgba(36, 22, 58, 0.65);
    border: 1px solid rgba(167,139,250,0.35);
    border-radius: 12px;
}

.dashboard-stat span {
    display: block;
    color: #c4b5fd;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.dashboard-stat strong {
    display: block;
    margin-top: 12px;
    color: #ffffff;
    font-size: clamp(22px, 3vw, 30px);
    text-shadow: 0 0 12px rgba(167,139,250,0.4);
}

.dashboard-updated {
    margin-top: 22px;
    text-align: center;
    color: #a78bfa;
    font-size: 12px;
    letter-spacing: 1px;
}

.dashboard-updated strong {
    color: #e9d5ff;
}

@media (max-width: 700px) {
    .home-dashboard {
        margin: 20px 12px;
        padding: 18px 14px;
    }

    .dashboard-status-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }
}


/* THREE EQUAL-WIDTH CYBERPUNK STATUS PANELS */
.dashboard-status-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}


/* RELAY FINGERPRINT DESIGN */

.relay-fingerprint {
    margin: 12px 0 16px;
    padding: 14px;
    background: rgba(10, 5, 24, 0.88);
    border: 1px solid rgba(167, 139, 250, 0.55);
    border-radius: 10px;
    box-shadow: 0 0 14px rgba(139, 92, 246, 0.12);
}

.relay-fingerprint-label {
    display: block;
    margin-bottom: 9px;
    color: #a78bfa;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
}

.relay-fingerprint-value {
    display: block;
    color: #ffffff;
    font-family: monospace;
    font-size: 13px;
    line-height: 1.8;
    overflow-wrap: anywhere;
    letter-spacing: 0.5px;
}

.relay-copy-button {
    display: inline-block;
    margin-top: 12px;
    padding: 7px 13px;
    color: #d8c8ff;
    background: rgba(139, 92, 246, 0.16);
    border: 1px solid rgba(167, 139, 250, 0.65);
    border-radius: 6px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.relay-copy-button:hover {
    background: rgba(139, 92, 246, 0.32);
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.3);
}

.relay-copy-button.copied {
    color: #8cff00;
    border-color: #8cff00;
}

.exit-card .relay-fingerprint {
    background: rgba(25, 0, 0, 0.85);
    border-color: rgba(255, 69, 69, 0.55);
    box-shadow: 0 0 14px rgba(255, 40, 40, 0.12);
}

.exit-card .relay-fingerprint-label {
    color: #ff7777;
}

.exit-card .relay-copy-button {
    color: #ffaaaa;
    background: rgba(255, 40, 40, 0.12);
    border-color: rgba(255, 80, 80, 0.6);
}

.exit-card .relay-copy-button:hover {
    background: rgba(255, 40, 40, 0.25);
    box-shadow: 0 0 12px rgba(255, 40, 40, 0.25);
}

.exit-card .relay-copy-button.copied {
    color: #8cff00;
    border-color: #8cff00;
}


/* INDIVIDUAL RELAY CARDS */

.relay-section {
    margin: 28px 0 36px;
}

.relay-section-intro {
    margin-bottom: 18px;
}

.relay-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.relay-card {
    min-width: 0;
    margin: 0;
    padding: 22px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.relay-card:hover {
    transform: translateY(-4px);
}

.relay-card h3 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 22px;
    letter-spacing: 1px;
}

.relay-card > p {
    margin: 8px 0;
}

.relay-card > a {
    display: inline-block;
    margin-top: 12px;
    font-weight: bold;
}

.relay-card .relay-fingerprint {
    margin-top: 12px;
}

.relay-card .relay-live-content {
    overflow-wrap: anywhere;
}

.relay-card.exit-card {
    border-color: rgba(255, 69, 69, 0.65);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.38),
                0 0 18px rgba(255, 40, 40, 0.12);
}

.relay-card.exit-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45),
                0 0 22px rgba(255, 40, 40, 0.25);
}

@media (max-width: 1000px) {
    .relay-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .relay-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .relay-card {
        padding: 18px;
    }
}


/* ALIGN TOR METRICS LINKS */

.relay-card > a {
    margin-top: auto;
    padding-top: 12px;
}


/* ABUSE PAGE DESIGN */

.abuse-card {
    position: relative;
    padding: 26px;
    margin-bottom: 22px;
}

.abuse-card h2 {
    color: #d8c8ff;
    letter-spacing: 1px;
}

.abuse-info-list {
    padding-left: 22px;
    line-height: 2;
}

.abuse-contact {
    margin-top: 24px;
    padding: 20px;
    text-align: center;
    background: rgba(139, 92, 246, 0.10);
    border: 1px solid rgba(167, 139, 250, 0.55);
    border-radius: 12px;
    box-shadow: 0 0 16px rgba(139, 92, 246, 0.12);
}

.abuse-contact h3 {
    color: #c4a5ff;
    letter-spacing: 1px;
}

.abuse-email {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 18px;
    color: #ffffff;
    background: rgba(139, 92, 246, 0.18);
    border: 1px solid #a78bfa;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.abuse-email:hover {
    background: rgba(139, 92, 246, 0.32);
    box-shadow: 0 0 14px rgba(139, 92, 246, 0.3);
}

@media (max-width: 650px) {
    .abuse-card {
        padding: 18px;
    }

    .abuse-email {
        font-size: 14px;
    }
}


/* ABUSE NEON PULSE BULLETS FIX */

.container .card.abuse-card ul.abuse-info-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.container .card.abuse-card ul.abuse-info-list > li {
    position: relative;
    list-style: none !important;
    padding-left: 28px !important;
}

.container .card.abuse-card ul.abuse-info-list > li::marker {
    content: "";
    color: transparent;
}

.container .card.abuse-card ul.abuse-info-list > li::before {
    content: "●" !important;
    display: block !important;
    position: absolute;
    left: 3px;
    top: 0;
    font-size: 13px;
    color: #8cff00;
    text-shadow: 0 0 6px #8cff00, 0 0 14px #8cff00;
    animation: abuse-dot-pulse 1.4s ease-in-out infinite alternate !important;
}

.container .card.abuse-card ul.abuse-info-list > li:nth-child(even)::before {
    animation-delay: 0.35s !important;
}


/* STAGGERED GREEN AND RED ABUSE DOTS */

.container .card.abuse-card ul.abuse-info-list > li::before {
    animation-duration: 2.4s !important;
    animation-timing-function: ease-in-out !important;
    animation-iteration-count: infinite !important;
    animation-direction: alternate !important;
    animation-fill-mode: both !important;
}

.container .card.abuse-card ul.abuse-info-list > li:nth-child(1)::before {
    animation-delay: 0s !important;
}

.container .card.abuse-card ul.abuse-info-list > li:nth-child(2)::before {
    animation-delay: -0.48s !important;
}

.container .card.abuse-card ul.abuse-info-list > li:nth-child(3)::before {
    animation-delay: -0.96s !important;
}

.container .card.abuse-card ul.abuse-info-list > li:nth-child(4)::before {
    animation-delay: -1.44s !important;
}

.container .card.abuse-card ul.abuse-info-list > li:nth-child(5)::before {
    animation-delay: -1.92s !important;
}



/* CONTACT PAGE DESIGN */

.contact-card {
    position: relative;
    padding: 26px;
    margin-bottom: 22px;
}

.contact-card h2 {
    color: #d8c8ff;
    letter-spacing: 1px;
}

.contact-card p {
    line-height: 1.8;
}

.contact-email-link {
    display: inline-block;
    margin-top: 10px;
    padding: 13px 22px;
    color: #ffffff;
    background: rgba(139, 92, 246, 0.20);
    border: 1px solid #a78bfa;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    overflow-wrap: anywhere;
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.12);
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.contact-email-link:hover {
    background: rgba(139, 92, 246, 0.38);
    box-shadow: 0 0 18px rgba(139, 92, 246, 0.35);
}

@media (max-width: 650px) {
    .contact-card {
        padding: 18px;
    }

    .contact-email-link {
        font-size: 14px;
    }
}



/* POLICY PAGE DESIGN */

.policy-card {
    position: relative;
    padding: 26px;
    margin-bottom: 22px;
    border: 1px solid rgba(167, 139, 250, 0.48);
    background: rgba(20, 12, 34, 0.94);
    box-shadow: 0 0 18px rgba(139, 92, 246, 0.10);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.policy-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 24px rgba(139, 92, 246, 0.24);
}

.policy-card h2 {
    color: #d8c8ff;
    letter-spacing: 1px;
    margin-top: 0;
    margin-bottom: 18px;
}

.policy-card p {
    line-height: 1.8;
    margin: 12px 0;
}

@media (max-width: 650px) {
    .policy-card {
        padding: 18px;
    }
}



/* LOGS PAGE DESIGN */

.logs-card {
    position: relative;
    padding: 26px;
    margin-bottom: 22px;
    border: 1px solid rgba(167, 139, 250, 0.48);
    background: rgba(20, 12, 34, 0.94);
    box-shadow: 0 0 18px rgba(139, 92, 246, 0.10);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.logs-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 24px rgba(139, 92, 246, 0.24);
}

.logs-card h2 {
    color: #d8c8ff;
    letter-spacing: 1px;
    margin-top: 0;
    margin-bottom: 18px;
}

.logs-card p {
    line-height: 1.8;
    margin: 12px 0;
}

.logs-card ul {
    list-style: none;
    padding-left: 0;
    margin-top: 14px;
}

.logs-card ul li {
    position: relative;
    padding-left: 25px;
    margin: 10px 0;
    line-height: 1.7;
}

.logs-card ul li::before {
    content: "●";
    position: absolute;
    left: 2px;
    top: 0;
    color: #a78bfa;
    font-size: 12px;
    text-shadow: 0 0 8px rgba(167, 139, 250, 0.7);
}

@media (max-width: 650px) {
    .logs-card {
        padding: 18px;
    }
}



/* EXITNODE HERO DESIGN */

.exitnode-hero {
    position: relative;
    width: min(1100px, calc(100% - 32px));
    margin: 30px auto 35px;
    padding: clamp(35px, 6vw, 70px) 25px;
    text-align: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.24), transparent 65%),
        linear-gradient(145deg, rgba(29, 16, 48, 0.97), rgba(10, 7, 20, 0.97));
    border: 1px solid rgba(167, 139, 250, 0.65);
    border-radius: 18px;
    box-shadow:
        0 0 30px rgba(139, 92, 246, 0.20),
        0 14px 38px rgba(0, 0, 0, 0.42);
}

.hero-content {
    position: relative;
    max-width: 850px;
    margin: 0 auto;
}

.hero-kicker {
    display: inline-block;
    color: #c4b5fd;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.exitnode-hero h2 {
    color: #ffffff !important;
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 22px;
    text-shadow: 0 0 22px rgba(167, 139, 250, 0.35);
}

.exitnode-hero p {
    max-width: 720px;
    margin: 0 auto;
    color: #e9ddff;
    font-size: clamp(15px, 2vw, 18px);
    line-height: 1.8;
}

.hero-relay-types {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0;
}

.hero-relay-types span {
    padding: 9px 16px;
    color: #ddd6fe;
    background: rgba(139, 92, 246, 0.13);
    border: 1px solid rgba(167, 139, 250, 0.48);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.hero-button {
    display: inline-block;
    padding: 13px 22px;
    color: #ffffff !important;
    background: rgba(112, 69, 196, 0.75);
    border: 1px solid #a78bfa;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-decoration: none;
    box-shadow: 0 0 16px rgba(139, 92, 246, 0.18);
    transition: all 0.25s ease;
}

.hero-button:hover {
    background: #8b5cf6;
    box-shadow: 0 0 22px rgba(139, 92, 246, 0.38);
    transform: translateY(-2px);
}

.hero-button-secondary {
    background: rgba(20, 12, 34, 0.75);
}

@media (max-width: 650px) {
    .exitnode-hero {
        width: calc(100% - 24px);
        padding: 35px 18px;
        margin: 20px auto 25px;
    }

    .hero-kicker {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .hero-relay-types {
        gap: 8px;
    }

    .hero-relay-types span {
        font-size: 10px;
        padding: 8px 10px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-button {
        width: 100%;
    }
}


/* EXITNODE HERO INFORMATION GRID */

.hero-info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 32px auto 10px;
    max-width: 1000px;
}

.hero-info-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    min-height: 100px;
    padding: 18px 14px;
    background: rgba(20, 10, 38, 0.82);
    border: 1px solid rgba(167, 139, 250, 0.55);
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.12);
}

.hero-info-item span {
    color: #c4b5fd;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.hero-info-item strong {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 700;
}

@media (max-width: 850px) {
    .hero-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

    .hero-info-item {
        min-height: 75px;
    }
}


/* FOUR EQUAL WIDTH DASHBOARD STATISTICS */

.dashboard-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 900px) {
    .dashboard-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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


/* SHARED CONTACT BOX DESIGN */

.shared-contact-box {
    position: relative;
    margin-top: 24px;
    padding: 22px;
    text-align: center;
    background: rgba(36, 22, 58, 0.72);
    border: 1px solid rgba(167, 139, 250, 0.55);
    border-radius: 12px;
    box-shadow: 0 0 16px rgba(139, 92, 246, 0.14);
}

.shared-contact-box h3 {
    margin-top: 0;
    margin-bottom: 14px;
    color: #d8c8ff;
    letter-spacing: 1px;
}

.shared-contact-box p {
    line-height: 1.8;
    margin: 10px 0;
}

.shared-email-link {
    display: inline-block;
    margin-top: 8px;
    padding: 13px 22px;
    color: #ffffff;
    background: rgba(139, 92, 246, 0.20);
    border: 1px solid #a78bfa;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    overflow-wrap: anywhere;
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.12);
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.shared-email-link:hover {
    background: rgba(139, 92, 246, 0.38);
    box-shadow: 0 0 18px rgba(139, 92, 246, 0.35);
}

@media (max-width: 650px) {
    .shared-contact-box {
        padding: 18px;
    }

    .shared-email-link {
        font-size: 14px;
    }
}


/* EXITNODE LOGOS ON HOMEPAGE DASHBOARD */

.dashboard-status,
.dashboard-stat {
    position: relative;
}

.dashboard-status::after,
.dashboard-stat::after {
    content: "";
    position: absolute;
    top: 12px;
    right: 12px;
    width: 27px;
    height: 27px;
    background-image: url("images/favicon-new.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.9;
    pointer-events: none;
    animation: exitnode-logo-spin 8s linear infinite;
}

/* EXITNODE LOGOS ON EXIT RELAY CARDS */

.relay-card.exit-card {
    position: relative;
    padding-bottom: 65px;
}

.relay-card.exit-card::after {
    content: "";
    position: absolute;
    right: 18px;
    bottom: 16px;
    width: 34px;
    height: 34px;
    background-image: url("images/favicon-new.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.95;
    pointer-events: none;
    animation: exitnode-logo-spin 8s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
    .dashboard-status::after,
    .dashboard-stat::after,
    .relay-card.exit-card::after {
        animation: none;
    }
}


/* FINAL LOGO POSITIONING */

/* Remove logos from small dashboard information cards */
.dashboard-status::after,
.dashboard-stat::after {
    display: none;
    content: none;
}

/* Logo on the complete homepage hero */
.exitnode-hero {
    position: relative;
}

.exitnode-hero::after {
    content: "";
    position: absolute;
    top: 20px;
    right: 22px;
    width: 34px;
    height: 34px;
    background-image: url("images/favicon-new.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.95;
    pointer-events: none;
    animation: exitnode-logo-spin 8s linear infinite;
}

/* Logo on the complete live dashboard */
.home-dashboard {
    position: relative;
}

.home-dashboard::after {
    content: "";
    position: absolute;
    top: 20px;
    right: 22px;
    width: 34px;
    height: 34px;
    background-image: url("images/favicon-new.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.95;
    pointer-events: none;
    animation: exitnode-logo-spin 8s linear infinite;
}

/* Move Exit relay logos to the top right corner */
.relay-card.exit-card {
    padding-bottom: 22px;
}

.relay-card.exit-card::after {
    top: 16px;
    right: 16px;
    bottom: auto;
    width: 34px;
    height: 34px;
}

/* Keep headings clear of the logo */
.relay-card.exit-card h3 {
    padding-right: 42px;
}

@media (prefers-reduced-motion: reduce) {
    .exitnode-hero::after,
    .home-dashboard::after,
    .relay-card.exit-card::after {
        animation: none;
    }
}

