body{
  margin: 0;
  padding: 0;
  background: rgba(23, 112, 236, 0.693);
  background-size: cover;
}

.blogs {
  font-size: 22px;
  padding-bottom: 2%;
  padding-top: 2%;
  margin-top: 2%;
  margin-bottom: 20%;
  border-top: 5%;
  border-bottom: 25%;
  margin: auto;
  text-align: center;
  color: white;
  font-family: 'Century Gothic', sans-serif;
  background: rgba(0, 0, 0, 0.4);
  max-width: 50%;
  font-size: x-large;
}

.card {
  width: 90%;
  background: rgba(0, 0, 0, 0.4);
  color: white;
  font-family: 'Century Gothic', sans-serif;
}

.box{
  max-width: 450px;
  padding: 40px;
  text-align: center;
  margin: auto;
  margin-top: 5%;
  border-radius: 10%;
}
.box-img-github{
  border-radius: 50%;
  width: 200px;
  height: 200px;
}
.box-img, .box-img-github {
  transition: transform .3s ease-in-out;
}
.box-img:hover, .box-img-github:hover {
  transform: scale(1.1);
}
.box h1{
  font-size: 40px;
  letter-spacing: 4px;
  font-weight: 100;
}
.box h5{
  font-size: 20px;
  letter-spacing: 3px;
  font-weight: 100;
}
.box p{
  text-align: justify;
}
ul{
  margin: 0;
  padding: 0;
}
.box li{
  display: inline-block;
  margin: 6px;
  list-style: none;
}
.box li a{
  color: white;
  text-decoration: none;
  font-size: 60px;
}

/* Doc page */
.doc-box {
  max-width: 860px;
  padding: 48px 56px;
  margin: 5% auto;
  border-radius: 16px;
  line-height: 1.75;
}
.doc-box h1 {
  font-size: 32px;
  font-weight: 100;
  letter-spacing: 3px;
  margin-bottom: 4px;
}
.doc-box .subtitle {
  opacity: 0.7;
  font-size: 15px;
  margin-top: 0;
  margin-bottom: 32px;
}
.doc-box h2 {
  font-size: 22px;
  font-weight: 100;
  letter-spacing: 2px;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-bottom: 6px;
  margin-top: 40px;
}
.doc-box h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-top: 28px;
  opacity: 0.9;
}
.doc-box p {
  text-align: left;
  margin: 12px 0;
}
.doc-box pre {
  background: rgba(0, 0, 0, 0.45);
  border-left: 3px solid rgba(255,255,255,0.35);
  border-radius: 6px;
  padding: 16px 20px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.55;
  margin: 16px 0;
}
.doc-box code {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  background: rgba(0,0,0,0.3);
  padding: 1px 5px;
  border-radius: 3px;
}
.doc-box pre code {
  background: none;
  padding: 0;
}
.doc-box ul, .doc-box ol {
  padding-left: 24px;
  margin: 12px 0;
}
.doc-box li {
  display: list-item;
  margin: 6px 0;
  list-style: inherit;
}
.doc-box a {
  color: #a8d4ff;
}
@media (max-width: 700px) {
  .doc-box { padding: 28px 20px; }
}

/* Wave intro overlay */
.wave-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.wave {
  position: absolute;
  left: 0;
  width: 100%;
  height: 55%;
}

.wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

.wave-bottom {
  bottom: 0;
  transform: translateY(100%);
  animation: waveInBottom 1s cubic-bezier(0.22, 0.61, 0.36, 1) 0.1s both;
}

.wave-top {
  top: 0;
  transform: translateY(-100%);
  animation: waveInTop 1s cubic-bezier(0.22, 0.61, 0.36, 1) 0.1s both;
}

@keyframes waveInBottom {
  to { transform: translateY(0); }
}

@keyframes waveInTop {
  to { transform: translateY(0); }
}

body.anniversary-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wedding-bg {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.wedding-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: blur(3px) brightness(0.6);
  animation: weddingCycle 24s ease-in-out infinite;
}

.wedding-bg-img:nth-child(1) { animation-delay: 0s; }
.wedding-bg-img:nth-child(2) { animation-delay: 8s; }
.wedding-bg-img:nth-child(3) { animation-delay: 16s; }

@keyframes weddingCycle {
  0%        { opacity: 0; }
  8%        { opacity: 0.6; }
  33%       { opacity: 0.6; }
  41%       { opacity: 0; }
  100%      { opacity: 0; }
}

body.anniversary-page::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  animation: bgBreath 10s ease-in-out infinite;
}

@keyframes bgBreath {
  90%, 100% { background-color: rgba(23, 112, 236, 0.45); }
  90%       { background-color: rgba(12, 80, 200, 0.55); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.box.anniversary > .sections-outer {
  animation: fadeUp 0.7s ease 0.3s both;
}

.anniversary .heart {
  animation: fadeUp 0.7s ease 0.6s both, pulse 2.2s ease-in-out 1.4s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.2); }
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 4px 0;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 4px 0;
}

.cd-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 48px;
}

.cd-num {
  font-size: 26px;
  font-weight: 100;
  letter-spacing: 2px;
  line-height: 1;
  transition: opacity 0.2s;
  font-family: "Great Vibes", cursive;
  font-style: normal;
}

.cd-label {
  font-size: 22px;
  letter-spacing: 2px;
  opacity: 0.65;
  margin-top: 5px;
  font-family: "Great Vibes", cursive;
  font-style: normal;
}

/* Section slider */
.sections-outer {
  overflow: hidden;
  width: 100%;
}

.sections-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.section {
  flex: 0 0 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 6px;
}

.map-embed {
  width: 100%;
  height: 220px;
  border: 0;
  border-radius: 24px;
  margin-bottom: 8px;
}

.next-btn {
  display: inline-block;
  margin-top: 28px;
  padding: 10px 30px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50px;
  color: white;
  background: transparent;
  letter-spacing: 3px;
  cursor: pointer;
  font-family: "Great Vibes", cursive;
  font-size: 22px;
  transition: background 0.3s ease;
}

.next-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.code-block {
  position: relative;
}
.copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  opacity: 0.7;
}