/* ------------------------------

   Koi Pond

   ------------------------------ */



:root {

    --pond-background: #f3fbff;

    --pond-blue: #a9ddf5;

    --pond-blue-dark: #65b6dc;



    --sakura-pink: #f7b8d0;

    --sakura-light: #fde4ee;



    --card: #ffffff;

    --text: #405568;

    --text-light: #708797;



    --shadow: 0 10px 35px rgba(78, 146, 177, 0.12);

}





/* ------------------------------

   Base

   ------------------------------ */



* {

    box-sizing: border-box;

}



html {

    scroll-behavior: smooth;

}



body {

    margin: 0;



    font-family:

        -apple-system,

        BlinkMacSystemFont,

        "Segoe UI",

        sans-serif;



    color: var(--text);

    background: var(--pond-background);



    line-height: 1.7;

}





/* ------------------------------

   Header

   ------------------------------ */



.site-header {

    background: rgba(255, 255, 255, 0.92);

    border-bottom: 2px solid var(--sakura-light);

}



.nav-container {

    max-width: 1000px;

    margin: 0 auto;

    padding: 18px 24px;



    display: flex;

    align-items: center;

    justify-content: space-between;

}



.site-logo {

    display: flex;

    align-items: center;

    gap: 9px;



    color: var(--text);

    text-decoration: none;



    font-size: 1.25rem;

    font-weight: 700;

}



.logo-fish {

    font-size: 1.45rem;

}



.site-nav {

    display: flex;

    gap: 26px;

}



.site-nav a {

    color: var(--text-light);

    text-decoration: none;

    font-weight: 600;



    transition:

        color 0.2s ease,

        transform 0.2s ease;

}



.site-nav a:hover {

    color: var(--pond-blue-dark);

    transform: translateY(-1px);

}





/* ------------------------------

   Main Page

   ------------------------------ */



.page-wrapper {

    position: relative;



    min-height: 70vh;

    padding: 70px 24px 90px;



    overflow: hidden;



    background: linear-gradient(

        180deg,

        #f3fbff 0%,

        #eaf8ff 100%

    );

}



.content-card {

    position: relative;

    z-index: 2;



    max-width: 850px;

    margin: 0 auto;

    padding: 48px 55px;



    background: var(--card);



    border: 1px solid rgba(169, 221, 245, 0.6);

    border-radius: 24px;



    box-shadow: var(--shadow);

}





/* ------------------------------

   Markdown Content

   ------------------------------ */



.content-card h1 {

    margin-top: 0;

    margin-bottom: 24px;



    color: var(--text);



    font-size: 2.4rem;

    line-height: 1.2;

}



.content-card h1::after {

    content: "";



    display: block;



    width: 65px;

    height: 5px;

    margin-top: 14px;



    background: var(--sakura-pink);

    border-radius: 999px;

}



.content-card h2 {

    margin-top: 42px;



    color: var(--pond-blue-dark);



    font-size: 1.45rem;

}



.content-card h3 {

    margin-top: 30px;

    color: var(--text);

}



.content-card p,

.content-card li {

    color: var(--text);

}



.content-card a {

    color: var(--pond-blue-dark);

    font-weight: 600;

}



.content-card a:hover {

    color: #479bc2;

}



.content-card hr {

    margin: 40px 0;



    border: 0;

    border-top: 2px solid var(--sakura-light);

}



.content-card blockquote {

    margin: 28px 0;

    padding: 15px 20px;



    background: var(--sakura-light);



    border-left: 5px solid var(--sakura-pink);

    border-radius: 8px;

}





/* ------------------------------

   Discord Button

   ------------------------------ */



.content-card .discord-button {

    display: inline-flex;

    align-items: center;

    gap: 8px;



    margin-top: 16px;

    padding: 9px 16px;



    width: auto;



    background: #f8c8dc;

    color: #ffffff;



    text-decoration: none;

    font-size: 0.95rem;

    font-weight: 700;



    border-radius: 999px;



    box-shadow: 0 4px 12px rgba(248, 200, 220, 0.35);



    transition:

        transform 0.2s ease,

        background 0.2s ease,

        box-shadow 0.2s ease;

}



.discord-icon {

    display: inline-block;



    width: 18px;

    height: 18px;



    flex: 0 0 18px;



    background-color: #ffffff;



    -webkit-mask-image: url("discord.png");

    mask-image: url("discord.png");



    -webkit-mask-size: contain;

    mask-size: contain;



    -webkit-mask-position: center;

    mask-position: center;



    -webkit-mask-repeat: no-repeat;

    mask-repeat: no-repeat;

}



