@charset "UTF-8";

/* ========================================
   HOMEPAGE SPECIFIC STYLES
   ======================================== */

/* 主页导航栏样式 - 与其他页面分离 */
.top-nav.homepage-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  padding: 12px 20px;
  transition: all 0.3s ease;
}

.top-nav.homepage-nav:hover {
  background: transparent;
  border-bottom-color: transparent;
}

/* 主页导航栏布局 */
.top-nav.homepage-nav {
  padding: 0 !important;
}

.top-nav.homepage-nav .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 20px;
}

.top-nav.homepage-nav .nav-desktop {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-shrink: 0;
}

.top-nav.homepage-nav .nav-small-title {
  font-size: 20px;
  color: #666;
  font-weight: 500;
  margin-right: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Language Switcher Styles */
.nav-language-switcher {
  display: flex;
  align-items: center;
  margin-right: 16px;
  flex-shrink: 0;
}

/* Language Dropdown Styles */
.language-switcher-trigger {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
}

.language-switcher-trigger .dropdown-arrow {
  font-size: 10px;
  opacity: 0.7;
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .language-switcher-trigger .dropdown-arrow,
.nav-dropdown.active .language-switcher-trigger .dropdown-arrow {
  transform: rotate(180deg);
}

.language-dropdown-menu {
  min-width: 160px;
  padding: 8px 0;
  right: 0 !important;
  left: auto !important;
}

.language-dropdown-menu .dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  gap: 12px;
  transition: all 0.2s ease;
}

.language-dropdown-menu .dropdown-link:hover {
  background: rgba(102, 126, 234, 0.1);
}

.language-dropdown-menu .dropdown-link.active {
  background: rgba(102, 126, 234, 0.15);
  color: var(--primary-blue);
  font-weight: 600;
}

.language-code {
  font-weight: 600;
  min-width: 32px;
  text-align: left;
}

.language-name {
  flex: 1;
  text-align: right;
  opacity: 0.8;
}

.language-select {
  font-size: 14px;
  font-weight: 500;
  color: #666;
  padding: 6px 32px 6px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
  background: rgba(102, 126, 234, 0.05);
  border: 1px solid rgba(102, 126, 234, 0.1);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  min-width: 140px;
  outline: none;
}

.language-select:hover {
  background-color: rgba(102, 126, 234, 0.1);
  color: var(--primary-blue);
  border-color: rgba(102, 126, 234, 0.2);
}

.language-select:focus {
  background-color: rgba(102, 126, 234, 0.15);
  color: var(--primary-blue);
  border-color: rgba(102, 126, 234, 0.3);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.language-select option {
  background: white;
  color: #333;
  padding: 8px;
}

/* Mobile Language Switcher */
@media (max-width: 768px) {
  .nav-language-switcher {
    margin-right: 0;
    margin-bottom: 12px;
    justify-content: center;
  }
  
  .language-select.mobile {
    width: 100%;
    max-width: 200px;
    margin-top: 8px;
  }
  
  /* 移动端菜单中的语言选择框样式 */
  .top-nav.homepage-nav .menu-section .language-select {
    width: 100%;
    margin-top: 8px;
    padding: 8px 32px 8px 12px;
    font-size: 14px;
  }
}

.top-nav.homepage-nav .nav-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #333;
  font-size: 14px;
  flex-shrink: 0;
  margin-right: 20px;
}

.top-nav.homepage-nav .nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* 主页导航栏链接样式 */
.top-nav.homepage-nav .nav-desktop a {
  background: rgba(102, 126, 234, 0.1);
  border: 1px solid rgba(102, 126, 234, 0.2);
  border-radius: 20px;
  padding: 8px 16px;
  text-decoration: none;
  color: var(--primary-blue);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  flex-shrink: 0;
}

/* 导航下拉菜单容器 */
.top-nav.homepage-nav .nav-dropdown {
  position: relative;
  display: inline-block;
}

/* 下拉菜单样式 */
.top-nav.homepage-nav .nav-dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(102, 126, 234, 0.3);
  border-radius: 16px;
  padding: 8px;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  z-index: 1001;
}

/* 语言下拉菜单左对齐 */
.top-nav.homepage-nav .nav-dropdown .language-dropdown-menu {
  left: 0 !important;
  right: auto !important;
}

/* 悬停时显示下拉菜单 */
.top-nav.homepage-nav .nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 点击激活时显示下拉菜单 */
.top-nav.homepage-nav .nav-dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 下拉菜单链接样式 - 使用更具体的选择器确保样式优先级 */
.top-nav.homepage-nav .nav-dropdown .dropdown-menu a.dropdown-link {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: #667eea !important;
  font-size: 14px;
  font-weight: 500;
  border-radius: 12px;
  transition: all 0.3s ease;
  white-space: nowrap;
  background: transparent !important;
  border: none !important;
  margin: 0;
}

.top-nav.homepage-nav .nav-dropdown .dropdown-menu a.dropdown-link:hover {
  background: rgba(102, 126, 234, 0.15) !important;
  color: #667eea !important;
  transform: translateX(4px);
}

.top-nav.homepage-nav .nav-dropdown .dropdown-menu a.dropdown-link.nav-active {
  background: var(--primary-gradient) !important;
  color: white !important;
}

.top-nav.homepage-nav .nav-desktop a:hover {
  background: rgba(102, 126, 234, 0.2);
  border-color: rgba(102, 126, 234, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.top-nav.homepage-nav .nav-desktop a.nav-active {
  background: var(--primary-gradient);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.top-nav.homepage-nav .nav-desktop a.nav-active:hover {
  background: var(--secondary-gradient);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* 主页移动端导航样式 */
.top-nav.homepage-nav .nav-mobile {
  display: none;
}

.top-nav.homepage-nav .menu-toggle {
  background: rgba(102, 126, 234, 0.1);
  border: 1px solid rgba(102, 126, 234, 0.2);
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--primary-blue);
  font-weight: 600;
  transition: all 0.3s ease;
}

.top-nav.homepage-nav .menu-toggle:hover {
  background: rgba(102, 126, 234, 0.2);
  border-color: rgba(102, 126, 234, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.top-nav.homepage-nav .menu-toggle.active {
  background: rgba(102, 126, 234, 0.3);
  border-color: rgba(102, 126, 234, 0.6);
  color: var(--primary-blue);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

/* ========================================
   GENERATOR STYLES
   ======================================== */

.generator {
  background: var(--pure-white);
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: var(--space-xl);
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-medium);
  backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out 0.2s both, gentleFloat 6s ease-in-out infinite;
}

.generator::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--primary-gradient);
  opacity: 0.6;
}

.generator:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: rgba(102, 126, 234, 0.2);
}

.mood-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: var(--space-lg);
  padding: var(--space-md);
  justify-items: center;
  position: relative;
}

.mood-btn {
  padding: 16px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-secondary);
  position: relative;
  overflow: hidden;
  text-align: center;
  font-size: 0;
  width: 110px;
  height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 
              0 2px 8px rgba(0, 0, 0, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: fadeInUp 0.6s ease-out both;
}

.mood-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.1) 0%, 
    rgba(255, 255, 255, 0.05) 50%, 
    rgba(255, 255, 255, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 20px;
}

