:root {
    --primary: #00f3ff;
    --secondary: #bc13fe;
    --bg-dark: #050a14;
    --glass: rgba(15, 23, 42, 0.6);
    --border: rgba(255, 255, 255, 0.1);
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    background-image: url('bg.png');
    /* The generated image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(5, 10, 20, 0.4) 0%, var(--bg-dark) 90%);
    z-index: -1;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    margin-bottom: 4rem;
}

.logo {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -1px;
}

.highlight {
    color: var(--primary);
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary);
}

/* Hero */
.hero {
    text-align: center;
    margin-bottom: 5rem;
}

h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -2px;
    background: linear-gradient(to right, #fff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    color: var(--primary);
}

.indicator {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    margin-right: 8px;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 243, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 243, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 243, 255, 0);
    }
}

/* Glass Panels */
.glass-panel,
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

h2,
h3 {
    margin-bottom: 1rem;
    font-weight: 500;
}

.icon {
    margin-right: 0.5rem;
}

/* Code Block */
.code-block {
    background: #0f111a;
    border-radius: 8px;
    overflow: hidden;
    margin: 1.5rem 0;
    border: 1px solid var(--border);
    font-family: 'Space Mono', monospace;
}

.code-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.copy-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--primary);
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.7rem;
    transition: all 0.2s;
}

.copy-btn:hover {
    background: rgba(0, 243, 255, 0.1);
}

pre {
    padding: 1.5rem;
    overflow-x: auto;
    color: #a5b3ce;
}

.note {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Grid */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.address-box {
    margin-top: 1rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.8rem;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.label {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 700;
}

.addr {
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    color: var(--secondary);
    word-break: break-all;
}

footer {
    text-align: center;
    padding: 4rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

footer a {
    color: var(--primary);
    text-decoration: none;
}

/* Mobile */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    header {
        flex-direction: column;
        gap: 1rem;
    }

    nav a {
        margin: 0 0.5rem;
    }
}