
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: 'Poppins', sans-serif;
  height: 100%;
  text-align: center;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/images/AS.jpg') no-repeat center top/cover;
  filter: blur(4px);
  opacity: 0.15;
  z-index: -1;
}

.container {
  background: rgba(255,255,255,0.85);
  max-width: 450px;
  width: 90%;
  margin: 50px auto 20px auto;
  padding: 30px 25px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

h1 {
  font-family: 'Parisienne', cursive;
  font-size: 2.5rem;
  color: #bfa15e;
}

.date { font-size: 1.2rem; color: #555; }
p { font-size: 1rem; color: #555; }

.upload-section {
  border: 2px dashed #bfa15e;
  padding: 20px 15px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: background 0.3s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.upload-section:hover {
  background: rgba(191,161,94,0.15);
  transform: scale(1.02);
}

.upload-section input[type="file"] {
  position: absolute;
  width: 100%;
  height: 100%;
  top:0;
  left:0;
  opacity: 0;
  cursor: pointer;
}

.upload-text { font-size: 1.1rem; color: #bfa15e; font-weight: 500; }

.heart {
  position: absolute;
  font-size: 1.2rem;
  color: #ff6b81;
  animation: float 4s linear infinite;
  opacity: 0.7;
}

@keyframes float {
  0% { transform: translateY(0) rotate(0deg); opacity: 0.7;}
  50% { opacity: 1;}
  100% { transform: translateY(-150px) rotate(360deg); opacity: 0;}
}

/* Mobilni uređaji */
@media (max-width: 480px) {
  body::before {
    background-position: center 40%;
    background-attachment: scroll;
  }

  .container {
    margin-top: 400px;
    padding: 25px 20px;
  }

  h1 { font-size: 2rem; }
  .date { font-size: 1rem; }
  p { font-size: 0.9rem; }
  .upload-section { padding: 18px 12px; }
}

.img-preview {
  max-width: 100%;
}