/* Reset default margins and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* General body styles */
  body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial,
      sans-serif;
    background: linear-gradient(to bottom, #ff4d6a, #cc0044); /* Pink to dark pink */
    color: #333;
    min-height: 100vh;
    padding: 60px 15px 20px;
    position: relative;
    overflow-x: hidden;
  }
  
  /* Subtle data background */
  body::before {
    content: 'Mirjalol & Fazilat Mirjalol & Fazilat';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.1);
    background: url('https://www.pngkit.com/png/detail/296-2963394_love-heart-pattern-pink-heart-png.png') repeat;
    background-size: 10%;
    opacity: 0.2;
    z-index: -1;
    white-space: nowrap;
  }
  
  /* Animated hearts background */
  .hearts-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
  }
  
  .heart {
    position: absolute;
    font-size: 1.5rem;
    color: #ffffff;
    opacity: 0.4;
    animation: float 10s infinite ease-in-out, fade 10s infinite ease-in-out;
    left: clamp(5%, calc(5% + (90% * var(--random-left))), 95%);
  }
  
  @keyframes float {
    0% {
      transform: translateY(100vh) rotate(0deg);
      opacity: 0;
    }
    50% {
      opacity: 0.5;
    }
    100% {
      transform: translateY(-100vh) rotate(360deg);
      opacity: 0;
    }
  }
  
  @keyframes fade {
    0%,
    100% {
      opacity: 0;
    }
    50% {
      opacity: 0.5;
    }
  }
  
  /* Date/Time */
  .datetime {
    position: fixed;
    top: 15px;
    left: 15px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 12px;
    border-radius: 8px;
    z-index: 10;
  }
  
  /* Login Button */
  .login-button {
    position: fixed;
    top: 15px;
    right: 15px;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    color: #ff4d6a;
    background-color: #ffffff;
    border: 2px solid #ff4d6a;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 10;
  }
  
  .login-button:hover {
    background-color: #90ee90;
    color: #ffffff;
    border-color: #90ee90;
    transform: scale(1.05);
  }
  
  /* Split Container */
  .split-container {
    display: flex;
    min-height: calc(100vh - 100px);
    margin: 0 auto;
    max-width: 1200px;
  }
  
  .profile {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: fadeInUp 1s ease-out;
  }
  
  /* Mirjalol's Side */
  .profile.mirjalol {
    background: linear-gradient(to bottom, #f5f5f5, #e0e0e0);
  }
  
  /* Fazilat's Side */
  .profile.fazilat {
    background: linear-gradient(to bottom, #ffb3b3, #ff9a9e);
  }
  
  /* Profile Image */
  .profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 3px solid #ff4d6a;
    transition: transform 0.3s ease;
  }
  
  .profile-image:hover {
    transform: scale(1.1);
  }
  
  .profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* Profile Data */
  .profile h2 {
    font-size: 2rem;
    color: #ff4d6a;
    margin-bottom: 20px;
  }
  
  .profile-data {
    list-style: none;
    font-size: 1.1rem;
    color: #333;
  }
  
  .profile-data li {
    margin: 10px 0;
  }
  
  .profile-data strong {
    color: #ff4d6a;
  }
  
  /* Love Story Section */
  .love-story {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #ff4d6a;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  
  .love-story.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  .love-story h2 {
    font-size: 2rem;
    color: #ff4d6a;
    margin-bottom: 20px;
  }
  
  .love-story h3 {
    font-size: 1.5rem;
    color: #ff4d6a;
    margin: 20px 0 15px;
  }
  
  .story-text {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.6;
  }
  
  .favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
  
  .favorite-item {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .favorite-item img {
    width: 100%;
    max-width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 2px solid #ff4d6a;
    transition: transform 0.3s ease;
  }
  
  .favorite-item img:hover {
    transform: scale(1.05);
  }
  
  .favorite-item p {
    font-size: 1rem;
    color: #333;
  }
  
  .favorite-item strong {
    color: #ff4d6a;
  }
  
  /* Animations */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Responsive design */
  @media (max-width: 800px) {
    .split-container {
      flex-direction: column;
    }
  
    .profile {
      padding: 20px;
    }
  
    .profile-image {
      width: 120px;
      height: 120px;
    }
  
    .profile h2 {
      font-size: 1.5rem;
    }
  
    .profile-data {
      font-size: 1rem;
    }
  
    .love-story {
      margin: 20px 10px;
      padding: 20px;
    }
  
    .love-story h2 {
      font-size: 1.5rem;
    }
  
    .love-story h3 {
      font-size: 1.2rem;
    }
  
    .story-text {
      font-size: 1rem;
    }
  
    .favorite-item img {
      max-width: 120px;
      height: 80px;
    }
  
    .datetime,
    .login-button {
      font-size: 0.9rem;
      padding: 6px 10px;
    }
  }