:root {
    /* Animation step and beat. The slide deck overrides both from the song tempo (song.rs). */
    --step: 100ms;
    --beat: 400ms;

    /* Colors - Default theme (Jellyfin colors) */
    --primary-color: #00a4dc;
    --secondary-color: #aa5cc3;
    --background-color: #101010;
    --surface-color: #1a1a1a;
    --text-color: #ffffff;
    --text-secondary: #b0b0b0;
    --error-color: #ff4444;
    --success-color: #44ff44;
    --accent-color: #00a4dc;

    /* RGB values for rgba() usage in backgrounds */
    --primary-color-rgb: 0, 164, 220;
    --secondary-color-rgb: 170, 92, 195;
    --accent-color-rgb: 0, 164, 220;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;

    /* Border radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Fonts: files and licences in static/fonts */
    --font-family: "Fraktion Mono", ui-monospace, monospace;
    --font-display: "Marathon Shapiro Wide", "Fraktion Mono", sans-serif;
    --font-ngnl: "NoGameNoLife", var(--font-display);

    /* Slide background: dot grid and the outline of the ghost glyph */
    --dot-color: #262626;
    --ghost-stroke: rgba(var(--secondary-color-rgb), 0.16);
    --muted-line: #333333;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.25rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 2rem;
    --font-size-3xl: 3rem;
}

/* Mobile font size adjustments */
@media (max-width: 480px) {
    :root {
        --font-size-xl: 1.25rem;
        --font-size-2xl: 1.5rem;
        --font-size-3xl: 2rem;
        --spacing-lg: 1.5rem;
        --spacing-xl: 2rem;
    }
}

/* Theme: Light */
[data-theme="light"] {
    --background-color: #ffffff;
    --surface-color: #f5f5f5;
    --text-color: #000000;
    --text-secondary: #666666;
}

/* Theme: Maku - Warm earthy tones */
[data-theme="maku"] {
    --primary-color: #fe7f2d;      /* Pumpkin Spice - vibrant orange */
    --secondary-color: #fcca46;    /* Golden Pollen - warm yellow */
    --background-color: #1a2e38;   /* Darker charcoal blue */
    --surface-color: #233d4d;      /* Charcoal Blue */
    --text-color: #ffffff;
    --text-secondary: #a8c4b8;     /* Muted seagrass tint */
    --error-color: #ff6b6b;
    --success-color: #a1c181;      /* Muted Olive */
    --accent-color: #619b8a;       /* Seagrass */

    /* RGB values for rgba() usage in backgrounds */
    --primary-color-rgb: 254, 127, 45;
    --secondary-color-rgb: 252, 202, 70;
    --accent-color-rgb: 97, 155, 138;
}
