    /* Base & Font */
    @font-face {
      font-family: 'IBMPlexSansArabic';
      src: url('fonts/IBMPlexSansArabic-Medium.ttf') format('truetype');
      font-weight: 500;
      font-style: normal;
      font-display: swap;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; font-family: 'IBMPlexSansArabic', sans-serif; -webkit-tap-highlight-color: transparent; }
    body { background: #F7FAF8; display: flex; justify-content: center; overflow-x: hidden; }
    .app { max-width: 420px; width: 100%; background: #F7FAF8; min-height: 100vh; overflow: hidden; }
    
    /* Header */
    .header { position: relative; width: 100%; height: 220px; overflow: hidden; border-radius: 0 0 30px 30px; }
    .header-img { position: absolute; inset: 0; background: url('/tools/media/page//header2.png') center/cover no-repeat; transform: scale(1.25); }
    .header-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.18); }
    .header-content { position: relative; z-index: 2; padding: 18px 20px 20px; height: 100%; display: flex; flex-direction: column; }
    .header-top { display: flex; align-items: center; justify-content: space-between; direction: ltr; }
    .controls-left { display: flex; align-items: center; gap: 8px; }
    .currency-selector-btn { background: rgba(255,255,255,0.2); color: white; padding: 4px 10px; border-radius: 16px; font-size: 11px; cursor: pointer; display: flex; align-items: center; gap: 6px; backdrop-filter: blur(10px); white-space: nowrap; border: none; transition: all 0.2s ease; }
    .currency-selector-btn:hover { background: rgba(255,255,255,0.3); }
    .currency-logo-small { width: 18px; height: 18px; object-fit: contain; border-radius: 50%; }
    .currency-logo-small.flag-style { border-radius: 2px; object-fit: cover; }
    .greeting-name { font-size:15px; font-weight:800; color:#fff; background: rgba(255,255,255,0.2); backdrop-filter: blur(8px); padding: 6px 14px; border-radius: 30px; display: inline-block; transition: all 0.2s ease; border: 1px solid rgba(255,255,255,0.3); box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
    
    /* Glass card */
    .glass-card { margin-top: auto; width: 100%; padding: 18px; background: rgba(255,255,255,0.28); border-radius: 24px; border: 1px solid rgba(255,255,255,0.38); box-shadow: 0 8px 18px rgba(0,0,0,0.08); }
    .glass-title { font-size: clamp(18px, 4vw, 22px); font-weight: 800; color: #fff; line-height: 1.2; }
    .glass-sub { font-size: clamp(12px, 2.5vw, 13px); color: #fff; font-weight: 500; margin-top: 8px; line-height: 1.6; }
    .grid-area { padding: 18px 20px; }
    
    /* Language switch */
    .lang-switch { position: relative; width: 70px; height: 28px; display: inline-block; flex-shrink: 0; }
    .lang-switch input { opacity: 0; width: 0; height: 0; }
    .lang-switch .slider { position: absolute; inset: 0; background: rgba(255,255,255,0.25); border-radius: 30px; cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: space-between; padding: 0 8px; font-size: 11px; font-weight: 700; color: white; overflow: hidden; }
    .lang-switch .slider::before { content: ""; position: absolute; height: 22px; width: 22px; left: 3px; top: 3px; background: white; border-radius: 50%; transition: 0.3s; z-index: 1; }
    .lang-switch input:checked + .slider::before { transform: translateX(42px); }
    .lang-switch input:checked + .slider .ar { opacity: 0.4; }
    .lang-switch input:not(:checked) + .slider .en { opacity: 0.4; }
    
    /* Menu cards */
    .card-item { background: transparent; border-radius: 20px; padding: 10px 8px; cursor: pointer; display: flex; flex-direction: column; align-items: center; transition: transform 0.15s, background 0.15s; border: none !important; }
    .card-item:hover { background: rgba(0,109,68,0.07); transform: scale(1.02); }
    .card-img-wrap { width: 100%; aspect-ratio: 1; border-radius: 18px; overflow: hidden; }
    .card-img-wrap img { width: 100%; height: 100%; object-fit: contain; }
    .card-label { margin-top: 10px; font-size: clamp(12px, 2.5vw, 14px); font-weight: 700; color: #161D1F; text-align: center; }
    
    /* ============================================ */
    /* SIMPLE MODERN GLASS CURRENCY MODAL           */
    /* ============================================ */
    
    .currency-modal .modal-content {
      background: rgba(255, 255, 255, 0.92);
      backdrop-filter: blur(12px);
      border-radius: 28px;
      border: 1px solid rgba(255, 255, 255, 0.5);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
      overflow: hidden;
    }
    
    .currency-modal .modal-header {
      background: linear-gradient(135deg, #059669, #10b981);
      padding: 18px 24px;
      border-bottom: none;
    }
    
    .currency-modal .modal-title {
      font-weight: 800;
      font-size: 1.4rem;
      color: white;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    
    .currency-modal .modal-title::before {
      content: "💱";
      font-size: 1.5rem;
    }
    
    .currency-modal .btn-close {
      filter: brightness(0) invert(1);
      opacity: 0.8;
    }
    
    .currency-modal .modal-body {
      padding: 20px;
      max-height: 65vh;
      overflow-y: auto;
    }
    
    /* Grid layout */
    .currency-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
    }
    
    /* Glass card item */
    .currency-card {
      background: rgba(255, 255, 255, 0.7);
      backdrop-filter: blur(4px);
      border-radius: 20px;
      padding: 14px 8px;
      text-align: center;
      cursor: pointer;
      transition: all 0.2s ease;
      border: 1px solid rgba(16, 185, 129, 0.2);
    }
    
    .currency-card:hover {
      background: rgba(16, 185, 129, 0.15);
      border-color: #10b981;
      transform: translateY(-3px);
    }
    
    .currency-logo-wrapper {
      width: 55px;
      height: 55px;
      margin: 0 auto 10px;
      background: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    }
    
    .currency-card .currency-logo {
      width: 40px;
      height: 40px;
      object-fit: contain;
      border-radius: 50%;
    }
    
    .currency-card .currency-logo.flag-style {
      border-radius: 4px;
    }
    
    .currency-card .currency-code {
      font-weight: 800;
      font-size: 1.2rem;
      color: #1f2937;
      margin-bottom: 4px;
    }
    
    .currency-card .currency-name {
      font-size: 0.65rem;
      color: #4b5563;
      margin-bottom: 6px;
      line-height: 1.3;
    }
    
    .currency-card .currency-symbol-badge {
      display: inline-block;
      background: #e5e7eb;
      padding: 2px 10px;
      border-radius: 30px;
      font-size: 0.7rem;
      font-weight: 700;
      color: #059669;
    }
    
    /* Responsive */
    @media (min-width: 480px) {
      .currency-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }
    
    @media (min-width: 768px) { 
      .app { max-width: 100%; } 
      .header { height: 320px; } 
      .glass-title { font-size: 32px; } 
      .glass-sub { font-size: 16px; } 
      .col-6 { flex: 0 0 33.333% !important; max-width: 33.333% !important; } 
    }
    @media (min-width: 1024px) { 
      .app { max-width: 900px; margin: 0 auto; } 
      .header { height: 380px; } 
      .glass-title { font-size: 38px; } 
      .glass-sub { font-size: 18px; } 
    }
