/* Base styles and CSS variables for Shadow Kiro Clock */

:root {
    --primary-color: #00ffff;
    --secondary-color: #ff00ff;
    --accent-color: #ffff00;
    --bg-primary: #0a0a0a;
    --bg-secondary: rgba(0, 0, 0, 0.8);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --glow-primary: rgba(0, 255, 255, 0.5);
    --glow-secondary: rgba(255, 0, 255, 0.3);
    --border-radius: 12px;
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.8s ease;
    
    /* Spacing system */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-xxl: 4rem;
    
    /* Typography scale */
    --font-xs: 0.75rem;
    --font-sm: 0.875rem;
    --font-base: 1rem;
    --font-lg: 1.125rem;
    --font-xl: 1.25rem;
    --font-2xl: 1.5rem;
    --font-3xl: 1.875rem;
    --font-4xl: 2.25rem;
    --font-5xl: 3rem;
    --font-6xl: 3.75rem;
    
    /* Container widths */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', 'Orbitron', monospace;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    font-weight: 400;
    line-height: 1.6;
}

/* Theme Variations */
body.shadow-theme {
    --primary-color: #00ffff;
    --secondary-color: #ff00ff;
    --accent-color: #ffff00;
    --bg-primary: #0a0a0a;
    --bg-secondary: rgba(0, 0, 0, 0.9);
}

body.kiro-theme {
    --primary-color: #8a2be2;
    --secondary-color: #4b0082;
    --accent-color: #9370db;
    --bg-primary: #1a0033;
    --bg-secondary: rgba(26, 0, 51, 0.8);
}

body.void-theme {
    --primary-color: #ff4500;
    --secondary-color: #dc143c;
    --accent-color: #ff6347;
    --bg-primary: #000000;
    --bg-secondary: rgba(0, 0, 0, 0.95);
}

/* Container system */
.container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    padding: var(--space-sm);
    text-align: center;
    max-width: var(--container-xl);
    margin: 0 auto;
}

/* Utility classes */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }

.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.rounded { border-radius: var(--border-radius); }
.rounded-full { border-radius: 50%; }

.transition { transition: all var(--transition-medium); }
.transition-fast { transition: all var(--transition-fast); }