:root {
  --primary-color: #ff458b;
  --primary-light: #ff6699;
  --primary-dark: #cc1f5b;
  --bg-light: #f0f2f5;
  --bg-dark: #1a1a1a;
  --bg-profile: rgba(255, 255, 255, 0.9);
  --bg-accent: #4d1a1a;
  --text-dark: #333333;
  --text-light: #f9f9f9;
  --text-muted: #777777;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.25);
  --shadow-strong: 0 15px 35px rgba(0, 0, 0, 0.4);
  --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  --border-radius: 12px;
}

/* Base styles */
body {
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-accent));
  background-size: 400% 400%;
  min-height: 100vh;
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  color: var(--text-light);
  overflow-x: hidden;
  animation: morrisseyMood 30s infinite;
  line-height: 1.6;
  letter-spacing: 0.015em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Dating profile container */
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  padding: 2rem;
  max-width: 500px;
  margin: 0 auto;
}

/* Dating profile card */
.profile-card {
  background-color: var(--bg-profile);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-strong);
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-bottom: 2rem;
  text-align: left;
  color: var(--text-dark);
}

/* Profile header section */
.profile-header {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

/* Profile picture/silhouette with "coma effect" */
.profile-picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(120%) brightness(70%) blur(1px);
  animation: pulse 5s infinite;
}

/* Online/offline status indicator */
.status-indicator {
  position: absolute;
  bottom: 15px;
  right: 15px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #ff3b3b;
  border: 3px solid white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.status-indicator::after {
  content: 'Inactive - In a coma';
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-right: 8px;
  background: rgba(0, 0, 0, 0.7);
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 0.7rem;
  color: white;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
}

.status-indicator:hover::after {
  opacity: 1;
}

/* Profile info section */
.profile-info {
  padding: 20px;
}

.profile-name {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  color: var(--text-dark);
}

.profile-name .girl { 
  color: var(--primary-color); 
}

.profile-name .age {
  font-weight: 400;
  margin-left: 10px;
}

.profile-location {
  font-size: 1rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 5px 0 15px;
}

.profile-location span {
  color: var(--primary-color);
  font-weight: 500;
}

/* Bio section */
.profile-bio {
  margin: 15px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 15px;
}

.bio-title {
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.bio-content {
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Stats/interests section */
.profile-stats {
  display: flex;
  gap: 10px;
  margin: 15px 0;
}

.stat-item {
  background-color: rgba(255, 69, 139, 0.1);
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--primary-color);
}

/* About me section */
.about-section {
  margin: 20px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 15px;
}

.about-title {
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.about-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.about-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
}

.about-item span {
  font-weight: 500;
}

/* Action buttons section */
.profile-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.action-button {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
}

.action-button.primary {
  background-color: var(--primary-color);
  color: white;
}

.action-button.secondary {
  background-color: #e0e0e0;
  color: var(--text-dark);
}

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

/* Coma joke section */
.coma-jokes {
  margin: 20px 0;
  padding: 15px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: var(--border-radius);
  color: var(--text-dark);
}

.joke-title {
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.joke-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.joke-list li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.joke-list li::before {
  content: '😴';
  position: absolute;
  left: 0;
  top: 2px;
}

/* Match percentage */
.match-percentage {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-color);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  line-height: 1;
}

.match-percentage span {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Morrissey branding */
.morrissey-branding {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  color: white;
  display: flex;
  align-items: center;
  gap: 5px;
}

.morrissey-branding img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

/* Audio control panel restyled as dating app feature */
.audio-control {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: var(--bg-profile);
  padding: 12px 15px;
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 69, 139, 0.2);
  transition: var(--transition-smooth);
  color: var(--text-dark);
}

.audio-control:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.audio-control::before {
  content: "Mood Music";
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-right: 5px;
}

#toggleAudio {
  background: none;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 8px 12px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

#toggleAudio:hover {
  transform: scale(1.1);
  background: rgba(255, 69, 139, 0.1);
  box-shadow: 0 0 10px rgba(255, 69, 139, 0.2);
}

#volumeControl {
  width: 80px;
  accent-color: var(--primary-color);
}

.audio-control button {
  background: none;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 6px 10px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.audio-control button:hover {
  transform: scale(1.05);
  background: rgba(255, 69, 139, 0.1);
}

.audio-control button.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

/* Hidden audio element but still functional */
#backgroundMusic {
  display: none;
}

/* Quote rotator restyled as dating testimonials */
.quote-rotator {
  position: fixed;
  bottom: 20px;
  left: 20px;
  font-style: italic;
  opacity: 0.9;
  transition: opacity 0.3s;
  background-color: var(--bg-profile);
  padding: 15px;
  border-radius: var(--border-radius);
  max-width: 300px;
  box-shadow: var(--shadow-soft);
  color: var(--text-dark);
}

.quote-rotator::before {
  content: "What friends say:";
  display: block;
  font-weight: 700;
  font-style: normal;
  margin-bottom: 5px;
  color: var(--primary-color);
}

/* Maintain existing animations */
@keyframes morrisseyMood {
  0% { 
    background-position: 0% 50%; 
    background-size: 200% 200%; 
    filter: saturate(100%);
  }
  50% { 
    background-position: 100% 50%; 
    background-size: 250% 250%;
    filter: saturate(110%);
  }
  100% { 
    background-position: 0% 50%; 
    background-size: 200% 200%;
    filter: saturate(100%);
  }
}

@keyframes pulse {
  0% { filter: contrast(120%) brightness(70%) blur(1px); }
  50% { filter: contrast(125%) brightness(75%) blur(2px); }
  100% { filter: contrast(120%) brightness(70%) blur(1px); }
}

/* Responsive styling for mobile */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }
  
  .profile-header {
    height: 250px;
  }
  
  .audio-control {
    top: 10px;
    right: 10px;
    padding: 8px;
    gap: 8px;
  }
  
  .audio-control::before {
    display: none;
  }
  
  .quote-rotator {
    bottom: 10px;
    left: 10px;
    padding: 10px;
    max-width: 250px;
  }
  
  .about-items {
    grid-template-columns: 1fr;
  }
}

/* Keep other necessary elements */
.rain-overlay, .mood-meter, .mood-bar {
  /* Keep these elements with same styling */
  display: none;
}

/* Tweak the hover effects for dating profile elements */
.profile-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
}
