/* Google Fonts Import */
    @import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

    /* Color Palette matching reference design exactly */
    :root {
      --bg-color: #070B14;
      --header-bg: rgba(7, 11, 20, 0.85);
      --card-bg: #111827;
      --card-border: #1F2937;
      --primary: #8B5CF6;
      --pink: #EC4899;
      --cyan: #22D3EE;
      --blue: #3B82F6;
      --orange: #FF9800;
      --text-main: #FFFFFF;
      --text-sec: #9CA3AF;
      --font-family: 'Outfit', sans-serif;
      --sidebar-width: 260px;
      --right-width: 320px;
      --input-bg: #0D1222;
      /* Fluid typography base */
      --base-font-size: clamp(14px, 1.5vw, 16px);
      /* Glow effects */
      --glow-cyan: 0 0 15px rgba(34, 211, 238, 0.3), 0 0 30px rgba(34, 211, 238, 0.1);
      --glow-purple: 0 0 15px rgba(139, 92, 246, 0.3), 0 0 30px rgba(139, 92, 246, 0.1);
      --glow-pink: 0 0 15px rgba(236, 72, 153, 0.3), 0 0 30px rgba(236, 72, 153, 0.1);
    }

    /* Light Theme Color Palette Override */
    body.light-theme {
      --bg-color: #F9FAFB;
      --header-bg: rgba(249, 250, 251, 0.85);
      --card-bg: #FFFFFF;
      --card-border: #E5E7EB;
      --text-main: #111827;
      --text-sec: #4B5563;
      --input-bg: #F3F4F6;
      --glow-cyan: 0 0 10px rgba(34, 211, 238, 0.15);
      --glow-purple: 0 0 10px rgba(139, 92, 246, 0.15);
      --glow-pink: 0 0 10px rgba(236, 72, 153, 0.15);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      scroll-behavior: smooth;
      -webkit-tap-highlight-color: transparent;
    }

    html {
      font-size: 16px;
      -webkit-text-size-adjust: 100%;
      -ms-text-size-adjust: 100%;
    }

    body {
      background-color: var(--bg-color);
      color: var(--text-main);
      font-family: var(--font-family);
      font-size: var(--base-font-size);
      line-height: 1.6;
      overflow-x: hidden;
      width: 100%;
      max-width: 100vw;
      transition: background-color 0.3s ease, color 0.3s ease;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    a {
      color: inherit;
      text-decoration: none;
      transition: all 0.3s ease;
    }

    /* Responsive Images - Universal Rule */
    img, picture, video, canvas, svg {
      max-width: 100%;
      height: auto;
      display: block;
    }

    /* Layout Skeleton Structure */
    .app-wrapper {
      display: flex;
      flex-direction: column;
      min-height: 100vh;
      min-height: 100dvh;
      width: 100%;
      overflow-x: hidden;
    }

    /* Sticky Header */
    .main-header {
      background: var(--header-bg);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--card-border);
      position: sticky;
      top: 0;
      z-index: 100;
      padding: clamp(12px, 2vw, 16px) clamp(16px, 3vw, 32px);
      width: 100%;
      transition: background-color 0.3s ease;
    }

    .header-inner {
      max-width: 1440px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: clamp(8px, 1.5vw, 16px);
      flex-wrap: nowrap;
    }

    .header-left-side {
      display: flex;
      align-items: center;
      gap: clamp(8px, 1.5vw, 16px);
      min-width: 0;
      flex: 0 1 auto;
    }

    /* Hamburger Drawer Toggle Menu (Displays on mobile/tablet) */
    .hamburger-btn {
      display: none;
      background: transparent;
      border: none;
      color: var(--text-main);
      cursor: pointer;
      align-items: center;
      justify-content: center;
      padding: 8px;
      min-width: 44px;
      min-height: 44px;
    }

    .hamburger-btn svg {
      width: 24px;
      height: 24px;
    }

    /* Logo - Fluid font-size using clamp for responsive scaling */
    .brand-logo {
      font-size: clamp(20px, 3.5vw, 34px);
      font-weight: 800;
      background: linear-gradient(135deg, #22D3EE 0%, #8B5CF6 50%, #EC4899 100%);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      display: flex;
      align-items: center;
      gap: 8px;
      white-space: nowrap;
    }

    .brand-logo svg {
      width: clamp(24px, 3vw, 32px);
      height: clamp(24px, 3vw, 32px);
      flex-shrink: 0;
    }

    .header-controls {
      display: flex;
      align-items: center;
      gap: clamp(8px, 1.5vw, 16px);
      flex-wrap: nowrap;
    }

    .search-bar-wrapper {
      position: relative;
      width: clamp(200px, 25vw, 320px);
    }

    /* Rounded search input - responsive padding */
    .search-bar-wrapper input {
      width: 100%;
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      padding: 12px 16px 12px 42px;
      border-radius: 20px;
      color: var(--text-main);
      font-size: 14px;
      transition: all 0.3s ease;
    }

    .search-bar-wrapper input:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: var(--glow-purple);
    }

    .search-icon {
      position: absolute;
      left: 14px;
      top: 50%;
      transform: translateY(-50%);
      width: 16px;
      height: 16px;
      fill: var(--text-sec);
      pointer-events: none;
    }

    .search-shortcut {
      position: absolute;
      right: 14px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 11px;
      color: var(--text-sec);
      background: var(--bg-color);
      padding: 2px 6px;
      border-radius: 4px;
    }

    .btn-icon {
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid var(--card-border);
      padding: 10px;
      border-radius: 50%;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-main);
      transition: all 0.3s ease;
      min-width: 44px;
      min-height: 44px;
    }

    .btn-icon:hover {
      background: rgba(255, 255, 255, 0.1);
      box-shadow: var(--glow-purple);
    }

    .lang-btn {
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid var(--card-border);
      padding: 8px 16px;
      border-radius: 24px;
      font-size: 14px;
      cursor: pointer;
      color: var(--text-main);
      display: flex;
      align-items: center;
      gap: 6px;
      white-space: nowrap;
      min-height: 40px;
      transition: all 0.3s ease;
    }

    .lang-btn:hover {
      border-color: var(--primary);
    }

    /* Favorites button - outlined purple style matching image */
    .fav-nav-btn {
      background: transparent;
      padding: 8px 20px;
      border-radius: 24px;
      font-size: 14px;
      font-weight: 600;
      color: var(--primary);
      display: flex;
      align-items: center;
      gap: 8px;
      border: 1.5px solid var(--primary);
      cursor: pointer;
      white-space: nowrap;
      min-height: 40px;
      transition: all 0.3s ease;
    }

    .fav-nav-btn:hover {
      background: rgba(139, 92, 246, 0.1);
      box-shadow: var(--glow-purple);
    }

    /* 3-Column Layout with Responsive Grid */
    .app-container {
      max-width: 1440px;
      margin: 0 auto;
      width: 100%;
      display: grid;
      grid-template-columns: var(--sidebar-width) 1fr var(--right-width);
      gap: clamp(16px, 2.5vw, 32px);
      padding: clamp(16px, 2.5vw, 32px);
    }

    /* Left Sidebar Menu */
    .left-sidebar {
      display: flex;
      flex-direction: column;
      gap: 24px;
      min-width: 0;
    }

    .sidebar-widget {
      background: transparent;
      padding: 0;
    }

    .menu-title {
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1.5px;
      color: var(--text-sec);
      margin-bottom: 16px;
      padding-left: 14px;
    }

    .menu-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .menu-item a {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 16px;
      border-radius: 12px;
      color: var(--text-sec);
      font-weight: 500;
      font-size: 14px;
      min-height: 44px;
      transition: all 0.3s ease;
    }

    .menu-item a svg {
      width: 18px;
      height: 18px;
      fill: none;
      stroke: currentColor;
      stroke-width: 2;
      flex-shrink: 0;
    }

    /* Active Menu Gradient Pill - Blue to Cyan matching image */
    .menu-item.active a {
      background: linear-gradient(90deg, #1d4ed8 0%, #0ea5e9 100%);
      color: #fff;
      font-weight: 600;
      box-shadow: 0 4px 15px rgba(29, 78, 216, 0.3);
    }

    .menu-item a:hover:not(.active) {
      background: rgba(255, 255, 255, 0.03);
      color: var(--text-main);
    }

    /* Premium Upgrade promo panel with glow */
    .premium-promo-card {
      background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(236, 72, 153, 0.15) 100%);
      border: 1px solid rgba(139, 92, 246, 0.3);
      border-radius: 16px;
      padding: 24px;
      text-align: center;
      position: relative;
      overflow: hidden;
      margin-top: 16px;
      box-shadow: 0 0 20px rgba(139, 92, 246, 0.1), inset 0 0 20px rgba(139, 92, 246, 0.05);
    }

    .premium-promo-card::before {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
      animation: rotateGlow 10s linear infinite;
    }

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

    .crown-wrapper {
      font-size: 24px;
      margin-bottom: 8px;
      position: relative;
      z-index: 1;
    }

    .premium-promo-card h4 {
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 8px;
      position: relative;
      z-index: 1;
    }

    .premium-promo-card p {
      font-size: 12px;
      color: var(--text-sec);
      margin-bottom: 16px;
      line-height: 1.5;
      position: relative;
      z-index: 1;
    }

    .premium-btn {
      background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
      color: #fff;
      border: none;
      padding: 10px 20px;
      border-radius: 12px;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      width: 100%;
      min-height: 44px;
      position: relative;
      z-index: 1;
      transition: all 0.3s ease;
    }

    .premium-btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    }

    /* Middle Layout Content */
    .central-content {
      display: flex;
      flex-direction: column;
      gap: 24px;
      min-width: 0;
    }

    .hero-title-section {
      text-align: center;
      padding: 8px 0;
    }

    /* Fluid typography for hero title */
    .hero-title-section h1 {
      font-size: clamp(24px, 5vw, 38px);
      font-weight: 800;
      margin-bottom: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: clamp(6px, 1.5vw, 12px);
      flex-wrap: wrap;
      line-height: 1.2;
    }

    .hero-title-section h1 span {
      background: linear-gradient(135deg, #EC4899 0%, #8B5CF6 100%);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .sparkle-icon-svg {
      width: clamp(20px, 4vw, 32px);
      height: clamp(20px, 4vw, 32px);
      fill: var(--pink);
      flex-shrink: 0;
    }

    .trend-icon-svg {
      width: clamp(20px, 4vw, 32px);
      height: clamp(20px, 4vw, 32px);
      fill: var(--cyan);
      flex-shrink: 0;
    }

    .hero-title-section p {
      color: var(--text-sec);
      font-size: clamp(13px, 1.8vw, 14px);
      padding: 0 8px;
    }

    /* Premium Input with Glowing Border Wrapper - Cyan to Blue gradient with glow */
    .input-wrapper {
      display: flex;
      align-items: center;
      gap: clamp(8px, 1.5vw, 16px);
      flex-wrap: wrap;
    }

    .input-box-gradient-wrapper {
      background: linear-gradient(135deg, #22D3EE 0%, #3B82F6 50%, #8B5CF6 100%);
      padding: 2px;
      border-radius: 16px;
      display: flex;
      flex: 1 1 250px;
      min-width: 0;
      box-shadow: 0 0 20px rgba(34, 211, 238, 0.2), 0 0 40px rgba(59, 130, 246, 0.1);
      transition: box-shadow 0.3s ease;
    }

    .input-box-gradient-wrapper:focus-within {
      box-shadow: 0 0 25px rgba(34, 211, 238, 0.35), 0 0 50px rgba(59, 130, 246, 0.15);
    }

    .input-container-inner {
      width: 100%;
      background: var(--input-bg);
      border-radius: 14px;
      position: relative;
      display: flex;
      align-items: center;
    }

    .input-container-inner input {
      width: 100%;
      background: transparent;
      border: none;
      padding: clamp(14px, 2.5vw, 18px) 48px clamp(14px, 2.5vw, 18px) clamp(16px, 3vw, 24px);
      font-size: clamp(15px, 2vw, 18px);
      font-weight: 500;
      color: var(--text-main);
      min-width: 0;
    }

    .input-container-inner input:focus {
      outline: none;
    }

    .clear-input-icon {
      position: absolute;
      right: 18px;
      cursor: pointer;
      color: var(--text-sec);
      display: flex;
      align-items: center;
      transition: color 0.3s ease;
    }

    .clear-input-icon:hover {
      color: var(--text-main);
    }

    .clear-btn {
      background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%);
      color: #fff;
      border: none;
      padding: clamp(14px, 2.5vw, 18px) clamp(20px, 3.5vw, 32px);
      border-radius: 16px;
      font-size: clamp(14px, 2vw, 16px);
      font-weight: 600;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 8px;
      white-space: nowrap;
      min-height: 44px;
      transition: all 0.3s ease;
    }

    .clear-btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    }

    /* Filter wrapper & Tabs layout */
    .filter-wrapper-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: 24px;
      gap: 16px;
      flex-wrap: wrap;
    }

    .filter-tabs {
      display: flex;
      gap: 8px;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      flex: 1 1 auto;
      min-width: 0;
    }

    .filter-tabs::-webkit-scrollbar {
      display: none;
    }

    .tab-btn {
      background: var(--input-bg);
      border: 1px solid var(--card-border);
      color: var(--text-sec);
      padding: 10px 18px;
      border-radius: 12px;
      cursor: pointer;
      font-size: 13px;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 6px;
      white-space: nowrap;
      transition: all 0.3s ease;
      min-height: 40px;
      flex-shrink: 0;
    }

    .tab-btn:hover {
      border-color: var(--primary);
      color: var(--text-main);
    }

    .tab-btn.active {
      background: linear-gradient(90deg, #1D4ED8, #0EA5E9);
      color: #fff;
      border-color: transparent;
      box-shadow: 0 2px 10px rgba(29, 78, 216, 0.3);
    }

    .sort-dropdown {
      background: var(--input-bg);
      border: 1px solid var(--card-border);
      color: var(--text-sec);
      padding: 10px 18px;
      border-radius: 12px;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 8px;
      white-space: nowrap;
      min-height: 40px;
      flex-shrink: 0;
      transition: all 0.3s ease;
    }

    .sort-dropdown:hover {
      border-color: var(--primary);
    }

    /* Responsive grid: auto-fit columns for maximum flexibility */
    .results-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
      gap: clamp(12px, 2vw, 20px);
      margin-top: 24px;
    }

    /* Premium padding config - responsive with subtle glow on hover */
    .font-card {
      background: var(--card-bg);
      border: 1.5px solid var(--card-border);
      border-radius: 16px;
      padding: clamp(16px, 2.5vw, 22px) clamp(16px, 3vw, 24px);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      transition: all 0.3s ease;
      flex-wrap: wrap;
    }

    .font-card:hover {
      border-color: var(--primary);
      transform: translateY(-2px);
      box-shadow: 0 4px 20px rgba(139, 92, 246, 0.15);
    }

    .font-output-wrapper {
      flex: 1 1 auto;
      padding-right: 16px;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      min-width: 0;
    }

    .font-output-wrapper::-webkit-scrollbar {
      display: none;
    }

    /* Fluid preview text size */
    .font-styled-text {
      font-size: clamp(20px, 3.5vw, 32px);
      white-space: nowrap;
      color: var(--text-main);
    }

    /* Copy button - responsive dimensions with neon glow */
    .copy-btn {
      background: transparent;
      border: 1.5px solid var(--neon-color, #8b5cf6);
      color: var(--neon-color, #8b5cf6);
      padding: 0 16px;
      height: clamp(44px, 6vw, 52px);
      min-width: clamp(100px, 15vw, 130px);
      border-radius: 12px;
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: all 0.2s;
      flex-shrink: 0;
    }

    .copy-btn:hover {
      background: var(--neon-color, #8b5cf6);
      color: #fff;
      box-shadow: 0 0 15px var(--neon-color, #8b5cf6), 0 0 30px rgba(139, 92, 246, 0.2);
    }

    .copy-btn.copied {
      background: #10b981 !important;
      border-color: #10b981 !important;
      color: #fff !important;
      box-shadow: 0 0 15px rgba(16, 185, 129, 0.4) !important;
    }

    .load-more-btn-container {
      text-align: center;
      margin-top: 32px;
    }

    .load-more-btn {
      background: var(--input-bg);
      border: 1.5px solid var(--card-border);
      color: var(--text-main);
      padding: 14px 36px;
      border-radius: 16px;
      font-size: 14px;
      cursor: pointer;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 44px;
      transition: all 0.3s ease;
    }

    .load-more-btn:hover {
      border-color: var(--primary);
      box-shadow: var(--glow-purple);
      transform: translateY(-1px);
    }

    /* Right Sidebar Styling */
    .right-sidebar {
      display: flex;
      flex-direction: column;
      gap: 24px;
      min-width: 0;
    }

    .info-card {
      background: var(--card-bg);
      border: 1.5px solid var(--card-border);
      border-radius: 16px;
      padding: clamp(16px, 2.5vw, 24px);
      transition: all 0.3s ease;
    }

    .info-card:hover {
      border-color: rgba(139, 92, 246, 0.3);
      box-shadow: 0 0 15px rgba(139, 92, 246, 0.05);
    }

    .info-card h3 {
      font-size: 15px;
      font-weight: 700;
      margin-bottom: 14px;
      color: var(--text-main);
      position: relative;
      padding-bottom: 10px;
    }

    .info-card h3::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0;
      width: 40px;
      height: 2px;
      background: linear-gradient(90deg, #8b5cf6, #EC4899);
    }

    .info-card p {
      font-size: 13px;
      color: var(--text-sec);
      line-height: 1.6;
    }

    .popular-tools-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .tool-link-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: rgba(255, 255, 255, 0.02);
      border: 1.5px solid var(--card-border);
      padding: 12px 16px;
      border-radius: 12px;
      font-size: 13px;
      font-weight: 600;
      min-height: 44px;
      gap: 8px;
      transition: all 0.3s ease;
    }

    .tool-link-item:hover {
      border-color: var(--primary);
      background: rgba(139, 92, 246, 0.05);
    }

    .tool-icon-label-wrapper {
      display: flex;
      align-items: center;
      gap: 10px;
      min-width: 0;
      flex: 1 1 auto;
    }

    .tool-icon-label-wrapper svg {
      width: 18px;
      height: 18px;
      flex-shrink: 0;
    }

    .tool-icon-label-wrapper span {
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .social-chevron {
      color: var(--text-sec);
      flex-shrink: 0;
    }

    /* Feature highlight row - fluid grid with auto-fit */
    .footer-features {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
      gap: clamp(12px, 2vw, 24px);
      max-width: 1440px;
      margin: clamp(24px, 4vw, 48px) auto 0 auto;
      padding: 0 clamp(16px, 2.5vw, 32px);
      width: 100%;
    }

    .feature-box {
      background: var(--card-bg);
      border: 1.5px solid var(--card-border);
      border-radius: 16px;
      padding: clamp(16px, 2.5vw, 24px);
      display: flex;
      align-items: flex-start;
      gap: 16px;
      transition: all 0.3s ease;
    }

    .feature-box:hover {
      border-color: rgba(139, 92, 246, 0.3);
      transform: translateY(-2px);
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    .feature-icon-wrapper {
      background: rgba(255, 255, 255, 0.03);
      padding: 12px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .feature-icon-wrapper svg {
      width: 20px;
      height: 20px;
    }

    .feature-content {
      min-width: 0;
    }

    .feature-content h4 {
      font-size: 15px;
      font-weight: 700;
      margin-bottom: 4px;
    }

    .feature-content p {
      font-size: 12px;
      color: var(--text-sec);
    }

    /* Premium Footers - responsive padding */
    .footer-meta {
      border-top: 1px solid var(--card-border);
      margin-top: clamp(24px, 4vw, 48px);
      padding: clamp(32px, 5vw, 60px) clamp(16px, 2.5vw, 32px);
      background: var(--input-bg);
      width: 100%;
    }

    .footer-meta-inner {
      max-width: 1440px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 24px;
      width: 100%;
    }

    .footer-meta-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 16px;
      width: 100%;
    }

    .footer-divider-line {
      height: 1px;
      background: var(--card-border);
      width: 100%;
      margin: 8px 0;
    }

    .footer-links {
      display: flex;
      gap: clamp(16px, 3vw, 32px);
      font-size: 14px;
      color: var(--text-sec);
      flex-wrap: wrap;
    }

    .footer-links a:hover {
      color: var(--text-main);
    }

    .copyright {
      font-size: clamp(12px, 1.8vw, 14px);
    }

    /* Custom Blog Card list */
    .blog-archive-info {
      display: flex;
      flex-direction: column;
      gap: 24px;
    }

    /* Content Section Styling */
    .content-section {
      background: var(--card-bg);
      border: 1.5px solid var(--card-border);
      border-radius: 16px;
      padding: clamp(20px, 4vw, 32px);
      margin-top: 24px;
      color: var(--text-main);
    }
    .content-section h2 {
      font-size: clamp(20px, 3vw, 26px);
      font-weight: 700;
      margin: 24px 0 16px 0;
      color: var(--primary);
    }
    .content-section h2:first-child {
      margin-top: 0;
    }
    .content-section h3 {
      font-size: clamp(18px, 2.5vw, 22px);
      font-weight: 600;
      margin: 20px 0 12px 0;
      color: var(--text-main);
    }
    .content-section p {
      font-size: 15px;
      line-height: 1.8;
      margin-bottom: 16px;
      color: var(--text-sec);
    }
    .content-section ul, .content-section ol {
      margin-bottom: 20px;
      padding-left: 20px;
    }
    .content-section li {
      margin-bottom: 8px;
      color: var(--text-sec);
      font-size: 15px;
    }
    .content-section strong {
      color: var(--text-main);
    }

    .blog-card {
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: 16px;
      padding: clamp(16px, 2.5vw, 24px);
      display: flex;
      flex-direction: column;
      gap: 12px;
      transition: all 0.3s ease;
    }

    .blog-card:hover {
      border-color: var(--primary);
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(139, 92, 246, 0.1);
    }

    .blog-card-meta {
      font-size: 12px;
      color: var(--primary);
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .blog-card-title {
      font-size: clamp(16px, 2.5vw, 20px);
      font-weight: 700;
      color: var(--text-main);
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    .blog-card-snippet {
      font-size: 14px;
      color: var(--text-sec);
      line-height: 1.6;
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    .main-blog-container {
      background: transparent;
      padding: 0;
      margin-top: 24px;
    }

    /* ========================================
       COMPREHENSIVE RESPONSIVE MEDIA QUERIES
       ======================================== */

    /* Extra Large Screens: 1440px+ (Large desktops, TVs) */
    @media (min-width: 1441px) {
      .app-container {
        max-width: 1600px;
      }
    }

    /* Large Desktops: 1200px - 1440px */
    @media (max-width: 1440px) and (min-width: 1201px) {
      :root {
        --sidebar-width: 240px;
        --right-width: 300px;
      }
    }

    /* Medium-Large: 992px - 1200px (hide right sidebar) */
    @media (max-width: 1200px) {
      :root {
        --sidebar-width: 220px;
      }
      .app-container {
        grid-template-columns: var(--sidebar-width) 1fr;
      }
      .right-sidebar {
        display: none;
      }
    }

    /* Tablet: 768px - 991px */
    @media (max-width: 991px) {
      .hamburger-btn {
        display: flex;
      }
      .app-container {
        grid-template-columns: 1fr;
        padding: clamp(12px, 2vw, 16px);
        gap: 16px;
      }
      /* Sliding sidebar navigation drawer on Mobile/Tablet */
      .left-sidebar {
        position: fixed;
        top: 0;
        left: -320px;
        width: min(320px, 85vw);
        height: 100vh;
        height: 100dvh;
        background: var(--bg-color);
        border-right: 1px solid var(--card-border);
        z-index: 1000;
        padding: 32px 24px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transition: left 0.3s ease;
        box-shadow: 5px 0 25px rgba(0,0,0,0.5);
      }
      .left-sidebar.drawer-open {
        left: 0;
      }
      .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 999;
      }
      .sidebar-overlay.active {
        display: block;
      }
      /* Show right sidebar content below main on tablet */
      .right-sidebar {
        display: flex;
        margin-top: 24px;
      }
      .footer-features {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    /* Small Tablets & Large Phones: 640px - 768px */
    @media (max-width: 768px) {
      .search-bar-wrapper {
        width: 100%;
        max-width: 300px;
      }
      .lang-btn span {
        display: none;
      }
      .lang-btn {
        padding: 8px 12px;
      }
      .fav-nav-btn {
        padding: 8px 14px;
      }
      .fav-nav-btn span,
      .fav-nav-btn::after {
        display: none;
      }
    }

    /* Mobile Devices: up to 576px */
    @media (max-width: 576px) {
      .footer-features {
        grid-template-columns: 1fr;
      }
      .search-bar-wrapper {
        display: none;
      }
      .header-controls {
        gap: 8px;
      }
      .lang-btn {
        padding: 6px 10px;
        font-size: 12px;
      }
      .fav-nav-btn {
        padding: 8px 12px;
      }
      /* Font card layout on mobile - stack vertically */
      .font-card {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
      }
      .font-output-wrapper {
        padding-right: 0;
        width: 100%;
      }
      .copy-btn {
        width: 100%;
        min-width: unset;
      }
      /* Input wrapper stack */
      .input-wrapper {
        flex-direction: column;
        align-items: stretch;
      }
      .clear-btn {
        width: 100%;
        justify-content: center;
      }
      /* Filter row on mobile */
      .filter-wrapper-row {
        flex-direction: column;
        align-items: stretch;
      }
      .sort-dropdown {
        align-self: flex-end;
      }
      /* Feature box stack icon and content */
      .feature-box {
        flex-direction: row;
      }
      /* Footer meta row stacks */
      .footer-meta-row {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
      }
      .footer-links {
        gap: 16px;
      }
      /* Hero title smaller */
      .hero-title-section h1 {
        gap: 8px;
      }
    }

    /* Extra Small Mobile: up to 400px */
    @media (max-width: 400px) {
      .header-controls > .btn-icon,
      .header-controls > .lang-btn {
        display: none;
      }
      .brand-logo {
        font-size: 20px;
      }
      .footer-links {
        flex-direction: column;
        gap: 8px;
      }
    }

    /* Landscape orientation on small devices */
    @media (max-height: 500px) and (orientation: landscape) {
      .main-header {
        padding: 8px 16px;
      }
      .hero-title-section {
        padding: 4px 0;
      }
    }

    /* High DPI / Retina Displays */
    @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
      .brand-logo svg,
      .btn-icon svg {
        image-rendering: -webkit-optimize-contrast;
      }
    }

    /* User Preferences - Dark Mode */
    @media (prefers-color-scheme: light) {
      body:not(.dark-theme):not(.light-theme) {
        /* Auto light theme only if user hasn't manually set */
      }
    }

    /* Reduced Motion Support - Accessibility */
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
      }
    }

    /* Print Styles */
    @media print {
      .main-header,
      .left-sidebar,
      .right-sidebar,
      .sidebar-overlay,
      .footer-features,
      .footer-meta,
      .hamburger-btn,
      .load-more-btn-container,
      .filter-wrapper-row {
        display: none !important;
      }
      body {
        background: #fff !important;
        color: #000 !important;
      }
      .app-container {
        grid-template-columns: 1fr !important;
        padding: 0 !important;
      }
      .font-card {
        break-inside: avoid;
        border: 1px solid #ccc !important;
      }
    }

    /* Focus Styles for Keyboard Navigation - Accessibility */
    a:focus-visible,
    button:focus-visible,
    input:focus-visible {
      outline: 2px solid var(--cyan);
      outline-offset: 2px;
    }

    /* Container Queries Support (for modern browsers) */
    @supports (container-type: inline-size) {
      .central-content {
        container-type: inline-size;
        container-name: main-content;
      }
    }
