:root {
    --bg-gradient: radial-gradient(circle at top left, #1a0b2b 0%, #21103b 32%, #28174c 65%, #16091f 100%);
    --panel: rgba(33, 19, 55, 0.78);
    --panel-strong: rgba(44, 25, 72, 0.9);
    --accent: #ff8bf3;
    --accent-dark: #ff5bd8;
    --accent-soft: rgba(255, 91, 216, 0.22);
    --text: #f6eaff;
    --muted: #c6b5ff;
    --shadow: 0 22px 55px rgba(255, 91, 216, 0.28);
    --card-shadow: 0 16px 42px rgba(84, 64, 169, 0.38);
    --whisker-color: rgba(246, 234, 255, 0.85);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Nunito', sans-serif;
    color: var(--text);
    background: var(--bg-gradient);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before,
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
}

body::before {
    background-image: radial-gradient(circle, rgba(255, 174, 255, 0.32) 2px, transparent 2px), radial-gradient(circle, rgba(149, 108, 255, 0.28) 1px, transparent 1px);
    background-size: 48px 48px, 64px 64px;
    opacity: 0.55;
    animation: twinkle 18s linear infinite;
}

body::after {
    background: linear-gradient(135deg, rgba(255, 91, 216, 0.18), transparent 60%);
}

@keyframes twinkle {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-48px, -48px, 0);
    }
}

main {
    width: min(1080px, 92vw);
    margin: 0 auto;
    padding: 96px 0 128px;
    position: relative;
}

.floating-paws span {
    position: fixed;
    font-size: clamp(32px, 3vw, 48px);
    animation: floaty 16s ease-in-out infinite;
    pointer-events: none;
    filter: drop-shadow(0 8px 18px rgba(125, 86, 255, 0.34));
}

.floating-paws span:nth-child(odd) {
    animation-duration: 14s;
    animation-delay: -3s;
}

.floating-paws span:nth-child(3n) {
    color: rgba(175, 182, 255, 0.38);
    animation-duration: 19s;
}

@keyframes floaty {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        transform: translateY(-160px) translateX(40px) rotate(8deg);
        opacity: 0.9;
    }
    100% {
        transform: translateY(-320px) translateX(-20px) rotate(-6deg);
        opacity: 0;
    }
}

header.hero {
    background: linear-gradient(140deg, rgba(49, 26, 81, 0.96), rgba(28, 18, 56, 0.92));
    border-radius: 36px;
    padding: 56px clamp(32px, 6vw, 72px);
    box-shadow: 0 30px 65px rgba(7, 4, 15, 0.65);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 91, 216, 0.22);
    backdrop-filter: blur(14px);
}

header.hero::before {
    content: '';
    position: absolute;
    width: clamp(260px, 32vw, 420px);
    height: clamp(260px, 32vw, 420px);
    background: radial-gradient(circle, rgba(255, 91, 216, 0.28), transparent 60%);
    right: -120px;
    top: -160px;
    filter: blur(4px);
    opacity: 0.85;
    animation: pulse 10s ease-in-out infinite;
}

header.hero::after {
    content: 'にゃ〜☆';
    position: absolute;
    right: clamp(24px, 4vw, 56px);
    top: 28px;
    font-family: 'Fredoka', cursive;
    font-size: clamp(24px, 4vw, 38px);
    color: rgba(255, 148, 255, 0.85);
    transform: rotate(10deg);
    text-shadow: 0 0 12px rgba(255, 133, 255, 0.55);
}

.hero-grid {
    display: grid;
    gap: clamp(24px, 5vw, 48px);
    align-items: center;
    grid-template-columns: minmax(180px, 220px) 1fr;
}

@media (max-width: 760px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }
}