.mood-btn:nth-child(1) { animation-delay: 0.1s; }
.mood-btn:nth-child(2) { animation-delay: 0.2s; }
.mood-btn:nth-child(3) { animation-delay: 0.3s; }
.mood-btn:nth-child(4) { animation-delay: 0.4s; }
.mood-btn:nth-child(5) { animation-delay: 0.5s; }

.mood-btn img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 50%;
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.mood-label {
  font-size: 14px;
  font-weight: 600;
  color: white;
  text-transform: capitalize;
  line-height: 1.2;
  margin-top: 2px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6),
               0 1px 2px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.mood-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 
              0 4px 16px rgba(0, 0, 0, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.mood-btn:hover::before {
  opacity: 1;
}

.mood-btn:hover img {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4)) 
          drop-shadow(0 0 12px rgba(255, 255, 255, 0.3));
}

.mood-btn:hover .mood-label {
  color: white;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.7),
               0 1px 3px rgba(0, 0, 0, 0.5),
               0 0 8px rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.mood-btn.active {
  background: rgba(255, 255, 255, 0.3);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 
              0 2px 8px rgba(0, 0, 0, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.3),
              0 0 20px rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.mood-btn.active img {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4)) 
          drop-shadow(0 0 12px rgba(255, 255, 255, 0.4));
}

.mood-btn.active .mood-label {
  color: white;
  font-weight: 700;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.7),
               0 1px 3px rgba(0, 0, 0, 0.5),
               0 0 8px rgba(255, 255, 255, 0.3);
}

.mood-btn:active {
  transform: translateY(0) scale(1.02);
  transition: all 0.1s ease;
}

/* 专门为生成按钮设置绿色样式 */
#generateBtn {
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-hover) 100%) !important;
  background-size: 200% 200% !important;
  border: 1px solid var(--accent-green) !important;
  color: white !important;
  box-shadow: var(--shadow-medium), 0 0 20px rgba(0, 168, 150, 0.3);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 1s ease-out 0.4s both, gradientShift 4s ease-in-out infinite !important;
}

#generateBtn::before {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

#generateBtn:hover {
  background: linear-gradient(135deg, var(--accent-green-hover) 0%, #00E5C4 100%) !important;
  border-color: var(--accent-green-hover) !important;
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover), 0 0 30px rgba(0, 168, 150, 0.4);
}

#generateBtn:disabled {
  background: rgba(0, 168, 150, 0.6) !important;
  border-color: rgba(0, 168, 150, 0.6) !important;
  cursor: not-allowed;
  transform: none;
  box-shadow: var(--shadow-soft);
}

/* ========================================
   PREVIEW & RESULT ACTIONS
   ======================================== */

.preview {
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 2px solid var(--border-color);
  background: var(--pure-white);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 360px;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.preview:hover {
  box-shadow: var(--shadow-hover);
}

.preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.preview img:hover {
  transform: scale(1.02);
  cursor: pointer;
}

.result-actions {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  align-items: center;
  flex-wrap: nowrap;
}

.result-actions button,
.result-actions a {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  white-space: nowrap;
}

.result-actions button .btn-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.result-actions button span {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

/* ========================================
   WAITING PLACEHOLDER STYLES
   ======================================== */

.waiting-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffeef8 0%, #f0f9ff 50%, #e8f5e8 100%);
  position: relative;
  overflow: hidden;
  animation: magicBackground 8s ease-in-out infinite;
}

.waiting-placeholder::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(116, 185, 255, 0.1) 0%, transparent 50%);
  animation: magicOrb 6s ease-in-out infinite;
}

.waiting-placeholder::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255, 182, 193, 0.3) 0%, transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(173, 216, 230, 0.3) 0%, transparent 30%),
    radial-gradient(circle at 40% 80%, rgba(221, 160, 221, 0.2) 0%, transparent 25%);
  animation: magicAura 10s ease-in-out infinite;
}

.waiting-content {
  text-align: center;
  padding: 40px 20px;
  position: relative;
  z-index: 3;
}

.waiting-content::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  border: 2px solid rgba(116, 185, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: magicCircle 8s linear infinite;
}

.waiting-content::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150px;
  height: 150px;
  border: 1px dashed rgba(221, 160, 221, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: magicCircle 6s linear infinite reverse;
}

.waiting-icon {
  position: relative;
  margin-bottom: 20px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
}

.waiting-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: magicGlow 3s ease-in-out infinite;
}

.magic-wand {
  font-size: 48px;
  animation: float 3s ease-in-out infinite;
  z-index: 5;
  position: relative;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8));
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

.sparkle {
  position: absolute;
  font-size: 20px;
  opacity: 0;
  animation: sparkle 2s ease-in-out infinite;
  z-index: 6;
  filter: drop-shadow(0 0 5px currentColor);
}

.sparkle-1 {
  top: 10px;
  left: 20px;
  animation-delay: 0s;
}

.sparkle-2 {
  top: 30px;
  right: 15px;
  animation-delay: 0.7s;
}

.sparkle-3 {
  bottom: 20px;
  left: 30px;
  animation-delay: 1.4s;
}

.waiting-text h3 {
  color: var(--text-primary);
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 12px 0;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.waiting-text p {
  color: var(--text-secondary);
  font-size: 16px;
  margin: 0;
  opacity: 0.8;
  line-height: 1.5;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(5deg);
  }
}

@keyframes sparkle {
  0%, 100% {
    opacity: 0;
    transform: scale(0.8) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.2) rotate(180deg);
  }
}

@keyframes magicBackground {
  0%, 100% {
    filter: hue-rotate(0deg) brightness(1);
  }
  25% {
    filter: hue-rotate(10deg) brightness(1.05);
  }
  50% {
    filter: hue-rotate(20deg) brightness(1.1);
  }
  75% {
    filter: hue-rotate(10deg) brightness(1.05);
  }
}

