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

body {
    min-height: 100vh;
    background: linear-gradient(0deg, #50475E, #50475E),
        radial-gradient(54.84% 48.15% at 50% 51.85%, rgba(47, 60, 69, 0) 0%, rgba(7, 12, 15, 0.48) 100%);
    background-blend-mode: color-dodge;
    font-family: 'Noto Sans', sans-serif;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("../images/background.png");
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

/* Scattered suit watermarks */
.suits-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.suits-bg span {
    position: absolute;
    font-size: clamp(4rem, 10vw, 9rem);
    opacity: 0.04;
    user-select: none;
}

.suits-bg span:nth-child(1)  { top: 5%;   left: 4%;   transform: rotate(-15deg); }
.suits-bg span:nth-child(2)  { top: 8%;   left: 75%;  transform: rotate(10deg);  color: #E97B88; opacity: 0.05; }
.suits-bg span:nth-child(3)  { top: 55%;  left: 2%;   transform: rotate(20deg);  }
.suits-bg span:nth-child(4)  { top: 50%;  left: 80%;  transform: rotate(-8deg);  color: #E97B88; opacity: 0.05; }
.suits-bg span:nth-child(5)  { top: 80%;  left: 15%;  transform: rotate(5deg);   }
.suits-bg span:nth-child(6)  { top: 78%;  left: 65%;  transform: rotate(-20deg); color: #E97B88; opacity: 0.05; }
.suits-bg span:nth-child(7)  { top: 30%;  left: 88%;  transform: rotate(12deg);  }
.suits-bg span:nth-child(8)  { top: 25%;  left: -2%;  transform: rotate(-5deg);  color: #E97B88; opacity: 0.05; }
.suits-bg span:nth-child(9)  { top: 92%;  left: 45%;  transform: rotate(18deg);  }
.suits-bg span:nth-child(10) { top: 42%;  left: 40%;  transform: rotate(-25deg); color: #E97B88; opacity: 0.03; }
.suits-bg span:nth-child(11) { top: 15%;  left: 40%;  transform: rotate(8deg);   }
.suits-bg span:nth-child(12) { top: 68%;  left: 92%;  transform: rotate(-12deg); color: #E97B88; opacity: 0.05; }

/* Radial glow behind the card */
.page-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 2rem;
}


/* Main card */
.card {
    position: relative;
    z-index: 1;
    background: linear-gradient(0deg, #413d56, #201b2f);
    border: 1px solid rgba(104, 97, 114, 0.6);
    border-radius: 10px;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.5), 0 0 120px rgba(74, 14, 165, 0.15);
    padding: 3rem 3.5rem;
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

/* Suit icons row */
.logo-row {
    display: flex;
    gap: 0.75rem;
    font-size: 1.5rem;
    line-height: 1;
}

.suit {
    display: inline-block;
    opacity: 0.85;
}

.suit.red {
    color: #E97B88;
}

/* Site name */
.site-name {
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    font-weight: 700;
    color: #baa2dd;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.2;
}

/* Tagline */
.tagline {
    font-size: 0.95rem;
    color: #c8c0d8;
    line-height: 1.7;
}

/* Divider */
.divider {
    width: 50%;
    height: 1px;
    background: rgba(104, 97, 114, 0.5);
    align-self: center;
}

/* CTA label */
.cta-text {
    font-size: 0.9rem;
    color: #bbb;
}

/* Form */
.notify-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.input-row {
    display: flex;
    gap: 0.5rem;
    width: 100%;
}

.email-input {
    flex: 1;
    padding: 0.7rem 1rem;
    border-radius: 6px;
    border: 1px solid rgba(104, 97, 114, 0.6);
    background: #2d2b38;
    color: #e0d8f0;
    font-family: 'Noto Sans', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.email-input::placeholder {
    color: rgba(186, 162, 221, 0.4);
}

.email-input:focus {
    border-color: #00e3f3;
}

.email-input.input-error {
    border-color: #E97B88;
}

.notify-btn {
    padding: 0.7rem 1.4rem;
    border-radius: 6px;
    background: #00e3f3;
    color: #040706;
    font-family: 'Noto Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s, transform 0.1s;
}

.notify-btn:hover {
    opacity: 0.85;
}

.notify-btn:active {
    transform: scale(0.97);
}

.error-msg {
    color: #E97B88;
    font-size: 0.8rem;
    text-align: left;
    padding-left: 0.25rem;
}

/* Success state */
.success-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.success-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(0, 227, 243, 0.12);
    border: 2px solid #00e3f3;
    color: #00e3f3;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-message {
    color: #c8c0d8;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Footer note */
.footer-note {
    font-size: 0.75rem;
    color: rgba(187, 187, 187, 0.55);
}

/* Responsive */
@media (max-width: 520px) {
    .card {
        padding: 2.5rem 1.75rem;
    }

    .input-row {
        flex-direction: column;
    }

    .notify-btn {
        width: 100%;
    }
}
