
 * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 50%, #2d1b69 100%);
      min-height: 100vh;
      color: #ffffff;
      line-height: 1.6;
    }

    .background-pattern {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-image: 
        radial-gradient(circle at 25% 25%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 118, 117, 0.1) 0%, transparent 50%);
      pointer-events: none;
      z-index: -1;
    }

    header {
      background: rgba(15, 15, 35, 0.9);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      padding: 2rem 0;
      text-align: center;
      position: relative;
      z-index: 100;
    }

    header::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(90deg, transparent, rgba(120, 119, 198, 0.1), transparent);
      z-index: -1;
    }

    h1 {
      font-size: 2.8rem;
      font-weight: 700;
      background: linear-gradient(135deg, #7877c6 0%, #ff7675 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 0.5rem;
      text-shadow: 0 0 30px rgba(120, 119, 198, 0.3);
    }

    header h2 {
      font-size: 1.2rem;
      color: #b0b0c9;
      font-weight: 300;
      margin-bottom: 2rem;
    }

    nav {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 1rem;
    }

    nav a {
      color: #ffffff;
      text-decoration: none;
      padding: 0.8rem 1.5rem;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 50px;
      border: 1px solid rgba(255, 255, 255, 0.2);
      transition: all 0.3s ease;
      font-weight: 500;
      backdrop-filter: blur(10px);
    }

    nav a:hover {
      background: rgba(120, 119, 198, 0.3);
      border-color: rgba(120, 119, 198, 0.5);
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(120, 119, 198, 0.3);
    }

    main {
      max-width: 1200px;
      margin: 4rem auto;
      padding: 0 2rem;
    }

    .form-section {
      background: rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(20px);
      border-radius: 30px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      padding: 3rem;
      box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
      position: relative;
      overflow: hidden;
      margin-bottom: 3rem;
    }

    .form-section::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 2px;
      background: linear-gradient(90deg, #7877c6, #ff7675, #7877c6);
      border-radius: 30px 30px 0 0;
    }

    .form-section h2 {
      font-size: 2.5rem;
      text-align: center;
      margin-bottom: 2rem;
      background: linear-gradient(135deg, #ffffff 0%, #b0b0c9 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      font-weight: 600;
    }

    form {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 1.5rem;
      margin-bottom: 2rem;
    }

    label {
      display: flex;
      flex-direction: column;
      font-weight: 500;
      color: #b0b0c9;
      margin-bottom: 0.5rem;
    }

    input {
      padding: 1.2rem 1.5rem;
      border: 2px solid rgba(255, 255, 255, 0.1);
      border-radius: 15px;
      background: rgba(255, 255, 255, 0.05);
      color: #ffffff;
      font-size: 1.1rem;
      transition: all 0.3s ease;
      backdrop-filter: blur(10px);
      margin-top: 0.5rem;
    }

    input::placeholder {
      color: rgba(255, 255, 255, 0.6);
    }

    input:focus {
      outline: none;
      border-color: #7877c6;
      box-shadow: 0 0 20px rgba(120, 119, 198, 0.3);
      transform: translateY(-2px);
    }

    button {
      padding: 1.2rem 2rem;
      background: linear-gradient(135deg, #7877c6 0%, #ff7675 100%);
      border: none;
      border-radius: 15px;
      color: #ffffff;
      font-size: 1.2rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      text-transform: uppercase;
      letter-spacing: 1px;
      box-shadow: 0 10px 30px rgba(120, 119, 198, 0.3);
      grid-column: 1 / -1;
      justify-self: center;
      min-width: 250px;
    }

    button:hover {
      transform: translateY(-3px);
      box-shadow: 0 15px 40px rgba(120, 119, 198, 0.4);
    }

    button:active {
      transform: translateY(-1px);
    }

    .operations {
      background: rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(20px);
      border-radius: 30px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      padding: 3rem;
      box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
      position: relative;
      overflow: hidden;
    }

    .operations::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 2px;
      background: linear-gradient(90deg, #ff7675, #7877c6, #ff7675);
      border-radius: 30px 30px 0 0;
    }

    .operations h2 {
      font-size: 2.5rem;
      text-align: center;
      margin-bottom: 2rem;
      background: linear-gradient(135deg, #ffffff 0%, #b0b0c9 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      font-weight: 600;
    }

    .tableaux {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
    }

    .colonne {
      background: rgba(255, 255, 255, 0.03);
      border-radius: 20px;
      padding: 2rem;
      border: 1px solid rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      text-align: center;
      transition: all 0.3s ease;
    }

    .colonne:hover {
      transform: translateY(-5px);
      box-shadow: 0 15px 35px rgba(120, 119, 198, 0.2);
    }

    .colonne h3 {
      font-size: 1.3rem;
      margin-bottom: 1rem;
      color: #b0b0c9;
      font-weight: 500;
    }

    .colonne ul {
      list-style: none;
      padding: 0;
    }

    .colonne ul li,
    .colonne ul {
      background: linear-gradient(135deg, #7877c6 0%, #ff7675 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      font-size: 2rem;
      font-weight: 700;
      text-shadow: 0 2px 10px rgba(120, 119, 198, 0.3);
    }

    footer {
      background: rgba(15, 15, 35, 0.9);
      backdrop-filter: blur(20px);
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      padding: 3rem 2rem;
      text-align: center;
      margin-top: 4rem;
    }

    footer p {
      margin-bottom: 1rem;
      color: #b0b0c9;
    }

    footer a {
      color: #7877c6;
      text-decoration: none;
      transition: color 0.3s ease;
    }

    footer a:hover {
      color: #ff7675;
    }

    footer button {
      margin: 0.5rem;
      padding: 0.8rem 1.5rem;
      font-size: 0.9rem;
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: #ffffff;
      text-transform: none;
      letter-spacing: normal;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
      .footer-links  a  {
padding: 10px;
}
    footer button:hover {
      background: rgba(120, 119, 198, 0.3);
      border-color: rgba(120, 119, 198, 0.5);
    }

    @media (max-width: 600px) {
      main {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        align-items: center;
      }
      h1 {
        font-size: 2rem;
      }
      .footer-links  {
display: flex;
flex-direction: column;
justify-content: space-between;
}
      .form-section, .operations {
        margin: 2rem 1rem;
        padding: 2rem;
      }
      
      nav {
        flex-direction: column;
        align-items: center;
      }
      
      form {
        grid-template-columns: 1fr;
      }
      
      .tableaux {
        grid-template-columns: 1fr;
      }
      
      .colonne h3 {
        font-size: 1.1rem;
      }
      
      .colonne ul {
        font-size: 1.5rem;
      }
    }

    .floating-elements {
      position: absolute;
      width: 100%;
      height: 100%;
      overflow: hidden;
      pointer-events: none;
    }

    .floating-elements::before,
    .floating-elements::after {
      content: '';
      position: absolute;
      width: 200px;
      height: 200px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(120, 119, 198, 0.1) 0%, transparent 70%);
      animation: float 6s ease-in-out infinite;
    }

    .floating-elements::before {
      top: 20%;
      left: 10%;
      animation-delay: 0s;
    }

    .floating-elements::after {
      bottom: 20%;
      right: 10%;
      animation-delay: 3s;
    }

    @keyframes float {
      0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.3;
      }
      50% {
        transform: translateY(-20px) scale(1.1);
        opacity: 0.1;
      }
    }

    .result-card {
      background: rgba(255, 255, 255, 0.03);
      border-radius: 20px;
      padding: 1.5rem;
      border: 1px solid rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      margin-top: 2rem;
      text-align: center;
    }

    .result-value {
      font-size: 2.5rem;
      font-weight: 700;
      background: linear-gradient(135deg, #7877c6 0%, #ff7675 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-top: 0.5rem;
    }