@keyframes magicOrb {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
    opacity: 0.3;
  }
  50% {
    transform: translate(-45%, -45%) scale(1.2) rotate(180deg);
    opacity: 0.6;
  }
}

@keyframes magicAura {
  0%, 100% {
    opacity: 0.4;
    transform: scale(1) rotate(0deg);
  }
  33% {
    opacity: 0.7;
    transform: scale(1.1) rotate(120deg);
  }
  66% {
    opacity: 0.5;
    transform: scale(0.9) rotate(240deg);
  }
}

@keyframes magicCircle {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
    transform: translate(-50%, -50%) rotate(180deg) scale(1.05);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg) scale(1);
    opacity: 0.3;
  }
}

@keyframes magicGlow {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0.6;
  }
}

/* ========================================
   HISTORY GALLERY STYLES
   ======================================== */

.history-gallery {
  margin-top: 20px;
  width: 100%;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.3s ease;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-small);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: none;
}

.history-gallery h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 16px 0;
  text-align: left;
  opacity: 1;
}

.history-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 10px 0;
  text-align: center;
  opacity: 0.8;
}

.history-grid {
  display: flex;
  flex-direction: row;
  gap: 6px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.history-item {
  position: relative;
  border-radius: var(--border-radius-small);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  cursor: pointer;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  flex: 0 0 auto;
  width: 84px;
  height: 105px;
  aspect-ratio: 4/5;
}

.history-item:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-green);
}

.history-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.history-item:hover img {
  transform: scale(1.05);
}

.history-item .history-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.7) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 4px;
}

.history-item:hover .history-overlay {
  opacity: 1;
}

.history-time {
  color: white;
  font-size: 8px;
  font-weight: 500;
  opacity: 0.9;
}

.history-source {
  color: white;
  font-size: 10px;
  font-weight: 600;
  opacity: 0.9;
  margin-top: 2px;
}

