:root {
  --primary: #004a9f;
  --light: #f4f7fb;
  --dark: #012a4a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--light);
  color: var(--dark);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow: hidden;
}

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

.container {
  max-width: 600px;
  text-align: center;
  animation: fadeIn 1s ease-out forwards;
}

header {
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
  transition: all 0.5s ease;
}

.message {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 1;
  transition: opacity 0.5s ease;
}

footer {
  font-size: 0.9rem;
  color: #555;
  opacity: 0.8;
}

.lang-select {
  margin-bottom: 1rem;
}

.lang-select button {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.4rem 1rem;
  margin: 0 0.2rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}

.lang-select button:hover {
  background: #003777;
}

/* Loader styles */
#loader {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.spinner {
  border: 6px solid #dce6f2;
  border-top: 6px solid var(--primary);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}