body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f4f6fb;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  max-width: 420px;
  margin: 3.5rem auto 2.5rem auto;
  padding: 2.7rem 1.7rem 2.7rem 1.7rem;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 28px;
  box-shadow: 0 8px 32px #0055b84d, 0 2px 0 #ffd600 inset;
  position: relative;
  z-index: 2;
  border: 2.5px solid #009fe3;
  box-sizing: border-box;
}

h1 {
  font-size: 1.6rem;
  color: #2d3a6b;
  margin-bottom: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

label {
  margin-bottom: 1.1rem;
  display: block;
  font-weight: 700;
  color: #0055b8;
  font-size: 1.09rem;
  letter-spacing: 0.01em;
  padding-left: 0.1rem;
}

input[type="number"],
select {
  margin-bottom: 1.7rem;
  padding: 1.1rem;
  border-radius: 12px;
  border: 2px solid #009fe3;
  font-size: 1.13rem;
  font-weight: 600;
  background: #fafdff;
  color: #25315c;
  box-shadow: 0 2px 0 #ffd600 inset;
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
}

input[type="number"]:focus,
select:focus {
  border: 2.5px solid #ffd600;
  box-shadow: 0 0 0 2px #009fe355;
}

.result {
  margin-top: 2.5rem;
  padding: 1.7rem 1.2rem;
  border-radius: 16px;
  font-size: 1.22rem;
  color: #203264;
  text-align: center;
  font-weight: 700;
  box-shadow: 0 2px 16px #0055b81a;
  border: 2px solid #ffd600;
}

.fdj-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  background: linear-gradient(90deg, #0055b8 60%, #009fe3 100%);
  border-radius: 18px;
  box-shadow: 0 4px 24px #0055b81a;
  padding: 1.2rem 1.1rem 1.1rem 1.1rem;
  margin-bottom: 2.2rem;
  margin-top: 0.5rem;
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.fdj-hero-icon {
  font-size: 2.1rem;
  filter: drop-shadow(0 2px 8px #ffd60099);
  user-select: none;
  margin-right: 0.7rem;
}

.fdj-hero-text h1 {
  font-size: 1.25rem;
  color: #ffd600;
  margin: 0 0 0.7rem 0;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 12px #0055b8, 0 1px 0 #fff;
}

.fdj-hero-text p {
  margin: 0;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 500;
  padding: 0.2rem 0.2rem 0.2rem 0.2rem;
}

.fdj-hero-highlight {
  color: #ffd600;
  font-weight: 700;
  font-size: 1.08em;
  text-shadow: 0 2px 8px #0055b8;
}

.fdj-hero-sub {
  color: #fff;
  font-size: 1em;
  font-weight: 400;
  opacity: 0.92;
}

.champagne-bottom {
  display: block;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 140px;
  max-width: 18vw;
  opacity: 0.97;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 12px 32px #0003) brightness(1.08);
}

@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    margin: 2.2rem auto 1.5rem auto;
    padding: 1.7rem 4vw 1.7rem 4vw;
    border-radius: 20px;
  }

  .fdj-hero {
    max-width: 98vw;
    padding: 0.7rem 0.2rem 0.7rem 0.2rem;
    gap: 0.7rem;
  }

  .champagne-bottom {
    width: 120px;
    max-width: 32vw;
  }
}

@media (max-width: 700px) {
  .container {
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
    padding: 1.2rem 5vw 1.5rem 5vw;
    border-radius: 14px;
  }

  .fdj-hero {
    flex-direction: column;
    gap: 1.1rem;
    padding: 1.1rem 3vw 1.1rem 3vw;
    max-width: 100vw;
    margin-bottom: 2.2rem;
  }

  .fdj-hero-icon {
    font-size: 1.5rem;
    margin-bottom: 0.7rem;
  }

  .fdj-hero-text h1 {
    font-size: 1.02rem;
    margin-bottom: 0.7rem;
  }

  .fdj-hero-text p {
    font-size: 0.95rem;
    padding: 0.5rem 0.2rem 0.5rem 0.2rem;
  }

  form#simulator-form {
    margin-bottom: 2.2rem;
  }

  label {
    margin-bottom: 1.2rem;
    padding-left: 0.1rem;
  }

  input[type="number"],
  select {
    margin-bottom: 2.1rem;
    padding: 1.1rem;
  }

  .result {
    margin-top: 2.2rem;
    padding: 1.3rem 0.7rem;
  }

  .champagne-bottom {
    width: 80px;
    max-width: 38vw;
  }
}

@media (max-width: 400px) {
  .container {
    padding: 0.7rem 2vw 1.2rem 2vw;
  }

  .fdj-hero {
    padding: 0.5rem 1vw 0.5rem 1vw;
  }

  .champagne-bottom {
    width: 60px;
    max-width: 48vw;
  }
}

@media (min-width: 901px) {
  .container {
    max-width: 80vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
  }

  .fdj-hero {
    flex: 1;
    margin-right: 2rem;
  }

  form {
    flex: 1;
  }

  .champagne-bottom {
    width: 100px;
    max-width: 12vw;
  }
}
