/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body Styling */
body {
  font-family: 'Inter', sans-serif;
  background-color: #0d1117;
  color: #e6edf3;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

/* Header */
.app-header {
  padding: 30px 20px 10px;
  text-align: center;
}

.app-header h1 {
  font-size: 2.6rem;
  color: #ff6b6b;
}

.tagline {
  font-size: 1.1rem;
  color: #8b949e;
  margin-top: 8px;
}

/* Main container */
.app-container {
  background-color: #161b22;
  width: 95%;
  max-width: 800px;
  margin: 20px auto;
  padding: 24px;
  border-radius: 18px;
  box-shadow: 0 0 40px rgba(255, 107, 107, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Video and canvas */
.video-section {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

video,
canvas,
#fireMask {
  width: 100%;
  border-radius: 16px;
  border: 2px solid #ff6b6b;
  background-color: #0d1117;
}

/* Status Indicator */
.status-bar {
  margin-top: 20px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #30d158;
  background-color: #1d1f23;
  padding: 10px 16px;
  border-radius: 12px;
  box-shadow: inset 0 0 10px rgba(48, 209, 88, 0.2);
}

/* Footer */
.app-footer {
  margin-top: auto;
  padding: 20px;
  font-size: 0.9rem;
  text-align: center;
  color: #8b949e;
}

/* Responsive */
@media (max-width: 600px) {
  .app-header h1 {
    font-size: 2rem;
  }

  .tagline {
    font-size: 0.95rem;
  }

  .status-bar {
    font-size: 1rem;
  }
}
