/* 基础样式 */
:root {
  --background: #fff9fb;
  --foreground: #1a0a12;
  --primary: #ec4899;
  --primary-hover: #db2777;
  --secondary: #f9e6f0;
  --muted: #f3f4f6;
  --muted-foreground: #6b7280;
  --accent: #f9e6f0;
  --border: #e5e7eb;
  --card: #ffffff;
  --card-foreground: #1a0a12;
  --radius: 0.5rem;
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.dark {
  --background: #1a0a12;
  --foreground: #f9f9f9;
  --primary: #ec4899;
  --primary-hover: #f472b6;
  --secondary: #3f1d2b;
  --muted: #27272a;
  --muted-foreground: #a1a1aa;
  --accent: #3f1d2b;
  --border: #3f3f46;
  --card: #27141e;
  --card-foreground: #f9f9f9;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  transition: background-color 0.3s, color 0.3s;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: inherit;
}

/* 头部导航 */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--border);
  background-color: rgba(var(--background), 0.95);
  backdrop-filter: blur(10px);
}

.header .container {
  display: flex;
  height: 4rem;
  align-items: center;
}

.logo {
  margin-right: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-image {
  position: relative;
  overflow: hidden;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
}

.logo-image img {
  width: 100%;
  height: 100%;
  transition: transform 0.3s;
}

.logo-link:hover .logo-image img {
  transform: scale(1.1);
}

.logo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right, rgba(236, 72, 153, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.logo-link:hover .logo-overlay {
  opacity: 1;
}

.logo-text {
  font-weight: 700;
  font-size: 1.25rem;
  transition: color 0.3s;
}

.logo-link:hover .logo-text {
  color: var(--primary);
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -0.25rem;
  left: 0;
  width: 0;
  height: 0.125rem;
  background-color: var(--primary);
  transition: width 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: none;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background-color: transparent;
  position: relative;
}

.light-icon,
.dark-icon {
  position: absolute;
  width: 1.2rem;
  height: 1.2rem;
  transition: transform 0.3s, opacity 0.3s;
}

.light-icon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.dark-icon {
  opacity: 0;
  transform: rotate(90deg) scale(0);
}

.dark .light-icon {
  opacity: 0;
  transform: rotate(-90deg) scale(0);
}

.dark .dark-icon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.download-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  background-color: var(--primary);
  color: white;
  font-weight: 500;
  border: none;
  position: relative;
  overflow: hidden;
}

.download-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--primary-hover);
  transform: translateY(100%);
  transition: transform 0.3s;
}

.download-button:hover::after {
  transform: translateY(0);
}

.download-button i,
.download-button span {
  position: relative;
  z-index: 1;
}

.download-button:hover i {
  animation: bounce 1s infinite;
}

.mobile-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  border: none;
  background-color: transparent;
  margin-left: auto;
}

/* 移动导航菜单 */
.mobile-nav-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 75%;
  max-width: 20rem;
  height: 100%;
  background-color: var(--background);
  z-index: 100;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
}

.mobile-nav-container.open {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}

.mobile-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mobile-logo img {
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius);
}

