:root {
  --main-bg: #181d2a;
  --accent: #4f8cf1;
  --text: #e6e9f1;
  --box-bg: #23283a;
  --shadow: 0 4px 32px rgba(79, 140, 241, 0.14);
  --radius: 15px;
  --padding: 26px;
}

body {
  background: var(--main-bg);
  background-image: radial-gradient(circle at 30% 0%, #293050 0%, transparent 70%),
                    radial-gradient(circle at 70% 100%, #3a2d51 0%, transparent 70%);
  min-height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  transition: background 0.5s;
}

.bg-effect {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: -1;
  backdrop-filter: blur(6px) brightness(0.85);
  pointer-events: none;
}

.main-box {
  background: var(--box-bg);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: var(--padding);
  max-width: 430px;
  margin: 48px auto;
}

h1, h2 { color: var(--accent); margin-top: 0; }

label {
  display: block;
  margin: 17px 0 8px;
  font-weight: 500;
}

input, button, .StripeElement {
  width: 100%;
  padding: 13px 16px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  border: 1px solid #32375a;
  font-size: 1.07em;
  background: #242945;
  color: var(--text);
  box-sizing: border-box;
}

input:focus, .StripeElement--focus {
  outline: none;
  border-color: var(--accent);
}

button {
  background: linear-gradient(90deg, #4f8cf1, #7b55da);
  color: #fff;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
button:hover {
  background: linear-gradient(90deg, #7b55da, #4f8cf1);
}

#card-element {
  margin-bottom: 12px;
  background: #242945;
  border: 1px solid #32375a;
  border-radius: var(--radius);
  padding: 13px 16px;
}

.stripe-success {
  color: #76ff98;
  background: #232;
  font-weight: 600;
  border-radius: 10px;
  padding: 13px;
  margin: 14px 0;
  box-shadow: 0 1px 6px rgba(118,255,152,0.07);
  text-align: center;
}
.stripe-error {
  color: #ff5267;
  background: #31252a;
  font-weight: 600;
  border-radius: 10px;
  padding: 13px;
  margin: 14px 0;
  text-align: center;
  box-shadow: 0 1px 6px rgba(255,82,103,0.09);
}
