    :root {
      --primary: #6366f1;
      --secondary: #ec4899;
      --success: #10b981;
      --danger: #ef4444;
      --warning: #f59e0b;
      --dark: #0f172a;
      --dark-light: #1e293b;
      --text: #f1f5f9;
      --text-muted: #94a3b8;
      --border: #475569;
      --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
.footer-links  a {
padding: 10px;
}
    body {
      background-color: var(--dark);
      color: var(--text);
      font-family: 'Segoe UI', sans-serif;
      position: relative;
      min-height: 100vh;
      padding-bottom: 4rem;
    }
    @media (max-width:600px) {
        .main {
            width:90%;
            height: 100%;

        }
        footer {
            height: 50px ; 
        }
        .footer-links  a {
display: flex;
flex-direction: column;

}
    }
    body::before {
      content: "";
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: -1;
      background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.2) 0%, transparent 60%),
        radial-gradient(circle at 80% 30%, rgba(236, 72, 153, 0.2) 0%, transparent 60%),
        radial-gradient(circle at 50% 80%, rgba(16, 185, 129, 0.15) 0%, transparent 60%);
      animation: float 25s ease-in-out infinite;
    }

    @keyframes float {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-20px); }
    }

    header {
      text-align: center;
      padding: 2rem 1rem;
    }

    header h1 {
      font-size: 2.5rem;
      font-weight: 800;
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    header h2 {
      font-size: 1.1rem;
      color: var(--text-muted);
    }

    nav {
      margin-top: 1.5rem;
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 0.75rem;
    }

    nav a {
      background: var(--dark-light);
      color: var(--text);
      padding: 0.6rem 1.2rem;
      border-radius: 30px;
      border: 1px solid var(--border);
      text-decoration: none;
      font-weight: 500;
      transition: all 0.3s;
    }

    nav a:hover {
      background: var(--primary);
      color: #fff;
    }

    .affichage {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 1rem;
      padding: 2rem;
      max-width: 1100px;
      margin: auto;
    }

    .crypto {
      background: var(--dark-light);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 1rem;
      text-align: center;
      backdrop-filter: blur(6px);
    }

    .crypto h1 {
      font-size: 1.1rem;
      color: var(--primary);
    }

    .crypto p {
      font-size: 1.2rem;
      font-weight: bold;
    }

    .main {
      background: var(--dark-light);
      padding: 20px;
      border-radius: 20px;
      border: 1px solid var(--border);
      max-width: 500px;
      margin: auto;
      margin-top: 2rem;
      box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    }

    .main h1 {
      text-align: center;
      margin-bottom: 2rem;
      color: var(--success);
    }

    .inputGroup {
      margin-bottom: 1rem;
    }

    .inputGroup label {
      display: block;
      margin-bottom: 0.3rem;
      color: var(--text-muted);
    }

    .inputGroup input {
      width: 100%;
      padding: 0.8rem;
      border-radius: 10px;
      border: 2px solid var(--border);
      background-color: var(--dark);
      color: var(--text);
    }

    .inputGroup input:focus {
      outline: none;
      border-color: var(--primary);
    }

    footer {
      text-align: center;
      padding: 20px  ;
      background: var(--dark-light);
      position: absolute;
      width: 100%;
      bottom: 0;
      ;
    }

    footer a {
      color: var(--primary);
      margin: 0 0.5rem;
      text-decoration: none;
    }

    footer button {
      margin: 0.5rem;
      padding: 0.5rem 1rem;
      border: none;
      border-radius: 8px;
      background: var(--primary);
      color: white;
      font-weight: bold;
      cursor: pointer;
    }

    footer button:hover {
      background: var(--secondary);
    }