.mobile-nav-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--foreground);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.mobile-nav-link {
  font-size: 1.125rem;
  font-weight: 500;
  transition: color 0.3s;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.mobile-nav-link:hover {
  color: var(--primary);
}

.mobile-nav-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.download-button-mobile {
  width: 100%;
  padding: 0.75rem;
  border-radius: var(--radius);
  background-color: var(--primary);
  color: white;
  font-weight: 500;
  border: none;
  font-size: 1rem;
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Hero Section */
.hero-section {
  width: 100%;
  padding: 3rem 0;
  background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
  overflow: hidden;
}

.dark .hero-section {
  background: linear-gradient(135deg, #4a044e 0%, #701a75 100%);
}

.hero-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.version-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid #fbcfe8;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #be185d;
  background-color: #fdf2f8;
  margin-bottom: 1rem;
}

.dark .version-badge {
  border-color: #831843;
  color: #fbcfe8;
  background-color: rgba(112, 26, 117, 0.3);
}

.version-badge i {
  margin-right: 0.25rem;
  font-size: 0.875rem;
  color: var(--primary);
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(to right, #ec4899, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient 8s ease infinite;
  background-size: 200% 200%;
}

.dark .hero-title {
  background: linear-gradient(to right, #f472b6, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-description {
  max-width: 600px;
  color: var(--muted-foreground);
  font-size: 1rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.download-button-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  background-color: var(--primary);
  color: white;
  font-weight: 500;
  border: none;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.download-button-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--primary-hover);
  transform: translateY(100%);
  transition: transform 0.3s;
}

.download-button-hero:hover::after {
  transform: translateY(0);
}

.download-button-hero i,
.download-button-hero span {
  position: relative;
  z-index: 1;
}

.download-button-hero:hover i {
  animation: bounce 1s infinite;
}

.exchange-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  background-color: transparent;
  color: var(--foreground);
  font-weight: 500;
  border: 1px solid var(--border);
  font-size: 1rem;
  width: 100%;
}

.exchange-button:hover i {
  transform: rotate(12deg);
  transition: transform 0.3s;
}

.user-count {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.user-avatars {
  display: flex;
}

.user-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  border: 2px solid white;
  overflow: hidden;
  margin-left: -0.5rem;
}

.dark .user-avatar {
  border-color: var(--background);
}

.user-avatar:first-child {
  margin-left: 0;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.user-highlight {
  font-weight: 700;
  color: var(--primary);
}

.hero-image-container {
  margin: 0 auto;
}

.hero-image-wrapper {
  position: relative;
}

.hero-icon {
  position: absolute;
  background-color: #fdf2f8;
  border-radius: 9999px;
  padding: 0.75rem;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}

.dark .hero-icon {
  background-color: rgba(112, 26, 117, 0.3);
}

.hero-icon-1 {
  top: -1.5rem;
  left: -1.5rem;
}

.hero-icon-2 {
  bottom: -1rem;
  right: -1rem;
  animation-delay: 2s;
}

.hero-icon i {
  font-size: 1.5rem;
  color: var(--primary);
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right, rgba(236, 72, 153, 0.2), rgba(168, 85, 247, 0.2));
  animation: pulse 3s ease-in-out infinite;
}

.hero-image {
  position: relative;
  z-index: 10;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
  animation-delay: 1s;
}

/* 通用部分 */
.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 3rem;
}

.section-badge {
  display: inline-block;
  background-color: #fdf2f8;
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #be185d;
  margin-bottom: 0.5rem;
}

.dark .section-badge {
  background-color: rgba(112, 26, 117, 0.3);
  color: #fbcfe8;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(to right, #ec4899, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient 8s ease infinite;
  background-size: 200% 200%;
  margin-bottom: 0.5rem;
}

.dark .section-title {
  background: linear-gradient(to right, #f472b6, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
}

.section-description {
  max-width: 900px;
  color: var(--muted-foreground);
}

/* Features Section */
.features-section {
  width: 100%;
  padding: 3rem 0;
}

.features-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  height: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  background-color: var(--card);
  transition: all 0.3s ease;
  border-top: 4px solid var(--primary);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(236, 72, 153, 0.1), 0 8px 10px -6px rgba(236, 72, 153, 0.1);
}

.dark .feature-card:hover {
  box-shadow: 0 10px 25px -5px rgba(236, 72, 153, 0.2), 0 8px 10px -6px rgba(236, 72, 153, 0.2);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background-color: #fdf2f8;
  margin-bottom: 1rem;
  transition: background-color 0.3s;
}

.dark .feature-icon {
  background-color: rgba(112, 26, 117, 0.3);
}

.feature-card:hover .feature-icon {
  background-color: var(--primary);
}

.feature-icon i {
  font-size: 1.5rem;
  color: var(--primary);
  transition: color 0.3s;
}

.feature-card:hover .feature-icon i {
  color: white;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.feature-card:hover .feature-title {
  color: var(--primary);
}

.feature-subtitle {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.feature-description {
  color: var(--foreground);
}

/* Download Section */
.download-section {
  width: 100%;
  padding: 3rem 0;
  background: linear-gradient(to bottom, white, #fdf2f8);
}

.dark .download-section {
  background: linear-gradient(to bottom, var(--background), #3f1d2b);
}

.download-button-container {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.download-button-large {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  background-color: var(--primary);
  color: white;
  font-weight: 500;
  border: none;
  font-size: 1.125rem;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 20rem;
}

.download-button-large::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--primary-hover);
  transform: translateY(100%);
  transition: transform 0.3s;
}

.download-button-large:hover::after {
  transform: translateY(0);
}

.download-button-large i,
.download-button-large span {
  position: relative;
  z-index: 1;
}

.download-button-large:hover i {
  animation: bounce 1s infinite;
}

.changelog {
  width: 100%;
  max-width: 32rem;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.changelog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fdf2f8;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}

.dark .changelog-header {
  background-color: rgba(112, 26, 117, 0.2);
}

.changelog-title {
  font-weight: 500;
  font-size: 1rem;
}

.changelog-version {
  font-size: 0.75rem;
  background-color: #fbcfe8;
  color: #be185d;
  border-radius: 9999px;
  padding: 0.25rem 0.5rem;
}

.dark .changelog-version {
  background-color: #831843;
  color: #fbcfe8;
}

.changelog-items {
  border-bottom: 1px solid var(--border);
}

.changelog-item {
  border-bottom: 1px solid var(--border);
}

.changelog-item:last-child {
  border-bottom: none;
}

.changelog-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  cursor: pointer;
}

.changelog-item-version {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.changelog-item-version h4 {
  font-weight: 500;
  font-size: 1rem;
}

.changelog-badge {
  font-size: 0.75rem;
  background-color: #dcfce7;
  color: #166534;
  border-radius: 9999px;
  padding: 0.125rem 0.375rem;
}

.dark .changelog-badge {
  background-color: #166534;
  color: #dcfce7;
}

.changelog-item-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.changelog-item-content {
  padding: 0 1rem 1rem 1rem;
  border-left: 2px solid #fbcfe8;
  margin-left: 1rem;
  animation: fadeIn 0.5s ease-out forwards;
}

.dark .changelog-item-content {
  border-left-color: #831843;
}

.changelog-item-content.hidden {
  display: none;
}

.changelog-item-content ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.changelog-item-content li {
  margin-bottom: 0.5rem;
  animation: slideIn 0.3s ease-out forwards;
}

.changelog-item-content li:nth-child(1) {
  animation-delay: 0ms;
}
.changelog-item-content li:nth-child(2) {
  animation-delay: 50ms;
}
.changelog-item-content li:nth-child(3) {
  animation-delay: 100ms;
}
.changelog-item-content li:nth-child(4) {
  animation-delay: 150ms;
}
.changelog-item-content li:nth-child(5) {
  animation-delay: 200ms;
}
.changelog-item-content li:nth-child(6) {
  animation-delay: 250ms;
}

.changelog-footer {
  background-color: #f9fafb;
  padding: 0.75rem 1rem;
  text-align: center;
}

.dark .changelog-footer {
  background-color: #27272a;
}

.changelog-more-button {
  width: 100%;
  padding: 0.5rem;
  border-radius: var(--radius);
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
  font-size: 0.875rem;
  transition: background-color 0.3s, color 0.3s;
}

.changelog-more-button:hover {
  background-color: var(--muted);
}

.sponsor-message {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.sponsor-message i {
  color: var(--primary);
  animation: pulse 2s infinite;
}

.sponsor-name {
  font-weight: 700;
  color: var(--primary);
}

/* Plugins Section */
.plugins-section {
  width: 100%;
  padding: 3rem 0;
}

.plugins-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.plugin-card {
  height: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  background-color: var(--card);
  transition: all 0.3s ease;
  overflow: hidden;
}

.plugin-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(236, 72, 153, 0.1), 0 8px 10px -6px rgba(236, 72, 153, 0.1);
}

.dark .plugin-card:hover {
  box-shadow: 0 10px 25px -5px rgba(236, 72, 153, 0.2), 0 8px 10px -6px rgba(236, 72, 153, 0.2);
}

.plugin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.plugin-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.plugin-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.plugin-card:hover .plugin-icon img {
  transform: scale(1.1);
}

.plugin-badge {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
}

.plugin-badge-hot {
  background-color: #fdf2f8;
  color: #be185d;
}

.dark .plugin-badge-hot {
  background-color: #831843;
  color: #fbcfe8;
}

.plugin-badge-recommended {
  background-color: #dcfce7;
  color: #166534;
}

.dark .plugin-badge-recommended {
  background-color: #166534;
  color: #dcfce7;
}

.plugin-badge-new {
  background-color: #dbeafe;
  color: #1e40af;
}

.dark .plugin-badge-new {
  background-color: #1e40af;
  color: #dbeafe;
}

.plugin-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.plugin-card:hover .plugin-title {
  color: var(--primary);
}

.plugin-subtitle {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.plugin-description {
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.plugin-button {
  width: 100%;
  padding: 0.75rem;
  border-radius: var(--radius);
  background-color: var(--primary);
  color: white;
  font-weight: 500;
  border: none;
  position: relative;
  overflow: hidden;
}

.plugin-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--primary-hover);
  transform: translateY(100%);
  transition: transform 0.3s;
}

.plugin-button:hover::after {
  transform: translateY(0);
}

.plugin-button span {
  position: relative;
  z-index: 1;
}

.more-plugins {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.more-plugins-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
  font-weight: 500;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.more-plugins-button:hover {
  background-color: var(--muted);
}

.more-plugins-button:hover i {
  transform: translateX(4px);
  transition: transform 0.3s;
}

/* Community Section */
.community-section {
  width: 100%;
  padding: 3rem 0;
  background: linear-gradient(to bottom, white, #fdf2f8);
}

.dark .community-section {
  background: linear-gradient(to bottom, var(--background), #3f1d2b);
}

.community-groups {
  margin-top: 3rem;
}

.community-groups:first-of-type {
  margin-top: 0;
}

.community-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.community-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.community-title i {
  color: var(--primary);
  font-size: 1.5rem;
}

.community-title h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

.view-all-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
}

.view-all-link:hover i {
  transform: translateX(4px);
  transition: transform 0.3s;
}

.community-cards {
  display: grid;
  gap: 1.5rem;
}

.community-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--card);
  transition: all 0.3s;
}

.community-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.community-card-image {
  position: relative;
  height: 10rem;
  overflow: hidden;
}

.community-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.community-card:hover .community-card-image img {
  transform: scale(1.1);
}

.community-card-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background-color: var(--primary);
  color: white;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
}

.community-card-content {
  padding: 1rem;
}

.community-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.community-card-members {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.125rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 9999px;
  margin-bottom: 0.5rem;
}

.community-card-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
  height: 2.5rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.community-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.community-tag {
  font-size: 0.75rem;
  background-color: var(--secondary);
  color: var(--foreground);
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
}

.community-card-button {
  width: 100%;
  padding: 0.5rem;
  border-radius: var(--radius);
  background-color: var(--primary);
  color: white;
  font-weight: 500;
  border: none;
}

/* Websites Section */
.websites-section {
  width: 100%;
  padding: 3rem 0;
}

.websites-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.website-card {
  height: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  background-color: var(--card);
  transition: all 0.3s ease;
  overflow: hidden;
}

.website-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(236, 72, 153, 0.1), 0 8px 10px -6px rgba(236, 72, 153, 0.1);
}

.dark .website-card:hover {
  box-shadow: 0 10px 25px -5px rgba(236, 72, 153, 0.2), 0 8px 10px -6px rgba(236, 72, 153, 0.2);
}

.website-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.website-icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.website-icon i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background-color: #fdf2f8;
  color: var(--primary);
  transition: background-color 0.3s, color 0.3s;
}

.dark .website-icon i {
  background-color: rgba(112, 26, 117, 0.3);
}

.website-card:hover .website-icon i {
  background-color: var(--primary);
  color: white;
}

.website-icon span {
  font-size: 1.125rem;
  font-weight: 600;
  transition: color 0.3s;
}

.website-card:hover .website-icon span {
  color: var(--primary);
}

.website-rating {
  display: flex;
}

.website-rating i {
  color: #f59e0b;
  font-size: 1rem;
}

.website-rating i.empty {
  color: #d1d5db;
}

.website-description {
  margin-bottom: 1rem;
}

.website-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.website-tag {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
}

.website-tag-theme {
  background-color: #fdf2f8;
  color: #be185d;
}

.dark .website-tag-theme {
  background-color: #831843;
  color: #fbcfe8;
}

.website-tag-tutorial {
  background-color: #dbeafe;
  color: #1e40af;
}

.dark .website-tag-tutorial {
  background-color: #1e40af;
  color: #dbeafe;
}

.website-tag-dev {
  background-color: #dcfce7;
  color: #166534;
}

.dark .website-tag-dev {
  background-color: #166534;
  color: #dcfce7;
}

.website-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem;
  border-radius: var(--radius);
  background-color: var(--primary);
  color: white;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.website-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--primary-hover);
  transform: translateY(100%);
  transition: transform 0.3s;
}

