/**
 * ============================================================================
 * LANTHIREY 2.0 - LANDING PAGES STYLESHEET (public/css/landing.css)
 * ============================================================================
 * 
 * Architecture & Student Teaching Note:
 * Handles dual-layer landing experiences:
 * - Landing Page 1: Poetic inquiry prompt and AJAX submission card
 * - Landing Page 2: Keyhole aperture composite, live odometer, and site entry
 */

.landing-body {
    background-color: #000000;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    font-family: 'Amiri', serif;
}

.landing-container {
    width: 100%;
    max-width: 1160px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 50px;
    align-items: center;
    margin: auto;
}

/* ----------------------------------------------------------------------------
 * LANDING PAGE 1: PROMPT & INPUTS (LEFT)
 * ------------------------------------------------------------------------- */
.landing-prompt-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.landing-poem-quote {
    font-family: 'Amiri', serif;
    font-style: italic;
    font-size: 2.8rem;
    line-height: 1.3;
    color: #ffffff;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

.landing-form {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.landing-input-group {
    position: relative;
    width: 100%;
}

.landing-input-main {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #e5dedb;
    color: #c9211e;
    font-family: 'Amiri', serif;
    font-style: italic;
    font-size: 1.6rem;
    text-align: center;
    padding: 6px 4px;
    outline: none;
    transition: border-color 0.3s ease;
}

.landing-input-main::placeholder {
    color: #c9211e;
    opacity: 1;
    font-style: italic;
}

.landing-input-main:focus {
    border-bottom-color: var(--gold-bright);
}

.landing-sub-inputs {
    width: 60%;
    align-self: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 6px;
}

.landing-input-sub {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #9b99a2;
    color: #ffffff;
    font-family: 'Amiri', serif;
    font-style: italic;
    font-size: 1.1rem;
    text-align: left;
    padding: 4px 2px;
    outline: none;
    transition: border-color 0.3s ease;
}

.landing-input-sub::placeholder {
    color: #9b99a2;
    opacity: 0.85;
    font-style: italic;
}

#inputName {
    color: #c9211e;
}

#inputName::placeholder {
    color: #c9211e;
    opacity: 1;
    font-style: italic;
}

.landing-input-sub:focus {
    border-bottom-color: var(--gold-bright);
}

/* ----------------------------------------------------------------------------
 * LANDING PAGE 1: ENTER CARD BUTTON (RIGHT)
 * ------------------------------------------------------------------------- */
.landing-card-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.landing-enter-btn {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    outline: none;
    transition: transform 0.3s ease, filter 0.3s ease;
    display: inline-block;
}

.landing-enter-btn:hover {
    transform: scale(1.03) translateY(-3px);
    filter: drop-shadow(0 0 25px rgba(231, 170, 81, 0.4));
}

.landing-enter-gif-img {
    max-width: 425px;
    width: 100%;
    height: auto;
    display: block;
}

/* ----------------------------------------------------------------------------
 * LANDING PAGE 2: FULLSCREEN KEYHOLE & POET ALIGNMENT
 * ------------------------------------------------------------------------- */
.landing2-body {
    padding: 0;
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background: #000000;
}

.landing2-container {
    width: 100vw;
    max-width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: stretch;
    gap: 0;
}

.landing2-left-col {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.keyhole-viewport {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
}

/* Keyhole Wooden Overlay spreading over entire screen height */
.keyhole-overlay-aperture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 2;
    pointer-events: none;
}

/* Sword girl underlay: head in keyhole circle, blade in keyhole slot */
.keyhole-underlay-image {
    position: absolute;
    top: 49%;
    left: 58%;
    transform: translate(-50%, -49%);
    height: 82%;
    width: auto;
    max-width: none;
    object-fit: contain;
    z-index: 1;
}

/* ----------------------------------------------------------------------------
 * LANDING PAGE 2: CONFIRMATION, COUNTER & ENTER SITE (RIGHT)
 * ------------------------------------------------------------------------- */
.landing2-right-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    height: 100vh;
    background: #000000;
}

