    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
      background: #0a0a0a;
      color: #f1f5f9;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      padding: 20px;
    }

    ::-webkit-scrollbar {
      width: 8px;
    }

    ::-webkit-scrollbar-track {
      background: #18181b;
    }

    ::-webkit-scrollbar-thumb {
      background: #3f3f46;
      border-radius: 4px;
    }

    ::-webkit-scrollbar-thumb:hover {
      background: #52525b;
    }

    .container {
      max-width: 1000px;
      margin: 0 auto;
      width: 100%;
      flex: 1;
    }

    h1 {
      text-align: center;
      color: #f1f5f9;
      font-size: 2.5rem;
      margin-bottom: 10px;
      animation: fadeInDown 0.6s ease;
    }

    .subtitle {
      text-align: center;
      color: #a1a1aa;
      margin-bottom: 30px;
      font-size: 1.1rem;
    }

    .currency-selector {
      background: #121212;
      border: 1px solid #27272a;
      border-radius: 10px;
      padding: 25px;
      margin-bottom: 20px;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
      animation: fadeInUp 0.6s ease 0.1s both;
    }

    .currency-selector h3 {
      color: #f1f5f9;
      margin-bottom: 15px;
      font-size: 1.2rem;
      font-weight: 600;
    }

    .currency-grid {
      display: grid;
      grid-auto-flow: column;
      grid-template-rows: repeat(3, auto);
      gap: 12px;
      overflow-x: auto;
      padding-bottom: 10px;
      scroll-behavior: smooth;
    }

    .currency-grid::-webkit-scrollbar {
      height: 8px;
    }

    .currency-option {
      display: flex;
      align-items: center; 
      justify-content: center;
      text-align: center;
      padding: 12px;
      border: 1px solid #3f3f46;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.3s ease;
      background: #18181b;
    }

    .currency-option:hover {
      border-color: #5F5F68;
      background: #27272a;
    }

    .currency-option.active {
      border-color: #5F5F68;
      background: #2C2C31;
      color: white;
    }

    .currency-option input[type="radio"] {
      margin-right: 10px;
      width: 18px;
      height: 18px;
      cursor: pointer;
      accent-color: #5F5F68;
    }

    .currency-label {
      display: flex;
      flex-direction: column;
      flex: 1;
    }

    .currency-code {
      font-weight: 600;
      font-size: 1rem;
    }

    .currency-name {
      font-size: 0.85rem;
      opacity: 0.8;
    }

    .converter {
      background: #121212;
      border: 1px solid #27272a;
      border-radius: 10px;
      padding: 30px;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
      animation: fadeInUp 0.6s ease 0.2s both;
    }

    label {
      display: block;
      margin-bottom: 8px;
      color: #f1f5f9;
      font-weight: 600;
      font-size: 0.95rem;
    }

    select, input {
      width: 100%;
      padding: 14px;
      margin-bottom: 20px;
      background: #18181b;
      border: 1px solid #3f3f46;
      border-radius: 8px;
      font-size: 1rem;
      color: #f1f5f9;
      transition: all 0.3s ease;
      outline: none;
    }

    select:focus, input:focus {
      border-color: #5F5F68;
    }

    select:hover, input:hover {
      border-color: #52525b;
    }

    input::placeholder {
      color: #71717a;
    }

    button {
      width: 100%;
      padding: 16px;
      background: #27272a;
      color: white;
      border: none;
      border-radius: 8px;
      font-size: 1.1rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    button:hover {
      background: #36363B;
    }

    .result {
      margin-top: 25px;
      padding: 20px;
      background: #18181b;
      border: 1px solid #27272a;
      border-radius: 8px;
      min-height: 80px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    #resultText {
      font-size: 1.4rem;
      color: #f1f5f9;
      font-weight: 600;
      text-align: center;
    }

    .warning {
      background: #27272a;
      border: 2px solid #fbbf24;
      padding: 15px;
      border-radius: 8px;
      margin-top: 15px;
      color: #fbbf24;
      font-size: 0.9rem;
      display: none;
    }

    .warning.show {
      display: block;
      animation: fadeIn 0.3s ease;
    }

    .info-box {
      background: #121212;
      border: 1px solid #27272a;
      border-radius: 10px;
      padding: 25px;
      margin-top: 20px;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
      animation: fadeInUp 0.6s ease 0.3s both;
    }

    .info-box h3 {
      color: #f1f5f9;
      margin-bottom: 15px;
      font-size: 1.2rem;
      font-weight: 600;
    }

    .info-box ul {
      list-style: none;
      padding-left: 0;
    }

    .info-box li {
      padding: 10px 0;
      border-bottom: 1px solid #27272a;
      color: #a1a1aa;
      font-size: 0.95rem;
    }

    .info-box li:last-child {
      border-bottom: none;
    }

    .info-box strong {
      color: rgb(142, 142, 153);
    }

    footer {
      text-align: center;
      color: #71717a;
      margin-top: 40px;
      padding: 20px;
    }

    footer p {
      margin: 5px 0;
      font-size: 0.9rem;
    }

    @keyframes fadeInDown {
      from {
        opacity: 0;
        transform: translateY(-20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    @media (max-width: 768px) {
      h1 {
        font-size: 2rem;
      }
      
      .converter, .info-box, .currency-selector {
        padding: 20px;
      }

      .currency-grid {
        grid-template-columns: 1fr;
      }
    }