/* Love Money Game - Specialized Styles */

/* Love Money specific color scheme */
:root {
  /* Love Money theme colors */
  --love-pink: #ff69b4;
  --love-purple: #da70d6;
  --love-rose: #ffc0cb;
  --love-magenta: #ff1493;
  --love-lavender: #e6e6fa;
  
  /* Love Money gradients */
  --gradient-love: linear-gradient(135deg, var(--love-pink) 0%, var(--love-purple) 50%, var(--love-magenta) 100%);
  --gradient-love-soft: linear-gradient(135deg, var(--love-rose) 0%, var(--love-lavender) 100%);
  --gradient-love-dark: linear-gradient(135deg, var(--love-magenta) 0%, var(--love-purple) 100%);
  
  /* Love Money shadows and glows */
  --shadow-love: 0 0 20px rgba(255, 105, 180, 0.6);
  --glow-love: 0 0 15px rgba(255, 20, 147, 0.8);
}

/* Love Money Hero Section */
.love-money-hero {
  background: var(--gradient-love-dark);
  position: relative;
  overflow: hidden;
}

.love-money-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 70%, rgba(255, 105, 180, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(218, 112, 214, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 20, 147, 0.1) 0%, transparent 50%);
  animation: loveGlow 8s ease-in-out infinite;
}

@keyframes loveGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

/* Game Icon */
.game-icon {
  margin-bottom: 2rem;
  animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.game-icon-img {
  width: 120px;
  height: 120px;
  border-radius: 25px;
  box-shadow: 
    var(--shadow-love),
    0 20px 40px rgba(255, 20, 147, 0.3);
  border: 3px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  opacity: 0;
  animation: iconFadeIn 1s ease-out 0.5s forwards;
}

@keyframes iconFadeIn {
  to { opacity: 1; }
}

.game-icon-img:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 
    var(--glow-love),
    0 25px 50px rgba(255, 20, 147, 0.4);
}

/* Love Money Title */
.love-money-title {
  background: var(--gradient-love);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  position: relative;
}

.love-money-title::after {
  content: 'LOVE MONEY';
  position: absolute;
  top: 0;
  left: 0;
  background: var(--gradient-love);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: blur(15px);
  z-index: -1;
  opacity: 0.8;
}

/* Love Money CTA Button */
.love-money-cta {
  background: var(--gradient-love);
  box-shadow: var(--shadow-love);
}

.love-money-cta:hover {
  box-shadow: 
    var(--shadow-love),
    0 15px 40px rgba(255, 20, 147, 0.4);
}

/* Game Info Container */
.game-info-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  background: var(--bg-card);
  padding: 3rem;
  border-radius: 20px;
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
}

.game-info-container::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-love);
  border-radius: 20px;
  z-index: -1;
  opacity: 0.3;
}

.game-screenshot {
  text-align: center;
}

.screenshot-img {
  width: 100%;
  max-width: 400px;
  border-radius: 15px;
  box-shadow: 
    var(--shadow-love),
    0 20px 40px rgba(255, 20, 147, 0.2);
  transition: all 0.3s ease;
  opacity: 0;
  animation: screenshotFadeIn 1s ease-out 0.8s forwards;
}

@keyframes screenshotFadeIn {
  to { opacity: 1; }
}

.screenshot-img:hover {
  transform: scale(1.05);
  box-shadow: 
    var(--glow-love),
    0 25px 50px rgba(255, 20, 147, 0.3);
}

/* Game Details */
.game-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border-left: 4px solid var(--love-pink);
  transition: all 0.3s ease;
}

.detail-item:hover {
  background: rgba(255, 105, 180, 0.1);
  transform: translateX(10px);
}

.detail-label {
  font-weight: 600;
  color: #ffffff;
  font-size: 1.1rem;
}

.detail-value {
  color: var(--love-pink);
  font-weight: 700;
  font-size: 1.1rem;
}

/* Download Section */
.download-section {
  background: var(--bg-dark);
  position: relative;
}

.download-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(255, 105, 180, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(218, 112, 214, 0.1) 0%, transparent 50%);
}

.download-container {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.download-card {
  background: var(--bg-card);
  padding: 3rem;
  border-radius: 20px;
  text-align: center;
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
  overflow: hidden;
}

.download-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-love);
  border-radius: 20px;
  z-index: -1;
  opacity: 0.3;
}

.download-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  animation: downloadPulse 2s ease-in-out infinite;
}

@keyframes downloadPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.download-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradient-love);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

.download-description {
  color: #cccccc;
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.download-info {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 105, 180, 0.2);
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  color: #ffffff;
  font-weight: 600;
}

.info-value {
  color: var(--love-pink);
  font-weight: 700;
}

.download-button {
  display: inline-block;
  padding: 1.5rem 3rem;
  background: var(--gradient-love);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 50px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-love);
  margin-bottom: 1rem;
}

.download-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.download-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 
    var(--shadow-love),
    0 20px 50px rgba(255, 20, 147, 0.4);
}

.download-button:hover::before {
  left: 100%;
}

.download-note {
  color: #ffcc00;
  font-size: 0.9rem;
  font-style: italic;
}

/* Love Money Features */
.love-money-feature {
  border-left: 5px solid var(--love-pink);
}

.love-money-feature:hover {
  border-left-color: var(--love-magenta);
  box-shadow: 
    var(--shadow-game),
    0 0 30px rgba(255, 105, 180, 0.3);
}

.love-money-feature .feature-icon {
  background: var(--gradient-love);
  box-shadow: 0 10px 30px rgba(255, 105, 180, 0.3);
}

/* Related Games Section */
.related-games-section {
  background: var(--bg-secondary);
  padding: 6rem 2rem;
}

.related-games-container {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.related-game-card {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.related-game-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  border-radius: 18px;
}

.related-game-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-red);
  box-shadow: 
    var(--shadow-game),
    0 0 30px rgba(255, 0, 51, 0.3);
}

.related-game-card:hover::before {
  opacity: 0.1;
}

.related-game-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(255, 0, 51, 0.3);
}

.related-game-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
}

.related-game-description {
  color: #cccccc;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.related-game-link {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--gradient-primary);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.related-game-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 0, 51, 0.4);
}

/* Love Money CTA Section */
.love-money-cta-section {
  background: var(--gradient-love);
  position: relative;
  overflow: hidden;
}

.love-money-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="50,15 90,85 10,85" fill="white" opacity="0.05"/></svg>');
  animation: loveFloat 6s ease-in-out infinite;
}

@keyframes loveFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.love-money-cta-secondary {
  background: #ffffff;
  color: var(--love-magenta);
}

.love-money-cta-secondary:hover {
  background: var(--bg-dark);
  color: #ffffff;
}

/* Responsive Design for Love Money */
@media (max-width: 768px) {
  .game-info-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }
  
  .game-icon-img {
    width: 100px;
    height: 100px;
  }
  
  .download-card {
    padding: 2rem;
  }
  
  .download-button {
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
  }
  
  .related-games-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .game-icon-img {
    width: 80px;
    height: 80px;
  }
  
  .download-button {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
  
  .detail-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

/* Love Money specific animations */
@keyframes loveHeartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.love-money-hero .hero-title {
  animation: loveHeartbeat 2s ease-in-out infinite;
}

/* Accessibility for Love Money */
@media (prefers-reduced-motion: reduce) {
  .game-icon-img,
  .screenshot-img,
  .download-icon,
  .love-money-hero .hero-title {
    animation: none;
  }
}