.landing2-recorded-msg {
    font-family: 'Amiri', serif;
    font-size: 1.7rem;
    color: #ffffff;
    line-height: 1.35;
    text-align: center;
    margin-bottom: 4px;
}

.landing2-watermark-name {
    font-family: 'Amiri', serif;
    font-style: italic;
    font-size: 1.4rem;
    color: #1a1a1a;
    margin: 8px 0 12px;
    user-select: none;
}

.landing2-you-are {
    font-family: 'Amiri', serif;
    font-size: 1.6rem;
    color: #ffffff;
    margin-bottom: 4px;
}

.landing2-visitor-title {
    font-family: 'Perandory', serif;
    font-size: 2.6rem;
    color: #ffffff;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    font-weight: normal;
}

/* ----------------------------------------------------------------------------
 * REALISTIC 3D MECHANICAL ROLLING DRUM ODOMETER
 * ------------------------------------------------------------------------- */
.odometer-drum-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.odometer-chassis {
    background: linear-gradient(180deg, #1c1c1c 0%, #0a0a0a 100%);
    padding: 4px;
    border-radius: 6px;
    border: 1px solid #333333;
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.95),
        inset 0 1px 1px rgba(255,255,255,0.2),
        inset 0 -1px 1px rgba(0,0,0,0.8);
    display: inline-flex;
}

.odometer-drum-frame {
    position: relative;
    display: inline-flex;
    background: #000000;
    border: 2px solid #000000;
    border-radius: 3px;
    box-shadow: 
        inset 0 6px 14px rgba(0,0,0,0.98),
        inset 0 -6px 14px rgba(0,0,0,0.98);
    overflow: hidden;
}

/* Diagonal Specular Glass Window Glare */
.odometer-glass-glare {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 5;
    background: linear-gradient(
        125deg,
        rgba(255,255,255,0.25) 0%,
        rgba(255,255,255,0.08) 32%,
        rgba(255,255,255,0.0) 45%,
        rgba(255,255,255,0.04) 100%
    );
}

.odometer-drum-cell {
    width: 38px;
    height: 64px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        180deg,
        #3a3a3a 0%,
        #6e6e6e 6%,
        #cac6bd 20%,
        #fbfaf8 48%,
        #fbfaf8 52%,
        #cac6bd 80%,
        #6e6e6e 94%,
        #3a3a3a 100%
    );
    border-right: 2px solid #000000;
    display: flex;
    justify-content: center;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.4);
}

.odometer-drum-cell:last-child {
    border-right: none;
}

/* 3D Top Cylinder Drum Shadow & Bevel Curve */
.odometer-drum-cell::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 14px;
    background: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 70%, transparent 100%);
    z-index: 3;
    pointer-events: none;
}

/* 3D Bottom Cylinder Drum Shadow & Bevel Curve */
.odometer-drum-cell::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 14px;
    background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 70%, transparent 100%);
    z-index: 3;
    pointer-events: none;
}

/* Rotating Number Ribbon */
.odometer-drum-ribbon {
    display: flex;
    flex-direction: column;
    width: 100%;
    transform: translateY(0px);
    will-change: transform;
    z-index: 1;
}

.odometer-drum-ribbon span {
    height: 64px;
    line-height: 64px;
    font-family: 'Arial Black', -apple-system, sans-serif;
    font-size: 2.1rem;
    font-weight: 900;
    color: #000000;
    text-align: center;
    letter-spacing: -1px;
    text-shadow: 0 1px 0 rgba(255,255,255,0.7);
    display: block;
    user-select: none;
}

/* Enter Site Button & Underline */
.landing2-enter-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 380px;
    margin-top: 15px;
}