.cat-avatar {
    width: clamp(160px, 18vw, 220px);
    aspect-ratio: 1 / 1;
    background: linear-gradient(150deg, rgba(63, 36, 100, 0.95), rgba(36, 20, 63, 0.92));
    border-radius: 36px;
    position: relative;
    box-shadow: 0 25px 60px rgba(10, 7, 16, 0.55), 0 0 0 3px rgba(255, 91, 216, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 26px;
    overflow: visible;
    animation: cat-bob 7.5s ease-in-out infinite;
    isolation: isolate;
}

.cat-avatar::before {
    content: '';
    position: absolute;
    inset: -18px;
    border-radius: 40px;
    background: radial-gradient(circle, rgba(255, 91, 216, 0.32), transparent 72%);
    filter: blur(14px);
    z-index: -1;
    animation: pulse 9s ease-in-out infinite;
}

.cat-avatar::after {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    mix-blend-mode: screen;
    opacity: 0.7;
}

.cat-orbit {
    position: absolute;
    inset: 16px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 91, 216, 0.35);
    animation: orbit-spin 12s linear infinite;
    filter: drop-shadow(0 0 10px rgba(255, 91, 216, 0.4));
}

.cat-face {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #ffe0ff 0%, #b48aff 65%, #5d3eff 100%);
    border-radius: 30px;
    position: relative;
    overflow: visible;
    border: 3px solid rgba(255, 255, 255, 0.38);
    box-shadow: inset 0 -10px 25px rgba(19, 10, 32, 0.45);
}

.cat-face::after {
    content: '';
    position: absolute;
    inset: 18%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.65), transparent 70%);
    opacity: 0.75;
    pointer-events: none;
}

.cat-ear {
    position: absolute;
    top: -30%;
    width: 42%;
    height: 42%;
    background: linear-gradient(180deg, rgba(255, 207, 255, 0.98), rgba(255, 91, 216, 0.85));
    border-radius: 60% 60% 12% 12%;
    border: 3px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 16px 32px rgba(255, 91, 216, 0.3);
}

.cat-ear.left {
    left: 4%;
    transform: rotate(-15deg);
}

.cat-ear.right {
    right: 4%;
    transform: rotate(15deg);
}

.cat-ear::after {
    content: '';
    position: absolute;
    inset: 18%;
    border-radius: inherit;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.9), rgba(255, 140, 222, 0.75));
}

.cat-eye {
    position: absolute;
    top: 42%;
    width: 22%;
    height: 30%;
    background: radial-gradient(circle at 50% 55%, #1b0f37 0%, #05020b 75%);
    border-radius: 50% 50% 46% 46%;
    box-shadow: 0 0 0 3px rgba(12, 5, 29, 0.65), 0 14px 22px rgba(4, 2, 9, 0.55);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    transform-origin: 50% 90%;
    animation: blink 4.8s infinite;
}

.cat-eye.left {
    left: 22%;
}

.cat-eye.right {
    right: 22%;
}

.cat-eye .cat-sparkle {
    width: 42%;
    height: 42%;
    border-radius: 50%;
    margin-top: 18%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
    transition: transform 0.05s ease-out;
    transform: translate(var(--pupil-x, 0px), var(--pupil-y, 0px));
    position: relative;
}

.cat-blush {
    position: absolute;
    top: 62%;
    width: 20%;
    height: 14%;
    background: radial-gradient(circle, rgba(255, 118, 203, 0.6), rgba(255, 118, 203, 0));
    filter: blur(1px);
}

.cat-blush.left {
    left: 14%;
}

.cat-blush.right {
    right: 14%;
}

@keyframes blink {
    0%,
    48%,
    52%,
    100% {
        transform: scaleY(1);
    }
    50% {
        transform: scaleY(0.12);
    }
}

@keyframes cat-bob {
    0%,
    100% {
        transform: translateY(0) rotate(1deg);
    }
    50% {
        transform: translateY(-6px) rotate(-1deg);
    }
}

@keyframes orbit-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes sparkle {
    0%,
    100% {
        transform: scale(1) translateY(0);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.2) translateY(-4px);
        opacity: 1;
    }
}

