/* Explain: Theme tokens defining a dark plum and burgundy color palette with paper texture. */
/* Theme: Blush Paper & Burgundy Ribbon — inspired by the Professorris logo */
:root,
html:root:not([data-theme]) {
    color-scheme: light;
    --primary-color: #6E1230;
    --primary-hover: #55102A;
    --secondary-color: #A03C55;
    --accent-color: #A03C55;
    --logo-subtitle-color: #6E1230;
    --button-color: #6E1230;
    --button-hover: #55102A;
    --background-color: #EDD9CE;
    --surface-color: #F5E9E1;
    --footer-bg: #E4CBBF;
    --dark-color: #3A0B18;
    --text-color: #4B1020;
    --text-muted: #7A4650;
    --border-color: rgba(110, 18, 48, 0.28);
    --glass-bg: rgba(245, 233, 225, 0.88);
    --glass-border: rgba(110, 18, 48, 0.25);
    --nav-bg: rgba(237, 217, 206, 0.94);
    --header-bg: #EAD2C6;
    --nav-text-color: #6E1230;
    --field-bg: rgba(255, 255, 255, 0.55);
    --shadow-soft: none;
    --shadow-button: none;
    --font-heading: 'Frank Ruhl Libre', 'Heebo', 'Assistant', serif;
    --font-accent: 'Frank Ruhl Libre', 'Heebo', 'Assistant', serif;
    --font-body: 'Heebo', 'Assistant', sans-serif;
    --font-logo: 'Bodoni Moda', 'Cormorant Garamond', serif;
    --font-sans: 'Heebo', 'Assistant', sans-serif;

    /* Keep UI components light and on-brand, even on dark-mode devices */
    --color-base-100: #F5E9E1;
    --color-base-200: #EDD9CE;
    --color-base-300: #E4CBBF;
    --color-base-content: #4B1020;
    --color-primary: #6E1230;
    --color-primary-content: #F5E9E1;

    /* Paper look: fine grain + soft wrinkles + diagonal satin sheen */
    --paper-texture: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
    --paper-mottle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='w' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.006 0.016' numOctaves='3' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.52 0 0 0 0 0.2 0 0 0 0 0.26 1.4 0 0 0 -0.5'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23w)' opacity='0.16'/%3E%3C/svg%3E");
    --paper-sheen: linear-gradient(115deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0) 24%, rgba(110, 18, 48, 0.035) 44%, rgba(255, 255, 255, 0.16) 64%, rgba(255, 255, 255, 0) 84%, rgba(110, 18, 48, 0.04) 100%);
}