 :where([class^="ri-"])::before {
      content: "\f3c2";
    }

    .loading-spinner {
      border: 2px solid #f3f3f3;
      border-top: 2px solid #4A90E2;
      border-radius: 50%;
      width: 20px;
      height: 20px;
      animation: spin 1s linear infinite;
    }

    .dark .loading-spinner {
      border: 2px solid #2D3748;
      border-top: 2px solid #4A90E2;
    }

    @keyframes spin {
      0% {
        transform: rotate(0deg);
      }
      100% {
        transform: rotate(360deg);
      }
    }

    .gradient-bg {
      background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    }

    .input-focus:focus {
      border-color: #4A90E2;
      box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
    }

    .dark .input-focus:focus {
      box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.3);
    }

    .modal-overlay {
      backdrop-filter: blur(4px);
    }

    /* 夜晚模式样式 */
    .dark body {
      background: linear-gradient !important;
      color: #E2E8F0;
    }

    .dark .bg-white {
      background-color: #16213E !important;
      border-color: #2D3748 !important;
    }

    .dark .text-gray-800 {
      color: #E2E8F0 !important;
    }

    .dark .text-gray-700 {
      color: #CBD5E0 !important;
    }

    .dark .text-gray-600 {
      color: #A0AEC0 !important;
    }

    .dark .text-gray-500 {
      color: #718096 !important;
    }

    .dark .border-gray-300 {
      border-color: #2D3748 !important;
    }

    .dark .bg-blue-100 {
      background-color: #1E3A8A !important;
    }

    .dark .text-blue-600 {
      color: #93C5FD !important;
    }

    .dark .bg-green-100 {
      background-color: #065F46 !important;
    }

    .dark .text-green-600 {
      color: #6EE7B7 !important;
    }

    .dark .bg-purple-100 {
      background-color: #5B21B6 !important;
    }

    .dark .text-purple-600 {
      color: #C4B5FD !important;
    }

    .dark .bg-red-50 {
      background-color: #7F1D1D !important;
      border-color: #991B1B !important;
    }

    .dark .text-red-700 {
      color: #FECACA !important;
    }

    .dark .bg-green-50 {
      background-color: #065F46 !important;
      border-color: #059669 !important;
    }

    .dark .text-green-700 {
      color: #6EE7B7 !important;
    }

    .dark .bg-blue-50 {
      background-color: #1E3A8A !important;
      border-color: #2563EB !important;
    }

    .dark .text-blue-700 {
      color: #93C5FD !important;
    }

    .dark .bg-gray-100 {
      background-color: #2D3748 !important;
    }

    .dark .border-t {
      border-top-color: #2D3748 !important;
    }

    .dark .border-b {
      border-bottom-color: #2D3748 !important;
    }

    .dark .shadow-xl {
      box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.1) !important;
    }

    .dark .shadow-2xl {
      box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4) !important;
    }
    
    /* 广告位样式 */
    .ad-container {
      max-width: 900px;
      margin: 25px auto;
      padding: 20px;
      background: white;
      border-radius: 16px;
      box-shadow: 0 10px 25px rgba(0,0,0,0.05);
      transition: all 0.3s ease;
    }
    
    .dark .ad-container {
      background: #16213E;
      box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    }
    
    .ad-header {
      display: flex;
      align-items: center;
      margin-bottom: 15px;
      padding-bottom: 15px;
      border-bottom: 1px solid #eaeaea;
    }
    
    .dark .ad-header {
      border-bottom: 1px solid #2d3748;
    }
    
    .ad-title {
      font-size: 1.2rem;
      font-weight: 600;
      margin-left: 10px;
      color: #4A90E2;
    }
    
    .dark .ad-title {
      color: #93C5FD;
    }
    
    .ad-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
      gap: 15px;
    }
    
    .ad-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 15px;
      border-radius: 12px;
      background: linear-gradient(135deg, rgba(74, 144, 226, 0.1) 0%, rgba(53, 122, 189, 0.1) 100%);
      transition: all 0.3s ease;
      cursor: pointer;
      text-align: center;
    }
    
    .dark .ad-item {
      background: rgba(26, 32, 44, 0.5);
    }
    
    .ad-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(0,0,0,0.1);
      background: linear-gradient(135deg, rgba(74, 144, 226, 0.15) 0%, rgba(53, 122, 189, 0.15) 100%);
    }
    
    .dark .ad-item:hover {
      background: rgba(30, 58, 138, 0.3);
    }
    
    .ad-icon {
      font-size: 24px;
      margin-bottom: 10px;
      color: #4A90E2;
      transition: all 0.3s ease;
    }
    
    .dark .ad-icon {
      color: #93C5FD;
    }
    
    .ad-item:hover .ad-icon {
      transform: scale(1.2);
    }
    
    .ad-text {
      font-size: 0.9rem;
      color: #333;
      font-weight: 500;
      transition: all 0.3s ease;
    }
    
    .dark .ad-text {
      color: #E2E8F0;
    }
    
    .ad-item:hover .ad-text {
      color: #4A90E2;
      font-weight: 600;
    }
    
    .dark .ad-item:hover .ad-text {
      color: #93C5FD;
    }
    
    @media (max-width: 768px) {
      .ad-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
      }
      
      .ad-item {
        padding: 12px;
      }
    }
    
    @media (max-width: 480px) {
      .ad-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 10px;
      }
      
      .ad-text {
        font-size: 0.8rem;
      }
    }
    
    /* 动画效果 */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }
    
    .animate-fadeIn {
      animation: fadeIn 0.6s ease-out forwards;
    }
    
    .delay-100 {
      animation-delay: 0.1s;
    }
    
    .delay-200 {
      animation-delay: 0.2s;
    }
    
    .delay-300 {
      animation-delay: 0.3s;
    }
    
    .delay-400 {
      animation-delay: 0.4s;
    }
    
    .delay-500 {
      animation-delay: 0.5s;
    }