* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

:root {
    --green:#97ed27;
    --Noir:#121519;
    --blue:#162b47;
    --gray:#7a8f89;
    --yellow:#ffd36e;

    --fond: #0d1024;
    --carte: #171b35;
    --carte-2: #20264a;
    --texte: #f4f1ff;
    --muted: #b8b3d9;
    --accent: #ffd36e;
    --accent-2: #9ad7ff;
    --rose: #ff9ed8;
    --ligne: rgba(255,255,255,0.12);
    }


body {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 14px;
  background: #121519 url(http://dl9.glitter-graphics.net/pub/231/231839jm35be5swg.gif);
  display: flex;
  justify-content: center;
  letter-spacing: 1px;
  text-shadow: 0 0 1px;
  color: #ffffff;
  padding: 8px 0;
  line-height: 23px;
}

.back-btn {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px;
  background: #162b47;
  border: 1px solid #abeba5;
  color: #ffffff;
  text-decoration: none;
  font: 16px "MS Gothic", "Courier New", monospace;
}

.back-btn:hover {
  background: #abeba5;
  color: #121519;
}
.container {
  width: 1200px;
  max-width: 97%;
  background-color: #121519;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  border: 1px dashed #ffffff;
}

.layout {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 0 5px 5px 5px;
}

.centercontent {
  flex: 1;
  min-width: 0;
  background-color: #121519;
  padding-top: 9px;
}

.mainbox {
  width: 100%;
  background-color: #162b47;
  padding: 1.25em 1.5em 1.5em 1.5em;
  text-align: justify;
  margin-bottom: 8px;
  border-radius: 4px;
}

h1 {
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 4px;
  padding-top: 2px;
  font: 40px 'MS Gothic', 'Courier New', Arial;
  text-align: center;
  padding-left: 5px;
  color: #ffffff;
}

h2 {
  font-weight: bold;
  margin-bottom: 4px;
  padding-top: 2px;
  font: 18px 'MS Gothic', 'Courier New', Arial;
  text-align: center;
  color: #ffffff;
}


.intro {
    margin: 18px auto 0;
    font-family: 'Lato', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

.card {
    background: var(--blue);
    border: 1px solid var(--green);
    border-radius: 28px;
    padding: 26px;
    margin-top: 24px;
    margin-bottom: 24px;
}

.form {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 16px;
}

input::placeholder {
    color: var(--gray);
    }

button {
    padding: 14px 22px;
    border: none;
    border-radius: 16px;
    background: var(--yellow);
    color: var(--Noir);
    font-weight: bold;
    font-size: 17px;
    cursor: pointer;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 24px;
}


.mini-card {
    background: rgba(255,255,255,0.07);
    border-radius: 22px;
    padding: 20px;
    text-align: center;
}

.mini-card .label {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 8px;
}

.mini-card .value {
    font-size: 25px;
    font-weight: bold;
    color: var(--yellow);
    line-height: 1.25;
}

.poem {
    font-family: 'Lato', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 24px;
    padding: 24px;
    border-radius: 24px;
    background: rgba(255,255,255,0.07);
    color:var(--texte)
}

.poem strong {
    color: var(--yellow);
}



    input {
      width: 220px;
      padding: 14px 16px;
      border: 1px solid var(--ligne);
      border-radius: 16px;
      background: rgba(255,255,255,0.08);
      color: var(--texte);
      font-size: 18px;
      outline: none;
    }



    table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 14px;
      overflow: hidden;
      border-radius: 18px;
      font-size: 14px;
    }

    th, td {
      padding: 12px 10px;
      border-bottom: 1px solid var(--ligne);
      text-align: right;
    }

    th {
      color: var(--accent-2);
      font-weight: bold;
      background: rgba(255,255,255,0.06);
    }

    th:first-child,
    td:first-child,
    th:nth-child(2),
    td:nth-child(2),
    th:nth-child(6),
    td:nth-child(6) {
      text-align: left;
    }

    tr:hover td {
      background: rgba(255,255,255,0.04);
    }

    .note {
      margin-top: 18px;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.6;
    }

    .hidden {
      display: none;
    }

    @media (max-width: 850px) {
      body {
        padding: 16px;
      }

      .results-grid {
        grid-template-columns: 1fr;
      }

      table {
        font-size: 12px;
      }

      th, td {
        padding: 9px 6px;
      }
    }