:root {
    /* Palette: Seeed Studio Green + MeshCore Blue */
    --bg-color: #0b1116;       /* Very dark blue-black base */
    --text-color: #a8b8c0;     /* Muted blue-grey text */
    
    /* Seeed Studio inspired Green */
    --accent-color: #2e7d32;   /* Deep organic green */
    --highlight-color: #4caf50;/* Vibrant green for active elements */
    
    /* MeshCore inspired Blue */
    --blue-accent: #00bcd4;    /* Cyan/Teal highlight */
    --blue-border: #1e3a45;    /* Dark blue border */
    
    --font-stack: 'CaskaydiaMono Nerd Font', 'Caskaydia Mono', 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-stack);
    line-height: 1.6;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    border-left: 1px solid var(--blue-border);
    border-right: 1px solid var(--blue-border);
}

header {
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start; /* Aligns top of title with top of button */
    justify-content: space-between; /* Pushes button to far right */
}

.header-content {
    display: flex;
    flex-direction: column; /* Stacks Title and URL vertically */
    align-items: flex-start;
}

h1 {
    color: var(--blue-accent);
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
}

.url-display {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
    color: var(--accent-color);
}

/* Discord Button Styling */
.discord-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--blue-border);
    border: 1px solid var(--blue-accent);
    border-radius: 6px;
    color: var(--blue-accent);
    transition: all 0.2s ease;
    flex-shrink: 0; /* Prevents button from shrinking */
}

.discord-btn:hover {
    background-color: var(--blue-accent);
    color: var(--bg-color);
    box-shadow: 0 0 8px var(--blue-accent);
}

.discord-btn svg {
    width: 24px;
    height: 24px;
}

section {
    margin-bottom: 2rem;
}

h2 {
    color: var(--accent-color);
    border-left: 3px solid var(--blue-accent);
    padding-left: 1rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

.node-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.node-card {
    background-color: #0f181f; /* Slightly lighter than body, blue-tinted */
    border: 1px solid var(--blue-border);
    padding: 1rem;
    transition: border-color 0.2s ease;
}

.node-card:hover {
    border-color: var(--blue-accent);
}

.node-card h3 {
    color: var(--highlight-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: var(--blue-accent);
    border-radius: 50%;
    margin-right: 0.5rem;
    box-shadow: 0 0 5px var(--blue-accent);
}

/* QR Images Section */
.qr-images {
    display: flex;
    justify-content: center; /* Centers the group */
    align-items: center;
    gap: 2rem; /* Equal padding between images */
    margin: 3rem 0;
    padding: 1rem 0;
    border-top: 1px solid var(--blue-border);
    border-bottom: 1px solid var(--blue-border);
}

.qr-img {
    width: 330px; /* Increased size */
    height: 175px;
    object-fit: contain;
    border: 2px solid var(--blue-border);
    border-radius: 8px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.qr-img:hover {
    border-color: var(--blue-accent);
    transform: scale(1.05);
    box-shadow: 0 0 10px var(--blue-accent);
}

footer {
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid var(--blue-border);
    font-size: 0.8rem;
    text-align: center;
    opacity: 0.7;
}

a {
    color: var(--blue-accent);
    text-decoration: none;
    border-bottom: 1px dotted var(--blue-accent);
}

a:hover {
    background-color: var(--blue-border);
    color: var(--bg-color);
}
