
    html {
      font-size: 16px;
      -webkit-text-size-adjust: 100%;
      -ms-text-size-adjust: 100%;
    }

    :root {
      --primary-color: #0F7B96;
      --primary-light: #1a95b5;
      --primary-dark: #0a5e76;
      --primary-darker: #083d4f;
      --secondary-color: #f8fafc;
      --accent-color: #059669;
      --accent-gold: #fbbf24;
      --accent-emerald: #10b981;
      --text-primary: #1f2937;
      --text-secondary: #6b7280;
      --white: #ffffff;
      --border-color: #e5e7eb;
      --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
      --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
      --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
      --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
      --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
      --radius-sm: 0.375rem;
      --radius-md: 0.5rem;
      --radius-lg: 0.75rem;
      --radius-xl: 1rem;
      --radius-2xl: 1.5rem;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      line-height: 1.6;
      color: var(--text-primary);
      overflow-x: hidden;
    }

    /* ========================================
       ENHANCED DUAS SECTION
       ======================================== */
    .rev-duas-section {
      padding: 6rem 0;
      background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
      position: relative;
      overflow: hidden;
    }

    /* Animated background pattern */
    .rev-duas-section::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="duaPattern" width="30" height="30" patternUnits="userSpaceOnUse"><path d="M15 5 L25 15 L15 25 L5 15 Z" fill="none" stroke="white" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23duaPattern)"/></svg>');
      animation: patternMove 60s linear infinite;
    }

    @keyframes patternMove {
      0% { transform: translateY(0); }
      100% { transform: translateY(30px); }
    }

    /* Floating prayer hands decoration */
    .rev-duas-section::after {
      content: '🤲';
      position: absolute;
      font-size: 120px;
      opacity: 0.05;
      top: 10%;
      right: 5%;
      animation: floatSlow 10s ease-in-out infinite;
      pointer-events: none;
    }

    @keyframes floatSlow {
      0%, 100% { transform: translateY(0) rotate(0deg); }
      50% { transform: translateY(-30px) rotate(5deg); }
    }


    .rev-section-title {
      text-align: center;
      font-size: 3rem;
      font-weight: 800;
      color: var(--white);
      margin-bottom: 1.5rem;
      position: relative;
      text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
      letter-spacing: -0.02em;
    }

    .rev-section-title::after {
      content: '';
      position: absolute;
      bottom: -15px;
      left: 50%;
      transform: translateX(-50%);
      width: 120px;
      height: 4px;
      background: linear-gradient(90deg, var(--accent-gold), #fef3c7);
      border-radius: 2px;
      box-shadow: 0 2px 8px rgba(251, 191, 36, 0.5);
    }

    .rev-duas-intro {
      text-align: center;
      max-width: 800px;
      margin: 0 auto 3rem;
      font-size: 1.25rem;
      color: rgba(255, 255, 255, 0.95);
      line-height: 1.7;
      text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    /* Filter/Category Pills */
    .rev-dua-filters {
      display: flex;
      justify-content: center;
      gap: 1rem;
      flex-wrap: wrap;
      margin-bottom: 3rem;
    }

    .rev-filter-pill {
      padding: 0.75rem 1.75rem;
      background: rgba(255, 255, 255, 0.2);
      backdrop-filter: blur(10px);
      border: 2px solid rgba(255, 255, 255, 0.3);
      border-radius: 50px;
      color: white;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      font-size: 0.95rem;
    }

    .rev-filter-pill:hover,
    .rev-filter-pill.active {
      background: var(--white);
      color: var(--accent-emerald);
      transform: translateY(-2px);
      box-shadow: var(--shadow-lg);
    }

    .rev-duas-container {
      max-width: 1000px;
      margin: 0 auto;
    }

    .rev-dua-card {
      background: var(--white);
      border-radius: var(--radius-2xl);
      padding: 2.75rem;
      margin-bottom: 2.5rem;
      box-shadow: var(--shadow-2xl);
      border: 2px solid transparent;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
      overflow: hidden;
      opacity: 0;
      transform: translateY(30px);
      animation: fadeInUp 0.6s ease forwards;
    }

    /* Gradient border effect */
    .rev-dua-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 6px;
      background: linear-gradient(90deg, var(--accent-emerald), #34d399, #6ee7b7);
      border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
    }

    /* Decorative corner accent */
    .rev-dua-card::after {
      content: '✦';
      position: absolute;
      top: 1.5rem;
      right: 1.5rem;
      font-size: 2rem;
      color: var(--accent-emerald);
      opacity: 0.15;
      transition: all 0.4s ease;
    }

    .rev-dua-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 30px 60px -12px rgba(16, 185, 129, 0.25);
      border-color: rgba(16, 185, 129, 0.2);
    }

    .rev-dua-card:hover::after {
      opacity: 0.3;
      transform: rotate(180deg) scale(1.2);
    }

    .rev-dua-title {
      font-size: 1.75rem;
      font-weight: 700;
      color: var(--primary-color);
      margin-bottom: 2rem;
      display: flex;
      align-items: center;
      gap: 0.875rem;
      padding-bottom: 1rem;
      border-bottom: 2px solid #f0fdf4;
    }

    .rev-dua-title::before {
      content: '🤲';
      font-size: 1.75rem;
      filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
      animation: prayerHandsFloat 3s ease-in-out infinite;
    }

    @keyframes prayerHandsFloat {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-5px); }
    }

    .rev-dua-label {
      font-weight: 700;
      color: var(--accent-emerald);
      display: inline-block;
      margin-bottom: 0.75rem;
      font-size: 0.875rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      padding: 0.375rem 0.875rem;
      background: linear-gradient(135deg, #ecfdf5, #d1fae5);
      border-radius: 50px;
      border: 1px solid #86efac;
    }

    .rev-dua-content-block {
      margin-bottom: 1.75rem;
    }

    .rev-dua-arabic {
      font-size: 2rem;
      line-height: 2.5;
      text-align: right;
      direction: rtl;
      background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
      padding: 2rem;
      border-radius: var(--radius-xl);
      margin-bottom: 0;
      border: 2px solid #86efac;
      color: var(--text-primary);
      font-weight: 600;
      box-shadow: inset 0 2px 8px rgba(16, 185, 129, 0.1);
      position: relative;
    }

    /* Copy button for Arabic text */
    .rev-copy-btn {
      position: absolute;
      top: 1rem;
      left: 1rem;
      background: var(--white);
      border: 1px solid #86efac;
      border-radius: var(--radius-md);
      padding: 0.5rem 0.875rem;
      cursor: pointer;
      transition: all 0.2s ease;
      font-size: 0.875rem;
      color: var(--accent-emerald);
      font-weight: 600;
      box-shadow: var(--shadow-sm);
    }

    .rev-copy-btn:hover {
      background: var(--accent-emerald);
      color: white;
      transform: scale(1.05);
    }

    .rev-copy-btn:active {
      transform: scale(0.95);
    }

    .rev-dua-transliteration {
      font-size: 1.25rem;
      font-style: italic;
      color: var(--text-primary);
      background: linear-gradient(135deg, #fffbeb, #fef3c7);
      padding: 1.5rem 1.75rem;
      border-radius: var(--radius-xl);
      margin-bottom: 0;
      border-left: 5px solid var(--accent-gold);
      line-height: 1.8;
      box-shadow: var(--shadow-sm);
    }

    .rev-dua-translation {
      font-size: 1.125rem;
      color: var(--text-primary);
      line-height: 1.8;
      background: linear-gradient(135deg, #f8fafc, #e2e8f0);
      padding: 1.5rem 1.75rem;
      border-radius: var(--radius-xl);
      margin-bottom: 0;
      border-left: 5px solid var(--primary-color);
      box-shadow: var(--shadow-sm);
    }

    /* Audio playback button */
    .rev-audio-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: linear-gradient(135deg, var(--accent-emerald), #34d399);
      color: white;
      padding: 0.75rem 1.5rem;
      border-radius: 50px;
      border: none;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      margin-top: 1.5rem;
      box-shadow: var(--shadow-md);
    }

    .rev-audio-btn:hover {
      transform: translateY(-2px);
      box-shadow: var(--shadow-lg);
      background: linear-gradient(135deg, #059669, #10b981);
    }

    .rev-audio-btn:active {
      transform: translateY(0);
    }

    /* Bookmark/Favorite button */
    .rev-bookmark-btn {
      position: absolute;
      top: 1.5rem;
      right: 1.5rem;
      background: transparent;
      border: none;
      font-size: 1.75rem;
      cursor: pointer;
      transition: all 0.3s ease;
      filter: grayscale(100%);
      opacity: 0.4;
    }

    .rev-bookmark-btn:hover {
      filter: grayscale(0%);
      opacity: 1;
      transform: scale(1.2);
    }

    .rev-bookmark-btn.bookmarked {
      filter: grayscale(0%);
      opacity: 1;
    }

    /* Category badge */
    .rev-dua-category {
      display: inline-block;
      background: linear-gradient(135deg, #dbeafe, #bfdbfe);
      color: #1e40af;
      padding: 0.375rem 0.875rem;
      border-radius: 50px;
      font-size: 0.8125rem;
      font-weight: 600;
      margin-bottom: 1rem;
      border: 1px solid #93c5fd;
    }

    /* Staggered animation */
    .rev-dua-card:nth-child(1) { animation-delay: 0.1s; }
    .rev-dua-card:nth-child(2) { animation-delay: 0.2s; }
    .rev-dua-card:nth-child(3) { animation-delay: 0.3s; }
    .rev-dua-card:nth-child(4) { animation-delay: 0.4s; }
    .rev-dua-card:nth-child(5) { animation-delay: 0.5s; }
    .rev-dua-card:nth-child(6) { animation-delay: 0.6s; }
    .rev-dua-card:nth-child(7) { animation-delay: 0.7s; }
    .rev-dua-card:nth-child(8) { animation-delay: 0.8s; }

    @keyframes fadeInUp {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Scroll to top button */
    .rev-scroll-top {
      position: fixed;
      bottom: 2rem;
      right: 2rem;
      background: var(--accent-emerald);
      color: white;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      border: none;
      cursor: pointer;
      box-shadow: var(--shadow-xl);
      transition: all 0.3s ease;
      opacity: 0;
      visibility: hidden;
      z-index: 100;
      font-size: 1.5rem;
    }

    .rev-scroll-top.visible {
      opacity: 1;
      visibility: visible;
    }

    .rev-scroll-top:hover {
      transform: translateY(-5px);
      background: #059669;
    }

    /* Responsive Design */
    @media (max-width: 768px) {
      .rev-duas-section {
        padding: 4rem 0;
      }

      .rev-section-title {
        font-size: 2.25rem;
      }

      .rev-duas-intro {
        font-size: 1.125rem;
        padding: 0 1rem;
      }

      .rev-dua-card {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
      }

      .rev-dua-title {
        font-size: 1.5rem;
      }

      .rev-dua-arabic {
        font-size: 1.625rem;
        padding: 1.5rem;
        line-height: 2.25;
      }

      .rev-dua-transliteration {
        font-size: 1.125rem;
        padding: 1.25rem;
      }

      .rev-dua-translation {
        font-size: 1rem;
        padding: 1.25rem;
      }

      .rev-filter-pill {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
      }

      .rev-copy-btn {
        padding: 0.375rem 0.625rem;
        font-size: 0.75rem;
      }
    }

    @media (max-width: 480px) {
      .container {
        padding: 0 1rem;
      }

      .rev-section-title {
        font-size: 1.875rem;
      }

      .rev-duas-intro {
        font-size: 1rem;
      }

      .rev-dua-card {
        padding: 1.75rem 1.25rem;
      }

      .rev-dua-title {
        font-size: 1.375rem;
      }

      .rev-dua-arabic {
        font-size: 1.5rem;
        padding: 1.25rem;
        line-height: 2;
      }

      .rev-dua-transliteration,
      .rev-dua-translation {
        font-size: 0.95rem;
        padding: 1rem;
      }

      .rev-bookmark-btn {
        font-size: 1.5rem;
        top: 1rem;
        right: 1rem;
      }

      .rev-scroll-top {
        width: 45px;
        height: 45px;
        bottom: 1.5rem;
        right: 1.5rem;
      }
    }

    /* Accessibility */
    @media (prefers-reduced-motion: reduce) {
      .rev-dua-card,
      .rev-dua-title::before,
      .rev-duas-section::before,
      .rev-duas-section::after {
        animation: none;
      }

      .rev-dua-card {
        opacity: 1;
        transform: none;
      }
    }

    /* Print styles */
    @media print {
      .rev-copy-btn,
      .rev-audio-btn,
      .rev-bookmark-btn,
      .rev-scroll-top,
      .rev-dua-filters {
        display: none;
      }

      .rev-dua-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #e5e7eb;
      }
    }
  