.content-card .discord-button:hover {

    background: #f4b8d1;

    color: #ffffff;



    transform: translateY(-2px);



    box-shadow: 0 6px 16px rgba(248, 200, 220, 0.45);

}





/* ------------------------------

   Bubbles

   ------------------------------ */



.bubble {

    position: absolute;



    border: 2px solid rgba(101, 182, 220, 0.18);

    border-radius: 50%;



    background: rgba(255, 255, 255, 0.25);

}



.bubble-one {

    width: 90px;

    height: 90px;



    top: 70px;

    left: 7%;

}



.bubble-two {

    width: 35px;

    height: 35px;



    top: 190px;

    left: 12%;

}



.bubble-three {

    width: 120px;

    height: 120px;



    right: 5%;

    bottom: 100px;

}



.bubble-four {

    width: 45px;

    height: 45px;



    right: 13%;

    top: 110px;



    border-color: rgba(247, 184, 208, 0.3);

}





/* ------------------------------

   Pond Stones

   ------------------------------ */



.stones {

    position: absolute;

    z-index: 1;



    left: 4%;

    bottom: 35px;



    width: 170px;

    height: 90px;

}



.stone {

    position: absolute;

    display: block;



    border-radius: 50%;



    box-shadow:

        inset 0 -6px 10px rgba(64, 85, 104, 0.10),

        0 5px 10px rgba(64, 85, 104, 0.10);

}



.stone-one {

    width: 70px;

    height: 38px;



    left: 0;

    bottom: 0;



    background: #c4dce7;

    transform: rotate(8deg);

}



.stone-two {

    width: 60px;

    height: 35px;



    left: 50px;

    bottom: 4px;



    background: #e2cfdd;

    transform: rotate(-7deg);

}



.stone-three {

    width: 72px;

    height: 39px;



    left: 98px;

    bottom: 0;



    background: #bcd8df;

    transform: rotate(5deg);

}



.stone-four {

    width: 52px;

    height: 31px;



    left: 30px;

    bottom: 32px;



    background: #d9e8ec;

    transform: rotate(-3deg);

}



.stone-five {

    width: 58px;

    height: 32px;



    left: 78px;

    bottom: 34px;



    background: #f0cfdd;

    transform: rotate(10deg);

}





/* ------------------------------

   Footer

   ------------------------------ */



.site-footer {

    position: relative;



    background: var(--pond-blue);

    text-align: center;

}



.footer-wave {

    height: 20px;



    background: var(--sakura-light);



    border-radius: 50% 50% 0 0 / 100% 100% 0 0;

}



.footer-content {

    padding: 32px 24px 38px;

    color: var(--text);

}



.footer-content > span {

    font-size: 1.1rem;

    font-weight: 700;

}



.footer-content p {

    margin: 8px auto 0;



    max-width: 550px;



    font-size: 0.9rem;

}



.footer-credit {

    opacity: 0.75;

}





/* ------------------------------

   Mobile

   ------------------------------ */



@media (max-width: 650px) {



    .nav-container {

        flex-direction: column;

        gap: 12px;

    }



    .site-nav {

        gap: 20px;

    }



    .page-wrapper {

        padding: 35px 15px 60px;

    }



    .content-card {

        padding: 32px 24px;

        border-radius: 18px;

    }



    .content-card h1 {

        font-size: 2rem;

    }



    .bubble {

        opacity: 0.5;

    }

}



/* ==========================================

   NAVIGATION — SMALL SCREENS

   ========================================== */



.site-nav {

    flex-wrap: wrap;

    justify-content: center;

    row-gap: 8px;

}



@media (max-width: 650px) {

    .site-nav {

        gap: 10px 16px;

        font-size: 0.9rem;

    }

}





/* ==========================================

   FIH IN FILTER — 404 PAGE

   ========================================== */



.fih-error {

    text-align: center;

    padding: 10px 0 20px;

}



.filter-fih {

    display: block;

    width: 100%;

    max-width: 550px;

    height: auto;

    margin: 0 auto 25px;

}



.content-card .fih-error h1 {

    font-size: clamp(4rem, 12vw, 6rem);

    margin-bottom: 0;

}



.content-card .fih-error h1::after {

    margin: 14px auto 0;

}



.fih-error h2 {

    margin-top: 18px;

    color: var(--pond-blue-dark);

}



.fih-error p {

    max-width: 470px;

    margin: 20px auto;

}



