/* ============================================================
   Landing - Anonim ana sayfa (davetiye kodu girişi)
   ============================================================ */
:root {
    --bg:        #F1ECE0;
    --paper:     #FBF7EE;
    --paper-2:   #FEFCF6;
    --ink:       #3D3327;
    --ink-soft:  #6F614F;
    --ink-faint: #9C8E7C;
    --gold:      #B89968;
    --gold-deep: #9C7B47;
    --serif:  'Cormorant Garamond', Georgia, serif;
    --display:'Cinzel', 'Cormorant Garamond', serif;
    --error:  #B0322B;
}

* { box-sizing: border-box; }

html, body {
    margin: 0; padding: 0;
    background:
        radial-gradient(circle at 20% 10%, #F8F2E5 0%, transparent 50%),
        radial-gradient(circle at 85% 90%, #EDE5D2 0%, transparent 55%),
        var(--bg);
    color: var(--ink);
    font-family: var(--serif);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

.landing {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 18px 24px;
}

.landing-card {
    width: 100%;
    max-width: 460px;
    background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
    border-radius: 12px;
    padding: 44px 32px 36px;
    text-align: center;
    box-shadow:
        0 1px 0 rgba(255,255,255,.7) inset,
        0 22px 50px -28px rgba(80,55,20,.25),
        0 8px 18px -10px rgba(80,55,20,.15);
    position: relative;
    animation: fadeUp 700ms ease both;
}

.landing-card::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(184, 153, 104, 0.32);
    border-radius: 8px;
    pointer-events: none;
}

.landing-icon {
    width: 56px;
    height: 42px;
    display: block;
    margin: 0 auto 14px;
    opacity: .85;
}

.landing-title {
    font-family: var(--display);
    font-weight: 500;
    color: var(--ink);
    margin: 0 0 4px;
    font-size: 28px;
    letter-spacing: 6px;
    text-transform: uppercase;
}

.landing-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 22px 0 18px;
}
.landing-divider span {
    flex: 0 1 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
}
.landing-divider .dia {
    flex: 0 0 6px;
    height: 6px;
    background: var(--gold);
    transform: rotate(45deg);
    box-shadow: 0 0 0 3px rgba(184,153,104,.18);
}

.landing-desc {
    margin: 0 auto 22px;
    max-width: 360px;
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.55;
}
.landing-desc strong {
    color: var(--ink);
    font-weight: 500;
}

.landing-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 360px;
    margin: 0 auto;
}
.landing-form input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid rgba(184, 153, 104, 0.4);
    border-radius: 10px;
    background: #FFF;
    font-family: var(--serif);
    font-size: 18px;
    text-align: center;
    color: var(--ink);
    letter-spacing: 1px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.landing-form input::placeholder {
    color: var(--ink-faint);
    letter-spacing: 0;
    font-style: italic;
}
.landing-form input:focus {
    outline: none;
    border-color: var(--gold-deep);
    box-shadow: 0 0 0 4px rgba(184,153,104,.15);
}

.landing-form button {
    appearance: none;
    border: none;
    border-radius: 10px;
    padding: 14px 20px;
    background: linear-gradient(180deg, #C9A96B, #A8842F);
    color: #FFF7E6;
    font-family: var(--serif);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 18px -8px rgba(168,132,47,.55);
    transition: transform .12s ease, box-shadow .15s ease;
}
.landing-form button:hover {
    background: linear-gradient(180deg, #D6B779, #B89346);
    box-shadow: 0 8px 22px -8px rgba(168,132,47,.65);
}
.landing-form button:active { transform: translateY(1px); }
.landing-form button svg { color: #FFF7E6; }

.landing-error {
    color: var(--error);
    font-size: 14px;
    text-align: center;
    margin-top: 4px;
    background: rgba(176, 50, 43, 0.08);
    padding: 8px 12px;
    border-radius: 8px;
}

.landing-hint {
    margin: 22px auto 0;
    max-width: 360px;
    font-size: 13px;
    color: var(--ink-faint);
    line-height: 1.5;
}

.landing-foot {
    margin-top: 18px;
    text-align: center;
    color: var(--ink-faint);
    font-size: 12px;
    letter-spacing: 1px;
    opacity: .8;
}

.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
    .landing { padding: 18px 14px; }
    .landing-card { padding: 36px 22px 28px; }
    .landing-title { font-size: 24px; letter-spacing: 5px; }
    .landing-icon { width: 48px; height: 36px; }
}
