/* Navigation arrows */
.nav-arrow {
  position: fixed;
  bottom: 2rem;
  width: 48px;
  height: 48px;
  border: 2px solid currentColor;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 100;
}

.nav-arrow:hover {
  background: inherit;
  background-color: currentColor;
}

.nav-arrow:hover svg {
  color: var(--bg-dark);
}

.nav-arrow svg {
  width: 24px;
  height: 24px;
}

.nav-arrow.left {
  left: 2rem;
}

.nav-arrow.right {
  right: 2rem;
}

.nav-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Typography */
.title-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  color: currentColor;
}

.title-main {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.9;
  color: currentColor;
  text-shadow: 0 0 80px currentColor;
}

.title-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-top: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.big-number {
  font-family: var(--font-display);
  font-size: clamp(6rem, 20vw, 14rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.85;
  color: currentColor;
  text-shadow: 0 0 100px currentColor;
}

.stat-description {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-top: 1.5rem;
}

.highlight-box {
  display: inline-block;
  background: var(--theme-pink);
  color: #000;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-weight: 700;
}

/* Theme-specific highlight colors */
.theme-green .highlight-box { background: var(--theme-green); }
.theme-pink .highlight-box { background: var(--theme-pink); }
.theme-cyan .highlight-box { background: var(--theme-cyan); }
.theme-yellow .highlight-box { background: var(--theme-yellow); }
.theme-purple .highlight-box { background: var(--theme-purple); }

/* Decorative icons row */
.deco-icons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  opacity: 0.6;
}

.deco-icon {
  width: 32px;
  height: 32px;
}

/* 3D GitHub Icon Frame */
.github-3d-frame {
  perspective: 1000px;
  margin: 1rem auto;
  width: 250px;
  height: 250px;
}

.github-3d-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: float3d 12s ease-in-out infinite;
}

@keyframes float3d {
  0%, 100% {
    transform: rotateY(-15deg) rotateX(10deg) translateY(0);
  }
  25% {
    transform: rotateY(15deg) rotateX(-5deg) translateY(-10px);
  }
  50% {
    transform: rotateY(-10deg) rotateX(5deg) translateY(0);
  }
  75% {
    transform: rotateY(10deg) rotateX(-10deg) translateY(-5px);
  }
}

.github-3d-face {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid currentColor;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(0, 255, 135, 0.1), rgba(0, 255, 135, 0.02));
  display: flex;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;
  box-shadow: 
    0 0 30px rgba(0, 255, 135, 0.2),
    inset 0 0 30px rgba(0, 255, 135, 0.05);
}

.github-3d-face svg {
  width: 120px;
  height: 120px;
  color: currentColor;
  filter: drop-shadow(0 0 20px currentColor);
}

.github-3d-frame::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280px;
  height: 280px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(0, 255, 135, 0.15), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* Start button */
.start-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  border: 2px solid currentColor;
  border-radius: 8px;
  background: var(--bg-dark);
  color: currentColor;
  cursor: pointer;
  margin-top: 2.5rem;
  transition: all 0.2s ease;
}

.start-btn:hover {
  background: var(--theme-green);
  color: #000;
}

.start-btn svg {
  width: 20px;
  height: 20px;
}

/* Input section */
.input-section {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* Demo mode toggle */
.demo-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.demo-toggle input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--theme-green);
  cursor: pointer;
}

.demo-toggle label {
  cursor: pointer;
}

.demo-badge {
  background: rgba(0, 255, 135, 0.2);
  color: var(--theme-green);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
}

.username-input {
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  font-family: inherit;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  width: 320px;
  text-align: center;
  transition: all 0.3s ease;
}

.username-input:focus {
  outline: none;
  border-color: currentColor;
  background: rgba(255, 255, 255, 0.08);
}

.username-input::placeholder {
  color: var(--text-secondary);
}

.token-input {
  font-size: 0.95rem;
  padding: 0.75rem 1.25rem;
}

/* Theme classes */
.theme-green { color: var(--theme-green); }
.theme-pink { color: var(--theme-pink); }
.theme-cyan { color: var(--theme-cyan); }
.theme-yellow { color: var(--theme-yellow); }
.theme-purple { color: var(--theme-purple); }

/* Footer */
.footer {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.85rem;
  color: var(--text-secondary);
  z-index: 50;
}