.cat-nose {
    position: absolute;
    top: 58%;
    left: 50%;
    transform: translateX(-50%);
    width: 16%;
    height: 12%;
    background: linear-gradient(180deg, #ffb7e4 0%, #ff5bd8 100%);
    border-radius: 55% 55% 65% 65%;
    box-shadow: 0 4px 8px rgba(255, 91, 216, 0.45);
}

.cat-mouth {
    position: absolute;
    top: 70%;
    left: 50%;
    width: 46%;
    height: 30%;
    border-bottom: 4px solid rgba(246, 234, 255, 0.7);
    border-radius: 0 0 72% 72%;
    transform: translateX(-50%);
}

.cat-whisker {
    position: absolute;
    width: 32%;
    height: 2px;
    top: 60%;
    pointer-events: none;
    opacity: 0.9;
}

.cat-whisker::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--whisker-color), transparent);
}

.cat-whisker.left-1 {
    left: 4%;
    transform: rotate(-12deg);
}

.cat-whisker.left-2 {
    left: 5%;
    top: 66%;
    transform: rotate(-2deg);
}

.cat-whisker.right-1 {
    right: 4%;
    transform: rotate(12deg);
}

.cat-whisker.right-2 {
    right: 5%;
    top: 66%;
    transform: rotate(2deg);
}

.cat-whisker.right-1::before,
.cat-whisker.right-2::before {
    background: linear-gradient(90deg, transparent, var(--whisker-color));
}

.cat-star {
    position: absolute;
    color: rgba(255, 198, 255, 0.92);
    text-shadow: 0 0 18px rgba(255, 137, 255, 0.65);
    animation: sparkle 4.4s ease-in-out infinite;
}

.cat-star.one {
    top: -12px;
    right: -12px;
}

.cat-star.two {
    bottom: -6px;
    left: -18px;
    font-size: 22px;
    animation-delay: -2s;
}

.hero h1 {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(48px, 5.8vw, 76px);
    margin: 0 0 18px;
    color: var(--text);
    text-shadow: 0 12px 28px rgba(6, 3, 14, 0.7), 0 0 22px rgba(255, 91, 216, 0.28);
}

.hero h1 span {
    color: var(--accent);
}

.subtitle {
    font-size: clamp(20px, 2.2vw, 27px);
    font-weight: 700;
    margin-bottom: 28px;
    color: var(--muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 16px;
    color: var(--muted);
    align-items: center;
}

.contact-grid a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    text-shadow: 0 0 12px rgba(255, 91, 216, 0.35);
}

