:root {
    --bg: #14121f;          /* deep violet-black background */
    --surface: #221e33;     /* boxes, header, nav buttons */
    --surface-hover: #332c4d; /* hover state */
    --accent: #a78bfa;      /* soft lavender — your main accent */
    --accent-bright: #d4bbff; /* hover / highlights */
    --text: #f2effc;        /* main text, slightly lavender-white */
    --muted: #a29dbb;       /* secondary text */
}

body {
    font-family: ui-monospace;
    background-color: var(--bg);
    color: var(--text);
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    width: 100%;
    overflow-x: hidden;
}

main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--accent-bright);
}

header {
    background-color: var(--surface);
    color: var(--accent);
    border-radius: 0 0 20px 20px;
    box-shadow: 0 0 15px rgba(167, 139, 250, 0.25);
    text-align: center;
    margin: 0 0 1%;
    position: sticky;
    top: 0;
    width: 100%;
}

.Link {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    width: 100%;
}

.Link a {
    color: var(--text);
    background-color: var(--surface-hover);
    padding: 5px 10px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    transition:
        background-color 0.3s,
        color 0.3s;
    position: relative;
}

.Link a:hover {
    background-color: var(--accent);
    color: var(--bg);
}

.Link a:active {
    background-color: var(--accent);
    color: var(--bg);
    outline: none;
    box-shadow: 0 0 5px rgba(167, 139, 250, 0.6);
}

.Link a:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(167, 139, 250, 0.6);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: auto;
    border-radius: 5%;
}

audio {
    width: 80%;
    height: auto;
    display: block;
    margin: auto;
    outline: none;
    box-shadow: 0 0 10px rgba(167, 139, 250, 0.3);
    background-color: var(--surface);
}

div.box {
    background-color: var(--surface);
    padding: 5px;
    border-radius: 10px;
    margin: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    width: 80%;
    height: auto;
    text-align: center;
}

div.grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    justify-items: center;
}

/* Discord status widget */
#discord-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: var(--surface-hover);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    max-width: 400px;
}
#avatar {
    width: 50px;
    height: 50px;
    margin: 0;
    flex-shrink: 0;
    border-radius: 50%;
    border: 3px solid #7289da;
}
#status-container {
    display: flex;
    flex-direction: column;
}
#status-text {
    font-weight: bold;
    font-size: 18px;
}
#custom-status {
    font-size: 14px;
    color: var(--muted);
}

.dc {
    justify-items: center;
}

/* keep these — they're Discord's real status colors! */
.status-dnd { color: #ed4245; }
.status-online { color: #3ba55c; }
.status-idle { color: #faa61a; }
.status-offline { color: #747f8d; }