    @import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Inter:wght@300;400;500;600&display=swap');
    
    :root {
      --arctic: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
      --freezing: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      --cool: linear-gradient(135deg, #4b6cb7 0%, #182848 100%);
      --comfortable: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
      --warm: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
      --hot: linear-gradient(135deg, #ffa726 0%, #fb8c00 100%);
      --scorching: linear-gradient(135deg, #ff5722 0%, #d84315 100%);
      --molten: linear-gradient(135deg, #b71c1c 0%, #f44336 100%);
      
      --glass: rgba(255, 255, 255, 0.12);
      --glass-strong: rgba(255, 255, 255, 0.18);
      --glass-border: rgba(255, 255, 255, 0.25);
      --shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
      --text-primary: #ffffff;
      --text-secondary: rgba(255, 255, 255, 0.85);
      --text-muted: rgba(255, 255, 255, 0.65);
    }

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

    body {
      font-family: 'Inter', sans-serif;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      padding: 2rem 1rem;
      background: var(--cool);
      background-attachment: fixed;
      color: var(--text-primary);
      transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
      overflow-x: hidden;
      position: relative;
    }

    body::before {
      content: '';
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
      pointer-events: none;
      z-index: 1;
    }

    .container {
      position: relative;
      z-index: 2;
      width: 100%;
      max-width: 600px;
    }

    h1 {
      font-family: 'Orbitron', monospace;
      font-size: clamp(2rem, 5vw, 3rem);
      font-weight: 900;
      text-align: center;
      margin-bottom: 1rem;
      background: linear-gradient(45deg, #fff, #f0f8ff);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    }

    .subtitle {
      text-align: center;
      color: var(--text-secondary);
      font-size: 1.1rem;
      margin-bottom: 2rem;
      font-weight: 300;
    }

    .converter-card {
      background: var(--glass);
      backdrop-filter: blur(20px);
      border: 1px solid var(--glass-border);
      border-radius: 1.5rem;
      box-shadow: var(--shadow);
      padding: 2rem;
      animation: slideUp 0.8s ease-out;
      position: relative;
      overflow: hidden;
    }

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

    .section {
      margin-bottom: 2rem;
    }

    .section-title {
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--text-primary);
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .section-description {
      font-size: 0.9rem;
      color: var(--text-muted);
      margin-bottom: 1.5rem;
      line-height: 1.5;
    }

    .input-section {
      display: grid;
      grid-template-columns: 1fr 2fr;
      gap: 1rem;
      align-items: end;
    }

    .input-group {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }

    .input-label {
      font-size: 0.85rem;
      color: var(--text-secondary);
      font-weight: 500;
    }

    select, input {
      width: 100%;
      padding: 1rem;
      border: none;
      border-radius: 0.8rem;
      background: var(--glass-strong);
      backdrop-filter: blur(15px);
      border: 1.5px solid rgba(255, 255, 255, 0.3);
      color: var(--text-primary);
      font-size: 1rem;
      font-weight: 500;
      transition: all 0.3s ease;
    }

    select {
      background: rgba(255, 255, 255, 0.25);
      color: #2c3e50;
      font-weight: 600;
    }

    select option {
      background: #2c3e50;
      color: white;
      padding: 0.5rem;
    }

    select:focus, input:focus {
      outline: none;
      background: rgba(255, 255, 255, 0.3);
      border-color: rgba(255, 255, 255, 0.5);
      transform: translateY(-1px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

    input::placeholder {
      color: rgba(255, 255, 255, 0.6);
    }

    .thermometer-section {
      text-align: center;
    }

    .thermometer {
      width: 100%;
      height: 12px;
      background: rgba(255, 255, 255, 0.2);
      border-radius: 6px;
      margin: 1rem 0;
      overflow: hidden;
      position: relative;
      border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .thermometer-fill {
      height: 100%;
      background: linear-gradient(90deg, #667eea, #764ba2);
      border-radius: 6px;
      transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
      min-width: 2px;
    }

    .thermometer-labels {
      display: flex;
      justify-content: space-between;
      font-size: 0.75rem;
      color: var(--text-muted);
      margin-top: 0.5rem;
    }

    .temperature-display {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
      gap: 1rem;
    }

    .temp-card {
      background: var(--glass-strong);
      backdrop-filter: blur(15px);
      border: 1px solid rgba(255, 255, 255, 0.25);
      border-radius: 1rem;
      padding: 1.2rem;
      text-align: center;
      transition: all 0.3s ease;
      position: relative;
    }

    .temp-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
      background: rgba(255, 255, 255, 0.25);
    }

    .temp-unit {
      font-family: 'Orbitron', monospace;
      font-size: 0.8rem;
      font-weight: 700;
      color: var(--text-secondary);
      margin-bottom: 0.3rem;
    }

    .temp-value {
      font-family: 'Orbitron', monospace;
      font-size: 1.3rem;
      font-weight: 900;
      color: var(--text-primary);
      margin-bottom: 0.3rem;
    }

    .temp-symbol {
      font-size: 0.9rem;
      color: var(--text-muted);
    }

    .context-section {
      text-align: center;
    }

    .context-card {
      background: var(--glass-strong);
      backdrop-filter: blur(15px);
      border: 1px solid rgba(255, 255, 255, 0.25);
      border-radius: 1rem;
      padding: 1.5rem;
      margin-bottom: 1.5rem;
    }

    .context-title {
      font-weight: 700;
      font-size: 1.2rem;
      margin-bottom: 0.8rem;
      color: var(--text-primary);
    }

    .context-description {
      font-size: 1rem;
      color: var(--text-secondary);
      line-height: 1.5;
      margin-bottom: 1rem;
    }

    .comparison-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 1rem;
    }

    .comparison-item {
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 0.8rem;
      padding: 1rem;
      text-align: center;
      transition: all 0.3s ease;
    }

    .comparison-item:hover {
      background: rgba(255, 255, 255, 0.18);
      transform: translateY(-2px);
    }

    .comparison-title {
      font-weight: 600;
      color: var(--text-primary);
      margin-bottom: 0.3rem;
      font-size: 0.9rem;
    }

    .comparison-temp {
      font-family: 'Orbitron', monospace;
      color: var(--text-secondary);
      font-size: 0.85rem;
      font-weight: 600;
    }

    .conversion-history {
      background: rgba(255, 255, 255, 0.08);
      border-radius: 1rem;
      padding: 1.5rem;
      border: 1px solid rgba(255, 255, 255, 0.15);
    }

    .history-title {
      font-weight: 600;
      margin-bottom: 1rem;
      color: var(--text-primary);
      font-size: 1rem;
    }

    .history-list {
      max-height: 150px;
      overflow-y: auto;
    }

    .history-item {
      padding: 0.8rem;
      margin-bottom: 0.5rem;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 0.5rem;
      font-size: 0.85rem;
      color: var(--text-secondary);
      transition: all 0.3s ease;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .history-item:hover {
      background: rgba(255, 255, 255, 0.15);
      color: var(--text-primary);
    }

    .history-conversion {
      font-weight: 500;
    }

    .history-time {
      font-size: 0.75rem;
      color: var(--text-muted);
    }

    .help-text {
      text-align: center;
      font-size: 0.85rem;
      color: var(--text-muted);
      margin-top: 1rem;
      font-style: italic;
    }

    @media (max-width: 768px) {
      body {
        padding: 1rem;
      }
      
      .converter-card {
        padding: 1.5rem;
      }
      
      .input-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
      }
      
      .temperature-display {
        grid-template-columns: repeat(2, 1fr);
      }
      
      .comparison-grid {
        grid-template-columns: 1fr;
      }
      
      .section-title {
        font-size: 1rem;
      }
    }

    @media (max-width: 480px) {
      .temperature-display {
        grid-template-columns: 1fr;
      }
    }