.history-delete {
  position: absolute;
  top: 3px;
  right: 3px;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: white;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  font-size: 10px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.history-item:hover .history-delete {
  opacity: 1;
}

.history-delete:hover {
  background: rgba(255, 59, 48, 0.8);
  transform: scale(1.1);
}

.history-empty {
  text-align: center;
  padding: 20px 8px;
  color: var(--text-secondary);
  font-size: 10px;
  opacity: 0.6;
  line-height: 1.4;
}

.history-item.three-items,
.history-item.two-items,
.history-item.one-item {
  flex: 0 0 auto;
  width: 84px;
  height: 105px;
  aspect-ratio: 4/5;
}

/* ========================================
   TODAY'S PICKS STYLES
   ======================================== */

.todays-picks {
  background: transparent;
  padding: 0 32px 40px 32px;
  margin: 0 0 40px 0;
  display: none;
}

.todays-picks h2 {
  font-size: 18px;
  font-weight: 700;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #ffffff;
  margin: 0 0 16px 0;
  text-align: left;
  display: flex;
  align-items: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  opacity: 1;
}

.picks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.pick-item {
  position: relative;
  border-radius: var(--border-radius-small);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  background: var(--soft-gray);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.pick-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.pick-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pick-loading {
  font-size: 18px;
  color: var(--text-secondary);
  text-align: center;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ========================================
   GENERATION MODAL STYLES
   ======================================== */

.generation-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.generation-modal.show {
  display: flex;
  opacity: 1;
}

.generation-box {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 24px;
  padding: 40px 32px;
  max-width: 400px;
  width: 90%;
  margin: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  text-align: center;
  position: relative;
  animation: modalSlideIn 0.4s ease-out;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(30px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.progress-circle {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 32px;
}

.progress-circle svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.progress-circle .progress-bg {
  fill: none;
  stroke: #e8f5e8;
  stroke-width: 8;
}

.progress-circle .progress-bar {
  fill: none;
  stroke: #4ecdc4;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 314;
  stroke-dashoffset: 314;
  transition: stroke-dashoffset 0.3s ease;
}

.progress-percentage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.generation-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 24px;
  line-height: 1.3;
}

.generation-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.generation-step {
  display: flex;
  align-items: center;
  padding: 12px 0;
  font-size: 16px;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.generation-step.completed {
  color: #27ae60;
}

.generation-step.active {
  color: var(--text-primary);
  font-weight: 500;
}

.step-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.generation-step.completed .step-icon {
  background: #27ae60;
  color: white;
}

.generation-step.active .step-icon {
  background: #4ecdc4;
  color: white;
  animation: pulse 1.5s infinite;
}

.generation-step:not(.completed):not(.active) .step-icon {
  background: #e8f5e8;
  color: #ffffff;
}

.testimonial-card {
  background: linear-gradient(135deg, #fff5f5 0%, #f0f8ff 100%);
  border-radius: 16px;
  padding: 20px;
  margin-top: 32px;
  border-left: 4px solid #4ecdc4;
  position: relative;
}

.stars {
  color: #ffd700;
  font-size: 18px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  font-style: italic;
}

.dots-indicator {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  transition: background 0.3s ease;
}

.dot.active {
  background: #4ecdc4;
}

/* ========================================
   IMAGE MODAL STYLES
   ======================================== */

.image-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-modal.show {
  display: flex;
  opacity: 1;
  align-items: center;
  justify-content: center;
}

.image-modal-content {
  position: relative;
  max-width: 35%;
  max-height: 55%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-modal img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 10px 50px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.image-modal-close {
  position: absolute;
  top: -40px;
  right: -10px;
  color: white;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10001;
}

.image-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.image-modal-info {
  display: none;
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  text-align: center;
  background: rgba(0, 0, 0, 0.7);
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 14px;
  backdrop-filter: blur(10px);
}

.image-modal-loading {
  color: white;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.image-modal-loading::after {
  content: '';
  width: 20px;
  height: 20px;
  border: 2px solid #ffffff30;
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ========================================
   SHARE MODAL STYLES
   ======================================== */

.share-platform-btn {
  background: linear-gradient(145deg, #f0f0f0, #ffffff);
  border: none;
  border-radius: 16px;
  padding: 16px 12px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  color: var(--text-primary);
  box-shadow: 
    8px 8px 16px #d9d9d9,
    -8px -8px 16px #ffffff;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-height: 80px;
  text-align: center;
}

.share-platform-btn:hover {
  box-shadow: 
    4px 4px 8px #d9d9d9,
    -4px -4px 8px #ffffff;
  transform: translateY(-2px);
}

.share-platform-btn:active {
  box-shadow: 
    inset 4px 4px 8px #d9d9d9,
    inset -4px -4px 8px #ffffff;
  transform: translateY(0);
}

.platform-icon {
  font-size: 16px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.platform-name {
  font-size: 12px;
  font-weight: 600;
  margin-top: 4px;
}

/* ========================================
   MOBILE RESPONSIVE STYLES
   ======================================== */

/* 中等屏幕尺寸优化 */
@media (max-width: 1024px) and (min-width: 769px) {
  .top-nav.homepage-nav .nav-container {
    max-width: none;
    padding: 0;
  }
  
  .top-nav.homepage-nav .nav-desktop {
    gap: 6px;
  }
  
  .top-nav.homepage-nav .nav-desktop a {
    padding: 6px 12px;
    font-size: 13px;
  }
  
  .top-nav.homepage-nav .nav-small-title {
    font-size: 11px;
    margin-right: 8px;
  }
  
  .top-nav.homepage-nav .nav-brand {
    font-size: 13px;
    margin-right: 15px;
  }
}

@media (max-width: 768px) {
  .top-nav.homepage-nav {
    padding: 10px 0;
  }
  
  .top-nav.homepage-nav .nav-container {
    justify-content: space-between;
    padding: 0 16px;
  }
  
  .top-nav.homepage-nav .nav-desktop {
    display: none;
  }
  
  .top-nav.homepage-nav .nav-mobile {
    display: block;
  }

  /* 移动端适配 nav-small-title */
  .top-nav.homepage-nav .nav-small-title {
    font-size: 14px;
    margin-right: 6px;
  }

  /* 移动端：限制下拉菜单大小并启用滚动，避免溢出屏幕 */
  .top-nav.homepage-nav .nav-mobile .dropdown-menu {
    position: fixed;
    top: 56px; /* 贴合导航高度 */
    right: 12px;
    left: auto;
    width: calc(100vw - 24px);
    max-width: 340px;
    max-height: 65vh;
    overflow-y: auto;
    margin-top: 0;
    transform: none;
    padding: 4px; /* 减少菜单容器的内边距 */
  }
  
  /* 移动端：隐藏桌面端下拉菜单 */
  .top-nav.homepage-nav .nav-dropdown .dropdown-menu {
    display: none;
  }
  
  /* 移动端：菜单分组样式 - 正能量温暖配色 */
  .top-nav.homepage-nav .nav-mobile .menu-section {
    margin-bottom: 16px;
  }
  
  .top-nav.homepage-nav .nav-mobile .menu-section:last-child {
    margin-bottom: 0;
  }
  
  /* 分组标题样式 - 使用正能量渐变 */
  .top-nav.homepage-nav .nav-mobile .menu-section-title {
    font-size: 12px;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 12px 4px 12px;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
    background-color: rgba(255, 215, 0, 0.08); /* 金色背景 */
    border-radius: 8px 8px 0 0;
    position: relative;
    overflow: hidden;
  }
  
  /* 分组标题的温暖光晕效果 */
  .top-nav.homepage-nav .nav-mobile .menu-section-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    animation: shimmer 3s ease-in-out infinite;
  }
  
  @keyframes shimmer {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
  }
  
  /* 移动端：菜单项样式优化 - 温暖配色 */
  .top-nav.homepage-nav .nav-mobile .dropdown-menu a {
    padding: 8px 16px;
    margin: 1px 0;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 6px;
    font-size: 14px;
    color: #2c3e50;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  
  /* 菜单项悬停效果 - 正能量渐变 */
  .top-nav.homepage-nav .nav-mobile .dropdown-menu a:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 50%, rgba(240, 147, 251, 0.1) 100%);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
  }
  
  /* 菜单项激活状态 - 温暖金色 */
  .top-nav.homepage-nav .nav-mobile .dropdown-menu a:active {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 193, 7, 0.15) 100%);
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateX(2px) scale(0.98);
  }
  
  .top-nav.homepage-nav .nav-brand {
    font-size: 14px;
  }
  
  .top-nav.homepage-nav .nav-brand-icon {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }

  .generator {
    padding: 8px;
    margin: 0;
    max-width: calc(100vw - 16px);
    width: 100%;
    box-sizing: border-box;
    transform: scale(0.95);
    transform-origin: center;
  }
  
  .mood-list {
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-bottom: 20px;
    padding: 8px;
  }
  
  .mood-btn {
    width: 50px;
    height: 70px;
    font-size: 0;
    padding: 4px;
  }
  
  .mood-btn img {
    width: 38px;
    height: 38px;
    margin-bottom: 3px;
  }
  
  .mood-label {
    font-size: 8px;
  }
  
  /* 确保generator内的所有元素都能适配 */
  .generator .step-title {
    font-size: 14px;
    margin-bottom: 12px;
  }
  
  .generator .step-icon {
    font-size: 16px;
    margin-right: 6px;
  }
  
  .generator textarea {
    font-size: 12px;
    padding: 8px;
    min-height: 60px;
  }
  
  .generator .create-btn {
    font-size: 12px;
    padding: 8px 16px;
    margin-top: 12px;
  }

  .preview {
    display: none !important;
  }
  
  .result-actions {
    display: none !important;
  }
  
  .result-actions.modal-floating {
    display: flex !important;
  }

  .todays-picks {
    padding: 24px 16px;
    background: transparent;
    margin: 20px 8px;
    max-width: calc(100vw - 16px);
    box-sizing: border-box;
  }
  
  .todays-picks h2 {
    font-size: 18px;
    font-weight: 700;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #ffffff;
    margin-bottom: 16px;
    text-align: left;
    display: flex;
    align-items: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 1;
  }
  
  .picks-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 16px;
  }
  
  .pick-item {
    min-height: 120px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .history-gallery {
    margin-top: 0;
    width: 100%;
    max-width: none;
    padding: 0 16px 16px 16px;
    background: transparent;
    border-radius: 0;
    backdrop-filter: none;
    border: none;
  }
  
  .history-gallery h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: left;
  }
  
  .history-title {
    font-size: 16px;
    margin-bottom: 16px;
    font-weight: 700;
  }
  
  .history-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    justify-content: center;
  }
  
  .history-item {
    border-radius: 12px;
    width: 100%;
    aspect-ratio: 4/5;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  }
  
  .history-time {
    font-size: 10px;
  }
  
  .history-delete {
    width: 18px;
    height: 18px;
    font-size: 10px;
    top: 6px;
    right: 6px;
  }
  
  .history-empty {
    padding: 40px 20px;
    font-size: 14px;
    grid-column: 1 / -1;
    text-align: center;
  }
  
  .result-actions.modal-floating {
    bottom: 20px;
    width: 95%;
    max-width: none;
    padding: 12px;
    flex-direction: row;
    gap: 14px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(30px);
  }
  
  .result-actions.modal-floating button {
    flex: 1;
    padding: 12px 10px;
    font-size: 15px;
    font-weight: 600;
    white-space: normal;
    flex-direction: column;
    gap: 5px;
  }
  
  .result-actions.modal-floating button .btn-icon {
    width: 24px;
    height: 24px;
  }
  
  .result-actions.modal-floating button span {
    font-size: 11px;
    white-space: normal;
    line-height: 1.2;
    text-align: center;
  }

  .generation-box {
    padding: 32px 24px;
    margin: 16px;
  }
  
  .progress-circle {
    width: 100px;
    height: 100px;
    margin-bottom: 24px;
  }
  
  .progress-percentage {
    font-size: 24px;
  }
  
  .generation-title {
    font-size: 20px;
    margin-bottom: 20px;
  }
  
  .generation-step {
    font-size: 14px;
    padding: 10px 0;
  }
  
  .testimonial-card {
    padding: 16px;
    margin-top: 24px;
  }

  .image-modal-content {
    max-width: 80%;
    max-height: 50%;
  }

  .image-modal-close {
    top: -35px;
    right: -5px;
    font-size: 24px;
    width: 40px;
    height: 40px;
  }

  .image-modal-info {
    bottom: -50px;
    font-size: 12px;
    padding: 8px 16px;
  }

  .share-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  
  .share-platform-btn {
    padding: 12px 8px !important;
    min-height: 70px !important;
  }
  
  .platform-icon {
    font-size: 20px !important;
  }
  
  .platform-name {
    font-size: 11px !important;
  }
}

@media (max-width: 480px) {
  .top-nav.homepage-nav .nav-container {
    padding: 0 12px;
  }
  
  /* 超小屏幕适配 nav-small-title */
  .top-nav.homepage-nav .nav-small-title {
    font-size: 12px;
    margin-right: 4px;
  }
  
  .generator {
    padding: 6px;
    margin: 0;
    max-width: calc(100vw - 12px);
    width: 100%;
    box-sizing: border-box;
    transform: scale(0.9);
    transform-origin: center;
  }
  
  .mood-list {
    gap: 14px;
    margin-bottom: 16px;
    padding: 6px;
  }
  
  .mood-btn {
    width: 45px;
    height: 65px;
    font-size: 0;
    padding: 3px;
  }
  
  .mood-btn img {
    width: 34px;
    height: 34px;
    margin-bottom: 2px;
  }
  
  .mood-label {
    font-size: 7px;
  }
  
  /* 进一步缩小generator内的元素 */
  .generator .step-title {
    font-size: 12px;
    margin-bottom: 10px;
  }
  
  .generator .step-icon {
    font-size: 14px;
    margin-right: 4px;
  }
  
  .generator textarea {
    font-size: 11px;
    padding: 6px;
    min-height: 50px;
  }
  
  .generator .create-btn {
    font-size: 11px;
    padding: 6px 12px;
    margin-top: 10px;
  }

  .generation-box {
    padding: 32px 24px;
    margin: 16px;
  }
  
  .progress-circle {
    width: 100px;
    height: 100px;
    margin-bottom: 24px;
  }
  
  .progress-percentage {
    font-size: 24px;
  }
  
  .generation-title {
    font-size: 20px;
    margin-bottom: 20px;
  }
  
  .generation-step {
    font-size: 14px;
    padding: 10px 0;
  }
  
  .testimonial-card {
    padding: 16px;
    margin-top: 24px;
  }
  
  /* Today's Picks 480px适配 */
  .picks-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-top: 16px;
  }
  
  .pick-item {
    min-height: 100px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  /* Modal-floating 按钮 480px 适配 */
  .result-actions.modal-floating button {
    padding: 12px 8px;
    min-width: 100px; /* 增加宽度以支持文本换行 */
    min-height: 50px;
  }
  
  .result-actions.modal-floating button span {
    font-size: 11px;
    font-weight: 600;
    white-space: normal;
    line-height: 1.2;
    text-align: center;
  }
}

/* iPhone XR 适配 (414px) */
@media (max-width: 414px) and (min-width: 321px) {
  /* Modal-floating 按钮 414px 适配 */
  .result-actions.modal-floating button {
    padding: 12px 8px;
    min-width: 110px; /* 增加宽度以支持文本换行 */
    min-height: 50px;
  }
  
  .result-actions.modal-floating button span {
    font-size: 12px;
    font-weight: 600;
    white-space: normal;
    line-height: 1.2;
    text-align: center;
  }
}

/* 超小屏幕适配 (320px) */
@media (max-width: 320px) {
  /* 超小屏幕适配 nav-small-title */
  .top-nav.homepage-nav .nav-small-title {
    font-size: 10px;
    margin-right: 3px;
  }
  
  .generator {
    padding: 4px;
    margin: 0;
    max-width: calc(100vw - 8px);
    width: 100%;
    box-sizing: border-box;
    transform: scale(0.85);
    transform-origin: center;
  }
  
  .mood-list {
    gap: 14px;
    margin-bottom: 12px;
    padding: 4px;
  }
  
  .mood-btn {
    width: 40px;
    height: 60px;
    font-size: 0;
    padding: 2px;
  }
  
  .mood-btn img {
    width: 30px;
    height: 30px;
    margin-bottom: 1px;
  }
  
  .mood-label {
    font-size: 6px;
  }
  
  .generator .step-title {
    font-size: 11px;
    margin-bottom: 8px;
  }
  
  .generator .step-icon {
    font-size: 12px;
    margin-right: 3px;
  }
  
  .generator textarea {
    font-size: 10px;
    padding: 4px;
    min-height: 40px;
  }
  
  .generator .create-btn {
    font-size: 10px;
    padding: 4px 8px;
    margin-top: 8px;
  }
  
  /* Today's Picks 320px适配 */
  .picks-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    margin-top: 12px;
  }
  
  .pick-item {
    min-height: 80px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  /* Modal-floating 按钮 320px 适配 */
  .result-actions.modal-floating button {
    padding: 10px 6px;
    min-width: 90px; /* 增加宽度以支持文本换行 */
    min-height: 45px;
  }
  
  .result-actions.modal-floating button span {
    font-size: 10px;
    font-weight: 600;
    white-space: normal;
    line-height: 1.2;
    text-align: center;
  }
}

/* ========================================
   FLOATING INSIDE IMAGE MODAL
   ======================================== */

.result-actions.modal-floating {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 500px;
  z-index: 10002;
  background: rgba(255,255,255,0.1);
  padding: 12px 16px;
  backdrop-filter: blur(20px);
  border-radius: var(--border-radius);
}

.result-actions.modal-floating button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 10px;
}

.result-actions.modal-floating button .btn-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.result-actions.modal-floating button span {
  font-size: 12px;
  font-weight: 600;
  white-space: normal;
}

/* ========================================
   MISSING STYLES FROM STYLE-OLD.CSS
   ======================================== */

/* 基础布局样式 */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md);
  position: relative;
}

/* Hero 区域样式 */
.hero {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: var(--space-3xl);
  align-items: start;
  padding: 0 0 20px 0;
  margin-bottom: 0;
  position: relative;
}

.hero h1 {
  font-size: 48px;
  margin: 0 0 var(--space-lg) 0;
  font-weight: 800;
  line-height: 1.1;
  background: var(--hero-gradient);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: left;
  letter-spacing: -0.02em;
}

.hero h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary-gradient);
  margin-top: var(--space-md);
  border-radius: 2px;
}

