:root {
  --bg: #000000;
  --fg: #f5f5f5;
  --muted: #b0b0b0;
  --accent: #e4c200;
  --pink: #ff2fb8;
  --purple: #8b5cf6;
  --red: #ff0037;
}

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

html, body {
    height: 100%;
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

.wrap {
    min-height: 100%;
    display: grid;
    place-items: center;
    padding: 4rem 1.25rem;
}

.card {
    width: 100%;
    max-width: 720px;
    text-align: center;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    background: rgba(255,255,255,0.02);
    backdrop-filter: blur(2px);
}

h1 {
    font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem);
    margin: 0.2rem 0 0.5rem;
}

p.lead {
    margin: 0.25rem 0 1.25rem;
    color: var(--muted);
    font-size: 1.02rem;
}

.brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.brand .text {
    text-align: left;
}

.brand img.logo {
    width: 200px;
    height: 200px;
    display: block;
}

.email {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-top: 1rem;
}

.email input[type="email"] {
    border-radius: 12px;
    padding: 0.9rem 1rem;
    border: 2px solid rgba(255,255,255,0.15);
    background: rgba(0,0,0,0.4);
    color: #f5f5f5;
    outline: none;
    transition: box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
    font-family: inherit;
}

.email input[type="email"]:focus {
    border-color: rgba(255, 0, 55, 0.9);
    box-shadow: 0 0 0 3px rgba(255, 0, 55, 0.25),
                0 8px 28px rgba(255, 0, 55, 0.35),
                inset 0 0 18px rgba(255, 0, 55, 0.25);
    background: rgba(40,0,10,0.4);
}

.btn-glass {
    position: relative;
    background: rgba(200,200,200,0.12);
    color: var(--fg);
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 0.9rem 1.25rem;
    border-radius: 14px;
    font-weight: 700;
    letter-spacing: .02em;
    overflow: hidden;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 200ms ease, background 200ms ease;
}

.btn-glass:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.35);
    background: rgba(220,220,220,0.16);
}

.btn-glass:active {
    transform: translateY(0);
}

.btn-glass::before {
    content: "";
    position: absolute;
    top: -120%;
    left: -20%;
    width: 60%;
    height: 340%;
    transform: rotate(25deg);
    background: linear-gradient(to right, rgba(255,255,255,0.06), rgba(255,255,255,0.28), rgba(255,255,255,0.06));
    mix-blend-mode: screen;
    transition: transform 600ms ease;
    opacity: 0;
}

.btn-glass:hover::before {
    opacity: 1;
    transform: rotate(25deg) translateX(40%);
}

footer {
    margin-top: 1.25rem;
    color: var(--muted);
    font-size: 0.9rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}

footer a {
    color: #ffffff;
    text-decoration: none;
    border: none;
    font-weight: 600;
}

footer a:hover {
    color: var(--purple);
}

/* Mobile: stack with centered text and logo below */
@media (max-width: 560px) {
    .brand {
        flex-direction: column;
    }
    
    .brand .text {
        text-align: center;
    }
    
    .email {
        grid-template-columns: 1fr;
    }
}