.contact-grid a:hover {
    text-decoration: underline;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.chip {
    background: linear-gradient(120deg, rgba(255, 91, 216, 0.32), rgba(104, 73, 255, 0.28));
    color: var(--text);
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 18px rgba(11, 8, 24, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

section {
    margin-top: clamp(36px, 5vw, 64px);
}

.section-card {
    background: rgba(255, 255, 255, 0.1); /* semi-transparent white */
    border-radius: 28px;
    padding: clamp(30px, 4.5vw, 50px);
    box-shadow: 0 22px 55px rgba(7, 4, 15, 0.25);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-card::before {
    content: '';
    position: absolute;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(255, 91, 216, 0.28), transparent 65%);
    top: -120px;
    right: -120px;
    filter: blur(2px);
    animation: pulse 12s ease-in-out infinite;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(0.8) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.1) rotate(12deg);
        opacity: 1;
    }
}

h2.section-title {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(26px, 3vw, 36px);
    margin: 0 0 24px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    text-shadow: 0 8px 18px rgba(6, 3, 14, 0.6);
}

h2.section-title::after {
    content: '=^._.^=';
    font-size: 20px;
    color: var(--accent);
    text-shadow: 0 0 12px rgba(255, 91, 216, 0.4);
    transform: rotate(-6deg);
}

p {
    margin: 0 0 16px;
}

ul {
    margin: 0 0 16px 20px;
    padding: 0;
}

li {
    margin-bottom: 10px;
}

.grid-two {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.pill-heading {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(120deg, rgba(104, 73, 255, 0.35), rgba(255, 91, 216, 0.3));
    color: var(--text);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 26px rgba(11, 8, 24, 0.45);
}

/* Neon Table Styles */
.neon-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: linear-gradient(135deg, rgba(31, 19, 48, 0.95), rgba(22, 13, 36, 0.98));
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(255, 91, 216, 0.6), 0 0 60px rgba(255, 91, 216, 0.4), 0 8px 32px rgba(7, 4, 15, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    border: 3px solid transparent;
    background-clip: padding-box;
}

.neon-table::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 19px;
    background: conic-gradient(from 0deg, #ff0080, #ff4080, #8040ff, #0080ff, #00ff80, #80ff00, #ffff00, #ff8000, #ff0080);
    z-index: -1;
    animation: neon-spin 3s linear infinite;
}

@keyframes neon-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.neon-table th {
    background: linear-gradient(135deg, rgba(255, 91, 216, 0.4), rgba(104, 73, 255, 0.3));
    color: var(--text);
    padding: 16px 20px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 0 0 10px rgba(255, 91, 216, 1), 0 0 20px rgba(255, 91, 216, 0.8), 0 0 30px rgba(255, 91, 216, 0.6);
    border: none;
    border-right: 2px solid rgba(255, 91, 216, 0.8);
    position: relative;
}

.neon-table th:first-child {
    border-top-left-radius: 13px;
}

.neon-table th:last-child {
    border-top-right-radius: 13px;
    border-right: none;
}

.neon-table td {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 91, 216, 0.3);
    border-right: 2px solid rgba(255, 91, 216, 0.4);
    color: var(--text);
    font-size: 14px;
    line-height: 1.6;
    background: rgba(31, 19, 48, 0.6);
    transition: all 0.3s ease;
    position: relative;
}

.neon-table td:last-child {
    border-right: none;
}

.neon-table tr:nth-child(even) td {
    background: rgba(22, 13, 36, 0.7);
}

.neon-table tr:hover td {
    background: rgba(255, 91, 216, 0.15);
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 91, 216, 0.8);
    box-shadow: 0 4px 20px rgba(255, 91, 216, 0.4), inset 0 0 20px rgba(255, 91, 216, 0.2);
    border-bottom: 1px solid rgba(255, 91, 216, 0.6);
    border-right: 2px solid rgba(255, 91, 216, 0.7);
}

.neon-table tr:last-child td {
    border-bottom: none;
}

.neon-table tr:last-child td:first-child {
    border-bottom-left-radius: 13px;
}

.neon-table tr:last-child td:last-child {
    border-bottom-right-radius: 13px;
}

.neon-table th::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 91, 216, 0.8), transparent);
    animation: pulse-line 2s ease-in-out infinite;
}

@keyframes pulse-line {
    0%,
    100% {
        opacity: 0.6;
        transform: scaleX(0.8);
    }
    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* Light theme overrides for neon table */
body[data-theme='light'] .neon-table {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 240, 255, 0.99));
    box-shadow: 0 0 30px rgba(255, 127, 201, 0.3), 0 8px 32px rgba(206, 182, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body[data-theme='light'] .neon-table::before {
    background: conic-gradient(from 0deg, #ff7fc9, #ffb3e6, #bdb0ff, #e67e22, #f39c12, #f1c40f, #2ecc71, #3498db, #9b59b6, #ff7fc9);
}

body[data-theme='light'] .neon-table th {
    background: linear-gradient(135deg, rgba(255, 127, 201, 0.2), rgba(189, 176, 255, 0.18));
    color: var(--text);
    text-shadow: 0 0 8px rgba(255, 127, 201, 0.6), 0 0 15px rgba(255, 127, 201, 0.4), 0 0 25px rgba(255, 127, 201, 0.3);
    border-right: 2px solid rgba(255, 127, 201, 0.5);
}

body[data-theme='light'] .neon-table th:last-child {
    border-right: none;
}

body[data-theme='light'] .neon-table th::after {
    background: linear-gradient(90deg, transparent, rgba(255, 127, 201, 0.7), transparent);
}

body[data-theme='light'] .neon-table td {
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 127, 201, 0.3);
    border-right: 2px solid rgba(255, 127, 201, 0.4);
    color: var(--text);
}

body[data-theme='light'] .neon-table td:last-child {
    border-right: none;
}

body[data-theme='light'] .neon-table tr:nth-child(even) td {
    background: rgba(248, 240, 255, 0.9);
}

body[data-theme='light'] .neon-table tr:hover td {
    background: rgba(255, 127, 201, 0.12);
    color: #2d2339;
    text-shadow: 0 0 6px rgba(255, 127, 201, 0.5);
    box-shadow: 0 4px 20px rgba(255, 127, 201, 0.2), inset 0 0 20px rgba(255, 127, 201, 0.08);
    border-bottom: 1px solid rgba(255, 127, 201, 0.5);
    border-right: 2px solid rgba(255, 127, 201, 0.6);
}

body[data-theme='light'] .neon-table td:first-child {
    color: rgba(151, 126, 189, 0.9);
    text-shadow: 0 0 4px rgba(255, 127, 201, 0.3);
}

article.role {
    background: linear-gradient(155deg, rgba(31, 19, 48, 0.95), rgba(22, 13, 36, 0.5));
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 18px 45px rgba(7, 4, 15, 0.55);
    position: relative;
    display: grid;
    gap: 16px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

article.role::after {
    content: '🐾';
    position: absolute;
    font-size: 32px;
    right: 24px;
    top: 24px;
    opacity: 0.4;
    transform: rotate(15deg);
    text-shadow: 0 0 18px rgba(255, 91, 216, 0.4);
}

article.role h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    text-shadow: 0 6px 16px rgba(6, 3, 14, 0.5);
}

article.role h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--muted);
}

