/* Home page styles. */

    html, body {
        overflow-x: hidden;
        background: var(--kiosk-color-page);
    }

    .kiosk-home {
        width: 100vw;
        min-height: 100vh;
        margin-left: calc(-50vw + 50%);
        padding: 50px 28px 150px;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        font-family: 'Manrope', 'Segoe UI', sans-serif;
        color: var(--k-ink);
        overflow: hidden;
    }

    .kiosk-hero {
        text-align: center;
        margin-bottom: 56px;
        z-index: 1;
    }

    .kiosk-top-mark {
        width: 44px;
        height: 6px;
        border-radius: 999px;
        background: var(--k-green);
        margin: 0 auto 18px;
    }

    .kiosk-brand {
        margin: 0 0 10px;
        font-size: clamp(2rem, 3vw, 2.7rem);
        font-weight: 800;
        letter-spacing: -0.5px;
    }

    .kiosk-brand .brand-accent {
        color: var(--k-green);
    }

    .kiosk-subtitle {
        margin: 0;
        font-size: 1rem;
        color: var(--k-muted);
    }

    .kiosk-cards {
        width: min(980px, 100%);
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 26px;
        z-index: 1;
    }

    .kiosk-card {
        background: var(--k-card);
        border: 1px solid var(--k-line);
        border-radius: 26px;
        padding: 34px 30px 26px;
        text-decoration: none;
        color: inherit;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 14px;
        /* box-shadow: var(--k-shadow); */
        transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
        animation: cardIn 0.6s ease both;
    }
    .kiosk-card { 
        width: 90%; 
        max-width: 320px; 
        padding: 40px 24px 32px; 
    }

    .kiosk-card:nth-child(2) { animation-delay: 0.08s; }
    .kiosk-card:nth-child(3) { animation-delay: 0.16s; }

    .kiosk-card:hover,
    .kiosk-card:focus {
        transform: translateY(-6px);
		border: 1px solid var(--k-green);
        box-shadow: 0 25px 55px rgba(2, 255, 27, 0.01);
        outline: none;
    }

    .kiosk-card:active {
        transform: translateY(-2px) scale(0.99);
    }

    .card-icon {
        width: 72px;
        height: 72px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(24, 169, 106, 0.12);
        color: var(--k-green);
        font-size: 28px;
    }

    .card-title {
        margin: 0;
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--k-ink);
    }

    .card-desc {
        margin: 0;
        font-size: 0.9rem;
        color: var(--k-muted);
        line-height: 1.5;
    }

    .card-arrow {
        margin-top: 16px;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(34, 197, 94, 0.12);
        color: var(--k-green);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        /* align-self: flex-end; */
    }

    .kiosk-footer-bar {
        position: fixed;
        left: 50%;
        bottom: 18px;
        transform: translateX(-50%);
        width: min(1080px, calc(100% - 44px));
        background: linear-gradient(135deg, #0f172a, #111c37 60%, #0b1226);
        color: #e5e7eb;
        padding: 16px 22px;
        border-radius: 18px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-shadow: 0 25px 60px rgba(15, 23, 42, 0.05);
        z-index: 2;
    }

    .kiosk-time-row {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 0.95rem;
    }

    .kiosk-time-row .kiosk-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--k-green);
        box-shadow: 0 0 0 4px rgba(24, 169, 106, 0.05);
    }

    .kiosk-time-row .kiosk-sep {
        color: rgba(255, 255, 255, 0.4);
    }

    .kiosk-help-btn {
        background: transparent;
        color: #f9fafb;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 12px;
        padding: 8px 16px;
        font-size: 0.85rem;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
        transition: border-color 0.2s ease, background 0.2s ease;
    }

    .kiosk-help-btn:hover {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.5);
    }

    @keyframes cardIn {
        from {
            opacity: 0;
            transform: translateY(14px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @media (max-width: 900px) {
        .kiosk-cards { grid-template-columns: 1fr; width: min(420px, 100%); }
        .kiosk-card { align-items: center; }
        .card-arrow { align-self: center; }
        .kiosk-footer-bar { position: static; transform: none; margin-top: 36px; width: 100%; }
        .kiosk-home { padding-bottom: 80px; }
    }
