:root {
    --header-font: 'Metamorphous', serif;
    --main-font: 'Akaya', serif;

    --body-color: #e8d7ff;
    --secondary-color: #ab6bff;
    --faded-color: #988fa4;
    --shadow-color: #260058;

    --bg-img: url(/img/background.png);
}


@font-face {
    font-family: "Akaya";
    src: url(/font/AkayaKanadaka.ttf);
}

@font-face {
    font-family: "Metamorphous";
    src: url(/font/Metamorphous.ttf);
}

@font-face {
    font-family: "Garfist";
    src: url(/font/Garfist.otf);
}

body {
    background-image: var(--bg-img);
    background-attachment: fixed;
    font-family: var(--main-font) !important;
    color: var(--body-color);
}

h1, h2, h3, h4, h5, h6, .name {
    font-family: var(--header-font);
    text-shadow: 1px 1px 1px var(--shadow-color);
    color: var(--secondary-color);
    font-size: .85em
}

p, .card-text {
    color: var(--body-color);
    font-family: var(--main-font);
    font-size: 1.1em;
    line-height: 120%;
}

p {
    margin-top: 0em !important;
    margin-bottom: 0em !important;
}

.inline-image {
    float: left;
    width: 40%; 
    margin-right: 0.5rem; 
    border-radius: 0px; 
    object-fit: cover;
    box-shadow: 1px 1px 1px var(--shadow-color);
}

a {
    color: var(--secondary-color) !important;
    font-weight: bold;
}

a:hover {
    text-decoration: none !important;
    color: var(--body-color) !important;
    font-style: italic;
}

.pronouns {
    color: var(--faded-color);
    font-style: italic;
}

.card.frost {
    background: rgba(8, 4, 18, 0.45);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-top: none;
    border-radius: 0px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.card.frost::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    z-index: 3;
    transition: opacity 0.4s ease;
}

.card.frost::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
            #3a0ca3, #7209b7, #dc143c,
            #e63946, #7209b7, #4361ee, #3a0ca3);
    background-size: 200% 100%;
    z-index: 4;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: frost-gradient-slide 3s linear infinite paused;
}

.card.frost:hover::before {
    opacity: 0;
}

.card.frost:hover::after {
    opacity: 1;
    animation-play-state: running;
}

.card.frost:hover {
    transform: translateY(-4px);
    box-shadow:
        0 16px 60px rgba(0, 0, 0, 0.65),
        0 0 30px rgba(114, 9, 183, 0.12),
        0 0 30px rgba(220, 20, 60, 0.08);
}

@keyframes frost-gradient-slide {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 200% 0%;
    }
}

.search-wrapper {
    position: relative;
    width: 260px;
}

.search-wrapper .search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(180, 130, 255, 0.5);
    pointer-events: none;
    font-size: 0.8rem;
}

.search-wrapper input[type="search"] {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    font-family: var(--main-font);
    padding: 0.4rem 0.75rem 0.4rem 2.1rem;
    transition: border-color 0.25s ease, background 0.25s ease;
    outline: none;
}

.search-wrapper input[type="search"]:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(180, 130, 255, 0.35);
}

.search-wrapper input[type="search"]::placeholder {
    color: rgba(180, 160, 210, 0.35);
}

.search-wrapper input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

#no-results {
    display: none;
    color: rgba(180, 160, 210, 0.45);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}
.card-col.hidden {
    display: none;
}