:root {
  /* Colors */
  --primary-color: #FF9500;
  --background-color: #000;
  --text-color: #fff;
  --border-color: #4c4c4c;
  --card-background: #0a0d0e;
  --secondary-background: #212121;
  --hover-color: #e07e00;
  --text-secondary: #b0b0b0;
  --text-tertiary: #666;

  /* Typography */
  --font-family: 'Roboto Flex', Arial, sans-serif;
  --font-size-base: 1rem;
  --font-size-large: 1.2rem;
  --font-size-xlarge: 1.4rem;
  --font-size-xxlarge: 2.2rem;
  
  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 12px;
  --spacing-lg: 20px;
  --spacing-xl: 24px;
  
  /* Border */
  --border-radius: 15px;
  --border-width: 1.5px;
  
  /* Layout */
  --container-max-width: 600px;
  --nav-height: 90px;
}

/* Critical styles for initial render */
body {
  background: var(--background-color);
  color: var(--text-color);
  font-family: var(--font-family);
  margin: 0;
  padding: 0 0 var(--nav-height) 0;
}

.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--background-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

.loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.app-container {
  display: none;
}

/* Font face declarations */
@font-face {
  font-family: 'Roboto Flex';
  src: url('../assets/fonts/RobotoFlex-VariableFont_GRAD,XOPQ,XTRA,YOPQ,YTAS,YTDE,YTFI,YTLC,YTUC,opsz,slnt,wdth,wght.ttf') format('truetype-variations');
  font-weight: 100 1000;
  font-stretch: 75% 151%;
  font-style: normal;
  font-display: swap;
}

/* Critical layout styles */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
}

/* Critical navigation styles */
.nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--secondary-background);
  display: flex;
  justify-content: space-around;
  padding: var(--spacing-sm) 0;
  z-index: 1000;
}

/* Critical screen styles */
.screen {
  display: none;
}

.screen.active {
  display: block;
} 