.hero-title-mobile {
  display: none;
}

.hero-subtitle-mobile {
  display: none;
}

.hero p {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 var(--space-xl) 0;
}

/* 内容区域样式 */
.faq, .features, .help, .guide-section, .related-articles {
  margin-top: 48px;
  padding: 32px;
  border: none;
  border-radius: var(--border-radius);
  background: var(--pure-white);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.faq h2, .features h2, .help h2, .guide-section h2, .related-articles h2 {
  margin-top: 0;
  color: var(--text-primary);
  font-size: 28px;
  font-weight: 700;
}

.faq h3, .features h3, .help h3, .guide-section h3, .related-articles h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.faq p, .features p, .help p, .guide-section p, .related-articles p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.faq ol, .features ol, .help ol, .guide-section ol, .related-articles ol {
  padding-left: var(--space-lg);
}

.faq li, .features li, .help li, .guide-section li, .related-articles li {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.faq ul, .features ul, .help ul, .guide-section ul, .related-articles ul {
  padding-left: var(--space-lg);
}

.faq details, .features details, .help details, .guide-section details, .related-articles details {
  margin-bottom: var(--space-md);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background: rgba(255, 255, 255, 0.5);
}

.faq summary, .features summary, .help summary, .guide-section summary, .related-articles summary {
  padding: var(--space-md);
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--border-radius);
}

.faq details p, .features details p, .help details p, .guide-section details p, .related-articles details p {
  padding: 0 var(--space-md) var(--space-md) var(--space-md);
  margin: 0;
  color: var(--text-secondary);
}

/* 指南步骤样式 */
.guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.guide-step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--accent-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 20px;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.step-content p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

.guide-tips {
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  background: rgba(102, 126, 234, 0.05);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--accent-blue);
}

