@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600;700&display=swap');

* {
  box-sizing: border-box;
}

body {
  background-color: #ffffff;
  background-image: 
    linear-gradient(90deg, rgba(255, 182, 193, 0.25) 50%, transparent 50%),
    linear-gradient(rgba(255, 182, 193, 0.25) 50%, transparent 50%);
  background-size: 24px 24px;
  font-family: 'Fredoka', sans-serif;
  color: #5a4b41;
  text-align: center;
  margin: 0 auto;
  padding: 20px 12px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

h1, h2, h3, p, a, button, input, .btn, .subtitle, .mini-box, .mini-box b {
  font-family: 'Fredoka', sans-serif;
}

.main-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px 16px;
  box-shadow: 0 10px 25px rgba(255, 182, 193, 0.35);
  border: 2px solid #ffe3e8;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

img {
  border-radius: 10px;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.floating-img {
  animation: float 2.5s ease-in-out infinite;
  display: inline-block;
}

h1 {
  color: #ff758f;
  margin: 0 0 4px 0;
  font-size: clamp(1.3em, 5vw, 1.7em);
}

h2 {
  color: #e65c7b;
  font-size: 1.2em;
  margin-top: 0;
}

p {
  font-size: clamp(0.85em, 3.5vw, 1em);
  line-height: 1.5;
  margin: 0;
}

a {
  color: #d946ef;
}

.subtitle {
  color: #ff8fa3;
  font-weight: 600;
  margin: 0;
  font-size: clamp(0.8em, 3.2vw, 0.95em);
}

.cute-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.cute-list li {
  font-size: 0.95em;
  margin-bottom: 8px;
}

.cute-list li:last-child {
  margin-bottom: 0;
}

.header-box {
  background-color: #fff0f3;
  padding: 12px 10px;
  border-radius: 14px;
  border: 1px dashed #ffb3c1;
  margin-bottom: 15px;
  width: 100%;
}

.datetime-container {
  background-color: #ffffff;
  border: 1.5px solid #ffe3e8;
  padding: 6px 12px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 15px;
  font-size: clamp(0.75em, 3vw, 0.85em);
  color: #ff758f;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.section-box {
  background-color: #ffffff;
  border: 2px solid #ffe3e8;
  padding: 20px 15px;
  border-radius: 16px;
  margin-bottom: 18px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(255, 240, 243, 0.5);
  width: 100%;
}

.btn {
  background-color: #ff8fa3;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: clamp(0.9em, 3.8vw, 1em);
  font-weight: 700;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 143, 163, 0.4);
  transition: transform 0.2s, background-color 0.2s;
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
}

.btn:active {
  transform: scale(0.98);
}

.btn:hover {
  background-color: #ff758f;
}

.box-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 20px;
  width: 100%;
}

.mini-box {
  background-color: #fff0f3;
  border: 1px solid #ffe3e8;
  padding: 8px 4px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ff758f;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(0.7em, 2.8vw, 0.8em);
  box-shadow: 0 3px 6px rgba(255, 178, 193, 0.2);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.mini-box:hover, .mini-box:active {
  transform: translateY(-2px) scale(1.02);
  background-color: #ffe3e8;
}

.mini-box span {
  font-size: 1.1em;
  margin-bottom: 2px;
}

@media (max-width: 360px) {
  .box-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  
  .mini-box {
    padding: 10px 6px;
  }
}







