* {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        border: 0;
      }

      body {
        background: linear-gradient(135deg, #667eea, #764ba2);
        font-family: 'Inter', sans-serif;
        color: #222;
        font-feature-settings: "cv01", "cv03", "cv04", "cv11";
        min-height: 100vh;
        overflow-x: hidden;
      }

      /* Glassmorphism styles */
      .glass {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.18);
      }

      /* Scrollbar customization */
      ::-webkit-scrollbar {
        width: 8px;
      }

      ::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
      }

      ::-webkit-scrollbar-thumb {
        background: rgba(102, 126, 234, 0.5);
        border-radius: 4px;
      }

      ::-webkit-scrollbar-thumb:hover {
        background: rgba(102, 126, 234, 0.7);
      }

      /* Smooth scrolling */
      html {
        scroll-behavior: smooth;
      }

      /* Component styles */
      .btn-primary {
        background: linear-gradient(135deg, #667eea, #764ba2);
        color: white;
        font-weight: 600;
        padding: 12px 24px;
        border-radius: 12px;
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
      }

      .btn-primary:hover {
        transform: scale(1.05);
        box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
      }

      .btn-primary:active {
        transform: scale(0.95);
      }

      .btn-secondary {
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(8px);
        color: white;
        font-weight: 600;
        padding: 8px 16px;
        border-radius: 8px;
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
      }

      .btn-secondary:hover {
        background: rgba(255, 255, 255, 0.3);
      }

      .input-glass {
        width: 100%;
        padding: 12px 16px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        color: #1f2937;
        transition: all 0.3s ease;
        font-size: 16px;
      }

      .input-glass::placeholder {
        color: #6b7280;
      }

      .input-glass:focus {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        background: white;
      }

      .input-glass:hover {
        background: white;
      }

      .select-glass {
        width: 100%;
        padding: 12px 16px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        color: #1f2937;
        transition: all 0.3s ease;
        cursor: pointer;
        font-size: 16px;
      }

      .select-glass:focus {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        background: white;
      }

      .select-glass:hover {
        background: white;
      }

      .card-glass {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 16px;
        padding: 24px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
      }

      .card-glass:hover {
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
        transform: scale(1.01);
      }

      .text-gradient {
        background: linear-gradient(135deg, #667eea, #764ba2);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
      }

      /* Animations */
      @keyframes gradient {
        0%, 100% { 
          background-position: 0% 50%; 
        }
        50% { 
          background-position: 100% 50%; 
        }
      }

      @keyframes slide-in {
        from { 
          opacity: 0; 
          transform: translateY(20px); 
        }
        to { 
          opacity: 1; 
          transform: translateY(0); 
        }
      }

      @keyframes spin {
        from { 
          transform: rotate(0deg); 
        }
        to { 
          transform: rotate(360deg); 
        }
      }

      @keyframes float {
        0%, 100% { 
          transform: translateY(0px); 
        }
        50% { 
          transform: translateY(-10px); 
        }
      }

      .animate-gradient {
        background-size: 200% 100%;
        animation: gradient 3s ease infinite;
      }

      .animate-slide-in {
        animation: slide-in 0.5s ease;
      }

      .animate-spin {
        animation: spin 1s linear infinite;
      }

      .animate-float {
        animation: float 3s ease-in-out infinite;
      }

      /* Layout styles */
      .container {
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 16px;
      }

      .min-h-screen {
        min-height: 100vh;
      }

      .overflow-hidden {
        overflow: hidden;
      }

      .relative {
        position: relative;
      }

      .absolute {
        position: absolute;
      }

      .inset-0 {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
      }

      .pointer-events-none {
        pointer-events: none;
      }

      .z-10 {
        z-index: 10;
      }

      /* Grid and Flexbox */
      .grid {
        display: grid;
      }

      .flex {
        display: flex;
      }

      .inline-flex {
        display: inline-flex;
      }

      .items-center {
        align-items: center;
      }

      .items-end {
        align-items: flex-end;
      }

      .justify-center {
        justify-content: center;
      }

      .justify-between {
        justify-content: space-between;
      }

      .gap-2 {
        gap: 8px;
      }

      .gap-3 {
        gap: 12px;
      }

      .gap-4 {
        gap: 16px;
      }

      .gap-6 {
        gap: 24px;
      }

      .gap-8 {
        gap: 32px;
      }

      .flex-wrap {
        flex-wrap: wrap;
      }

      .flex-col {
        flex-direction: column;
      }

      /* Spacing */
      .p-2 {
        padding: 8px;
      }

      .p-3 {
        padding: 12px;
      }

      .p-4 {
        padding: 16px;
      }

      .p-6 {
        padding: 24px;
      }

      .p-8 {
        padding: 32px;
      }

      .px-4 {
        padding-left: 16px;
        padding-right: 16px;
      }

      .py-2 {
        padding-top: 8px;
        padding-bottom: 8px;
      }

      .py-3 {
        padding-top: 12px;
        padding-bottom: 12px;
      }

      .py-6 {
        padding-top: 24px;
        padding-bottom: 24px;
      }

      .py-8 {
        padding-top: 32px;
        padding-bottom: 32px;
      }

      .pt-2 {
        padding-top: 8px;
      }

      .pb-4 {
        padding-bottom: 16px;
      }

      .mb-4 {
        margin-bottom: 16px;
      }

      .mb-6 {
        margin-bottom: 24px;
      }

      .mb-8 {
        margin-bottom: 32px;
      }

      .mb-12 {
        margin-bottom: 48px;
      }

      .mt-2 {
        margin-top: 8px;
      }

      .mt-8 {
        margin-top: 32px;
      }

      .mt-12 {
        margin-top: 48px;
      }

      .mt-16 {
        margin-top: 64px;
      }

      /* Sizing */
      .w-2 {
        width: 8px;
      }

      .w-4 {
        width: 16px;
      }

      .w-5 {
        width: 20px;
      }

      .w-10 {
        width: 40px;
      }

      .w-12 {
        width: 48px;
      }

      .w-20 {
        width: 80px;
      }

      .w-60 {
        width: 240px;
      }

      .w-80 {
        width: 320px;
      }

      .w-full {
        width: 100%;
      }

      .h-2 {
        height: 8px;
      }

      .h-4 {
        height: 16px;
      }

      .h-5 {
        height: 20px;
      }

      .h-10 {
        height: 40px;
      }

      .h-12 {
        height: 48px;
      }

      .h-20 {
        height: 80px;
      }

      .h-60 {
        height: 240px;
      }

      .h-80 {
        height: 320px;
      }

      .h-px {
        height: 1px;
      }

      .max-w-2xl {
        max-width: 672px;
      }

      .max-w-7xl {
        max-width: 1280px;
      }

      /* Typography */
      .text-xs {
        font-size: 12px;
        line-height: 16px;
      }

      .text-sm {
        font-size: 14px;
        line-height: 20px;
      }

      .text-lg {
        font-size: 18px;
        line-height: 28px;
      }

      .text-xl {
        font-size: 20px;
        line-height: 28px;
      }

      .text-2xl {
        font-size: 24px;
        line-height: 32px;
      }

      .text-3xl {
        font-size: 30px;
        line-height: 36px;
      }

      .text-4xl {
        font-size: 36px;
        line-height: 40px;
      }

      .text-6xl {
        font-size: 60px;
        line-height: 1;
      }

      .font-medium {
        font-weight: 500;
      }

      .font-semibold {
        font-weight: 600;
      }

      .font-bold {
        font-weight: 700;
      }

      .text-center {
        text-align: center;
      }

      .text-right {
        text-align: right;
      }

      .leading-relaxed {
        line-height: 1.625;
      }

      /* Colors */
      .text-white {
        color: white;
      }

      .text-gray-400 {
        color: #9ca3af;
      }

      .text-gray-500 {
        color: #6b7280;
      }

      .text-gray-600 {
        color: #4b5563;
      }

      .text-gray-700 {
        color: #374151;
      }

      .text-gray-800 {
        color: #1f2937;
      }

      .text-blue-600 {
        color: #2563eb;
      }

      .text-green-500 {
        color: #10b981;
      }

      .bg-white {
        background-color: white;
      }

      .bg-green-500 {
        background-color: #10b981;
      }

      .bg-gradient-to-r {
        background-image: linear-gradient(to right, var(--tw-gradient-stops));
      }

      /* Borders */
      .rounded-full {
        border-radius: 9999px;
      }

      .rounded-xl {
        border-radius: 12px;
      }

      .rounded-2xl {
        border-radius: 16px;
      }

      .border-t {
        border-top-width: 1px;
      }

      .border-white\/20 {
        border-color: rgba(255, 255, 255, 0.2);
      }

      /* Effects */
      .shadow-xl {
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
      }

      .backdrop-blur-sm {
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
      }

      .blur-3xl {
        filter: blur(64px);
      }

      /* Opacity */
      .opacity-0 {
        opacity: 0;
      }

      .opacity-100 {
        opacity: 1;
      }

      /* Transform */
      .translate-y-0 {
        transform: translateY(0);
      }

      .translate-y-10 {
        transform: translateY(40px);
      }

      .transform {
        transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
      }

      .-translate-x-1\/2 {
        transform: translateX(-50%);
      }

      .-translate-y-1\/2 {
        transform: translateY(-50%);
      }

      .scale-\[1\.02\] {
        transform: scale(1.02);
      }

      .rotate-180 {
        transform: rotate(180deg);
      }

      /* Hover effects */
      .hover\:bg-white\/30:hover {
        background-color: rgba(255, 255, 255, 0.3);
      }

      .hover\:bg-white\/70:hover {
        background-color: rgba(255, 255, 255, 0.7);
      }

      .hover\:text-white:hover {
        color: white;
      }

      .hover\:scale-\[1\.02\]:hover {
        transform: scale(1.02);
      }

      .hover\:scale-110:hover {
        transform: scale(1.1);
      }

      /* Transitions */
      .transition-all {
        transition-property: all;
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
        transition-duration: 150ms;
      }

      .transition-colors {
        transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
        transition-duration: 150ms;
      }

      .duration-300 {
        transition-duration: 300ms;
      }

      .duration-1000 {
        transition-duration: 1000ms;
      }

      /* Pulse animation */
      .animate-pulse {
        animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
      }

      @keyframes pulse {
        0%, 100% {
          opacity: 1;
        }
        50% {
          opacity: .5;
        }
      }

      /* Space utilities */
      .space-y-3 > :not([hidden]) ~ :not([hidden]) {
        margin-top: 12px;
      }

      .space-y-4 > :not([hidden]) ~ :not([hidden]) {
        margin-top: 16px;
      }

      .space-y-6 > :not([hidden]) ~ :not([hidden]) {
        margin-top: 24px;
      }

      .space-y-8 > :not([hidden]) ~ :not([hidden]) {
        margin-top: 32px;
      }

      /* Background decorations */
      .background-decoration {
        position: absolute;
        inset: 0;
        overflow: hidden;
        pointer-events: none;
      }

      .background-decoration::before {
        content: '';
        position: absolute;
        top: -160px;
        right: -160px;
        width: 320px;
        height: 320px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        filter: blur(64px);
        animation: float 3s ease-in-out infinite;
      }

      .background-decoration::after {
        content: '';
        position: absolute;
        bottom: -160px;
        left: -160px;
        width: 320px;
        height: 320px;
        background: rgba(59, 130, 246, 0.1);
        border-radius: 50%;
        filter: blur(64px);
        animation: float 3s ease-in-out infinite;
        animation-delay: 2s;
      }

      /* Responsive design */
      @media (min-width: 768px) {
        .md\:text-4xl {
          font-size: 36px;
          line-height: 40px;
        }

        .md\:text-6xl {
          font-size: 60px;
          line-height: 1;
        }

        .md\:text-xl {
          font-size: 20px;
          line-height: 28px;
        }

        .md\:grid-cols-\[1fr_auto_1fr\] {
          grid-template-columns: 1fr auto 1fr;
        }
      }

      @media (min-width: 1024px) {
        .lg\:grid-cols-3 {
          grid-template-columns: repeat(3, minmax(0, 1fr));
        }

        .lg\:col-span-2 {
          grid-column: span 2 / span 2;
        }
      }

      /* Layout specific styles */
      .main-container {
        min-height: 100vh;
        background: linear-gradient(135deg, #667eea, #764ba2);
        font-family: 'Inter', sans-serif;
        overflow: hidden;
        position: relative;
      }

      .content-wrapper {
        position: relative;
        z-index: 10;
        max-width: 1280px;
        margin: 0 auto;
        padding: 32px 16px;
        transition: all 1s ease;
      }

      .content-wrapper.loaded {
        opacity: 1;
        transform: translateY(0);
      }

      .currency-grid {
        display: grid;
        gap: 32px;
        max-width: 1280px;
        margin: 0 auto;
      }

      @media (min-width: 1024px) {
        .currency-grid {
          grid-template-columns: 2fr 1fr;
        }
      }

      .converter-form-grid {
        display: grid;
        gap: 16px;
        align-items: end;
        grid-template-columns: 1fr;
      }

      @media (min-width: 768px) {
        .converter-form-grid {
          grid-template-columns: 1fr auto 1fr;
        }
      }

      .swap-button {
        background: linear-gradient(135deg, #667eea, #764ba2);
        border: none;
        border-radius: 50%;
        width: 48px;
        height: 48px;
        color: white;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        margin: 0 auto;
      }

      .swap-button:hover {
        transform: rotate(180deg) scale(1.1);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
      }

      .result-container {
        background: linear-gradient(135deg, #f8faff, #e8f0ff);
        border-radius: 16px;
        padding: 24px;
        text-align: center;
        border: 2px solid #e5e7eb;
        display: none;
        animation: slide-in 0.5s ease;
      }

      .result-container.show {
        display: block;
      }

      .loading-container {
        display: none;
        text-align: center;
        color: #667eea;
        font-weight: 600;
        margin-top: 16px;
        align-items: center;
        justify-content: center;
        gap: 8px;
      }

      .loading-container.show {
        display: flex;
      }

      .error-container {
        color: #ef4444;
        background: rgba(239, 68, 68, 0.1);
        padding: 16px;
        border-radius: 8px;
        margin-top: 16px;
        display: none;
        border-left: 4px solid #ef4444;
      }

      .error-container.show {
        display: block;
      }

      .spinner {
        width: 20px;
        height: 20px;
        border: 2px solid #f3f4f6;
        border-top: 2px solid #667eea;
        border-radius: 50%;
        animation: spin 1s linear infinite;
      }

      .popular-rate-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 12px;
        transition: all 0.3s ease;
        cursor: pointer;
      }

      .popular-rate-item:hover {
        background: rgba(255, 255, 255, 0.7);
        transform: scale(1.02);
      }

      .how-to-use-step {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 16px;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 12px;
        margin-bottom: 12px;
        transition: all 0.3s ease;
      }

      .how-to-use-step:hover {
        background: rgba(255, 255, 255, 0.7);
        transform: translateX(4px);
      }

      .step-number {
        background: linear-gradient(135deg, #667eea, #764ba2);
        color: white;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        font-size: 14px;
        flex-shrink: 0;
      }