.btn-enter-site {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-family: 'Perandory', serif;
    font-size: 3.1rem;
    background: linear-gradient(180deg, #dd7b65 0%, #f9bba3 25%, #cb470b 55%, #873f1e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 2px;
    transition: var(--transition-fast);
    text-decoration: none;
    letter-spacing: 1px;
    line-height: 1.1;
    font-weight: normal;
}

.btn-enter-site:hover {
    transform: scale(1.04);
    filter: brightness(1.25);
}

.landing2-red-line {
    width: 100%;
    height: 1px;
    background-color: #ba1a2b;
    margin-top: 4px;
}

/* ----------------------------------------------------------------------------
 * REVISION 2: SINGLE LANDING PAGE (V2)
 * ------------------------------------------------------------------------- */
.landing-v2-body {
    background-color: #000000;
    background-image: url('../media/landing-keyhole-bg.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.landing-v2-container {
    width: 100%;
    max-width: 1440px;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    margin: 0 auto;
    padding: 20px 40px;
    box-sizing: border-box;
}

.landing-v2-left {
    min-height: 100px;
    pointer-events: none;
}

.landing-v2-keyhole-viewport {
    display: none;
}

.landing-v2-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-left: 20px;
    z-index: 5;
    text-align: center;
}

.landing-v2-content-card {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
}

.landing-v2-inquiry {
    font-family: 'Amiri', serif;
    font-size: 2.55rem;
    line-height: 1.35;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
    text-align: center;
    width: 100%;
}

.landing-inquiry-line {
    display: block;
}

.landing-inquiry-line.italic-line {
    font-style: italic;
}

.landing-v2-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26px;
    width: 100%;
}

.landing-v2-input-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.landing-v2-input-wrap.answer-wrap {
    width: 390px;
    max-width: 100%;
}

.landing-v2-input-wrap.name-wrap {
    width: 270px;
    max-width: 100%;
}

.landing-v2-input {
    background: transparent;
    border: none;
    outline: none;
    font-family: 'Amiri', serif;
    font-style: italic;
    color: #c9211e;
    font-size: 2.15rem;
    padding: 6px 0;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.landing-v2-input.input-answer {
    font-size: 2.15rem;
}

.landing-v2-input.input-name {
    font-size: 2.15rem;
}

.landing-v2-input::placeholder {
    color: #c9211e;
    opacity: 1;
    font-style: italic;
    font-family: 'Amiri', serif;
    font-size: 2.15rem;
    text-align: center;
}

.landing-v2-line {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.65);
    margin-top: 2px;
    transition: background-color 0.3s ease, height 0.3s ease;
}

.landing-v2-input:focus + .landing-v2-line {
    background-color: #ffffff;
    height: 1.5px;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
}

/* Remembered Answer Status Badge */
.landing-remembered-status {
    background: rgba(223, 168, 79, 0.08);
    border: 1px solid rgba(223, 168, 79, 0.35);
    border-radius: 6px;
    padding: 10px 18px;
    margin-bottom: 22px;
    color: #ffe499;
    font-family: 'Amiri', serif;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-shadow: 0 0 10px rgba(223, 168, 79, 0.4);
    letter-spacing: 0.5px;
    animation: fadeInGlow 0.5s ease-out;
}

.landing-remembered-status .remembered-fleur {
    color: #dfa84f;
    font-size: 1.15rem;
}

.landing-remembered-status em {
    color: #ffffff;
    font-style: italic;
}

/* Unified Sword GIF + ENTER Button (Acts as one unified clickable element) */
.landing-v2-action-block,
.landing-v2-unified-btn {
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    width: 390px;
    max-width: 100%;
    margin-top: 6px;
    cursor: pointer;
    outline: none;
    text-align: right;
    transition: transform 0.25s ease;
}

.landing-v2-unified-btn:hover {
    transform: scale(1.02);
}

.landing-v2-unified-btn:hover .landing-v2-sword-gif {
    filter: drop-shadow(0 0 14px rgba(223, 168, 79, 0.75)) drop-shadow(0 0 8px rgba(186, 26, 43, 0.6));
}

.landing-v2-unified-btn:hover .landing-v2-btn-enter {
    color: #f7ca78;
    transform: scale(1.04);
    filter: drop-shadow(0 0 16px rgba(231, 170, 81, 0.8));
}

.landing-v2-unified-btn:active {
    transform: scale(0.98);
}

.landing-v2-sword-box {
    width: 100%;
    display: flex;
    justify-content: center;
}

.landing-v2-sword-gif {
    width: 100%;
    max-width: 380px;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 8px rgba(186, 26, 43, 0.3));
    transition: filter 0.25s ease;
}

