/* =========================
   BASE (LIGHT THEME DEFAULT)
========================= */

body {
    margin: 0;
    padding: 20px;
    background: #f6f8fa;
    color: #24292f;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    transition: background 0.25s ease, color 0.25s ease;
    display: flex;
    justify-content: center;
}

.main-container {
    max-width: 825px;
    width: 100%;
}

/* =========================
   DARK THEME
========================= */

body.dark {
    background: #0d1117;
    color: #c9d1d9;
}

/* =========================
   HEADER
========================= */

.inline {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hero {
    font-size: 2rem;
    margin: 0;
    flex: 1 1 100%;
}

.switcher {
    cursor: pointer;
    opacity: 0.7;
    transition: 0.2s ease;
}

.switcher:hover {
    opacity: 1;
}

/* =========================
   ALERT (Discord/GitHub style)
========================= */

.alert {
    background: #ffffff;
    border: 1px solid #d0d7de;
    border-left: 4px solid #5865F2;
    border-radius: 8px;
    padding: 16px 18px;
    margin: 20px 0;
    transition: background 0.25s ease, border 0.25s ease;
}

body.dark .alert {
    background: #161b22;
    border: 1px solid #30363d;
}

.alert p {
    margin: 0;
}

.alert i {
    color: #5865F2;
    font-style: normal;
    cursor: help;
}

/* =========================
   LISTENING TEXT
========================= */

.listening {
    color: #57606a;
    margin: 10px 0 30px 0;
}

body.dark .listening {
    color: #8b949e;
}

.currentsong {
    color: #5865F2;
    font-weight: 500;
}

/* =========================
   SECTIONS (TWO-COLUMN TABLE ALIGNMENT)
========================= */

.section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
    background: #ffffff;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    transition: background 0.25s ease, border 0.25s ease;
}

body.dark .section {
    background: #161b22;
    border: 1px solid #30363d;
}

/* Section title spans both columns */
.sectiontitle {
    grid-column: 1 / -1;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* Left and right content styling */
.left {
    color: #57606a;
    padding: 6px 0;
}

.right {
    padding: 6px 0;
}

body.dark .left {
    color: #8b949e;
}

/* Links styling */
.url a {
    display: inline-block;
    background: #cce4ff;
    color: #003a8c;
    padding: 6px 10px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.url a:hover {
    background: #99c2ff;
}

body.dark .url a {
    background: #2c3e50;
    color: #86b5ff;
}

body.dark .url a:hover {
    background: #3a506b;
}

/* =========================
   TOOLTIP
========================= */

.tooltip {
    background: #ffffff;
    border: 1px solid #d0d7de;
    padding: 10px 14px;
    border-radius: 6px;
    color: #24292f;
    pointer-events: none;
    z-index: 1000;
    position: absolute;
    display: none;
}

body.dark .tooltip {
    background: #161b22;
    border: 1px solid #30363d;
    color: #c9d1d9;
}

/* =========================
   MOBILE RESPONSIVE
========================= */

@media (max-width: 600px) {
    .section {
        grid-template-columns: 1fr;
    }

    .inline {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero {
        font-size: 1.8rem;
    }
}