:root {
  --bg-color: #ffffff;
  --text-color: #1a202c;
  --accent-color: #0f766e;
  --accent-light: #2dd4bf;
  --accent-dark: #0d9488;
  --muted-color: #64748b;
  --border-color: #e2e8f0;
  --card-bg: #f8fafc;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  --gradient: linear-gradient(135deg, #0f766e 0%, #2dd4bf 100%);
}

[data-theme="dark"] {
  --bg-color: #0f172a;
  --text-color: #f1f5f9;
  --accent-color: #2dd4bf;
  --accent-light: #5eead4;
  --accent-dark: #0d9488;
  --muted-color: #94a3b8;
  --border-color: #334155;
  --card-bg: #1e293b;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  --gradient: linear-gradient(135deg, #2dd4bf 0%, #0f766e 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: background-color 0.3s ease, color 0.3s ease,
    border-color 0.3s ease, transform 0.3s ease;
}

body {
  font-family: "Vazirmatn", system-ui, -apple-system, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

body[dir="ltr"] {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
}

.controls {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  display: flex;
  gap: 0.75rem;
  z-index: 1000;
}

.controls button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-color);
  background: var(--bg-color);
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-color);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.controls button:hover {
  background: var(--card-bg);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.main-content {
  max-width: 680px;
  padding: 3rem 2rem;
  animation: fadeInUp 1s ease-out;
}

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

.logo-container {
  margin-bottom: 3rem;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.logo {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(15, 118, 110, 0.2));
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 25px 50px rgba(15, 118, 110, 0.3));
}

.title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  direction: ltr;
}

.coming-soon {
  font-size: 1.75rem;
  color: var(--muted-color);
  margin: 2.5rem;
  font-weight: 500;
  letter-spacing: 2px;
}

.message {
  font-size: 1.1rem;
  color: var(--text-color);
  margin-bottom: 4rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  opacity: 0.9;
}

footer {
  margin-top: auto;
  padding: 2rem 0;
  color: var(--muted-color);
  font-size: 0.95rem;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .controls {
    top: 1rem;
    right: 1rem;
  }

  .controls button {
    width: 40px;
    height: 40px;
  }

  .main-content {
    padding: 2rem 1rem;
  }

  .title {
    font-size: 2.8rem;
  }

  .coming-soon {
    font-size: 1.5rem;
  }

  .message {
    font-size: 1.1rem;
  }

  .logo {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 480px) {
  body {
    padding: 0.5rem;
  }

  .main-content {
    padding: 1.5rem 0.5rem;
  }

  .title {
    font-size: 2.2rem;
  }

  .coming-soon {
    font-size: 1.3rem;
  }

  .message {
    font-size: 1rem;
    margin-bottom: 3rem;
  }

  .logo {
    width: 80px;
    height: 80px;
  }
}

[data-theme="dark"] .controls button {
  background: rgba(30, 41, 59, 0.8);
}

[data-theme="dark"] .countdown-item {
  background: rgba(30, 41, 59, 0.5);
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  .logo-container {
    animation: none;
  }
}
