@font-face {
    font-family: 'Twister';
    src: url('Twister.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant SC';
    src: url('CormorantSC-Regular.woff2') format('woff2'),
        url('CormorantSC-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    
    src: url('CormorantSC-Medium.woff2') format('woff2'),
        url('CormorantSC-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant SC';
    src: url('CormorantSC-SemiBold.woff2') format('woff2'),
        url('CormorantSC-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant SC';
    src: url('CormorantSC-Light.woff2') format('woff2'),
        url('CormorantSC-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant SC';
    src: url('CormorantSC-Bold.woff2') format('woff2'),
        url('CormorantSC-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}




@import url("https://fonts.googleapis.com/css?family=Roboto:100,900&display=swap");
 
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    position: relative;
    background-color: #ffffff;
    font-family: Arial, sans-serif;
}

.tiwsier {
    font-family: 'Twister';
    font-weight: normal;
    font-style: normal;
}

h1 {
    font-family: 'Twister';
    font-weight: normal;
    font-style: normal;
    font-size: 6em;
    text-align: center;
    color: #71864b;
    letter-spacing: 10px;
    padding-bottom: 0px;
    margin-top: 10px;
    margin-bottom: 0%;
}

h2 {
    font-family: 'Twister';
    font-weight: normal;
    font-style: normal;
    font-size: 4em;
    text-align: center;
    color: #71864b;
    letter-spacing: 1px;
    padding-bottom: 0px;
    margin-top: 10px;
    margin-bottom: 0%;
}

h3 {
font-family: 'Cormorant SC';
    font-weight: normal;
    font-style: normal;
    font-size: 3em;
    text-align: center;
    color: #71864b;
}

p {
font-family: 'Cormorant SC';
    font-weight: normal;
    font-style: normal;
    font-size: 2em;
    text-align: center;
    color: #71864b;
}

img {
    max-width: 100vw;
    max-height: 100vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: auto;
}

.overlay {
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.countdown{
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: flex-start;
  background: transparent;      /* usuń białe tło które masz teraz */
  padding: 0;                   /* usuń padding z obecnego */
  border-radius: 0;
}

/* blok: cyfra + opis */
.time{
  text-align: center;
}

/* kafelek z cyfrą (styl jak w przykładzie) */
.digit{
  background: #eaeef2;
  background-image: linear-gradient(180deg, #eaeef2 10%, #ffffff 100%);
  border-radius: 0.25em;
  box-shadow:
    0 20px 30px -10px rgba(76, 99, 119, 0.10),
    inset 0 -1px 0 0 rgba(76, 99, 119, 0.30),
    inset 0 1px 0 0 #fff;
  color: #71864b;

  display: inline-block;
  font-family: "Roboto", sans-serif;
  font-weight: 900;

  font-size: clamp(44px, 8vw, 100px);
  line-height: 1;
  padding: 0.25em 0;
  width: 2.1em;

  position: relative;
}

/* kreska pośrodku */
.digit::after{
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background: rgba(16, 21, 26, 0.05);
  box-shadow: 0 2px 1px 0 rgba(255,255,255,0.2);
}

/* lekki połysk górnej połowy */
.digit::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 50%;
  width: 100%;
  border-radius: 0.25em 0.25em 0 0;
  background: rgba(66, 86, 103, 0.01);
}

.time small{
  display: block;
  margin-top: 10px;
  font-size: 2em;
font-family: 'Cormorant SC';
    font-weight: bold;
    font-style: normal;
    text-align: center;
    color: #71864b;


}

.secret-box{
    margin-top: 30px;
    display: flex;
    gap: 10px;
    align-items: center;
    padding-bottom: 20px;
}

.secret-box input{
    padding: 10px 14px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ccc;
 display: block;
    margin-left: auto;
}

.secret-box button{
    padding: 10px 18px;
    font-size: 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    background: #71864b;
    color: #fff;
display: block;
    margin-right: auto;
}

.secret-box button:hover{
    background: #5e703f;
}

.error{
    display: none;
    color: #c0392b;
    font-size: 14px;
}

/* ukryta treść */
.secret-content{
    display: none;
    margin-top: 40px;
    padding: 30px;
    border-radius: 16px;
    background: #F8F7F2;
    text-align: center;
}
@keyframes revealIn {
  from { opacity: 0; transform: translateY(14px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0);  filter: blur(0); }
}

@keyframes hideOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-10px); }
}

/* startowo treść ukryta, ale gotowa do animacji */
.secret-content{
  display: none;
  opacity: 0;
}

/* klasa włączająca animację */
.secret-content.is-visible{
  display: block;
  animation: revealIn 520ms ease-out forwards;
}

/* płynne chowanie pola hasła */
.secret-box.is-hiding{
  animation: hideOut 240ms ease-in forwards;
}