
/* Herbie Bot - Universal Styles Framework */
/* This file ensures consistent styling across all pages */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  touch-action: manipulation !important;
  user-select: none !important;
  -webkit-touch-callout: none !important;
  -webkit-tap-highlight-color: transparent !important;
  -ms-touch-action: manipulation !important;
  -webkit-text-size-adjust: none !important;
  -ms-text-size-adjust: none !important;
}

html {
  touch-action: manipulation !important;
  -webkit-text-size-adjust: none !important;
  -ms-text-size-adjust: none !important;
  zoom: 1 !important;
  -webkit-user-scalable: no !important;
  -moz-user-scalable: no !important;
  user-scalable: no !important;
}

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: linear-gradient(135deg, #2d1b69, #11998e, #ffd700);
  color: white;
  min-height: 100vh;
  line-height: 1.6;
  touch-action: manipulation !important;
  -webkit-text-size-adjust: none !important;
  -ms-text-size-adjust: none !important;
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  -khtml-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  zoom: 1 !important;
  transition: background 0.5s ease;
  overflow-x: hidden;
}

/* Container */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

/* Header Styles */
.header {
  text-align: center;
  margin-bottom: 30px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(15px);
  border: 2px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.header h1 {
  font-size: 3rem;
  font-weight: bold;
  color: #ffd700;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.header p {
  font-size: 1.2rem;
  color: #fff;
  background: rgba(255, 215, 0, 0.2);
  padding: 10px;
  border-radius: 10px;
  opacity: 0.9;
}

/* Navigation */
.nav-menu {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.nav-menu a {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-menu a:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.nav-links {
  text-align: center;
  margin-top: 30px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.nav-links a {
  color: #ffd700;
  text-decoration: none;
  margin: 0 15px;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: #fff;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.8);
}

/* Content Sections */
.content-section {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  backdrop-filter: blur(15px);
  border: 2px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.content-section h2 {
  color: #ffd700;
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  border-bottom: 2px solid #ffd700;
  padding-bottom: 10px;
}

.content-section h3 {
  color: #ffd700;
  font-size: 1.4rem;
  margin-bottom: 15px;
  font-weight: bold;
}

.content-section p {
  color: #e0e0e0;
  font-size: 1rem;
  margin-bottom: 15px;
  line-height: 1.7;
}

.content-section ul, .content-section ol {
  margin-left: 20px;
  margin-bottom: 15px;
}

.content-section li {
  color: #e0e0e0;
  margin-bottom: 8px;
}

/* Content Blocks */
.content-block {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 25px;
  border-left: 4px solid #ffd700;
}

/* Cards */
.card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn {
  padding: 15px 30px;
  border: none;
  border-radius: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-size: 1rem;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  color: #333;
}

.btn-primary:hover {
  background: linear-gradient(45deg, #ffed4e, #ffd700);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
  background: linear-gradient(45deg, #4a90e2, #667eea);
  color: white;
}

.btn-secondary:hover {
  background: linear-gradient(45deg, #667eea, #4a90e2);
  transform: translateY(-2px);
}

.btn-danger {
  background: linear-gradient(45deg, #f44336, #d32f2f);
  color: white;
}

.btn-danger:hover {
  background: linear-gradient(45deg, #d32f2f, #b71c1c);
  transform: translateY(-2px);
}

/* Donation Buttons */
.donate-button {
  display: inline-block;
  padding: 15px 30px;
  margin: 10px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.donate-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.paypal-button {
  background: #0070ba;
  color: white;
}

.paypal-button:hover {
  background: #005ea6;
  text-decoration: none;
}

.venmo-button {
  background: #3D95CE;
  color: white;
}

.venmo-button:hover {
  background: #2B7AB8;
  text-decoration: none;
}

.kofi-button {
  background: #FF5E5B;
  color: white;
}

.kofi-button:hover {
  background: #E04B47;
  text-decoration: none;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  color: #ffd700;
  font-weight: bold;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 15px;
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 16px;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-input:focus {
  outline: none;
  border-color: #ffd700;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* Tables */
.table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
}

.table th {
  background: rgba(255, 215, 0, 0.3);
  color: #ffd700;
  padding: 15px;
  text-align: left;
  font-weight: bold;
}

.table td {
  padding: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #e0e0e0;
}

.table tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* Special Elements */
.highlight {
  background: rgba(255, 215, 0, 0.2);
  padding: 15px;
  border-radius: 10px;
  border: 1px solid rgba(255, 215, 0, 0.3);
  margin: 15px 0;
}

.warning {
  background: rgba(255, 107, 107, 0.2);
  border: 2px solid rgba(255, 107, 107, 0.4);
  color: #ff6b6b;
  padding: 15px;
  border-radius: 10px;
  margin: 15px 0;
}

.note {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
  font-size: 0.9rem;
  color: #ccc;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Images */
.header-image {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 215, 0, 0.3);
  display: block;
  margin: 0 auto 20px;
}

/* Footer */
.footer {
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 15px;
  }

  .header {
    padding: 20px;
  }

  .header h1 {
    font-size: 2rem;
  }

  .content-section {
    padding: 20px;
  }

  .nav-menu {
    gap: 10px;
  }

  .nav-menu a {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .nav-links {
    padding: 15px;
    font-size: 0.8rem;
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .donate-button {
    padding: 12px 20px;
    font-size: 1rem;
    margin: 5px;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }

.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }

.p-10 { padding: 10px; }
.p-20 { padding: 20px; }
.p-30 { padding: 30px; }

.color-gold { color: #ffd700; }
.color-white { color: white; }
.color-light { color: #e0e0e0; }

.font-bold { font-weight: bold; }
.font-normal { font-weight: normal; }

.hidden { display: none; }
.visible { display: block; }

/* Loading States */
.loading {
  text-align: center;
  color: #ffd700;
  font-size: 1.2rem;
  margin: 20px 0;
}

.loading::after {
  content: "...";
  animation: dots 1.5s steps(5, end) infinite;
}

@keyframes dots {
  0%, 20% { color: rgba(255, 215, 0, 0); }
  40% { color: #ffd700; }
  100% { color: #ffd700; }
}
