body {
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  margin: 0;
  color: #342616;
  min-height: 100vh;

  background-image: url("backbluum.jpg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;

  transition: background-color 0.6s cubic-bezier(.6,.1,.6,1),
              background-image 0.6s cubic-bezier(.6,.1,.6,1);
}

header {
  background: linear-gradient(90deg, #7b5a35 0%, #9d7b53 100%);
  box-shadow: 0 6px 24px rgba(79, 61, 39, 0.18), 0 2.5px 0 #bfa27c inset;
  padding: 24px 0 12px 0;
  border-bottom: 4px solid #c5a77c;
  position: sticky;
  top: 0;
  z-index: 10;
  animation: headFade 1.1s cubic-bezier(.7,.3,.3,1) 0.08s backwards;
}
@keyframes headFade {
  0% { opacity: 0; transform: translateY(-38px);}
  70% { opacity: .7; transform: translateY(8px);}
  100% { opacity: 1; transform: none;}
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.header-container h1 {
  color: #f7f4ed;
  font-size: 32px;
  font-family: 'Bebas Neue', Arial, sans-serif;
  letter-spacing: 0.09em;
  margin: 0 30px 0 0;
  text-shadow: 0 3px 12px #6a4d2a88;
  user-select: none;
  font-weight: 800;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 10px;
}
header nav a {
  color: #fff6ea;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  border-radius: 22px;
  padding: 8px 20px;
  background: linear-gradient(90deg, #a28461 0 90%, #e6d4b6 100%);
  box-shadow: 0 2.5px 10px #c1a07850;
  transition: background 0.22s, color 0.16s, box-shadow 0.19s;
  position: relative;
  top: 0;
}
header nav a:hover {
  background: linear-gradient(90deg, #e3c49b 0 60%, #c3b18c 100%);
  color: #3d270c;
  box-shadow: 0 7px 24px #c8ad8460;
  top: -2px;
}
.bluumClock {
  max-width: 800px;
  margin: 38px auto;
  padding: 28px 24px;
  background: linear-gradient(101deg, #f9f6f1 65%, #e8dfd2 100%);
  border-radius: 17px;
  box-shadow: 0 8px 32px rgba(122, 102, 69, 0.11), 0 2px 0 #dfc399 inset;
  transition: box-shadow 0.19s cubic-bezier(.7,.3,.2,1), transform 0.19s;
  animation: fadeInBlock 1.1s cubic-bezier(.6,.4,.16,1) 0.1s backwards;
}
@keyframes fadeInBlock {
  0% { opacity: 0; transform: scale(.96) translateY(25px);}
  100% { opacity: 1; transform: none;}
}
h1, h2 {
  color: #7b5a35;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.03em;
}
label {
  display: block;
  margin-top: 19px;
  color: #3e2a17;
  font-size: 1.08rem;
  font-weight: 600;
}
input, select {
  width: 100%;
  padding: 13px 15px;
  margin-top: 6px;
  border: 1.6px solid #bfa882;
  border-radius: 9px;
  background: #f7f2eb;
  font-size: 1.11rem;
  margin-bottom: 14px;
  box-shadow: 0 1.5px 6px #d8c3a080 inset;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, select:focus {
  border-color: #997540;
  box-shadow: 0 3px 14px #e8e0d460;
  outline: none;
}
button {
  margin-top: 24px;
  padding: 13px 33px;
  background: linear-gradient(91deg, #7b5a35 30%, #efcfac 100%);
  color: #fff7ea;
  border: none;
  border-radius: 22px;
  font-size: 1.17rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px #c1a07860;
  letter-spacing: 0.03em;
  transition: background 0.23s, box-shadow 0.19s, color 0.14s;
  position: relative;
  top: 0;
}
button:hover {
  background: linear-gradient(90deg, #d2a770 0 90%, #ede1c7 100%);
  color: #54351c;
  top: -1px;
  box-shadow: 0 7px 22px #e2c19690;
}
#result {
  margin-top: 24px;
  padding: 17px 18px;
  background: linear-gradient(93deg, #ede2c9 60%, #f7f0de 100%);
  border-radius: 13px;
  font-size: 1.16rem;
  color: #69451f;
  border-left: 7px solid #a47c46;
  box-shadow: 0 4px 24px #ccb99460;
  animation: fadeInResult 0.7s cubic-bezier(.7,.3,.2,1) 0.05s backwards;
}
@keyframes fadeInResult {
  0% { opacity: 0; transform: translateX(-18px);}
  100% { opacity: 1; transform: none;}
}
footer {
  background: repeating-linear-gradient(90deg, #b99a77 0 7px, #f5ead5 7px 14px, #b99a77 14px 21px);
  color: #684e2c;
  padding: 36px 22px 28px 22px;
  margin-top: 64px;
  text-align: center;
  font-size: 1.11rem;
  letter-spacing: 0.02em;
  border-top: 4px solid #cbb894;
  font-family: 'Montserrat', Arial, sans-serif;
  box-shadow: 0 -4px 22px #c4a46935 inset;
  border-radius: 0 0 21px 21px;
  animation: footBounce 1s cubic-bezier(.6,.4,.16,1) 0.18s backwards;
}
@keyframes footBounce {
  0% { transform: translateY(26px) scale(.98); opacity: 0;}
  80% { transform: translateY(-3px) scale(1.02);}
  100% { transform: translateY(0) scale(1); opacity: 1;}
}
.footer-container {
  max-width: 1000px;
  margin: 0 auto;
  font-size: 1.05em;
  line-height: 1.7;
}
.footer-container p {
  margin: 7px 0;
  opacity: 0.96;
  color: #78614b;
}
.seo-section {
  background: linear-gradient(101deg, #fffaf4 65%, #efe5cf 100%);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(122, 102, 69, 0.08), 0 1.5px 0 #dfc399 inset;
  margin: 38px auto;
  padding: 30px 28px 20px 28px;
  max-width: 800px;
  transition: box-shadow 0.22s cubic-bezier(.7,.3,.2,1), transform 0.22s;
  will-change: box-shadow, transform;
  border: 1.5px solid #e7d6b385;
  animation: fadeInSeo 1.25s cubic-bezier(.7,.3,.2,1) 0.08s backwards;
}
@keyframes fadeInSeo {
  0% { opacity: 0; transform: scale(.97) translateY(18px);}
  100% { opacity: 1; transform: none;}
}
.seo-section:hover {
  transform: scale(1.01);
  box-shadow: 0 14px 32px rgba(175, 142, 84, 0.13), 0 2.5px 0 #e2c092 inset;
}
.seo-section h2 {
  color: #927243;
  font-size: 25px;
  margin-bottom: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.seo-section p {
  color: #4e402b;
  font-size: 1.09rem;
  line-height: 1.64;
}

@media (max-width: 760px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 10px;
  }
  .header-container h1 {
    font-size: 22px;
    margin: 0 0 12px 0;
    padding: 0;
  }
  .container, .seo-section {
    padding: 12px 4vw;
    max-width: 99vw;
    margin: 15px 1vw;
    font-size: .97em;
  }
  footer {
    padding: 16px 2vw 10px 2vw;
    font-size: .97rem;
    margin-top: 28px;
    border-radius: 0 0 12px 12px;
  }
}
