/* Modern, minimal dark theme for PaperCurtain */

:root {
  --bg-color: #0b0d12;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #475569;
  --accent-color: #38bdf8; /* light blue */
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  background: radial-gradient(circle at center, #151a26 0%, #080a0f 100%);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  height: 100vh;
  overflow: hidden;
}

/* Flex layout that fits within viewport with no scrolling */
.viewport-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100vh;
  padding: 4rem 2rem;
  box-sizing: border-box;
  text-align: center;
}

/* Header brand styles */
.brand-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #ffffff 50%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeIn 1.2s ease-out;
}

/* Content statement */
.statement {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1.6;
  max-width: 580px;
  color: var(--text-secondary);
  margin: 0 auto;
  animation: fadeIn 1.5s ease-out;
}

/* App links grid/row */
.apps-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  margin: 3rem 0;
  animation: fadeIn 1.8s ease-out;
}

.app-link {
  font-family: 'Outfit', sans-serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.2rem, 3vw, 1.75rem);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  padding: 0.5rem 0;
}

.app-link:hover {
  color: var(--text-primary);
  transform: translateY(-4px);
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

/* Subtle accent dot or line indicator on hover */
.app-link::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--accent-color);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateX(-50%);
}

.app-link:hover::after {
  width: 80%;
}

/* Footer copyright styles */
.footer {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  animation: fadeIn 2s ease-out;
}

/* Keyframe Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile responsive fixes */
@media (max-height: 500px) {
  .viewport-container {
    padding: 2rem 1rem;
    height: auto;
    min-height: 100vh;
  }
  body {
    overflow: auto;
  }
}
