@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Comic+Relief:wght@400;700&display=swap');


a {
    color: #000;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

body {
    font-family: "JetBrains Mono", monospace;
    font-optical-sizing: auto;
    font-style: normal;
    margin: 0;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body::-webkit-scrollbar {
    display: none;
}

body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

div.background {
    background-blend-mode: overlay;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    width: 100vw;
    background-position: center center;
}

div.logo {
    position: absolute;
    top: 50px;
    text-align: center;
    width: 100%;
    background-size: cover;
}

.front .avatar {
    width: 220px;
    height: 220px;
}

.back .avatar {
    width: 150px;
    height: 150px;
}

div.front div.logo span.text {
    font-size: 128px;
    /*display: flex;*/
    justify-content: center;
    padding-bottom: 10px;
    color: transparent;
    background-size: cover;
    animation: floatBackground 30s linear infinite;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    background-attachment: fixed;
    animation-direction: alternate;
}

div.back div.logo {
    position: relative;
    top: -16px;
}

div.back div.logo span.text {
    font-size: 73px;
    /*display: flex;*/
    justify-content: center;
    padding-bottom: 10px;
    color: transparent;
    background-size: cover;
    background-clip: text;
    -webkit-background-clip: text;
    animation: floatBackground 30s linear infinite;
    background-attachment: fixed;
    animation-direction: alternate;
}

div.my-card {
    height: 450px;
    width: 320px;
    margin-left: -160px;
    margin-top: -213.5px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-perspective: 1000;
    perspective: 1000;
    transform-style: preserve-3d;
    opacity: 0;
}

body.hasHover div.my-card:hover .flipper {
    -webkit-transform: rotateY(180deg) rotateZ(90deg);
    transform: rotateY(180deg) rotateZ(90deg);
}

div.my-card.hover .flipper {
    -webkit-transform: rotateY(180deg) rotateZ(90deg);
    transform: rotateY(180deg) rotateZ(90deg);
}

div.my-card.forcefront .flipper {
    -webkit-transform: rotateY(0deg) rotateZ(0deg);
    transform: rotateY(0deg) rotateZ(0deg);
}

div.flipper {
    -webkit-transition: 0.6s;
    transition: 0.6s;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    position: relative;
    -webkit-transform-origin: center 160px;
    transform-origin: center 160px;
}

div.front,
div.back {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 7px;
    position: absolute;
    left: 0;
    height: 450px;
    width: 320px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.75);
    background: url('paper_1.jpg') repeat center center;
    background-size: 250px;

}

div.front {
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 0;
    animation: float 5s ease-in-out infinite;
}

div.front:before {
    z-index: 2;
}

div.front:after {}

div.front div.name {
    position: absolute;
    bottom: 24px;
    text-align: center;
    width: 100%;
}

div.front div.name span {
    display: block;
    font-size: 40px;
    line-height: 45px;
}

div.front div.name span.first {
    font-weight: 500;
}

div.front div.name span.last {
    font-weight: 500;
}

div.front div.name span.title {
    font-size: 20px;
    line-height: 20px;
}

div.back {
    background-color: rgba(255, 255, 255, 0.7);
    width: 450px;
    height: 320px;
    box-sizing: border-box;
    -webkit-transform: rotateY(180deg) rotateZ(90deg);
    transform: rotateY(180deg) rotateZ(90deg);
    display: grid;
    grid-template-rows: min-content auto min-content;
}

div.back span.subtitle:first-line {
    font-weight: 400;
}

div.back span.subtitle {
    width: 100%;
    margin-top: 12px;
    text-align: center;
    font-size: 20px;
    line-height: 20px;
    grid-row: 1;
    font-weight: 600;
}

div.back div.container-grid {
    display: grid;
    grid-row: 2;
}

div.back div.container-sm {
    float: left;
    width: 40%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

div.back div.container-lg {
    float: left;
    width: 60%;
    height: 100%;
    display: flex;
    align-items: center;
}

div.back a {
    color: black;
    text-decoration: none;
}

div.back a:hover {
    text-decoration: underline;
}

div.back ul.social {
    font-size: 1.25rem;
}

div.back ul.social li {
    margin-top: 0.5rem;
}

div.back ul.social li i {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

div.back ul.social li:first-of-type {
    margin-top: 0;
}

@keyframes float {
    0% {
        box-shadow: 0 5px 15px 0px rgba(0, 0, 0, 0.6);
        transform: translatey(0px);
    }

    50% {
        box-shadow: 0 25px 15px 0px rgba(0, 0, 0, 0.2);
        transform: translatey(-20px);
    }

    100% {
        box-shadow: 0 5px 15px 0px rgba(0, 0, 0, 0.6);
        transform: translatey(0px);
    }
}

@keyframes floatBackground {
    from {
        background-position-y: 0px;
    }

    to {
        background-position-y: 150px;
    }
}

@keyframes cardThrow {
    0% {
        transform: translateY(150vh) translateX(-100vw) translateZ(-200px) rotateX(720deg) rotateY(360deg) rotateZ(180deg) scale(0.2);
        opacity: 0;
    }

    20% {
        opacity: 0.5;
    }

    60% {
        transform: translateY(-30px) translateX(0) translateZ(0px) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1);
        opacity: 1;
    }

    75% {
        transform: translateY(10px) translateX(0) translateZ(0px) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1);
    }

    90% {
        transform: translateY(-5px) translateX(0) translateZ(0px) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1);
    }

    100% {
        transform: translateY(0) translateX(0) translateZ(0px) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1);
        opacity: 1;
    }
}

