﻿
:root {
    --accent: #1f6fcf;
    --accent-light: #e5f0ff;
    --text-main: #111827;
    --text-muted: #6b7280;
    --border: #d1d5db;
    --bg: #f3f4f6;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    background: var(--bg);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.page {
    width: 100%;
    max-width: 640px;
}

.card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
    padding: 24px 20px 22px;
}

.profile {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 18px;
}

.profile-avatar {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    overflow: hidden;
    border: 2px solid #ffffff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.25);
    background: #e5e7eb;
    flex-shrink: 0;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.profile-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.profile-name {
    font-size: 1.05rem;
    font-weight: 700;
}

.profile-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
}

.profile-tagline {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.prize-banner {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #f9fafb;
    margin-bottom: 20px;
}

.prize-banner img {
    display: block;
    width: 100%;
    height: auto;
}


.headline {
    margin-bottom: 18px;
}

.headline-title {
    font-size: 1.55rem;
    line-height: 1.25;
    margin-bottom: 6px;
    text-align: center;
}

.headline-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-align: center;
}

form {
    display: grid;
    gap: 14px;
}

.form-row-two {
    display: grid;
    gap: 12px;
}

@media (min-width: 600px) {
    .form-row-two {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.field label {
    font-size: 0.85rem;
    font-weight: 600;
}

.required {
    color: #dc2626;
    margin-left: 2px;
}

.name-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.field small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    padding: 9px 10px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #f9fafb;
    font-size: 0.95rem;
    outline: none;
    min-height: 40px;
    resize: vertical;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

textarea {
    min-height: 130px;
    line-height: 1.4;
}

input:focus,
textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(31, 111, 207, 0.18);
    background: #ffffff;
}

.consent {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.button-row {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

button[type="submit"] {
    border: none;
    cursor: pointer;
    padding: 14px 28px;
    border-radius: 12px;
    background: var(--accent);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.button-caption {
    font-size: 0.8rem;
    color: var(--text-muted);
}


.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--accent-light);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--accent);
}

.thankyou {
    margin-top: 4px;
}

.thankyou-title {
    font-size: 1.6rem;
    line-height: 1.25;
    margin-bottom: 8px;
}

.thankyou-text {
    font-size: 0.96rem;
    color: var(--text-main);
    margin-bottom: 8px;
}

.thankyou-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 18px;
}


.thankyou.thankyou--center {
    text-align: center;
    margin-top: 8px;
}

.thankyou.thankyou--center .thankyou-title {
    margin-bottom: 6px;
}

.thankyou.thankyou--center .thankyou-text {
    margin-bottom: 6px;
}

.cta-section {
    margin-top: 24px;
}

.cta-card {
    border-radius: 14px;
    padding: 16px 16px 18px;
    background: var(--accent-light);
    text-align: left;
    display: flow !important;
}

.cta-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.cta-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.cta-button {
    width: 100%;
    display: inline-block;
    margin-top: 12px;
}


.cta-primary-button {
    display: inline-block;
    text-align: center;
    border: none;
    cursor: pointer;
    padding: 14px 28px;
    border-radius: 12px;
    background: var(--accent);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    width: 100%;
}


@media (min-width: 540px) {
    .cta-button {
        width: auto;
        margin-top: 4px;
    }
}

@media (min-width: 540px) {
    .cta-card {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        text-align: left;
    }

    .cta-copy {
        max-width: 360px;
    }
}

.social-section {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.social-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.social-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-items: center; /* centers items in each column */
    justify-content: center; /* centers the grid itself */
}

.social-grid a {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.1rem;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.social-grid a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.18);
}

@media (min-width: 540px) {
    .social-grid {
        grid-template-columns: repeat(9, 1fr);
    }
}

.h0n3yp0t {
    display: none;
}

.status-alert {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    line-height: 1.35;
}

.status-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.status-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #10b981;
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}
