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

body {
  font-family: 'Poppins', sans-serif;
  background: url('../images/bg.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: -1;
}

/* Header + Footer */
.header, .footer {
  width: 100%;
  text-align: center;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1rem 0;
  z-index: 2;
}

.logo {
    font-size: 2rem;
    font-weight: 600;
}

.footer {
  margin-top: auto;
  padding: 0.8rem 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Container */
.container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 1;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px rgba(0,0,0,0.37);
  padding: 2rem;
  max-width: 900px;
}

.hero-text {
  flex: 1 1 400px;
  text-align: left;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
}

#inputField {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

#inputField:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.button-group {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
}

.button-group button {
    background-color: #ff6b6b;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

.button-group button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.7);
}

.button-group .download-btn {
    background-color: #6B73FF;
    box-shadow: 0 0 10px rgba(107, 115, 255, 0.5);
}

.button-group .download-btn:hover {
    box-shadow: 0 0 20px rgba(107, 115, 255, 0.7);
}

.hero-image {
  flex: 1 1 300px;
  text-align: center;
}

#qrcode {
    width: 256px;
    height: 256px;
    margin: 0 auto;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: transparent;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

#qrcode:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
  }
}
