/**
 * Tapplan Waitlist — shared styles
 * Used by: resources/views/waitlist/index.blade.php
 *          resources/views/waitlist/success.blade.php
 *
 * Editorial black + yellow event-brand look (mockup-matched).
 */

 :root {
    --yellow: #ffc629;
    --yellow-soft: #ffe38a;
    --yellow-pale: #fff3d1;
    --ink: #121212;
    --ink-soft: rgba(18, 18, 18, 0.7);
    --paper: #ffffff;
    --line: rgba(18, 18, 18, 0.12);
    --danger: #c8341f;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--yellow) !important;
    color: var(--ink);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

h1, h2, .brand, .card-label, .trust span, .hero-tag {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.wrap {
    margin: 0 auto;
    padding: 0 220px;
    width: 100%;
}

/* ---------- Header ---------- */

header.site {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 22px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--ink);
    text-decoration: none;
    text-transform: uppercase;
}

.brand img {
    height: 86px;
    width: 86px;
    display: block;
    scale: 1.5;
    object-fit: cover;
}

.menu-icon {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-icon span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--ink);
    border-radius: 2px;
}

/* ---------- Hero ---------- */

main.landing {
    padding-bottom: 30px;
}

.hero h1 {
    font-size: clamp(2.6rem, 11vw, 3.4rem);
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 10px 0 0;
}

.hero h1 .line-2 {
    display: block;
    color: #fff;
}

.hero p.lede {
    font-size: 1.02rem;
    line-height: 1.5;
    color: var(--ink);
    max-width: 42ch;
    margin: 20px 0 26px;
}

a.cta,
button.cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 18px 22px;
    border-radius: 14px;
    background: var(--ink);
    color: var(--yellow);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.12s ease, background 0.15s ease;
    margin-top: 12px;
}

a.cta:hover,
button.cta:hover {
    background: #000;
}

a.cta:active,
button.cta:active {
    transform: scale(0.98);
}

button.cta:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ---------- Event photo cards ---------- */

.card-grid {
    display: flex;
    gap: 10px;
    margin: 26px 0 30px;
}

.photo-card {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    border-radius: 16px;
    overflow: hidden;
    background: var(--ink);
}

.photo-card::before {
    content: '';
    display: block;
    padding-top: 133%;
}

.photo-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.92;
}

.photo-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.75) 100%);
}

.card-label {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 9px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.card-label .icon-dot {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-caption {
    margin: 8px 2px 0;
    font-size: 0.78rem;
    line-height: 1.4;
    color: var(--ink-soft);
}

/* ---------- Form card ---------- */

.card {
    background: var(--paper);
    color: var(--ink);
    border-radius: 22px;
    padding: 30px 26px 26px;
    box-shadow: 0 24px 48px -20px rgba(18, 18, 18, 0.35);
}

.card h2 {
    font-size: 1.55rem;
    font-weight: 800;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}

.card p.sub {
    margin: 0 0 24px;
    font-size: 0.92rem;
    line-height: 1.45;
    color: rgba(18, 18, 18, 0.6);
}

.field-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 4px;
}

.field-grid .field {
    flex: 1 1 150px;
    min-width: 0;
    margin-bottom: 0;
}

.field-grid .field.full {
    flex-basis: 100%;
}

.field {
    margin-bottom: 16px;
}

.field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--ink);
}

.field input {
    width: 100%;
    padding: 13px 14px;
    border-radius: 10px;
    border: 1.5px solid var(--line);
    background: #fff;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    color: var(--ink);
    transition: border-color 0.15s ease;
}

.field input::placeholder {
    color: rgba(18, 18, 18, 0.35);
}

.field input:focus {
    outline: none;
    border-color: var(--ink);
}

.field input.has-error {
    border-color: var(--danger);
}

.field .error {
    color: var(--danger);
    font-size: 0.78rem;
    margin-top: 6px;
}

.card .fine {
    font-size: 0.74rem;
    color: rgba(18, 18, 18, 0.45);
    margin-top: 14px;
    line-height: 1.5;
    text-align: center;
}
.my-3{
    margin-top: 10px;
    margin-bottom: 10px;
}
/* ---------- Trust strip ---------- */

.trust-strip {
    display: none;
    margin: 34px 0 26px;
}

.trust {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 0 6px;
    border-left: 1px solid rgba(18, 18, 18, 0.18);
}

.trust:first-child {
    border-left: none;
}

.trust span {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
}

/* ---------- Instagram banner ---------- */

a.ig-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--yellow-pale);
    border: 1.5px solid rgba(18, 18, 18, 0.15);
    border-radius: 16px;
    padding: 16px 18px;
    text-decoration: none;
    color: var(--ink);

}

a.ig-banner .ig-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
}

a.ig-banner p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.4;
    flex: 1;
}

a.ig-banner .arrow {
    flex-shrink: 0;
}

/* ---------- Footer ---------- */

footer.site {
    padding: 18px 0 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--ink-soft);
    font-size: 0.78rem;
}

footer.site .social {
    display: flex;
    align-items: center;
    gap: 14px;
}

footer.site a.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1.5px solid rgba(18, 18, 18, 0.2);
    color: var(--ink);
    transition: background 0.15s ease, color 0.15s ease;
}

footer.site a.icon:hover {
    background: var(--ink);
    color: var(--yellow);
}

/* ---------- Success / confirmation page ---------- */

body.success-page {
    display: flex;
    flex-direction: column;
}

main.confirm-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 0 50px;
}

.confirm {
    width: 100%;
    text-align: center;
    margin: 0 22px;
}

.confirm-card {
    background: var(--paper);
    border-radius: 24px;
    padding: 40px 28px 32px;
    box-shadow: 0 24px 48px -20px rgba(18, 18, 18, 0.35);
}

.badge {
    width: 62px;
    height: 62px;
    border-radius: 999px;
    background: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
}

.confirm h1 {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 0 0 12px;
    color: var(--ink);
}

.confirm p.lede {
    font-size: 0.98rem;
    line-height: 1.55;
    color: rgba(18, 18, 18, 0.62);
    margin: 0 0 30px;
    max-width: 38ch;
    margin-left: auto;
    margin-right: auto;
}

.ig-panel {
    background: var(--yellow-pale);
    border: 1.5px solid rgba(18, 18, 18, 0.12);
    border-radius: 16px;
    padding: 26px 22px;
}

.ig-panel p.ask {
    margin: 0 0 18px;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--ink);
}

a.ig-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 12px;
    background: var(--ink);
    color: var(--yellow);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.15s ease, transform 0.12s ease;
}

a.ig-button:hover {
    background: #000;
}

a.ig-button:active {
    transform: scale(0.98);
}

a.back {
    display: inline-block;
    margin-top: 22px;
    color: rgba(18, 18, 18, 0.55);
    font-size: 0.85rem;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

a.back:hover {
    color: var(--ink);
    border-bottom-color: rgba(18, 18, 18, 0.4);
}

/* ---------- Responsive ---------- */
@media (max-width: 1032px) {
    .wrap {
        padding:0 140px;
    }
}
@media (max-width: 768px) {

.menu-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-icon span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--ink);
    border-radius: 2px;
}
    .wrap {
        padding:0 100px;
    }
}
@media (max-width: 640px) {
    .wrap {
        padding:0 20px;
    }
}
@media (min-width: 640px) {


    .card-grid {
        gap: 16px;
    }
}

@media (max-width: 380px) {
    .wrap {
        padding:0 22px;
    }
    .card-grid {
        gap: 7px;
    }
    .card-label {
        font-size: 0.60rem;
    }
    .trust span {
        font-size: 0.75rem;
    }
}
