/* src/css/base.css */

/* Hide offline banners globally */
#offline-indicator,
#offline-notification,
[id*="network-status"] {
    display: none !important;
    visibility: hidden !important;
}

/* Basic Reset & Defaults */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent; 
}

html { 
    scroll-behavior: smooth; 
    font-size: 16px; /* Base font size, 1rem = 16px */
}

body {
    font-family: var(--font-secondary); 
    color: var(--color-text-primary);
    background-color: var(--color-background);
    line-height: 1.7;
    overflow-x: hidden; 
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale; 
}

/* Typography is now handled by typography.css */

/* Lists */
ul, ol { 
    padding-left: 20px; 
    margin-bottom: 1em; 
}
li { 
    margin-bottom: 0.5em; 
}

/* Placeholder Text */
.placeholder-text { 
    text-align: center; 
    color: var(--color-text-secondary); 
    padding: 20px; 
    font-style: italic;
}

/* Modern Cursor Effects - Global Styles */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: var(--color-accent-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.2s ease, background-color 0.2s ease;
    transform: translate(-50%, -50%);
}

.custom-cursor.hover {
    transform: translate(-50%, -50%) scale(1.5);
    background: var(--color-accent-secondary);
}

.cursor-trail {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--color-accent-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.6;
    transform: translate(-50%, -50%);
}

/* Custom cursor is optional - keep default cursor visible */
/* Removed cursor: none to ensure cursor is always visible */

/* Dark mode cursor effects */
body.dark-mode .custom-cursor {
    background: var(--dm-glow-color);
}

body.dark-mode .custom-cursor.hover {
    background: var(--dm-accent-secondary);
}

body.dark-mode .cursor-trail {
    background: var(--dm-glow-color);
}