.guide-tips h3 {
  font-size: 20px;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.guide-tips ul {
  padding-left: var(--space-lg);
}

.guide-tips li {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

/* 相关文章样式 */
.related-articles {
  margin-top: var(--space-3xl);
}

.related-articles h2 {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.related-articles > p {
  text-align: center;
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 10px;
  column-gap: 10px;
  margin-bottom: var(--space-xl);
}

.article-card {
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.article-card h3 {
  font-size: 20px;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.article-card h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.article-card h3 a:hover {
  color: var(--accent-blue);
}

.article-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.read-more {
  color: var(--accent-blue);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.read-more:hover {
  color: var(--primary-blue);
  text-decoration: underline;
}

.view-all-articles {
  text-align: center;
}

.btn-primary {
  display: inline-block;
  background: var(--primary-gradient);
  color: white;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--secondary-gradient);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* 快速链接样式 */
.quick-links {
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-links h3 {
  font-size: 20px;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
  text-align: center;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-md);
}

.quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-link:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
}

.quick-link-icon {
  font-size: 24px;
  margin-bottom: var(--space-sm);
}

.quick-link-text {
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

/* 页脚样式 */
.app-footer {
  position: relative;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(37, 99, 235, 0.1), rgba(147, 51, 234, 0.1));
  backdrop-filter: blur(10px);
  border-top: none;
  box-shadow: 0 -2px 20px rgba(6, 182, 212, 0.15);
  padding: 1.5rem 2rem;
  z-index: 1000;
  margin-top: auto;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-text {
  color: hsl(222, 15%, 12%);
  font-size: 0.875rem;
  font-weight: 500;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-link {
  color: hsl(222, 15%, 12%);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
}

.footer-link:hover {
  color: hsl(222, 15%, 25%);
  background: rgba(0, 0, 0, 0.05);
}

.footer-separator {
  color: hsl(222, 15%, 30%);
  font-size: 0.875rem;
  margin: 0 0.25rem;
}

.version-indicator {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 500;
  z-index: 1000;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.version-indicator:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.05);
}

/* 模态框样式 */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.modal.show {
  display: flex;
}

.modal .box {
  background: white;
  padding: 20px;
  border-radius: 8px;
  max-width: 90%;
  max-height: 90%;
}

.neumorphism-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  z-index: 10003;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.neumorphism-modal.show {
  display: flex;
  opacity: 1;
}

.neumorphism-box {
  background: linear-gradient(145deg, #f0f0f0, #ffffff);
  border-radius: 20px;
  padding: 32px;
  max-width: 400px;
  width: 90%;
  margin: 20px;
  box-shadow: 
    20px 20px 60px #d9d9d9,
    -20px -20px 60px #ffffff;
  text-align: center;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.neumorphism-modal.show .neumorphism-box {
  transform: scale(1);
}

.neumorphism-box h3 {
  margin: 0 0 16px 0;
  color: var(--text-primary);
  font-size: 24px;
}

.neumorphism-box p {
  margin: 0 0 24px 0;
  color: var(--text-secondary);
  line-height: 1.5;
}

.neumorphism-box .icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.neumorphism-box .buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.neumorphism-btn {
  background: linear-gradient(145deg, #f0f0f0, #ffffff);
  border: none;
  border-radius: 12px;
  padding: 12px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  box-shadow: 
    8px 8px 16px #d9d9d9,
    -8px -8px 16px #ffffff;
  transition: all 0.2s ease;
}

.neumorphism-btn:hover {
  box-shadow: 
    4px 4px 8px #d9d9d9,
    -4px -4px 8px #ffffff;
  transform: translateY(-2px);
}

.neumorphism-btn:active {
  box-shadow: 
    inset 4px 4px 8px #d9d9d9,
    inset -4px -4px 8px #ffffff;
  transform: translateY(0);
}

.neumorphism-btn.primary {
  background: linear-gradient(145deg, #667eea, #764ba2);
  color: white;
  box-shadow: 
    8px 8px 16px rgba(102, 126, 234, 0.3),
    -8px -8px 16px rgba(118, 75, 162, 0.3);
}

.neumorphism-btn.primary:hover {
  background: linear-gradient(135deg, #00C4A7 0%, #00E5C4 100%);
  color: #000000;
  box-shadow: 
    4px 4px 8px rgba(0, 196, 167, 0.3),
    -4px -4px 8px rgba(0, 196, 167, 0.1);
}

.neumorphism-btn.danger {
  background: linear-gradient(145deg, #ff6b6b, #ee5a52);
  color: white;
  box-shadow: 
    8px 8px 16px rgba(255, 107, 107, 0.3),
    -8px -8px 16px rgba(238, 90, 82, 0.3);
}

.neumorphism-btn.danger:hover {
  box-shadow: 
    4px 4px 8px rgba(255, 107, 107, 0.4),
    -4px -4px 8px rgba(238, 90, 82, 0.4);
}

/* Cookie 同意样式 */
.cookie {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-primary);
}

.cookie div:first-child {
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.4;
}

.cookie a {
  color: var(--accent-blue) !important;
  text-decoration: none;
  font-weight: 500;
}

.cookie a:hover {
  text-decoration: underline;
}

.cookie button {
  background: var(--accent-blue);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie button:hover {
  background: var(--accent-blue-dark, #5a6fd8);
  transform: translateY(-1px);
}

.cookie button.secondary {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--text-secondary);
}

.cookie button.secondary:hover {
  background: var(--text-secondary);
  color: white;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .container {
    padding: 8px 4px;
  }
  
  .hero {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    padding: var(--space-xl) 0;
  }
  
  .hero-title-desktop {
    display: none;
  }
  
  .hero-subtitle-desktop {
    display: none;
  }
  
  .hero-title-mobile {
    display: block;
    font-size: 32px;
    text-align: center;
  }
  
  .hero-subtitle-mobile {
    display: block;
    font-size: 16px;
    text-align: center;
  }
  
  .faq, .features, .help, .guide-section, .related-articles {
    padding: 20px 16px;
    margin-top: 32px;
  }
  
  .faq h2, .features h2, .help h2, .guide-section h2, .related-articles h2 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
  }
  
  .faq h3, .features h3, .help h3, .guide-section h3, .related-articles h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
  }
  
  .faq p, .features p, .help p, .guide-section p, .related-articles p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
  }
  
  .guide-steps {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .guide-step {
    flex-direction: column;
    text-align: center;
  }
  
  .step-number {
    align-self: center;
  }
  
  .articles-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .article-card {
    padding: var(--space-md);
  }
  
  .article-card h3 {
    font-size: 18px;
    margin-bottom: var(--space-sm);
  }
  
  .article-card h3 a {
    color: inherit;
    text-decoration: none;
  }
  
  .article-card h3 a:hover {
    color: var(--accent-blue);
  }
  
  .article-card p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: var(--space-sm);
  }
  
  .read-more {
    font-size: 12px;
  }
  
  .read-more:hover {
    text-decoration: underline;
  }
  
  .view-all-articles {
    text-align: center;
  }
  
  .btn-primary {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  .btn-primary:hover {
    transform: translateY(-1px);
  }
  
  .app-footer {
    padding: 0.75rem 1rem;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  
  .footer-text {
    font-size: 0.8rem;
  }
  
  .footer-links {
    justify-content: center;
    gap: 0.25rem;
  }
  
  .footer-link {
    font-size: 0.8rem;
    padding: 0.2rem 0.4rem;
  }
  
  .footer-separator {
    margin: 0 0.2rem;
  }
  
  .version-indicator {
    bottom: 15px;
    right: 15px;
    font-size: 9px;
    padding: 3px 6px;
  }
  
  .cookie {
    bottom: 15px;
    left: 15px;
    right: 15px;
    padding: 12px 16px;
    flex-direction: column;
    text-align: center;
  }
  
  .cookie > div:first-child {
    font-size: 14px;
    margin-bottom: 8px;
  }
  
  .cookie > div:last-child {
    display: flex;
    gap: 8px;
    justify-content: center;
  }
  
  .cookie button {
    padding: 8px 16px;
    font-size: 12px;
    border-radius: 8px;
  }
}

@media (max-width: 480px) {
  .app-footer {
    padding: 0.5rem 0.75rem;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .footer-text {
    font-size: 0.75rem;
  }
  
  .footer-links {
    justify-content: center;
    gap: 0.2rem;
  }
  
  .footer-separator {
    margin: 0 0.15rem;
  }
  
  .footer-link {
    font-size: 0.75rem;
    padding: 0.15rem 0.3rem;
  }
  
  .faq, .features, .help, .guide-section, .related-articles {
    padding: 16px 12px;
    margin-top: 24px;
  }
  
  .faq h2, .features h2, .help h2, .guide-section h2, .related-articles h2 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
  }
  
  .faq h3, .features h3, .help h3, .guide-section h3, .related-articles h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
  }
  
  .faq p, .features p, .help p, .guide-section p, .related-articles p {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 10px;
  }
  
  .faq ol, .features ol, .help ol, .guide-section ol, .related-articles ol {
    padding-left: var(--space-md);
  }
  
  .faq li, .features li, .help li, .guide-section li, .related-articles li {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 8px;
  }
  
  .faq ul, .features ul, .help ul, .guide-section ul, .related-articles ul {
    padding-left: var(--space-md);
  }
  
  .faq details, .features details, .help details, .guide-section details, .related-articles details {
    margin-bottom: 5px;
  }
  
  .faq summary, .features summary, .help summary, .guide-section summary, .related-articles summary {
    padding: var(--space-sm);
    font-size: 14px;
  }
  
  .faq details p, .features details p, .help details p, .guide-section details p, .related-articles details p {
    padding: 0 var(--space-sm) var(--space-sm) var(--space-sm);
    font-size: 13px;
  }
  
  .guide-steps {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
  
  .guide-step {
    padding: var(--space-md);
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  .step-content h3 {
    font-size: 18px;
    margin-bottom: var(--space-xs);
  }
  
  .step-content p {
    font-size: 14px;
  }
  
  .articles-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
  
  .article-card {
    padding: 12px;
  }
  
  .article-card h3 {
    font-size: 16px;
    margin-bottom: var(--space-xs);
  }
  
  .article-card p {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: var(--space-sm);
  }
  
  .read-more {
    font-size: 11px;
  }
  
  .btn-primary {
    padding: 8px 16px;
    font-size: 13px;
  }
  
  .quick-links {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
  }
  
  .quick-links h3 {
    font-size: 18px;
    margin-bottom: var(--space-sm);
  }
  
  .quick-links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }
  
  .quick-link {
    padding: 12px 8px;
  }
  
  .quick-link-icon {
    font-size: 20px;
    margin-bottom: var(--space-xs);
  }
  
  .quick-link-text {
    font-size: 12px;
  }
}

/* ===== Free Generator Entry Styles ===== */
.generator-entry {
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 50%, #f0f8ff 100%);
  padding: 60px 0;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}

.generator-entry::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 50%, rgba(240, 147, 251, 0.05) 100%);
  pointer-events: none;
}

.generator-entry-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.generator-entry-content {
  text-align: center;
}

.generator-entry-header {
  margin-bottom: 50px;
}

.generator-entry-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.generator-icon {
  font-size: 2.8rem;
  animation: sparkle 2s ease-in-out infinite;
}

.generator-badge {
  background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

.generator-entry-subtitle {
  font-size: 1.2rem;
  color: #6c757d;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.generator-types {
  margin: 50px 0;
}

.type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.type-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 20px 30px 40px 30px;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.type-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 50%, rgba(240, 147, 251, 0.05) 100%);
  pointer-events: none;
}

.free-type {
  border-color: rgba(0, 168, 150, 0.2);
  box-shadow: 0 8px 32px rgba(0, 168, 150, 0.1);
}

.free-type:hover {
  border-color: rgba(0, 168, 150, 0.4);
  box-shadow: 0 12px 40px rgba(0, 168, 150, 0.2);
  transform: translateY(-5px);
}

.template-type {
  border-color: rgba(102, 126, 234, 0.2);
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.1);
}

.template-type:hover {
  border-color: rgba(102, 126, 234, 0.4);
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.2);
  transform: translateY(-5px);
}

.type-header {
  margin-bottom: 30px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.type-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  display: block;
  animation: bounce 2s ease-in-out infinite;
}

.type-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 10px 0;
}

.type-subtitle {
  color: #6c757d;
  font-size: 1rem;
  margin: 0;
  font-style: italic;
}

.type-features {
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.type-features .feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background: none;
  box-shadow: none;
  border-radius: 0;
  transition: none;
  transform: none;
  backdrop-filter: none;
  margin: 0;
  padding: 12px 0;
}

.type-features .feature-item:last-child {
  border-bottom: none;
}

.type-features .feature-item:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(0, 0, 0, 0.05);
}

.type-features .feature-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  animation: none;
}

.type-features span:last-child {
  color: #2c3e50;
  font-weight: 500;
  font-size: 0.95rem;
}

.type-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.free-btn {
  background: linear-gradient(135deg, #667eea 0%, #f093fb 100%);
  color: white;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
  margin-bottom: 20px;
  width: 100%;
  justify-content: center;
}

.free-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.template-btn {
  background: linear-gradient(135deg, #20bf6b 0%, #26de81 100%);
  color: white;
  box-shadow: 0 6px 20px rgba(32, 191, 107, 0.3);
  margin-bottom: 20px;
  width: 100%;
  justify-content: center;
}

.template-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(32, 191, 107, 0.4);
}

.type-btn .btn-icon {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.type-btn .btn-text {
  font-weight: 600;
  letter-spacing: 0.5px;
}

.type-btn .btn-arrow {
  font-size: 1.1rem;
  font-weight: bold;
}

.generator-features {
  margin-bottom: 50px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-item {
  background: rgba(255, 255, 255, 0.8);
  padding: 30px 25px;
  border-radius: 16px;
  border: 1px solid rgba(102, 126, 234, 0.1);
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.1);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.2);
  border-color: rgba(102, 126, 234, 0.2);
}

.feature-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
  animation: bounce 2s ease-in-out infinite;
}

.feature-content h3 {
  color: #2c3e50;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 10px 0;
}

.feature-content p {
  color: #6c757d;
  line-height: 1.5;
  margin: 0;
  font-size: 0.95rem;
}

.generator-cta {
  text-align: center;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.generator-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.primary-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  color: white;
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
}

.secondary-btn {
  background: linear-gradient(135deg, #00A896 0%, #00C4A7 100%);
  color: white;
  box-shadow: 0 8px 32px rgba(0, 168, 150, 0.3);
}

.generator-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.generator-btn:hover::before {
  left: 100%;
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.4);
}

.secondary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 168, 150, 0.4);
}

.btn-icon {
  font-size: 1.3rem;
}

.btn-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.generator-btn:hover .btn-arrow {
  transform: translateX(5px);
}

.generator-note {
  margin-top: 20px;
  color: #6c757d;
  font-size: 0.95rem;
  font-style: italic;
}

/* Animations */
@keyframes sparkle {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(180deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .generator-entry {
    padding: 40px 0;
    margin: 30px 0;
  }
  
  .generator-entry-title {
    font-size: 2rem;
    flex-direction: column;
    gap: 10px;
  }
  
  .generator-entry-subtitle {
    font-size: 1.1rem;
    padding: 0 10px;
  }
  
  .type-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .type-card {
    padding: 30px 20px;
  }
  
  .type-icon {
    font-size: 2.5rem;
  }
  
  .type-header h3 {
    font-size: 1.3rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .generator-btn {
    padding: 16px 32px;
    font-size: 1rem;
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .feature-item {
    padding: 25px 20px;
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .generator-entry-title {
    font-size: 1.8rem;
  }
  
  .generator-entry-subtitle {
    font-size: 1rem;
  }
  
  .feature-item {
    padding: 20px 15px;
  }
  
  .generator-btn {
    padding: 14px 28px;
    font-size: 0.95rem;
  }
}