.tagline {
    font-size: 15px;
    color: rgba(198, 181, 255, 0.85);
    text-shadow: 0 0 14px rgba(101, 77, 207, 0.3);
}

.timeline {
    display: grid;
    gap: 24px;
}

.sparkle-line {
    border: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 91, 216, 0.7), transparent);
    margin: 32px 0;
    box-shadow: 0 0 18px rgba(255, 91, 216, 0.38);
}

footer {
    margin: 72px auto 0;
    text-align: center;
    color: rgba(198, 181, 255, 0.8);
    font-size: 14px;
}

.footer-cat {
    font-size: 36px;
    animation: tail 2.6s ease-in-out infinite;
    display: inline-block;
}

@keyframes tail {
    0%,
    100% {
        transform: rotate(0deg) translateY(0);
    }
    40% {
        transform: rotate(8deg) translateY(-3px);
    }
    60% {
        transform: rotate(-6deg) translateY(2px);
    }
}

a {
    color: var(--accent-dark);
}
/* switch code */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch #theme-toggle {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #2196f3;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    z-index: 0;
    overflow: hidden;
}

.sun-moon {
    position: absolute;
    content: '';
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: yellow;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

#theme-toggle:checked + .slider {
    background-color: black;
}

#theme-toggle:focus + .slider {
    box-shadow: 0 0 1px #2196f3;
}

#theme-toggle:checked + .slider .sun-moon {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
    background-color: white;
    -webkit-animation: rotate-center 0.6s ease-in-out both;
    animation: rotate-center 0.6s ease-in-out both;
}

.moon-dot {
    opacity: 0;
    transition: 0.4s;
    fill: gray;
}

#theme-toggle:checked + .slider .sun-moon .moon-dot {
    opacity: 1;
}

.slider.round {
    border-radius: 34px;
}

.slider.round .sun-moon {
    border-radius: 50%;
}

#moon-dot-1 {
    left: 10px;
    top: 3px;
    position: absolute;
    width: 6px;
    height: 6px;
    z-index: 4;
}

#moon-dot-2 {
    left: 2px;
    top: 10px;
    position: absolute;
    width: 10px;
    height: 10px;
    z-index: 4;
}

#moon-dot-3 {
    left: 16px;
    top: 18px;
    position: absolute;
    width: 3px;
    height: 3px;
    z-index: 4;
}

#light-ray-1 {
    left: -8px;
    top: -8px;
    position: absolute;
    width: 43px;
    height: 43px;
    z-index: -1;
    fill: white;
    opacity: 10%;
}

