body {
    border: unset;
    background-image: url("rei.jpg");
    background-repeat: no-repeat;
    background-color: black;
    background-position:center bottom;
    background-attachment:fixed;
    background-size: cover;
}
#dust {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
}
a, p, button {
    position: relative;
    z-index: 2;
}
p {
    color:aquamarine;
    text-align: center;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    
}

/* ---------- Shared button look ---------- */
a, button {
    display: inline-block;
    margin: 10px 8px;
    padding: 14px 30px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-align: center;
    color: #05130f;
    background: linear-gradient(135deg, #7fffd4 0%, #40e0d0 55%, #20c5b8 100%);
    border: none;
    border-radius: 999px;
    cursor: pointer;
    box-shadow:
        0 4px 14px rgba(64, 224, 208, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* soft sheen sweep */
a::before, button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.65), transparent);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
    z-index: -1;
}

a:hover, button:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow:
        0 10px 26px rgba(64, 224, 208, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    filter: brightness(1.06);
}

a:hover::before, button:hover::before {
    left: 130%;
}

a:active, button:active {
    transform: translateY(0) scale(0.97);
    box-shadow: 0 2px 8px rgba(64, 224, 208, 0.4);
}

a:focus-visible, button:focus-visible {
    outline: 3px solid rgba(127, 255, 212, 0.9);
    outline-offset: 3px;
}

/* gentle floating idle animation */
@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
}
button {
    animation: floaty 3s ease-in-out infinite;
}

/* ---------- About Me: extra fun ---------- */
a {
    font-size: 1.1rem;
    background: linear-gradient(135deg, #ffe66d 0%, #7fffd4 50%, #40e0d0 100%);
    background-size: 200% 200%;
    animation: floaty 3s ease-in-out infinite, gradientShift 6s ease infinite;
    padding: 15px 34px;
}

@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

a:hover {
    letter-spacing: 1.5px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease, letter-spacing 0.3s ease;
}

/* ---------- Center both buttons under Welcome ---------- */
.actions {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
}

/* ---------- ❄ Nav bar (Rei + Rukia ice theme) ---------- */
.nav {
    position: relative;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    padding: 14px 10px;
    background: rgba(0, 10, 14, 0.55);
    border-bottom: 1px solid rgba(0, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.nav a {
    margin: 0;
    padding: 8px 18px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #bff5ea;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    box-shadow: none;
    animation: none;
}

.nav a::before {
    display: none;
}

.nav a:hover {
    color: #ffffff;
    border-color: rgba(0, 255, 255, 0.5);
    background: rgba(0, 255, 255, 0.08);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 255, 255, 0.15);
}

.nav a[aria-current="page"],
.nav a.active {
    color: #05130f;
    background: linear-gradient(135deg, #7fffd4, #40e0d0);
}

/* ---------- Page title ---------- */
p.title {
    position: relative;
    z-index: 2;
    color: #e8fffb;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    text-shadow: 0 0 14px rgba(0, 255, 200, 0.5);
    margin: 34px 0 10px;
}

/* ---------- Cards grid ---------- */
.cards {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 18px;
    max-width: 1000px;
    margin: 24px auto 40px;
    padding: 0 24px;
    box-sizing: border-box;
}

.card {
    color: #cfeee8;
    background: rgba(0, 15, 20, 0.55);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    padding: 1.75rem 1.75rem;
    max-width: 300px;
    flex: 1 1 260px;
    box-sizing: border-box;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.card:hover {
    transform: translateY(-4px);
    border-color: aqua;
    box-shadow: 0 12px 40px rgba(0, 255, 255, 0.2);
}

.card h2 {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 255, 200, 0.6);
    margin-top: 0;
}

.card .muted {
    color: #9fd8cf;
    font-size: 0.95rem;
    line-height: 1.7;
}

.card a {
    margin: 10px 0 0;
    padding: 10px 22px;
    font-size: 0.95rem;
}

/* solo centered card (Now page) */
.card-solo {
    max-width: 640px;
    margin: 24px auto 40px;
    padding: 2.5rem 3rem;
    text-align: center;
    font-size: 1.15rem;
    line-height: 1.9;
}

.card-solo b {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 255, 200, 0.7);
}

.card-solo em {
    color: #7fffd4;
    font-style: italic;
}

@media (max-width: 600px) {
    .card-solo {
        padding: 1.75rem 1.5rem;
        font-size: 1rem;
    }
}



