*{
    margin: 0;
    padding: 0;
    font-family: 'poppins', sans-serif;
    box-sizing: border-box;
}
.container {
    height: 100vh; 
    padding: 20px;
    background-image: url('background.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat; 
}
.cake-image {
    padding: 20px 0;
}
.content {
    top: 50%;
    position: absolute;
    transform: translateY(-50%);
}
.content p {
    color: #520049;
}
.content h1{
    font-size: 54px;
    font-weight: 600;
    color: #fc416c;
}
.content h1 span {
    color: #ffae00;
}
.button {
    text-decoration: none;
    width: 160px;
    height: 50px;
    border-radius: 25px;   
    background-color: #e52080; 
    color: white;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.button:hover {
    background-color: #f84848; 
    transform: scale(1.1);      
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}
.button1 {
    width: 160px;
    height: 50px;
    border-radius: 25px;   
    background-color: #e52080; 
    color: white;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.button1:hover {
    background-color: #f84848; 
    transform: scale(1.1);      
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}
.button-row {
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}
.Birth-Day{
    display: flex;
}
.Birth-Day div {
    flex-basis: 100px;
    text-align: center;
    background: rgba(255, 225, 0, 0.319);
    border-radius: 12px;
    padding: 10px;
    margin: 20px 10px;
    backdrop-filter: blur(10px);
}
.Birth-Day div p{
    font-size: 60px;
}
.BdayDino {
    width: 450px;
    position: absolute;
    bottom: 165px;
    right: 150px;
    animation: BdayDino1 3s infinite ease-in-out;
}
@keyframes BdayDino1 {
    0% {
     transform: scale(1);
    }
    50% {
     transform: scale(1.2);
    }
    100% {
     transform: scale(1);
    }
}
.confetti-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 9999;
}
.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: red;
    top: 50%;
    left: 50%;
    opacity: 0.9;
    border-radius: 2px;
    transform: translate(-50%, -50%);
    animation: pop 1s forwards;
}
@keyframes pop {
    0% {
     transform: translate(-50%, -50%) scale(0.5);
        opacity: 1;
    }
    100% {
     transform: translate(
            calc(-50% + var(--x) * 1px),
            calc(-50% + var(--y) * 1px)
        ) scale(1);
        opacity: 0;
    }
}
@media (max-width: 1024px) {
    .content h1 {
     font-size: 40px;
    }
    .BdayDino {
     width: 300px;
     right: 50px;
     bottom: 120px;
    }
}
@media (max-width: 768px) {
    .content {
        position: relative;
        top: auto;
        transform: none;
        text-align: center;
        margin-top: 40px;
    }
    .content h1 {
        font-size: 32px;
    }
    .content p {
        font-size: 16px;
    }
    .Birth-Day {
        flex-wrap: wrap;
        justify-content: center;
    }
    .Birth-Day div {
        flex-basis: 80px;
        margin: 10px;
    }
    .Birth-Day div p {
        font-size: 40px;
    }
    .BdayDino {
        position: static;
        width: 250px;
        margin: 20px auto;
        display: block;
    }
}
@media (max-width: 480px) {
    .content h1 {
        font-size: 24px;
    }
    .button {
        width: 120px;
        height: 40px;
        font-size: 16px;
    }
    .button1 {
        width: 120px;
        height: 40px;
        font-size: 16px;
    }
    .Birth-Day div p {
        font-size: 28px;
    }
    .BdayDino {
        width: 200px;
    }
}
.popup-overlay {
  position: fixed;
  inset: 0;
  display: none;             
  justify-content: center;
  align-items: center;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(255,215,234,.6), transparent 60%),
              radial-gradient(900px 600px at -10% 10%, rgba(255,240,204,.6), transparent 60%),
              rgba(0,0,0,.45);
  z-index: 10000;
  backdrop-filter: blur(3px);
}
.popup-overlay.show { 
    display: flex; 
}
.popup-card {
  width: min(920px, 92vw);
  min-height: 420px;
  background: linear-gradient(135deg, #ffffffaa, #fff0f7bb);
  border: 2px solid #ffd0e3;
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 22px;
  position: relative;
  animation: popIn .28s ease both;
}
@keyframes popIn {
  from { transform: scale(.94); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.popup-close {
  position: absolute; top: 10px; right: 12px;
  background: #fff; color: #e52080;
  border: 2px solid #ffd0e3;
  border-radius: 12px; padding: 6px 10px;
  font-weight: 800; cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.popup-close:hover { 
    background:#ffeaf5; 
}
.popup-left, .popup-right { 
    display:flex; flex-direction:column; justify-content:center; 
}
.popup-title {
  color: #e52080; margin-bottom: 12px; font-weight: 800; font-size: 24px;
}
.field-label { 
    font-weight: 700; color: #520049; margin-top: 8px; margin-bottom: 6px; 
}
.field-input {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  border: 2px solid #ffd0e3; background: #fff;
  font-size: 16px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field-input:focus {
    border-color: #e52080; box-shadow: 0 0 0 4px #ffe6f1; 
}
.popup-btn {
  margin-top: 14px;
  width: 100%;
}
.tiny-hint { 
    font-size: 12px; opacity: .7; margin-top: 8px; 
}
.popup-right { 
    align-items:center; 
}
.popup-dino {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  outline: 6px solid #520049; 
  outline-offset: -6px;
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
}
@media (max-width: 820px) {
  .popup-card { grid-template-columns: 1fr; gap: 10px; }
  .popup-right { order: -1;}
} 