#light-ray-2 {
    left: -50%;
    top: -50%;
    position: absolute;
    width: 55px;
    height: 55px;
    z-index: -1;
    fill: white;
    opacity: 10%;
}

#light-ray-3 {
    left: -18px;
    top: -18px;
    position: absolute;
    width: 60px;
    height: 60px;
    z-index: -1;
    fill: white;
    opacity: 10%;
}

.cloud-light {
    position: absolute;
    fill: #eee;
    animation-name: cloud-move;
    animation-duration: 6s;
    animation-iteration-count: infinite;
}

.cloud-dark {
    position: absolute;
    fill: #ccc;
    animation-name: cloud-move;
    animation-duration: 6s;
    animation-iteration-count: infinite;
    animation-delay: 1s;
}

#cloud-1 {
    left: 30px;
    top: 15px;
    width: 40px;
}

#cloud-2 {
    left: 44px;
    top: 10px;
    width: 20px;
}

#cloud-3 {
    left: 18px;
    top: 24px;
    width: 30px;
}

#cloud-4 {
    left: 36px;
    top: 18px;
    width: 40px;
}

#cloud-5 {
    left: 48px;
    top: 14px;
    width: 20px;
}

#cloud-6 {
    left: 22px;
    top: 26px;
    width: 30px;
}

@keyframes cloud-move {
    0% {
        transform: translateX(0px);
    }

    40% {
        transform: translateX(4px);
    }

    80% {
        transform: translateX(-4px);
    }

    100% {
        transform: translateX(0px);
    }
}

.stars {
    transform: translateY(-32px);
    opacity: 0;
    transition: 0.4s;
}

.star {
    fill: white;
    position: absolute;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    animation-name: star-twinkle;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}

#theme-toggle:checked + .slider .stars {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
}

#star-1 {
    width: 20px;
    top: 2px;
    left: 3px;
    animation-delay: 0.3s;
}

#star-2 {
    width: 6px;
    top: 16px;
    left: 3px;
}

#star-3 {
    width: 12px;
    top: 20px;
    left: 10px;
    animation-delay: 0.6s;
}

#star-4 {
    width: 18px;
    top: 0px;
    left: 18px;
    animation-delay: 1.3s;
}

@keyframes star-twinkle {
    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.2);
    }

    80% {
        transform: scale(0.8);
    }

    100% {
        transform: scale(1);
    }
}

body[data-theme='light'] {
    --bg-gradient: radial-gradient(circle at top left, #fff4fb 0%, #ffe9ff 40%, #f4f3ff 72%, #fffaf1 100%);
    --panel: rgba(255, 255, 255, 0.88);
    --panel-strong: rgba(255, 255, 255, 0.94);
    --accent: #ff7fc9;
    --accent-dark: #ff4fae;
    --accent-soft: rgba(255, 127, 201, 0.18);
    --text: #2d2339;
    --muted: #6a5a85;
    --shadow: 0 18px 45px rgba(255, 151, 218, 0.22);
    --card-shadow: 0 14px 38px rgba(206, 182, 255, 0.45);
    --whisker-color: rgba(151, 126, 189, 0.65);
}

body[data-theme='light']::before {
    background-image: radial-gradient(circle, rgba(188, 92, 158, 0.45) 2px, transparent 2px), radial-gradient(circle, rgba(118, 92, 188, 0.38) 1px, transparent 1px);
    opacity: 0.75;
    background-size: 48px 48px, 64px 64px;
    animation: twinkle 18s linear infinite;
}

body[data-theme='light']::after {
    background: linear-gradient(135deg, rgba(255, 188, 230, 0.22), transparent 60%);
}

body[data-theme='light'] .floating-paws span {
    color: rgba(255, 167, 215, 0.55);
    filter: drop-shadow(0 8px 16px rgba(240, 161, 255, 0.32));
}

body[data-theme='light'] header.hero {
    background: linear-gradient(140deg, rgba(255, 236, 255, 0.95), rgba(244, 225, 255, 0.92));
    border: 1px solid rgba(255, 161, 224, 0.35);
    box-shadow: 0 28px 55px rgba(223, 200, 255, 0.55);
}

body[data-theme='light'] header.hero::before {
    background: radial-gradient(circle, rgba(255, 170, 220, 0.3), transparent 65%);
    opacity: 0.75;
}

body[data-theme='light'] header.hero::after {
    color: rgba(255, 128, 206, 0.75);
    text-shadow: 0 0 10px rgba(255, 150, 219, 0.4);
}

body[data-theme='light'] .hero h1 {
    text-shadow: 0 12px 22px rgba(208, 185, 255, 0.55);
}

body[data-theme='light'] .subtitle {
    color: #a189c8;
}

body[data-theme='light'] .contact-grid a {
    text-shadow: 0 0 10px rgba(255, 172, 224, 0.35);
}

body[data-theme='light'] .cat-avatar {
    background: linear-gradient(150deg, rgba(255, 222, 255, 0.95), rgba(221, 209, 255, 0.95));
    box-shadow: 0 18px 42px rgba(211, 193, 255, 0.5), 0 0 0 3px rgba(255, 176, 225, 0.25);
}

body[data-theme='light'] .cat-avatar::before {
    background: radial-gradient(circle, rgba(255, 176, 225, 0.32), transparent 70%);
}

body[data-theme='light'] .cat-face {
    background: linear-gradient(180deg, #fff6ff 0%, #f5e1ff 60%, #edd9ff 100%);
    border: 3px solid rgba(255, 255, 255, 0.6);
    box-shadow: inset 0 -8px 18px rgba(219, 202, 255, 0.55);
}

body[data-theme='light'] .cat-face::after {
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.85), transparent 70%);
}

