body {
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
}

#app {
  max-width: 1000px;
  margin: 0 auto;
  background: white;
  min-height: 100vh;
}

/* Header Styles */
header {
  background: rgba(255, 255, 255, 0.98);
  padding: 1rem 2rem;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

header h1 {
  color: #2c5aa0;
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
}

/* Authentication Styles */
#user-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.auth-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.fb-login-btn {
  background: #1877f2;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.fb-login-btn:hover {
  background: #166fe5;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

#user-info {
  display: none;
  align-items: center;
  gap: 1rem;
}

#user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #1877f2;
}

#user-name {
  font-weight: 600;
  color: #333;
}

.logout-btn {
  background: #6c757d;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.logout-btn:hover {
  background: #5a6268;
}

/* Main Content */
main {
  padding: 2rem;
}

main h2 {
  color: #333;
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

main > p {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 3rem;
}

/* Features Section */
#features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.feature-card h3 {
  color: #2c5aa0;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.feature-card p {
  color: #666;
  line-height: 1.6;
}

#welcome-message {
  background: #d4edda;
  color: #155724;
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 2rem;
  text-align: center;
}

.maintenance-notice {
  background: #fff3cd;
  color: #856404;
  padding: 3rem 2rem;
  border-radius: 12px;
  text-align: center;
  border: 2px dashed #ffc107;
  margin: 2rem 0;
}

.maintenance-notice h2 {
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.maintenance-notice p {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

#legal-links {
  text-align: center;
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 8px;
}

#legal-links ul {
  list-style: none;
  padding: 0;
}

#legal-links li {
  margin: 0.5rem 0;
}

#legal-links a {
  color: #2c5aa0;
  text-decoration: none;
  font-weight: 600;
}

#legal-links a:hover {
  text-decoration: underline;
}

/* Facebook Icon */
.fab.fa-facebook-f {
  font-family: "Font Awesome 5 Brands";
  font-weight: 900;
}

.fab.fa-facebook-f::before {
  content: "\f39e";
}

/* Responsive Design */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  header h1 {
    font-size: 1.5rem;
  }

  main {
    padding: 1rem;
  }

  main h2 {
    font-size: 2rem;
  }

  #features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
