/* Greek ID Verification -- Reset & Base */

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

img {
  max-width: 100%;
  height: auto;
}

html {
  font-size: 14px;
}

body {
  font-family: 'Sora', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  padding-bottom: 86px;
}

/* Icon sizing utilities */
.icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.icon-sm {
  width: 14px;
  height: 14px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.icon-lg {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.icon-xl {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Screen visibility */
.screen {
  display: none;
}

.screen.active {
  display: block;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Toast notification */
.toast {
  position: fixed;
  bottom: 52px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1e293b;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  z-index: 500;
  opacity: 0;
  transition: all 0.3s;
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Flash overlay for screen transitions */
.flash-overlay {
  position: fixed;
  inset: 0;
  background: white;
  z-index: 350;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
}

/* Staggered card entry */
@keyframes cardEnter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.card-enter {
  animation: cardEnter 0.35s ease-out both;
}

/* Tooltip */
.tooltip-card {
  position: absolute;
  z-index: 600;
  max-width: 280px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: var(--shadow-lg);
  font-size: 0.75rem;
  color: var(--text-2);
  line-height: 1.6;
  opacity: 0;
  transition: opacity 0.15s;
}
.tooltip-btn {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-3);
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  transition: all 0.12s;
  flex-shrink: 0;
}
.tooltip-btn:hover { border-color: var(--accent); color: var(--accent); }

/* Scroll indicator */
.scroll-indicator {
  position: fixed;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  background: rgba(30, 41, 59, 0.85);
  color: white;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 500;
  z-index: 150;
  backdrop-filter: blur(4px);
  animation: scrollBounce 2s ease-in-out infinite;
  transition: opacity 0.3s;
  pointer-events: none;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-6px); }
}

/* Drop hint overlay */
.slot-drop-hint {
  position: absolute;
  inset: 0;
  background: rgba(9, 105, 218, 0.08);
  border: 2px dashed var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  z-index: 5;
  pointer-events: none;
}
