@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;600;800&display=swap');

:root {
  --color-bg: #1a1918;
  --color-surface: #eae9e9;
  --color-text: #f3f2f2;
  --color-accent: #ec3013;
  --color-accent-600: #dd2b0f;
  --color-accent-700: #ae1800;
  --color-subtext: #9b9797;
  --color-divider: rgba(243, 242, 242, 0.16);

  --font-heading: "Archivo", system-ui, sans-serif;
  --font-heading-weight: 800;
  --font-body: "Archivo", system-ui, sans-serif;
}

@keyframes f7reveal { 0% { transform: rotateY(90deg) scale(.6); opacity: 0; } 55% { transform: rotateY(0) scale(1.12); opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes f7pop { 0% { transform: scale(.7); opacity: 0; } 60% { transform: scale(1.06); } 100% { transform: scale(1); opacity: 1; } }
@keyframes f7shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-9px); } 40% { transform: translateX(8px); } 60% { transform: translateX(-6px); } 80% { transform: translateX(4px); } }
@keyframes f7rise { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes f7flip { 0% { transform: rotateY(180deg) scale(.9); } 55% { transform: rotateY(0deg) scale(1.05); } 100% { transform: rotateY(0deg) scale(1); } }
@keyframes f7flash { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

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

body {
  background: #0d0c0c;
  color: var(--color-text);
  font-family: var(--font-body);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* Device Viewport Frame */
#app-viewport {
  position: relative;
  width: 100vw;
  max-width: 402px;
  height: 100vh;
  height: 100dvh;
  max-height: 874px;
  background: #1a1918;
  color: #f3f2f2;
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  padding: 8px 18px 34px;
  padding-top: max(8px, env(safe-area-inset-top));
  padding-bottom: max(34px, env(safe-area-inset-bottom));
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0,0,0,0.85);
}

@media (min-width: 440px) {
  #app-viewport {
    height: 874px;
    border-radius: 40px;
    border: 8px solid #2d2b2a;
  }
}

/* Toast */
.toast-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 120px;
  display: flex;
  justify-content: center;
  z-index: 47;
  pointer-events: none;
}

.toast-content {
  background: #f3f2f2;
  color: #1a1918;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .03em;
  padding: 12px 18px;
  animation: f7pop .3s ease both;
}

/* Input Fields */
.dc-input {
  width: 100%;
  height: 52px;
  background: rgba(243, 242, 242, 0.08);
  border: 2px solid rgba(243, 242, 242, 0.25);
  color: #f3f2f2;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  padding: 0 16px;
  outline: none;
  text-transform: uppercase;
  transition: border-color 0.15s ease;
}

.dc-input:focus {
  border-color: var(--color-accent);
}
