    @import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

    :root {
        --cool-search-bg: #f9f9ff;
        --cool-search-border: #d1d1e0;
    }

    * {
        font-family: "Josefin Sans";
        
    }

    .blue {
        color: #2d2d6a !important;
    }

    .white {
        color: white !important;
    }

    .tooltip {
    position: absolute;
    bottom: 100%;               /* place tooltip above input */
    right: 0;                   /* align to right edge of input */
    transform: translateX(150px);/* move tooltip further to the right */
    margin-bottom: 6px;         /* space above input */
    font-size: 0.85rem;
    background: #2d2d6a;
    color: #fff;
    padding: 4px 10px;
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    white-space: nowrap;
    z-index: 30;
    }

    .site-footer {
    text-align: center;
    font-size: 0.9rem;
    color: #777;
    padding: 1.5rem 0;
    background-color: #f0f0f5;
    margin-top: 2rem;
    }

    .site-footer p {
    margin: 0;
    }


    .searchWrapper:hover .tooltip {
        opacity: 1;
    }

    body {
        margin: 0;
        background: #f7f7fa;
        color: #222;
    }

    .subtitle {
        font-size: 1.25rem;
    }

    #header {
        background: #ffffff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04);
        padding: 2rem 0 1rem 0;
        text-align: center;
        position: sticky;
        top: 0;
        z-index: 10;
    }
    #header h1 {
        font-family: 'IBM Plex Serif', serif;
        font-size: 3rem;
        margin: 0 0 0.5rem 0;
        letter-spacing: 2px;
        color: #2d2d6a;
    }
    .search-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        margin-top: 10px;
    }
    #search-bar {
        width: 400px;
        padding: 0.7rem 1rem;
        border: 1px solid var(--cool-search-border);
        border-radius: 25px;
        font-size: 1.1rem;
        outline: none;
        transition: border 0.2s;
        background-color: var(--cool-search-bg);
        transform: translateX(50px);
    }
    #search-bar:focus {
        border: 1.5px solid #2d2d6a;
    }

    body {
        user-select: none;
    }

    .my {
        display: flex;
        align-items: center;
    }

    .buttons {
        display: flex;
        margin-left: 20px;
        transform: translateX(50px);
    }

    .buttons button {
        height: 40px;
        width: 40px;
        cursor: pointer;
        background-color: var(--cool-search-bg);
        border: 1px solid var(--cool-search-border);
        font-size: 1rem;
        user-select: none;
    }

    .day {
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
        border-right: 0.5px;
    }
    
    .dark {
        border-color: black !important;
        background-color: grey !important;
    }

    .night {
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
        border-left: 0.5px;
    }

    

    #suggestions {
        list-style: none;
        margin: 0;
        padding: 0;
        position: absolute;
        top: 110%;
        left: 0;
        right: 0;
        background: #fff;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 4px 16px rgba(44,44,100,0.08);
        z-index: 20;
        max-height: 220px;
        overflow-y: auto;
        display: none;
    }
    #suggestions li {
    padding: 0.7rem 1rem;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease; /* 👈 added this line */
    border-radius: 8px;
    margin-bottom: 2px;
    }

    #suggestions li:hover {
        background: #f0f0ff;
    }
    .suggestion-anime {
        background: linear-gradient(90deg, #e0c3fc 0%, #8ec5fc 100%);
        color: #2d2d6a;
    }
    .suggestion-religious {
        background: linear-gradient(90deg, #ffe29f 0%, #ffa99f 100%);
        color: #7a3e00;
    }
    .suggestion-national {
        background: linear-gradient(90deg, #b2fefa 0%, #0ed2f7 100%);
        color: #005a7a;
    }
    .suggestion-military {
        background: linear-gradient(90deg, #c2e59c 0%, #64b678 100%);
        color: #234d20;
    }
    .suggestion-global {
        background: linear-gradient(90deg, #fbc2eb 0%, #a6c1ee 100%);
        color: #3a3a6a;
    }
    .suggestion-anime:hover {
        background: #3b2c4a !important;
        color: #fff !important;
    }
    .suggestion-religious:hover {
        background: #7a3e00 !important;
        color: #fff !important;
    }
    .suggestion-national:hover {
        background: #005a7a !important;
        color: #fff !important;
    }
    .suggestion-military:hover {
        background: #234d20 !important;
        color: #fff !important;
    }
    .suggestion-global:hover {
        background: #3a3a6a !important;
        color: #fff !important;
    }
    .events-grid {
        display: block;
        padding: 2rem 2vw;
        max-width: 1200px;
        margin: 0 auto 1.5rem auto;
    }

    .category-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
        margin-bottom: 1.5rem;
    }

    .event-card {
        background: #fff;
        border-radius: 18px;
        box-shadow: 0 2px 12px rgba(44,44,100,0.07);
        padding: 1.5rem 1.2rem;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        transition: box-shadow 0.18s, transform 0.18s cubic-bezier(.4,1.5,.5,1);
        border-left: 5px solid #2d2d6a;
    }

    .changeShadowBlack {
        border-left: 5px solid black !important;
    }

    .changeShadowBlue {
        border-left: 5px solid #2d2d6a !important;
    }
    .event-card:hover {
        box-shadow: 0 6px 24px rgba(44,44,100,0.13);
        transform: scale(1.04);
        z-index: 2;
    }
    .event-title {
        font-size: 1.3rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        color: #2d2d6a;
    }
    .event-date {
        font-size: 1.1rem;
        color: #6a6a8a;
        margin-bottom: 0.7rem;
    }
    .event-type {
        font-size: 0.95rem;
        background: #e6e6ff;
        color: #2d2d6a;
        border-radius: 8px;
        padding: 0.2rem 0.7rem;
        margin-bottom: 0.5rem;
        font-weight: 500;
    }
    .event-category {
        font-size: 1.5rem;
        font-weight: 700;
        color: #2d2d6a;
        margin: 2.5rem 0 1rem 0.2rem;
        letter-spacing: 1px;
        font-family: 'IBM Plex Serif', serif;
    }
    .all-events-heading {
        display: block;
        font-size: 2rem;
        font-weight: 700;
        color: #2d2d6a;
        margin: 2.5rem 0 1.5rem 0.2rem;
        letter-spacing: 1px;
        font-family: 'IBM Plex Serif', serif;
        text-align: left;
    }
    .section-heading {
        display: block;
        font-size: 2.5rem;
        font-weight: 700;
        color: #2d2d6a;
        margin: 2.5rem 0 1.5rem 0.2rem;
        letter-spacing: 1px;
        font-family: 'IBM Plex Serif', serif;
        text-align: left;
    }
    .hyped-date {
        background: linear-gradient(90deg, #ffb347 0%, #ffcc33 100%);
        color: #2d2d6a !important;
        font-weight: bold;
        border-radius: 8px;
        padding: 0.25em 0.8em;
        box-shadow: 0 2px 8px rgba(255, 204, 51, 0.15);
        transition: background 0.2s;
        text-decoration: none;
        display: inline-block;
        margin-bottom: 0.5em;
    }
    .hyped-date:hover {
        background: linear-gradient(90deg, #ffe066 0%, #ffd700 100%);
        color: #1a1a40 !important;
    }
    .event-date-anime {
        background: linear-gradient(90deg, #e0c3fc 0%, #8ec5fc 100%);
        color: #2d2d6a;
        font-weight: bold;
        border-radius: 8px;
        padding: 0.25em 0.8em;
        margin-bottom: 0.5em;
        display: inline-block;
    }
    .event-date-religious {
        background: linear-gradient(90deg, #ffe29f 0%, #ffa99f 100%);
        color: #7a3e00;
        font-weight: bold;
        border-radius: 8px;
        padding: 0.25em 0.8em;
        margin-bottom: 0.5em;
        display: inline-block;
    }
    .event-date-national {
        background: linear-gradient(90deg, #b2fefa 0%, #0ed2f7 100%);
        color: #005a7a;
        font-weight: bold;
        border-radius: 8px;
        padding: 0.25em 0.8em;
        margin-bottom: 0.5em;
        display: inline-block;
    }
    .event-date-military {
        background: linear-gradient(90deg, #c2e59c 0%, #64b678 100%);
        color: #234d20;
        font-weight: bold;
        border-radius: 8px;
        padding: 0.25em 0.8em;
        margin-bottom: 0.5em;
        display: inline-block;
    }
    .event-date-global {
        background: linear-gradient(90deg, #fbc2eb 0%, #a6c1ee 100%);
        color: #3a3a6a;
        font-weight: bold;
        border-radius: 8px;
        padding: 0.25em 0.8em;
        margin-bottom: 0.5em;
        display: inline-block;
    }
    .event-card-anime {
        background: linear-gradient(90deg, #e0c3fc 0%, #8ec5fc 100%);
    }
    .event-card-religious {
        background: linear-gradient(90deg, #ffe29f 0%, #ffa99f 100%);
    }
    .event-card-national {
        background: linear-gradient(90deg, #b2fefa 0%, #0ed2f7 100%);
    }
    .event-card-military {
        background: linear-gradient(90deg, #c2e59c 0%, #64b678 100%);
    }
    .event-card-global {
        background: linear-gradient(90deg, #fbc2eb 0%, #a6c1ee 100%);
    }
    @media (max-width: 600px) {
        .events-grid {
            padding: 1rem 0.5rem;
        }
        .category-grid {
            grid-template-columns: 1fr;
            padding: 0;
        }
        #header h1 {
            font-size: 2rem;
        }
        .event-card {
            padding: 1rem 0.7rem;
        }
    }