body[data-theme='light'] .cat-ear {
    background: linear-gradient(180deg, rgba(255, 239, 255, 0.95), rgba(255, 175, 228, 0.82));
    border: 3px solid rgba(255, 208, 244, 0.7);
    box-shadow: 0 12px 24px rgba(255, 181, 226, 0.35);
}

body[data-theme='light'] .cat-ear::after {
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.95), rgba(255, 180, 225, 0.65));
}

body[data-theme='light'] .cat-eye {
    background: radial-gradient(circle at 50% 55%, #4a3a79 0%, #301d68 75%);
    box-shadow: 0 0 0 3px rgba(157, 134, 227, 0.6), 0 10px 18px rgba(124, 96, 202, 0.45);
}

body[data-theme='light'] .cat-blush {
    background: radial-gradient(circle, rgba(255, 155, 210, 0.55), rgba(255, 155, 210, 0));
}

body[data-theme='light'] .cat-nose {
    background: linear-gradient(180deg, #ffc1e7 0%, #ff7fc9 100%);
    box-shadow: 0 4px 6px rgba(255, 160, 214, 0.45);
}

body[data-theme='light'] .cat-mouth {
    border-bottom: 4px solid rgba(116, 96, 166, 0.6);
}

body[data-theme='light'] .cat-whisker {
    background: linear-gradient(90deg, rgba(125, 113, 176, 0), rgba(125, 113, 176, 0.65), rgba(125, 113, 176, 0));
}

body[data-theme='light'] .cat-star {
    color: rgba(255, 185, 225, 0.92);
    text-shadow: 0 0 18px rgba(255, 185, 225, 0.55);
}

body[data-theme='light'] .chip {
    background: linear-gradient(120deg, rgba(255, 210, 246, 0.85), rgba(201, 189, 255, 0.82));
    color: #3d3360;
    box-shadow: 0 10px 22px rgba(206, 188, 255, 0.45);
    border: 1px solid rgba(255, 236, 255, 0.8);
}

body[data-theme='light'] .section-card {
    border: 1px solid rgba(226, 206, 255, 0.6);
    box-shadow: 0 18px 48px rgba(207, 188, 255, 0.45);
}

body[data-theme='light'] .section-card::before {
    background: radial-gradient(circle, rgba(255, 190, 231, 0.26), transparent 70%);
}

body[data-theme='light'] .pill-heading {
    background: linear-gradient(120deg, rgba(232, 213, 255, 0.85), rgba(255, 205, 234, 0.85));
    color: #4b3d78;
    border: 1px solid rgba(215, 194, 255, 0.65);
    box-shadow: 0 10px 18px rgba(210, 193, 255, 0.38);
}

body[data-theme='light'] article.role {
    background: linear-gradient(155deg, rgba(255, 249, 255, 0.96), rgba(243, 236, 255, 0.5));
    border: 1px solid rgba(217, 195, 255, 0.55);
    box-shadow: 0 12px 30px rgba(205, 187, 255, 0.42);
}

body[data-theme='light'] article.role::after {
    text-shadow: 0 0 12px rgba(255, 189, 230, 0.45);
}

body[data-theme='light'] article.role h3 {
    text-shadow: 0 6px 12px rgba(210, 188, 255, 0.4);
}

body[data-theme='light'] article.role h4 {
    color: #8675aa;
}

body[data-theme='light'] .tagline {
    color: rgba(134, 117, 170, 0.85);
    text-shadow: 0 0 10px rgba(214, 198, 255, 0.35);
}

body[data-theme='light'] .sparkle-line {
    background: linear-gradient(90deg, transparent, rgba(255, 164, 214, 0.6), transparent);
    box-shadow: 0 0 16px rgba(255, 164, 214, 0.35);
}

body[data-theme='light'] footer {
    color: rgba(118, 100, 151, 0.85);
}

/* Cute contact icons with theme support */
.contact-item {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-grid a.contact-item {
    color: var(--accent);
    font-weight: 700;
    text-shadow: 0 0 12px rgba(255, 91, 216, 0.35);
}

.contact-grid a.contact-item:hover {
    text-decoration: none;
    transform: translateY(-2px);
}

.contact-icon {
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 36px;
    padding: 10px;
    background: var(--accent-soft);
    border: 2px solid var(--accent);
    box-shadow: 0 6px 16px var(--accent-soft), 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;

    /* Soft rounded rectangle with subtle curves */
    border-radius: 18px;
    backdrop-filter: blur(10px);
}

.contact-icon::before {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* Glowing effect on hover */
.contact-icon::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--accent);
    border-radius: 20px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.contact-item:hover .contact-icon::after {
    opacity: 0.15;
}

.contact-item:hover .contact-icon {
    transform: scale(1.08) translateY(-3px);
    animation-play-state: paused;
    box-shadow: 0 12px 24px var(--accent-soft), 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Dark theme icons (default) */
.location-icon::before {
    content: '🗺️';
}
.email-icon::before {
    content: '💌';
}
.linkedin-icon::before {
    content: '🔗';
}
.github-icon::before {
    content: '🐙';
}

/* Light theme icons */
body[data-theme='light'] .location-icon::before {
    content: '📍';
}
body[data-theme='light'] .email-icon::before {
    content: '✉️';
}
body[data-theme='light'] .linkedin-icon::before {
    content: '💼';
}
body[data-theme='light'] .github-icon::before {
    content: '🐱';
}

/* Icon animations */
.contact-icon {
    animation: gentle-bounce 3s ease-in-out infinite;
}

.location-icon {
    animation-delay: 0s;
}
.email-icon {
    animation-delay: 0.2s;
}
.linkedin-icon {
    animation-delay: 0.4s;
}
.github-icon {
    animation-delay: 0.6s;
}

@keyframes gentle-bounce {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-3px) scale(1.05);
    }
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) translateY(-2px);
    animation-play-state: paused;
    box-shadow: 0 6px 20px var(--accent-soft);
}

/* Update light theme adjustments for new design */
body[data-theme='light'] .contact-icon {
    background: rgba(255, 127, 201, 0.12);
    border-color: var(--accent);
    box-shadow: 0 6px 16px rgba(255, 127, 201, 0.2), 0 2px 4px rgba(0, 0, 0, 0.05);
}

body[data-theme='light'] .contact-icon::after {
    background: var(--accent);
}

body[data-theme='light'] .contact-grid a.contact-item {
    text-shadow: 0 0 12px rgba(255, 127, 201, 0.4);
}