.content-card .pond-button {

    display: inline-block;

    margin-top: 14px;

    padding: 12px 24px;

    background: var(--sakura-pink);

    color: var(--text);

    border-radius: 999px;

    text-decoration: none;

    font-weight: 700;

    box-shadow: var(--shadow);

    transition: transform 0.2s ease, background 0.2s ease;

}



.content-card .pond-button:hover {

    background: var(--sakura-light);

    color: var(--text);

    transform: translateY(-2px);

}





/* ==========================================

   KOI CATALOGUE

   ========================================== */



.koi-grid {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 20px;

    margin: 25px 0 45px;

}



.koi-card {

    min-width: 0;

    padding: 18px;

    background: linear-gradient(

        180deg,

        #ffffff 0%,

        #f3fbff 100%

    );

    border: 2px solid var(--sakura-light);

    border-radius: 20px;

    text-align: center;

    box-shadow: 0 5px 18px rgba(78, 146, 177, 0.08);

    transition: transform 0.2s ease, box-shadow 0.2s ease;

}



.koi-card:hover {

    transform: translateY(-4px);

    box-shadow: var(--shadow);

}



.koi-card img {

    display: block;

    width: 100%;

    height: 180px;

    object-fit: contain;

    margin: 0 auto 12px;

}



.content-card .koi-card h3 {

    margin: 0 0 10px;

    font-size: 1.2rem;

}



.koi-card p {

    font-size: 0.9rem;

    margin-bottom: 0;

}



.rarity {

    display: inline-block;

    padding: 4px 13px;

    border-radius: 999px;

    font-size: 0.8rem;

    font-weight: 700;

}



.rarity.common {

    background: #e7f0f4;

    color: #536d7b;

}



.rarity.uncommon {

    background: #fff0bb;

    color: #8a650e;

}



.rarity.rare {

    background: #e9ddff;

    color: #7653a8;

}



.rarity.limited {

    background: var(--sakura-light);

    color: #a54e77;

}



@media (max-width: 650px) {

    .koi-grid {

        grid-template-columns: 1fr;

        gap: 15px;

    }



    .koi-card img {

        height: 160px;

    }

}





/* ==========================================

   KOI CATALOGUE — FIH MUSEUM

   ========================================== */



.catalogue-intro {

    margin-bottom: 35px;

}



.catalogue-note {

    padding: 14px 18px;

    background: var(--sakura-light);

    border-radius: 14px;

    font-size: 0.95rem;

}



.catalogue-section {

    margin-top: 48px;

}



.catalogue-section > h2 {

    margin-bottom: 8px;

}



.koi-grid {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 22px;

    margin: 25px 0 45px;

}



.koi-card {

    min-width: 0;

    display: flex;

    flex-direction: column;

    align-items: center;

    padding: 20px;

    background: linear-gradient(

        180deg,

        #ffffff 0%,

        #f3fbff 100%

    );

    border: 2px solid var(--sakura-light);

    border-radius: 22px;

    text-align: center;

    box-shadow: 0 5px 18px rgba(78, 146, 177, 0.08);

    transition:

        transform 0.2s ease,

        box-shadow 0.2s ease;

}



.koi-card:hover {

    transform: translateY(-4px);

    box-shadow: var(--shadow);

}



.koi-art {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    height: 210px;

    padding: 10px;

    margin-bottom: 14px;

    background: rgba(169, 221, 245, 0.12);

    border-radius: 16px;

}



.koi-art img {

    display: block;

    max-width: 100%;

    max-height: 100%;

    width: auto;

    height: auto;

    object-fit: contain;

}



.content-card .koi-card h3 {

    margin: 0 0 10px;

    font-size: 1.25rem;

    line-height: 1.3;

}



.koi-card p {

    margin: 16px 0 0;

    font-size: 0.9rem;

    line-height: 1.6;

}



.rarity {

    display: inline-block;

    padding: 4px 14px;

    border-radius: 999px;

    font-size: 0.8rem;

    font-weight: 700;

}



.rarity.common {

    background: #e7f0f4;

    color: #536d7b;

}



.rarity.uncommon {

    background: #fff0bb;

    color: #8a650e;

}



.rarity.rare {

    background: #e9ddff;

    color: #7653a8;

}



.rarity.limited {

    background: var(--sakura-light);

    color: #a54e77;

}



.catalogue-future {

    margin-top: 50px;

    padding: 24px;

    background: var(--sakura-light);

    border-radius: 20px;

    text-align: center;

}



.catalogue-future h2 {

    margin-top: 0;

}