@keyframes cardThrow2 {
    0% {
        transform: translateY(150vh) translateX(-100vw) translateZ(-300px) rotateX(-540deg) rotateY(720deg) rotateZ(-360deg) scale(0.2);
        opacity: 0;
    }

    20% {
        opacity: 0.5;
    }

    60% {
        transform: translateY(-40px) translateX(0) translateZ(0px) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1.05);
        opacity: 1;
    }

    75% {
        transform: translateY(15px) translateX(0) translateZ(0px) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(0.98);
    }

    90% {
        transform: translateY(-8px) translateX(0) translateZ(0px) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1.01);
    }

    100% {
        transform: translateY(0) translateX(0) translateZ(0px) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1);
        opacity: 1;
    }
}

@keyframes cardThrow3 {
    0% {
        transform: translateY(150vh) translateX(-100vw) translateZ(-250px) rotateX(900deg) rotateY(-540deg) rotateZ(270deg) scale(0.2);
        opacity: 0
    }

    20% {
        opacity: 0.5;
    }

    60% {
        transform: translateY(-35px) translateX(0) translateZ(0px) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1);
        opacity: 1;
    }

    75% {
        transform: translateY(12px) translateX(0) translateZ(0px) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1);
    }

    90% {
        transform: translateY(-6px) translateX(0) translateZ(0px) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1);
    }

    100% {
        transform: translateY(0) translateX(0) translateZ(0px) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1);
        opacity: 1;
    }
}

@keyframes cardThrow4 {
    0% {
        transform: translateY(150vh) translateX(-100vw) translateZ(-400px) rotateX(-1080deg) rotateY(900deg) rotateZ(-540deg) scale(0.2);
        opacity: 0;
    }

    20% {
        opacity: 0.5;
    }

    60% {
        transform: translateY(-45px) translateX(0) translateZ(0px) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1.08);
        opacity: 1;
    }

    75% {
        transform: translateY(18px) translateX(0) translateZ(0px) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(0.96);
    }

    90% {
        transform: translateY(-10px) translateX(0) translateZ(0px) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1.02);
    }

    100% {
        transform: translateY(0) translateX(0) translateZ(0px) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1);
        opacity: 1;
    }
}

@keyframes cardThrow5 {
    0% {
        transform: translateY(150vh) translateX(-100vw) translateZ(-150px) rotateZ(1080deg) scale(0.2);
        opacity: 0;
    }

    20% {
        opacity: 0.5;
    }

    60% {
        transform: translateY(-30px) translateX(0) translateZ(0px) rotateZ(0deg) scale(1);
        opacity: 1;
    }

    75% {
        transform: translateY(10px) translateX(0) translateZ(0px) rotateZ(0deg) scale(1);
    }

    90% {
        transform: translateY(-5px) translateX(0) translateZ(0px) rotateZ(0deg) scale(1);
    }

    100% {
        transform: translateY(0) translateX(0) translateZ(0px) rotateZ(0deg) scale(1);
        opacity: 1;
    }
}

