:root{
  --bg:#fffdf9;
  --paper:#fffaf4;
  --ink:#5b4638;
  --muted:#9b846f;
  --gold:#d8a73f;
  --sage:#9aaa92;
  --line:#eadfce;
  --shadow:0 18px 60px rgba(90,64,38,.08);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}

body{
  margin:0;
  background:radial-gradient(circle at top,#fff 0,#fffdf9 45%,#fbf5ec 100%);
  color:var(--ink);
  font-family:Georgia,'Times New Roman',serif;
}

.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,253,249,.94);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
  overflow-x:auto;
}

nav{
  max-width:1180px;
  margin:auto;
  display:flex;
  justify-content:center;
  gap:34px;
  padding:15px 18px;
  min-width:max-content;
}

nav a{
  color:var(--ink);
  text-decoration:none;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:13px;
  display:flex;
  gap:8px;
  align-items:center;
  white-space:nowrap;
}

.hero{
  min-height:88vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:55px 20px 80px;
  position:relative;
  overflow:hidden;
}

.hero::before,
.hero::after{
  content:"";
  position:absolute;
  width:180px;
  height:180px;
  border-radius:50%;
  background:#efdcae;
  opacity:.22;
  filter:blur(6px);
}

.hero::before{left:2%;top:38%}
.hero::after{right:3%;top:43%}

.hero-logo{
  width:310px;
  max-width:74vw;
  margin:0 auto 26px;
  position:relative;
  z-index:5;
  border-radius:50%;
  overflow:hidden;
  background:transparent;
  mix-blend-mode:multiply;
  opacity:.74;
  filter:sepia(.45) saturate(.55) brightness(1.32) contrast(.78);
}

.logoimg{
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
}

.hero-subtitle{
  letter-spacing:8px;
  text-transform:uppercase;
  color:#a58d75;
  margin:0 0 10px;
  font-size:13px;
  position:relative;
  z-index:5;
}

.hero-title{
  font-size:clamp(46px,7vw,76px);
  font-weight:400;
  line-height:1.05;
  margin:0 0 18px;
  color:#765f4e;
  position:relative;
  z-index:5;
}

.hero-title span{color:var(--gold)}

.hero-date{
  font-size:21px;
  letter-spacing:6px;
  color:#a38b74;
  margin:0;
  position:relative;
  z-index:5;
}

.hero-heart{
  color:var(--gold);
  font-size:34px;
  margin:26px 0 22px;
  position:relative;
  z-index:5;
}

.hero-text{
  font-size:20px;
  max-width:650px;
  color:#7a6758;
  line-height:1.8;
  margin:0;
  position:relative;
  z-index:5;
}

.panel{
  max-width:980px;
  margin:0 auto 70px;
  background:rgba(255,255,255,.78);
  box-shadow:var(--shadow);
  border:1px solid var(--line);
  border-radius:18px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  padding:34px;
  text-align:center;
}

.panel h3,
.cards h3,
.section h2,
.welcome h2{
  text-transform:uppercase;
  letter-spacing:.24em;
  font-weight:400;
  color:#735f4d;
}

.countdown{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
}

.countdown b{
  font-size:46px;
  font-weight:400;
  color:#b49a7d;
}

.labels{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  font-size:12px;
  text-transform:uppercase;
}

.temp{
  font-size:36px;
  color:#b28a43;
}

.cards{
  max-width:1100px;
  margin:0 auto 70px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  background:rgba(255,255,255,.56);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.cards a{
  padding:38px 24px;
  text-align:center;
  color:var(--ink);
  text-decoration:none;
  border-right:1px solid var(--line);
}

.cards a:last-child{border-right:0}

.cards i{
  font-size:38px;
  color:#b68d49;
  font-style:normal;
}

.cards p{line-height:1.6}

.welcome,
.section{
  max-width:1100px;
  margin:0 auto 70px;
  text-align:center;
  position:relative;
  padding:64px 22px;
}

.welcome p,
.gifts p{
  max-width:700px;
  margin:18px auto;
  line-height:1.8;
}

.section{
  background:rgba(255,255,255,.46);
  border-radius:18px;
  border:1px solid rgba(234,223,206,.7);
}

.timeline{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  margin:36px 0;
}

.timeline div,
.infoGrid article,
.placeGrid article,
.loginbox,
.uploadbox{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:16px;
  padding:24px;
  box-shadow:var(--shadow);
}

time{
  font-size:32px;
  color:#b49a7d;
}

.infoGrid,
.placeGrid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
  text-align:left;
}

.btn,
button{
  border:0;
  background:#eadcc9;
  color:#6f5847;
  border-radius:8px;
  padding:12px 20px;
  text-decoration:none;
  text-transform:uppercase;
  letter-spacing:.08em;
  cursor:pointer;
  font-family:inherit;
}

input,
textarea{
  width:100%;
  border:1px solid var(--line);
  border-radius:10px;
  padding:13px;
  background:white;
  color:var(--ink);
  font:inherit;
}

textarea{min-height:110px}

.loginbox form,
.uploadbox form{
  max-width:520px;
  margin:auto;
  display:grid;
  gap:12px;
}

.gallery{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:14px;
  margin-top:24px;
}

.gallery img{
  width:100%;
  height:210px;
  object-fit:cover;
  border-radius:14px;
  box-shadow:var(--shadow);
}

footer{
  text-align:center;
  padding:38px;
  color:#9c836d;
}

.reveal{
  opacity:0;
  transform:translateY(20px);
  transition:.8s ease;
}

.reveal.visible{
  opacity:1;
  transform:none;
}

.admin{
  max-width:980px;
  margin:40px auto;
  padding:30px;
}

.adminForm{
  display:grid;
  gap:15px;
  background:white;
  border:1px solid var(--line);
  border-radius:18px;
  padding:24px;
  box-shadow:var(--shadow);
}

.adminForm label{
  display:grid;
  gap:6px;
}

.row{
  display:grid;
  grid-template-columns:130px 1fr 2fr;
  gap:10px;
}

@media(max-width:800px){
  nav{
    justify-content:flex-start;
    gap:18px;
    padding:14px 16px;
  }

  nav a{
    font-size:12px;
  }

  .hero{
    min-height:78vh;
    padding:42px 18px 55px;
  }

  .hero-logo{
    width:245px;
    max-width:70vw;
    margin-bottom:22px;
  }

  .hero-subtitle{
    font-size:11px;
    letter-spacing:5px;
  }

  .hero-title{
    font-size:42px;
  }

  .hero-date{
    font-size:15px;
    letter-spacing:3px;
  }

  .hero-text{
    font-size:17px;
  }

  .panel{
    margin:0 14px 50px;
    grid-template-columns:1fr;
    padding:26px 18px;
  }

  .countdown b{
    font-size:35px;
  }

  .cards,
  .timeline,
  .infoGrid,
  .placeGrid{
    grid-template-columns:1fr;
  }

  .cards{
    margin:0 14px 55px;
  }

  .cards a{
    border-right:0;
    border-bottom:1px solid var(--line);
  }

  .cards a:last-child{
    border-bottom:0;
  }

  .section,
  .welcome{
    margin:0 14px 50px;
    padding:48px 18px;
  }

  .row{
    grid-template-columns:1fr;
  }
}