.website-button:hover::after {
  transform: translateY(0);
}

.website-button span,
.website-button i {
  position: relative;
  z-index: 1;
}

.website-button:hover i {
  transform: translateX(4px);
  transition: transform 0.3s;
}

.more-websites {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.more-websites-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
  font-weight: 500;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.more-websites-button:hover {
  background-color: var(--muted);
}

.more-websites-button:hover i {
  transform: translateX(4px);
  transition: transform 0.3s;
}

/* Footer */
.footer {
  width: 100%;
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.copyright {
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-link:hover {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal.open {
  display: flex;
}

.modal-content {
  background-color: var(--card);
  border-radius: var(--radius);
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}

.modal-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.modal-title img {
  border-radius: var(--radius);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--muted-foreground);
  cursor: pointer;
}

.modal-body {
  padding: 1rem;
}

.modal-description {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.qrcode-container {
  display: flex;
  justify-content: center;
  margin: 1rem 0;
  position: relative;
}

.qrcode-image {
  border: 1px solid var(--border);
  padding: 0.5rem;
  border-radius: var(--radius);
  width: 150px;
  height: 150px;
}

.qrcode-badge {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  background-color: var(--primary);
  color: white;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
}

.sponsor-info {
  background-color: #fdf2f8;
  padding: 1rem;
  border-radius: var(--radius);
  margin-top: 1rem;
}

.dark .sponsor-info {
  background-color: rgba(112, 26, 117, 0.3);
}

.sponsor-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.sponsor-features {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
}

.sponsor-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.sponsor-features i {
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.sponsor-features strong {
  font-weight: 500;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 1rem;
  border-top: 1px solid var(--border);
}

.modal-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 500;
  border: none;
}

.modal-cancel {
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
}

.modal-download {
  background-color: var(--primary);
  color: white;
  position: relative;
  overflow: hidden;
}

.modal-download::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--primary-hover);
  transform: translateY(100%);
  transition: transform 0.3s;
}

.modal-download:hover::after {
  transform: translateY(0);
}

.modal-download i,
.modal-download span {
  position: relative;
  z-index: 1;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, background-color 0.3s;
  z-index: 50;
  box-shadow: var(--shadow-lg);
}

.dark .scroll-to-top {
  background-color: rgba(39, 20, 30, 0.8);
}

.scroll-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-to-top:hover {
  background-color: #fdf2f8;
}

.dark .scroll-to-top:hover {
  background-color: rgba(112, 26, 117, 0.3);
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.animated-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animated-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Media Queries */
@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }

  .download-button-hero,
  .exchange-button {
    width: auto;
  }

  .features-grid,
  .plugins-grid,
  .websites-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .community-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .desktop-nav,
  .header-actions {
    display: flex;
  }

  .mobile-nav-toggle {
    display: none;
  }

  .hero-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer .container {
    flex-direction: row;
    height: 6rem;
  }

  .copyright {
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .features-grid,
  .plugins-grid,
  .websites-grid,
  .community-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
