:root {
  --blue-dark: #0b1f3a;
  --blue: #1e3c72;
  --blue-light: #60aefc;
  --yellow: #fff47b;
  --text: #e9f4ff;
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.15);
  --blur: 16px;
}
* { box-sizing: border-box; }
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: radial-gradient(circle at 20% 30%, #10284a 0%, #071523 100%);
  color: var(--text);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 20px 80px;
  overflow-x: hidden;
}
.main-wrapper {
  width: 100%;
  max-width: 1200px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
  padding: 60px 40px;
  position: relative;
  animation: fadeIn 1.2s ease;
}
.logo-centered {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 30px rgba(0,0,0,0.3);
  width: 150px;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(10px);
  z-index: 1000;
}
.logo-centered img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.95;
}
.container {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
  margin-top: 40px;
}
.card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(var(--blur));
  transition: all 0.3s ease;
}
aside.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}
header h1 {
  font-size: 28px;
  margin: 0;
  background: linear-gradient(90deg, var(--yellow), #ffe789);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
header p.lead {
  margin: 10px 0 0;
  font-weight: 500;
  color: #c8e3ff;
}
.intro {
  font-size: 15px;
  line-height: 1.6;
  color: #d8ebff;
}
.note {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(96, 174, 252, 0.08);
  border: 1px solid rgba(96, 174, 252, 0.25);
  color: #cde6ff;
}
form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
label {
  font-size: 13px;
  font-weight: 600;
  color: #a8d2ff;
}
input[type=text], textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.07);
  color: #fff;
  font-size: 14px;
  transition: all 0.3s ease;
  outline: none;
}
input:focus, textarea:focus {
  border-color: var(--blue-light);
  box-shadow: 0 0 8px rgba(96,174,252,0.3);
}
textarea {
  min-height: 110px;
  resize: vertical;
}
.actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.btn {
  border: 0;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}
.btn.primary {
  background: linear-gradient(90deg, var(--yellow), #ffe789);
  color: #03233f;
  box-shadow: 0 6px 20px rgba(255, 248, 140, 0.3);
}
.btn.primary:hover {
  background: linear-gradient(90deg, #fff899, #fffec7);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 248, 140, 0.4);
}
footer {
  margin-top: 20px;
  font-size: 13px;
  color: #a4cfff;
}
#installBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(90deg, #fff899, #fffec7);
  color: #03233f;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  padding: 10px 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  z-index: 1000;
}
#installBtn:hover {
  transform: scale(1.05);
  opacity: 0.9;
}
/* TOAST */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(20, 40, 70, 0.85);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  padding: 16px 22px;
  border-radius: 14px;
  color: #fff;
  font-size: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 9999;
  text-align: center;
  min-width: 200px;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

#shareBtn {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--yellow), #fffec7);
  color: #03233f;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  padding: 10px 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  z-index: 1000;
}
#shareBtn:hover {
  transform: translateX(-50%) scale(1.05);
  opacity: 0.9;
}

@media (max-width: 960px) {
  .container {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }
  .main-wrapper {
    padding: 40px 20px;
  }
  .logo-centered {
    width: 100px;
    height: 100px;
    top: -30px;
  }
  header h1 {
    font-size: 24px;
  }
  .card {
    padding: 24px 20px;
  }
  aside.card {
    order: -1;
  }
}
@media (max-width: 600px) {
  html, body {
    padding: 40px 12px 60px;
  }
  .main-wrapper {
    border-radius: 18px;
    padding: 32px 16px;
  }
  .container {
    gap: 16px;
  }
  input[type=text], textarea {
    font-size: 15px;
  }
  .btn {
    width: 100%;
    padding: 14px;
    font-size: 15px;
  }
  .toast {
    bottom: 16px;
    right: 16px;
    left: 16px;
    width: auto;
    text-align: center;
  }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}