/* Where Is Fry? - Satirical Website Styles - Updated Version */

:root {
  --primary-color: #e74c3c;
  --secondary-color: #3498db;
  --accent-color: #f1c40f;
  --text-color: #2c3e50;
  --light-color: #ecf0f1;
  --dark-color: #34495e;
  --font-main: 'Comic Sans MS', 'Comic Sans', cursive;
  --font-header: 'Impact', 'Arial Black', sans-serif;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--light-color);
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
  padding: 2rem 0;
  background-image: url('https://images.unsplash.com/photo-1580502738360-a8a4c8d1e8a3?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
  background-size: cover;
  background-position: center;
  position: relative;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.header-content {
  position: relative;
  z-index: 2;
}

h1.site-title {
  font-family: var(--font-header);
  font-size: 4rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  text-shadow: 3px 3px 0 #000;
  color: var(--accent-color);
}

.tagline {
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 1rem;
}

/* Character Image */
.character-container {
  text-align: center;
  margin: 2rem 0;
}

.character-image {
  max-width: 200px;
  border: 5px solid var(--dark-color);
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Constituent Concerns Section */
.constituent-concerns-section {
  background-color: white;
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.concerns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.concern-card {
  background-color: var(--light-color);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

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

.concern-card.voted {
  border: 3px solid var(--accent-color);
  background-color: #fef9e7;
}

.concern-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.concern-card h3 {
  color: var(--dark-color);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.concern-card p {
  font-size: 0.9rem;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.concern-votes {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}

.vote-count {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary-color);
}

.vote-button {
  background-color: var(--secondary-color);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  font-family: var(--font-main);
  transition: background-color 0.3s ease;
}

.vote-button:hover {
  background-color: #2980b9;
}

.vote-button:disabled {
  background-color: #95a5a6;
  cursor: not-allowed;
}

.add-concern-form {
  background-color: var(--light-color);
  padding: 1.5rem;
  border-radius: 10px;
  margin: 2rem 0;
}

.add-concern-form h3 {
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: var(--font-main);
}

.form-group textarea {
  height: 100px;
  resize: vertical;
}

.add-concern-button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  font-family: var(--font-main);
  transition: background-color 0.3s ease;
}

.add-concern-button:hover {
  background-color: #c0392b;
}

.voting-results {
  background-color: var(--light-color);
  padding: 1.5rem;
  border-radius: 10px;
  margin: 2rem 0;
}

.voting-results h3 {
  margin-bottom: 1rem;
}

.chart-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.chart-label {
  width: 30%;
  font-weight: bold;
  text-align: right;
}

.chart-bar-container {
  width: 70%;
  height: 30px;
  background-color: #ddd;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
}

.chart-bar {
  height: 100%;
  background-color: var(--secondary-color);
  border-radius: 15px;
}

.chart-percentage {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  color: white;
  font-size: 0.9rem;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

.chart-total {
  margin-top: 1rem;
  font-weight: bold;
  text-align: right;
}

/* Sightings Section */
.sightings-section {
  background-color: white;
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sighting-card {
  background-color: var(--light-color);
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 5px;
  border-left: 5px solid var(--secondary-color);
}

.sighting-card h4 {
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

.sighting-card p {
  font-size: 0.9rem;
}

.sighting-card .date {
  color: var(--secondary-color);
  font-style: italic;
  font-size: 0.8rem;
}

/* Loyalty Meter */
.loyalty-section {
  background-color: white;
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.meter-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.meter {
  height: 30px;
  background-color: #ddd;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
}

.meter-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.meter-fill {
  height: 100%;
  border-radius: 15px;
  transition: width 1s ease-in-out;
}

.meter-fill.trump {
  background-color: var(--primary-color);
  width: 100%;
}

.meter-fill.constituents {
  background-color: var(--secondary-color);
  width: 10%;
}

/* Excuses Generator */
.excuses-section {
  background-color: white;
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.wheel-container {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 2rem auto;
}

.wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  transition: transform 3s ease-out;
  transform: rotate(0deg);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.wheel-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.wheel-pointer {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 30px solid var(--dark-color);
  z-index: 3;
}

.spin-button {
  background-color: var(--accent-color);
  color: var(--dark-color);
  border: none;
  padding: 10px 20px;
  font-size: 1.2rem;
  border-radius: 5px;
  cursor: pointer;
  font-family: var(--font-main);
  font-weight: bold;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
}

.spin-button:hover {
  background-color: #f39c12;
}

.excuse-display {
  margin-top: 2rem;
  padding: 1rem;
  background-color: var(--light-color);
  border-radius: 5px;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-style: italic;
  flex-direction: column;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  text-align: center;
  padding: 3rem 0;
  margin-top: 2rem;
}

.disclaimer {
  font-size: 0.9rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  line-height: 1.6;
}

.disclaimer h3 {
  margin-bottom: 1rem;
  font-family: var(--font-header);
  letter-spacing: 1px;
}

.disclaimer p {
  margin-bottom: 0.8rem;
}

.share-section {
  max-width: 600px;
  margin: 0 auto 2rem;
}

.share-section h3 {
  margin-bottom: 1rem;
  font-family: var(--font-header);
  letter-spacing: 1px;
}

.share-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.share-button {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  color: white;
}

.share-button.facebook {
  background-color: #3b5998;
}

.share-button.facebook:hover {
  background-color: #2d4373;
}

.share-button.twitter {
  background-color: #1da1f2;
}

.share-button.twitter:hover {
  background-color: #0c85d0;
}

.share-button.bluesky {
  background-color: #0085ff;
}

.share-button.bluesky:hover {
  background-color: #0066cc;
}

.share-button i {
  margin-right: 0.5rem;
}

.copyright {
  font-size: 0.8rem;
  opacity: 0.8;
  max-width: 800px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  h1.site-title {
    font-size: 3rem;
  }
  
  .tagline {
    font-size: 1.2rem;
  }
  
  .wheel-container {
    width: 200px;
    height: 200px;
  }
  
  .chart-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .chart-label {
    width: 100%;
    text-align: left;
    margin-bottom: 0.5rem;
  }
  
  .chart-bar-container {
    width: 100%;
  }
}

@media (max-width: 480px) {
  h1.site-title {
    font-size: 2rem;
  }
  
  .tagline {
    font-size: 1rem;
  }
}