@media (max-width: 650px) {

    .koi-grid {

        grid-template-columns: 1fr;

        gap: 16px;

    }



    .koi-card {

        padding: 18px;

    }



    .koi-art {

        height: 190px;

    }



    .catalogue-future {

        padding: 20px 16px;

    }

}



/* ==========================================

   STAFF PAGE — POND KEEPERS

   ========================================== */



.staff-intro {

    margin-bottom: 36px;

}



.staff-intro p {

    color: var(--text-light);

}



.staff-section {

    margin-top: 44px;

}



.staff-section > h2 {

    margin-bottom: 20px;

}



.staff-card {

    min-width: 0;

    padding: 24px;

    background: linear-gradient(

        180deg,

        #ffffff 0%,

        #f3fbff 100%

    );

    border: 2px solid var(--sakura-light);

    border-radius: 22px;

    box-shadow: 0 5px 18px rgba(78, 146, 177, 0.08);

}



.staff-avatar {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 64px;

    height: 64px;

    margin-bottom: 14px;

    background: var(--sakura-light);

    border-radius: 50%;

    font-size: 1.9rem;

}



.content-card .staff-card h3 {

    margin: 0 0 4px;

    font-size: 1.3rem;

}



.staff-role {

    margin: 0;

    color: #a54e77 !important;

    font-size: 0.9rem;

    font-weight: 700;

}



.staff-creator {

    display: flex;

    align-items: flex-start;

    gap: 22px;

}



.staff-creator .staff-avatar {

    flex-shrink: 0;

    width: 84px;

    height: 84px;

    font-size: 2.5rem;

}



.staff-details {

    min-width: 0;

}



.content-card .staff-details h4 {

    margin: 22px 0 8px;

    color: var(--pond-blue-dark);

}



.staff-details p:last-child {

    margin-bottom: 0;

}



.staff-grid {

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 16px;

}



.staff-grid .staff-card {

    text-align: center;

    padding: 22px 14px;

}



.staff-grid .staff-avatar {

    margin: 0 auto 14px;

}



.staff-apply {

    margin-top: 48px;

    padding: 28px;

    background: var(--sakura-light);

    border-radius: 22px;

    text-align: center;

}



.content-card .staff-apply h2 {

    margin-top: 0;

}



.staff-apply p {

    max-width: 570px;

    margin: 12px auto;

}



/* Staff page — mobile */



@media (max-width: 650px) {

    .staff-creator {

        flex-direction: column;

        gap: 10px;

    }



    .staff-grid {

        grid-template-columns: 1fr;

    }



    .staff-apply {

        padding: 24px 18px;

    }

}



/* GETTING STARTED — INSTALL BUTTON */



.getting-started-steps li {

    margin-bottom: 20px;

}



.getting-started-steps li p {

    margin: 0 0 12px;

}



.content-card .getting-started-steps .pond-button {

    display: inline-block;

    margin: 0 0 4px;

    padding: 12px 22px;

    background: var(--sakura-pink);

    color: var(--text);

    border-radius: 999px;

    text-decoration: none;

    font-weight: 700;

    box-shadow: var(--shadow);

}



.content-card .getting-started-steps .pond-button:hover {

    background: var(--sakura-light);

    color: var(--text);

    transform: translateY(-2px);

}

/* ==========================================
   GUIDE — TABLES & INLINE COMMANDS
   ========================================== */

.content-card table {
    width: 100%;
    margin: 24px 0 34px;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
}

.content-card th,
.content-card td {
    padding: 12px 14px;
    border: 1px solid #edf5f8;
    text-align: left;
}

.content-card th {
    background: var(--sakura-light);
    color: var(--text);
    font-weight: 700;
}

.content-card code {
    padding: 2px 6px;
    background: #edf8fd;
    color: #397f9f;
    border-radius: 6px;
    font-size: 0.9em;
    font-weight: 600;
}

/* ==========================================
   KOI RARITY BADGES — NEW RARITIES
   ========================================== */

.rarity.epic {
    background: #ddd7ff;
    color: #5d4bb3;
}

.rarity.legendary {
    background: #ffe8a6;
    color: #936800;
}

.rarity.mythic {
    background: #ffd9ef;
    color: #a23d78;
}

.rarity.secret {
    background: #dde4eb;
    color: #364957;
}

/* ==========================================
   GUIDE — MOBILE
   ========================================== */

@media (max-width: 650px) {
    .content-card table {
        display: block;
        overflow-x: auto;
        font-size: 0.85rem;
        -webkit-overflow-scrolling: touch;
    }

    .content-card th,
    .content-card td {
        padding: 8px;
    }
}