div.my-card.throw1 {
    animation: cardThrow 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

div.my-card.throw2 {
    animation: cardThrow2 1.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

div.my-card.throw3 {
    animation: cardThrow3 1.55s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

div.my-card.throw4 {
    animation: cardThrow4 1.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

div.my-card.throw5 {
    animation: cardThrow5 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

div.front div.logo span.cursor-front {
    display: inline-block;
    background-color: #ccc;
    margin-left: 0.1rem;
    width: 3px;
    animation: blink 1s infinite;
}

div.front div.logo span.cursor-front.typing {
    animation: none;
}

div.back div.logo span.cursor-back {
    display: inline-block;
    background-color: #ccc;
    margin-left: 0.1rem;
    width: 3px;
    animation: blink 1s infinite;
}

div.back div.logo span.cursor-back.typing {
    animation: none;
}

@keyframes blink {
    0% {
        background-color: #ccc;
    }

    49% {
        background-color: #ccc;
    }

    50% {
        background-color: transparent;
    }

    99% {
        background-color: transparent;
    }

    100% {
        background-color: #ccc;
    }
}

.main-section {
    height: 100vh;
    width: 100vw;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.second-section {
    min-height: 100vh;
    width: 100vw;
    position: relative;
    background-color: #ffffff;
    background-color: #ffffff;
    background-color: #ffffff;
    background: url('paper_1.jpg') repeat center center;
    background-size: 250px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 40px 0px;
    box-sizing: border-box;
    z-index: 2;
}

.second-section::-webkit-scrollbar {
    display: none;
}

.welcome-message {
    margin: 0 0 10px 192px;
    font-size: 0.7rem;
    line-height: normal;
}

.welcome-message h1 {
    font-weight: 700;
    margin: 0;
}

.welcome-message p {
    margin: 0;
    color: #333;
    z-index: 5;
    position: relative;
    font-weight: 500;
    font-size: 0.77rem;
    font-family: 'Comic Relief', sans-serif;
}

.typing-indicator-wrapper {
    position: relative;
    display: inline-block;
}

.chat-bubble-tail {
    position: absolute;
    border-radius: 50%;
    border: 1px solid #43e97b;
    background-color: #43e97b;
    background-image: radial-gradient(75% 50% at 50% 0%, #f4feff 12%, transparent), radial-gradient(75% 50% at 50% 85%, #91f9b4, transparent);
    box-shadow: inset 0 0 2px 1px rgba(255, 255, 255, 0.2), 0 1px 4px 1px #22793f70, 0 1px 4px 1px rgba(0, 0, 0, 0.1);

    z-index: -1;
}

.chat-bubble-tail.tail-large {
    bottom: -7px;
    left: -7px;
    height: 20px;
    width: 20px;
}

.chat-bubble-tail.tail-small {
    height: 10px;
    width: 10px;
    left: -13px;
    bottom: -13px;
}

.typing-indicator {
    border: 1px solid #43e97b;
    border-radius: 50px;
    padding: 12px 16px;
    background-color: #43e97b;
    background-image: radial-gradient(75% 50% at 50% 0%, #f4feff 12%, transparent), radial-gradient(75% 50% at 50% 85%, #91f9b4, transparent);
    box-shadow: inset 0 0 2px 1px rgba(255, 255, 255, 0.2), 0 1px 4px 1px #22793f70, 0 1px 4px 1px rgba(0, 0, 0, 0.1);
    color: #fff;
    text-shadow: 0 1px 1px #43e97b;
    transition-property: border-color, transform, background-color;
    transition-duration: 0.2s;
    display: flex;
}

.typing-indicator.scrolled {
    -webkit-animation: 7s bulge-subtle infinite ease-out;
    animation: 7s bulge-subtle infinite ease-out;
}

.typing-indicator span {
    height: 15px;
    width: 15px;
    float: left;
    margin: 0 1px;
    background-color: #0000003a;
    display: block;
    border-radius: 50%;
    opacity: 0.4;
}

.typing-indicator span:nth-of-type(1) {
    -webkit-animation: 1s blink infinite 0.3333s;
    animation: 1s blink infinite 0.3333s;
}

.typing-indicator span:nth-of-type(2) {
    -webkit-animation: 1s blink infinite 0.6666s;
    animation: 1s blink infinite 0.6666s;
}

.typing-indicator span:nth-of-type(3) {
    -webkit-animation: 1s blink infinite 0.9999s;
    animation: 1s blink infinite 0.9999s;
}

@-webkit-keyframes blink {
    50% {
        opacity: 1;
    }
}

@keyframes blink {
    50% {
        opacity: 1;
    }
}

@-webkit-keyframes bulge {
    50% {
        transform: scale(1.05);
    }
}

@keyframes bulge {
    50% {
        transform: scale(1.05);
    }
}

@-webkit-keyframes bulge-subtle {
    50% {
        transform: scale(1.02);
    }
}

@keyframes bulge-subtle {
    50% {
        transform: scale(1.02);
    }
}

html {
    display: table;
    height: 100%;
    width: 100%;
}

body {
    display: table-cell;
    vertical-align: middle;
}

.content-row {
    margin-bottom: 60px;
    padding-right: 0px;
}

.stats-and-updates {
    display: grid;
    grid-template-columns: auto 60px 1fr;
    column-gap: 0;
    align-items: flex-start;
    margin-left: 200px;
    padding-right: 0px;
}

.status-updates-wrapper {
    display: contents;
}

.stats-and-updates> :first-child {
    margin-right: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 200px);
    gap: 20px;
    padding: 24px 20px 20px 20px;
    flex-shrink: 0;
}

.status-updates {
    min-width: 0;
    overflow: hidden;
}

.status-updates.scrollable {
    overflow-x: auto;
    overflow-y: hidden;
    cursor: grab;
    margin-left: -46px;
}

.status-updates.scrollable::-webkit-scrollbar {
    height: 2px;
}

.status-updates.scrollable::-webkit-scrollbar-track {
    background: transparent;
}

.status-updates.scrollable::-webkit-scrollbar-thumb {
    background: #000000;
    border-radius: 0;
}

.status-updates.scrollable {
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

.status-updates.scrollable:active {
    cursor: grabbing;
}

.status-updates-sidebar {
    background-color: #141414c9;
    border: 4px solid white;
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);
    border-radius: 40px;
    z-index: 10;
    width: 40px;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    margin-left: 12px;
    max-height: 400px;
}

.status-updates-sidebar .sidebar-text {
    writing-mode: vertical-rl;
    transform: rotate(-180deg);
    white-space: nowrap;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    letter-spacing: 1px;
    gap: 6px;
}

.status-updates-sidebar .sidebar-text a {
    text-decoration: none;
    margin: 0 4px;
    transition: all 0.3s ease;
}

.status-updates-sidebar .sidebar-text a.mastodon-link {
    color: #6364ff;
}

.status-updates-sidebar .sidebar-text a.bluesky-link {
    color: #0085ff;
}

.status-updates-sidebar .sidebar-text a.twitter-link {
    color: #1da1f2;
    margin-top: 12px;
}

.status-updates-sidebar .sidebar-text a:hover {
    opacity: 0.7;
}

.status-updates-sidebar .sidebar-text i {
    font-size: 28px;
    display: inline-block;
    transform: rotate(180deg);
    margin: 0 auto;
    width: auto;
}

.status-updates .row-title {
    padding-left: 0;
    margin-left: 0;
    font-size: 1rem;
    text-transform: lowercase;
    padding-left: 56px;

}

.status-updates .horizontal-scroll {
    padding-left: 0;
    display: flex;
    gap: 20px;
    overflow: visible;
    width: max-content;
}

.status-updates .horizontal-scroll:hover {
    animation-play-state: paused;
}

.status-updates.scrollable .horizontal-scroll {
    padding-left: 56px;
}

.status-updates.scrollable .horizontal-scroll,
.blog-posts.scrollable .horizontal-scroll,
.recent-projects.scrollable .horizontal-scroll {
    animation: none;
    cursor: grab;
    overflow-x: auto;
    width: 100%;
}

.status-updates.scrollable .horizontal-scroll.dragging,
.blog-posts.scrollable .horizontal-scroll.dragging,
.recent-projects.scrollable .horizontal-scroll.dragging {
    cursor: grabbing;
    -webkit-user-select: none;
    user-select: none;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 10px));
    }
}

.stat-item {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 250px;
    padding: 16px;
    border-radius: 12px;
    background: rgba(102, 126, 234, 0.15);
    border: 4px solid white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-item:nth-child(1) {
    background: rgba(102, 126, 234, 0.33);
    transform: rotate(-2deg);
}

.stat-item:nth-child(2) {
    background: rgba(245, 87, 108, 0.33);
    transform: rotate(1.5deg);
}

.stat-item:nth-child(3) {
    background: rgba(79, 172, 254, 0.33);
    transform: rotate(-1deg);
}

.stat-item:nth-child(4) {
    background: rgba(67, 233, 123, 0.33);
    transform: rotate(2deg);
}

.stat-icon {
    position: absolute;
    bottom: -10px;
    right: -10px;
    font-size: 56px;
    opacity: 0.2;
    transform: rotate(-15deg);
    color: #000;
    pointer-events: none;
}

.stat-info {
    position: relative;
    z-index: 1;
}

.stat-label {
    margin: 0 0 4px 0;
    font-size: 14px;
    color: #666;
    font-weight: 400;
}

.stat-value {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    word-break: break-word;
}

.stat-metadata {
    margin: 4px 0 0 0;
    font-size: 12px;
    color: #444;
    font-weight: 400;
}

.row-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 0px;
    padding-left: 20px;
}

.horizontal-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 0 20px 20px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.horizontal-scroll::-webkit-scrollbar {
    display: none;
}

.horizontal-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.content-card {
    min-width: 300px;
    max-width: 300px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 24px;
    border: 4px solid white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 4px 8px rgba(0, 0, 0, 0.15);
}

.content-card h3 {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 600;
}

.content-card p {
    margin: 0;
    line-height: 1.6;
}

.status-card {
    min-width: auto;
    max-width: 280px;
    padding: 16px;
    max-height: max-content;
}

.status-card:last-child {
    margin-right: 32px;
}

.status-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.status-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.status-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.status-name {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    color: #000;
}

.status-date {
    font-size: 12px;
    color: #666;
    margin: 0;
}

.status-text {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    margin: 0 0 12px 0;
}

.status-images {
    display: grid;
    gap: 4px;
    overflow: hidden;
}

.status-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Single image */
.status-images-1 {
    grid-template-columns: 1fr;
}

.status-images-1 img {
    max-height: 150px;
    width: auto;
    border-radius: 4px;
}

/* Two images */
.status-images-2 {
    grid-template-columns: 1fr 1fr;
}

.status-images-2 img {
    height: 70px;
}

/* Three images */
.status-images-3 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.status-images-3 img:first-child {
    grid-column: 1 / 3;
    height: 70px;
}

.status-images-3 img:not(:first-child) {
    height: 60px;
}

/* Four images */
.status-images-4 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.status-images-4 img {
    height: 60px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 380px;
    max-width: 380px;
    max-height: 420px;
    padding: 0;
    overflow: hidden;
}

.blog-card .blog-image-container {
    flex-shrink: 0;
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.blog-card .blog-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-featured-image {
    transform: scale(1.05);
}

.blog-card .blog-content {
    display: flex;
    flex-direction: column;
    padding: 20px;
    flex: 1;
    min-height: 0;
}

.blog-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 12px;
    color: #999;
}

.blog-date,
.blog-reading-time {
    font-weight: 400;
}

.blog-card h3 {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.blog-card .blog-excerpt {
    color: #555;
    line-height: 1.6;
    font-size: 14px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    max-height: calc(1.6em * 3);
}

.read-more {
    margin-top: 12px;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.read-more:hover {
    color: #5568d3;
    text-decoration: none;
}


.peek-image.loaded {
    opacity: 1;
    transform: translate(-50%, -50%);

}

.blog-read-more-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    padding-right: 24px;
    font-size: 18px;
    font-weight: 600;
    color: #667eea;
    text-decoration: none;
    text-align: center;
    line-height: 1.4;
    transition: color 0.2s ease, transform 0.2s ease;
    margin-right: 24px;
}

.blog-read-more-link:hover {
    color: #5568d3;
    text-decoration: none;
    transform: translateX(5px);
}

.app-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.95);
    overflow: hidden;
    border: 0;
}

.app-description {
    font-size: 14px;
    color: #666;
    flex-grow: 1;
    margin-bottom: 16px !important;
    z-index: 10;

}

.app-icon {
    font-size: 64px;
    position: relative;
    width: 112px;
    height: 112px;
    margin: 0 auto;
    border-radius: 22px;
}

.app-icon-background {
    position: absolute;
    top: -30px;
    left: -53px;
    right: -53px;
    bottom: 40px;
    background-size: cover;
    background-position: center;
    filter: blur(59px);
    transform: scale(1.2);
    z-index: 0;
}

.app-icon img {
    width: 112px;
    height: 112px;
    position: relative;
    z-index: 1;
    border-radius: 22px;
}

.app-name {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
    z-index: 10;
}

.app-button {
    background: #007AFF;
    border: none;
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    padding: 10px 24px;
    border-radius: 999px;
    font-family: "JetBrains Mono", monospace;
    transition: background 0.2s ease;
}

.app-button:hover {
    background: #0051D5;
}

.app-card-footer {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.app-read-more {
    background: transparent;
    border: none;
    color: #666;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    padding: 6px 12px;
    font-family: "JetBrains Mono", monospace;
    text-decoration: none;
    display: inline-block;
    transition: color 0.2s ease;
}

.app-read-more:hover {
    color: #000;
}

.peek-image {
    width: auto;
    height: 454px;
    cursor: pointer;
    z-index: 2000;
    object-fit: contain;
    transition: all 0.3s ease;
    position: absolute;
    top: 100vh;
    left: -30px;
    transform: translate(-50%, -30%);
    rotate: 20deg;
    margin-top: 173px;
    opacity: 0;
}



.peek-image:hover {
    transform: translate(-32%, -71%);
    rotate: 12deg;
}

.peek-image.scrolled {
    left: 155px;
    rotate: -2deg;
    height: 500px;
    margin-top: 236px;

}

.peek-image.scrolled:hover {
    transform: translate(-50%, -52%);
}

/* Mobile layout for stats and updates */
@media (max-width: 768px) {
    .stats-and-updates {
        display: flex;
        flex-direction: column;
        margin-left: 0;
        padding: 0 16px;
    }

    .welcome-message p {
        font-size: 1rem;
    }

    .content-row {
        padding-right: 0px;
    }

    .stats-and-updates> :first-child {
        margin-right: 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        padding: 10px 0 20px 0;
        margin-left: 140px;
        /* full width minus the margin */
        width: calc(100% - 160px);
    }

    .stat-item {
        padding: 10px;
        max-width: 100%;
        transform: none;
    }

    .stat-icon {
        font-size: 40px;
    }

    .stat-label {
        font-size: 12px;
    }

    .stat-value {
        font-size: 13px;
    }

    .stat-metadata {
        font-size: 10px;
    }

    /* Wrapper for sidebar + status updates as a row */
    .status-updates-wrapper {
        display: flex;
        flex-direction: row;
        width: 100%;
    }

    .status-updates-sidebar {
        width: 40px;
        min-height: 100%;
        border-radius: 40px;
        padding: 0;
        margin-left: 0;
        margin-bottom: 0;
        flex-shrink: 0;
        height: 300px;
    }

    .status-updates.scrollable {
        flex: 1;
        min-width: 0;
        margin-left: -47px;
    }

    .status-updates .row-title {
        padding-left: 60px;
    }

    .status-updates.scrollable .horizontal-scroll {
        padding-left: 60px;
    }

    .welcome-message {
        scale: 0.7;
        margin-left: 34px;
        margin-top: -35px;
    }

    .peek-image {
        height: 394px;
        left: 26px;
        margin-top: 147px;
        rotate: 15deg;
    }

    .peek-image.scrolled {
        left: 102px;
        margin-top: 217px;
        rotate: -2deg;
        height: 461px;
    }
}