.landing-v2-enter-box {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.landing-v2-btn-enter {
    display: inline-block;
    background: transparent;
    border: none;
    font-family: 'Perandory', 'Cinzel', serif;
    font-size: 2.1rem;
    letter-spacing: 2px;
    color: #dfa84f;
    cursor: pointer;
    padding: 0;
    text-shadow: 0 0 12px rgba(223, 168, 79, 0.35);
    transition: transform 0.25s ease, filter 0.25s ease, color 0.25s ease;
}

.landing-v2-btn-enter:hover {
    color: #f7ca78;
    transform: scale(1.04);
    filter: drop-shadow(0 0 16px rgba(231, 170, 81, 0.7));
}

.landing-reset-link {
    color: #777788;
    font-family: 'Amiri', serif;
    font-size: 0.88rem;
    font-style: italic;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.landing-reset-link:hover {
    color: #e6283b;
    text-decoration: underline;
}

.landing-unlocked-link {
    color: #dfa84f;
    font-family: 'Amiri', serif;
    font-size: 0.95rem;
    text-decoration: none;
    border-bottom: 1px dashed #dfa84f;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.landing-unlocked-link:hover {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

/* Mobile keyhole element hidden on desktop */
.landing-mobile-keyhole-img {
    display: none;
}

/* ----------------------------------------------------------------------------
 * RESPONSIVE RULES (MOBILE & TABLET)
 * ------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .landing-v2-body {
        background-color: #000000;
        background-image: none;
        align-items: center;
        justify-content: flex-start;
        padding: 0 0 40px;
        min-height: 100vh;
    }

    .landing-v2-container {
        grid-template-columns: 1fr;
        padding: 0 20px 40px;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        box-sizing: border-box;
    }

    .landing-v2-left {
        display: flex;
        justify-content: center;
        align-items: flex-end;
        width: 100%;
        max-width: 440px;
        margin: 0 auto;
        padding-top: 15px;
        min-height: auto;
    }

    .landing-mobile-keyhole-img {
        display: block;
        width: 100%;
        max-width: 380px;
        height: auto;
        max-height: 44vh;
        object-fit: contain;
        object-position: bottom center;
        filter: drop-shadow(0 0 25px rgba(231, 170, 81, 0.2));
    }

    .landing-v2-right {
        padding-left: 0;
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .landing-v2-content-card {
        align-items: center;
        text-align: center;
        gap: 24px;
        width: 100%;
        max-width: 400px;
    }

    .landing-v2-inquiry {
        font-size: 2.15rem;
        line-height: 1.35;
        text-align: center;
    }

    .landing-v2-form {
        align-items: center;
        gap: 22px;
        width: 100%;
    }

    .landing-v2-input-wrap.answer-wrap {
        width: 100%;
        max-width: 360px;
    }

    .landing-v2-input-wrap.name-wrap {
        width: 100%;
        max-width: 250px;
    }

    .landing-v2-input {
        font-size: 1.95rem;
        text-align: center;
    }

    .landing-v2-input.input-answer,
    .landing-v2-input.input-name {
        font-size: 1.95rem;
    }

    .landing-v2-input::placeholder {
        font-size: 1.95rem;
    }

    .landing-v2-action-block,
    .landing-v2-unified-btn {
        width: 100%;
        max-width: 340px;
        align-items: center;
        margin-top: 6px;
    }

    .landing-v2-sword-box {
        justify-content: center;
    }

    .landing-v2-sword-gif {
        max-width: 320px;
    }

    .landing-v2-enter-box {
        justify-content: center;
    }

    .landing-v2-btn-enter {
        font-size: 2.2rem;
    }
}

@media (max-width: 440px) {
    .landing-mobile-keyhole-img {
        max-height: 38vh;
        max-width: 320px;
    }

    .landing-v2-inquiry {
        font-size: 1.9rem;
    }

    .landing-v2-input,
    .landing-v2-input.input-answer,
    .landing-v2-input.input-name {
        font-size: 1.7rem;
    }

    .landing-v2-input::placeholder {
        font-size: 1.7rem;
    }

    .landing-v2-sword-gif {
        max-width: 280px;
    }
}

    .landing-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .landing-poem-quote {
        font-size: 2rem;
    }

    .landing-sub-inputs {
        width: 100%;
    }

    .landing-enter-gif-img {
        max-width: 280px;
    }
}

/* ============================================================================
 * REVISION 2: POP-UP CONFIRMATION MODAL (home.php)
 * ========================================================================= */
body.modal-open {
    overflow: hidden;
}

body.modal-open > *:not(#entryModalOverlay) {
    filter: blur(10px);
    -webkit-filter: blur(10px);
    transition: filter 0.35s ease;
    pointer-events: none;
    user-select: none;
}

.entry-modal-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

.entry-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.entry-modal-card {
    position: relative;
    background: #dfdcd6;
    border: 1.5px solid #c9211e;
    border-radius: 22px;
    width: 100%;
    max-width: 460px;
    margin: auto;
    padding: 48px 36px 42px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    transform: scale(0.92);
    transition: transform 0.38s cubic-bezier(0.18, 1.15, 0.32, 1);
}

.entry-modal-overlay.active .entry-modal-card {
    transform: scale(1);
}

.entry-modal-title {
    font-family: 'Amiri', serif;
    font-size: 1.75rem;
    color: #0b1226;
    line-height: 1.35;
    margin-bottom: 24px;
}

.entry-modal-youare {
    font-family: 'Amiri', serif;
    font-size: 1.35rem;
    color: #111111;
    margin-bottom: 6px;
}

.entry-modal-visitor-label {
    font-family: 'Perandory', 'Cinzel', serif;
    font-size: 2.5rem;
    color: #111111;
    font-weight: normal;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.modal-odometer {
    margin-bottom: 24px;
}

.entry-modal-qmark-box {
    margin-bottom: 20px;
}

.entry-modal-qmark-img {
    width: 58px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 3px 8px rgba(0,0,0,0.25));
}

.entry-modal-subtext {
    font-family: 'Amiri', serif;
    font-size: 1.18rem;
    color: #222222;
    line-height: 1.45;
    margin-bottom: 20px;
}

.entry-modal-email-form {
    width: 100%;
    max-width: 320px;
    margin: 0 auto 12px;
    position: relative;
}

.entry-modal-input-wrap {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

.entry-modal-email-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-family: 'Amiri', serif;
    font-style: italic;
    color: #c9211e;
    font-size: 1.35rem;
    padding: 4px 32px 4px 0;
    box-sizing: border-box;
}

.entry-modal-email-input::placeholder {
    color: #c9211e;
    opacity: 0.95;
    font-style: italic;
    font-family: 'Amiri', serif;
    font-size: 1.35rem;
}

.entry-modal-submit-arrow {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #c9211e;
    font-size: 1.55rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: transform 0.2s ease, color 0.2s ease;
}

.entry-modal-submit-arrow:hover {
    transform: translateY(-50%) translateX(3px);
    color: #871412;
}

.entry-modal-line {
    width: 100%;
    height: 1px;
    background-color: #c9211e;
    margin-top: 2px;
}

.entry-modal-feedback {
    font-family: 'Amiri', serif;
    font-size: 0.9rem;
    color: #0b1226;
    margin-top: 8px;
    min-height: 20px;
    transition: all 0.3s ease;
}

.entry-modal-feedback.success {
    color: #1a7431;
    font-weight: bold;
}

.entry-modal-feedback.error {
    color: #ba1a2b;
}

.entry-modal-close-btn {
    position: absolute;
    bottom: 18px;
    right: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    line-height: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.entry-modal-close-btn:hover {
    transform: scale(1.18);
    opacity: 0.85;
}

.entry-modal-close-img {
    width: 24px;
    height: 24px;
    display: block;
}

@media (max-width: 480px) {
    .entry-modal-card {
        padding: 34px 22px 30px;
    }

    .entry-modal-title {
        font-size: 1.35rem;
    }

    .entry-modal-visitor-label {
        font-size: 1.85rem;
    }

    .entry-modal-subtext {
        font-size: 0.92rem;
    }
}
