* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::-webkit-scrollbar {
    display: none;
}

* {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background: #0a192f;
    color: #fff;
    overflow-x: hidden;
    width: 100%;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}

html,
body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 3rem;
    max-width: 1200px;
    width: 100%;
}

.nav-links li {
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #64ffda;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hero {
    padding-top: 80px;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-left: 2rem;
    padding-right: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    color: #fff;
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #64ffda;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.second-line {
    font-size: 1.3rem;
    color: #8892b0;
    animation-delay: 0.3s;
    margin-top: 0.5rem;
}

.location {
    color: #8892b0;
    font-size: 1.1rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1.2s ease 0.6s forwards;
}

.location i {
    color: #64ffda;
    font-size: 1rem;
}

.location:hover {
    color: #64ffda;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.card, .technologies-card, .about-card {
    background: rgba(17, 34, 64, 0.7);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem;
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
    border: 1px solid rgba(100, 255, 218, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover, .technologies-card:hover, .about-card:hover {
    box-shadow: 0 20px 40px -15px rgba(2, 12, 27, 0.9);
    transform: translateY(-5px);
}

.projects-card {
    margin: 2rem;
    background: rgba(17, 34, 64, 0.7);
    padding: 2rem;
    width: auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: rgba(17, 34, 64, 0.9);
    border-radius: 8px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
    border: 1px solid rgba(100, 255, 218, 0.1);
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(100, 255, 218, 0.24);
}

.project-card h3 {
    color: #64ffda;
    margin-bottom: 1rem;
}

.project-card p {
    color: #8892b0;
    margin-bottom: 1.5rem;
}

.project-link {
    color: #64ffda;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.project-link:hover {
    gap: 0.8rem;
}

.project-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.project-link:hover::after {
    transform: translateX(5px);
}

.github-activity {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.github-card {
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto 3rem;
    padding: 2rem;
    border-radius: 8px;
}

.github-card-header {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 1.35rem;
}

.github-card-header h2 {
    color: #64ffda;
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 0.35rem;
}

.github-card-header p {
    color: #8892b0;
    font-size: 1rem;
}

.github-card-header p span {
    color: #ccd6f6;
}

.github-card a.github-profile-link,
.github-card a.github-profile-link:visited {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    flex-shrink: 0;
    color: #64ffda;
    text-decoration: none;
    border: 1px solid rgba(100, 255, 218, 0.28);
    border-radius: 999px;
    padding: 0.7rem 0.9rem;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.github-card a.github-profile-link:hover {
    background: rgba(100, 255, 218, 0.08);
    border-color: rgba(100, 255, 218, 0.5);
}

.github-heatmap-link {
    display: block;
    width: 100%;
    overflow-x: auto;
    padding: 1.15rem;
    background: rgba(10, 25, 47, 0.78);
    border: 1px solid rgba(100, 255, 218, 0.14);
    border-radius: 8px;
    line-height: 0;
}

.github-heatmap {
    display: block;
    width: 100%;
    min-width: 720px;
    height: auto;
    filter: invert(1);
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-links a.active {
    color: #64ffda;
}

.blog-page main,
.post-page main {
    width: 100%;
}

.blog-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
    gap: 2rem;
    align-items: center;
    max-width: 1200px;
    min-height: calc(100vh - 40px);
    margin: 0 auto;
    padding: 130px 1rem 4rem;
}

.blog-hero-copy {
    max-width: 690px;
}

.blog-kicker {
    color: #ffb86b;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0;
}

.blog-hero h1 {
    color: #fff;
    font-size: 3.4rem;
    line-height: 1.08;
    margin-bottom: 1.2rem;
}

.blog-hero-copy > p {
    color: #8892b0;
    font-size: 1.12rem;
    line-height: 1.8;
    max-width: 620px;
}

.blog-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.blog-metrics div {
    min-width: 130px;
    border-top: 1px solid rgba(100, 255, 218, 0.18);
    padding-top: 0.8rem;
}

.blog-metrics strong {
    display: block;
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
}

.blog-metrics span {
    color: #8892b0;
    font-size: 0.82rem;
}

.blog-hero-visual {
    display: grid;
    gap: 1rem;
}

.blog-preview-row {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    background: rgba(17, 34, 64, 0.72);
    border: 1px solid rgba(100, 255, 218, 0.12);
    border-radius: 8px;
    color: #ccd6f6;
    text-decoration: none;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.blog-preview-row:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 184, 107, 0.38);
}

.blog-preview-row img,
.preview-number {
    width: 52px;
    height: 52px;
    border-radius: 8px;
}

.blog-preview-row img {
    object-fit: contain;
    background: rgba(10, 25, 47, 0.65);
}

.preview-number {
    display: grid;
    place-items: center;
    background: rgba(255, 184, 107, 0.1);
    color: #ffb86b;
    font-weight: 700;
}

.blog-preview-row strong,
.blog-preview-row small {
    display: block;
}

.blog-preview-row small {
    color: #8892b0;
    margin-top: 0.25rem;
}

.blog-preview-row i {
    color: #64ffda;
}

.blog-feature-section,
.blog-index-section {
    display: block;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem;
}

.featured-article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 2rem;
    align-items: stretch;
    padding: 2rem;
    background: rgba(17, 34, 64, 0.72);
    border: 1px solid rgba(100, 255, 218, 0.14);
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.featured-article:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 184, 107, 0.38);
}

.featured-copy h2 {
    color: #fff;
    font-size: 2.2rem;
    line-height: 1.18;
    margin: 0.8rem 0 1rem;
}

.featured-copy p {
    color: #8892b0;
    line-height: 1.8;
}

.featured-panel {
    display: grid;
    align-content: center;
    gap: 0.85rem;
    background: rgba(10, 25, 47, 0.7);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 8px;
    padding: 1rem;
}

.panel-line {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: #8892b0;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
}

.panel-line:last-child {
    border-bottom: 0;
}

.panel-line strong {
    color: #64ffda;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    color: #8892b0;
    font-size: 0.9rem;
}

.post-meta span + span::before {
    content: "/";
    color: rgba(136, 146, 176, 0.55);
    margin-right: 0.65rem;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.1rem;
}

.post-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0.35rem 0.65rem;
    background: rgba(100, 255, 218, 0.08);
    border: 1px solid rgba(100, 255, 218, 0.16);
    border-radius: 6px;
    color: #64ffda;
    font-size: 0.78rem;
    font-weight: 600;
}

.blog-index-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1rem;
}

.blog-index-header h2 {
    color: #fff;
    font-size: 2.3rem;
    line-height: 1.1;
}

.blog-search {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 48px;
    padding: 0 1rem;
    background: rgba(17, 34, 64, 0.8);
    border: 1px solid rgba(100, 255, 218, 0.14);
    border-radius: 8px;
    color: #64ffda;
}

.blog-search input {
    width: 260px;
    background: transparent;
    border: 0;
    color: #fff;
    font: inherit;
    outline: 0;
}

.blog-search input::placeholder {
    color: #8892b0;
}

.topic-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.topic-filters button {
    min-height: 38px;
    padding: 0.45rem 0.9rem;
    background: rgba(17, 34, 64, 0.72);
    border: 1px solid rgba(100, 255, 218, 0.14);
    border-radius: 6px;
    color: #ccd6f6;
    cursor: pointer;
    font: inherit;
    transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.topic-filters button:hover,
.topic-filters button.active {
    background: rgba(255, 184, 107, 0.1);
    border-color: rgba(255, 184, 107, 0.42);
    color: #ffb86b;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.blog-post-card {
    background: rgba(17, 34, 64, 0.72);
    border: 1px solid rgba(100, 255, 218, 0.12);
    border-radius: 8px;
    min-width: 0;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 184, 107, 0.38);
}

.blog-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.15rem;
    color: inherit;
    text-decoration: none;
}

.blog-card-media {
    display: grid;
    place-items: center;
    height: 150px;
    margin-bottom: 1.15rem;
    background: rgba(10, 25, 47, 0.62);
    border: 1px solid rgba(100, 255, 218, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

.blog-card-media img {
    max-width: 78%;
    max-height: 118px;
    object-fit: contain;
}

.text-media i {
    color: #ffb86b;
    font-size: 3.4rem;
}

.blog-post-card h3 {
    color: #fff;
    font-size: 1.35rem;
    line-height: 1.28;
    margin: 0.85rem 0 0.65rem;
}

.blog-post-card p {
    color: #8892b0;
    line-height: 1.7;
    margin-bottom: auto;
}

.blog-empty {
    color: #8892b0;
    padding: 2rem 0;
    text-align: center;
}

[hidden] {
    display: none !important;
}

.post-main {
    padding-top: 1px;
}

.post-hero {
    display: block;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 130px 1rem 3rem;
}

.media-post-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 2rem;
    align-items: center;
}

.post-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #64ffda;
    text-decoration: none;
    margin-bottom: 1.5rem;
}

.post-hero h1 {
    color: #fff;
    font-size: 3rem;
    line-height: 1.12;
    margin: 0.9rem 0 1rem;
    max-width: 880px;
}

.post-dek {
    color: #8892b0;
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 760px;
}

.post-hero-image {
    width: 230px;
    height: 230px;
    object-fit: contain;
    padding: 1rem;
    background: rgba(17, 34, 64, 0.72);
    border: 1px solid rgba(100, 255, 218, 0.12);
    border-radius: 8px;
}

.post-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 2.5rem;
    align-items: start;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem 5rem;
}

.post-content {
    color: #ccd6f6;
    font-size: 1.08rem;
    line-height: 1.85;
}

.post-content p {
    margin-bottom: 1.2rem;
}

.post-content h2 {
    color: #64ffda;
    font-size: 1.55rem;
    line-height: 1.3;
    margin: 2.4rem 0 0.8rem;
}

.post-lede {
    color: #fff;
    font-size: 1.2rem;
}

.post-callout {
    margin: 2rem 0;
    padding: 1.25rem;
    background: rgba(255, 184, 107, 0.08);
    border-left: 3px solid #ffb86b;
    border-radius: 0 8px 8px 0;
    color: #ccd6f6;
}

.post-callout strong {
    color: #ffb86b;
}

.post-aside {
    position: sticky;
    top: 105px;
    padding: 1rem;
    background: rgba(17, 34, 64, 0.72);
    border: 1px solid rgba(100, 255, 218, 0.12);
    border-radius: 8px;
}

.post-aside h2 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.55rem;
}

.post-aside a {
    display: block;
    color: #8892b0;
    text-decoration: none;
    padding: 0.65rem 0;
    border-top: 1px solid rgba(100, 255, 218, 0.1);
    transition: color 0.3s ease;
}

.post-aside a:hover {
    color: #64ffda;
}

@media screen and (max-width: 900px) {
    .blog-hero,
    .featured-article,
    .media-post-hero,
    .post-layout {
        grid-template-columns: 1fr;
    }

    .blog-hero {
        min-height: auto;
        padding-top: 80px;
    }

    .blog-hero h1,
    .post-hero h1 {
        font-size: 2.35rem;
    }

    .featured-panel {
        min-height: 180px;
    }

    .post-aside {
        position: static;
    }
}

@media screen and (max-width: 768px) {
    .blog-page section,
    .post-page section {
        margin: 0 auto;
    }

    .blog-hero,
    .blog-feature-section,
    .blog-index-section,
    .post-hero,
    .post-layout {
        width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .blog-index-header {
        align-items: stretch;
        flex-direction: column;
    }

    .blog-search,
    .blog-search input {
        width: 100%;
    }

    .blog-posts-grid {
        grid-template-columns: 1fr;
    }

    .post-hero {
        padding-top: 70px;
    }
}

@media screen and (max-width: 520px) {
    .blog-hero h1,
    .post-hero h1 {
        font-size: 2rem;
    }

    .blog-preview-row {
        grid-template-columns: 48px 1fr;
    }

    .blog-preview-row i {
        display: none;
    }

    .blog-metrics div {
        min-width: calc(50% - 0.5rem);
    }

    .featured-article {
        padding: 1.25rem;
    }

    .post-hero-image {
        width: 100%;
        height: 190px;
    }
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #64ffda;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInDown 0.8s ease forwards;
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    margin-top: 2rem;
    background: transparent;
    border: 2px solid #64ffda;
    color: #64ffda;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
    background: rgba(100, 255, 218, 0.1);
}

.navbar.hidden {
    transform: translateY(-100%);
}

html {
    scroll-behavior: smooth;
}

.technologies-card {
    margin-top: 2rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 1rem;
    padding: 1rem;
    width: 100%;
    margin: 0 auto;
}

@media screen and (min-width: 769px) {
    .tech-grid {
        grid-template-columns: repeat(9, 1fr);
        gap: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .tech-item {
        padding: 0.8rem;
    }

    .tech-item img {
        width: 40px;
        height: 40px;
    }
}

.tech-item {
    background: rgba(17, 34, 64, 0.7);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid rgba(100, 255, 218, 0.1);
}

.tech-item img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.tech-item span {
    color: #8892b0;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.tech-description {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(17, 34, 64, 0.95);
    padding: 1rem;
    border-radius: 8px;
    width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 0.9rem;
    color: #8892b0;
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
    z-index: 100;
    border: 1px solid rgba(100, 255, 218, 0.1);
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px -10px rgba(2, 12, 27, 0.7);
    background-color: rgba(100, 255, 218, 0.1);
}

.tech-item:hover .tech-description {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.tech-item:hover img {
    transform: scale(1.1);
}

.github-link {
    margin-top: 1rem;
    font-size: 2rem;
    color: #fff;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.github-link:hover {
    color: #64ffda;
    transform: translateY(-3px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tech-item:nth-child(1) { animation-delay: 0.1s; }
.tech-item:nth-child(2) { animation-delay: 0.2s; }
.tech-item:nth-child(3) { animation-delay: 0.3s; }
.tech-item:nth-child(4) { animation-delay: 0.4s; }
.tech-item:nth-child(5) { animation-delay: 0.5s; }
.tech-item:nth-child(6) { animation-delay: 0.6s; }
.tech-item:nth-child(7) { animation-delay: 0.7s; }
.tech-item:nth-child(8) { animation-delay: 0.8s; }
.tech-item:nth-child(9) { animation-delay: 0.9s; }

section {
    width: 100%;
    max-width: 100vw;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-card p {
    color: #8892b0;
    margin-bottom: 1.2rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.about-card p:last-child {
    margin-bottom: 0;
}

.project-logo {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 8px;
    object-fit: contain;
}

.whisperpair-logo {
    max-width: 220px;
    box-shadow: none;
    filter: none;
}

.sshdesk-logo {
    max-width: 190px;
    filter: drop-shadow(0 8px 18px rgba(100, 255, 218, 0.14));
}

.project-icon {
    font-size: 6rem;
    color: #64ffda;
    margin-bottom: 1rem;
    display: block;
}

.tech-icon {
    font-size: 1.8rem;
    color: #64ffda;
    width: 30px;
    height: 30px;
    line-height: 30px;
    transition: transform 0.3s ease;
}

.tech-item:hover .tech-icon {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .hero {
        margin-top: 4rem;
    }
    
    .hero-content {
        text-align: center;
        padding: 0 1rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .second-line {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
        margin: 0;
        width: 100%;
    }

    .project-card {
        width: calc(100% - 2rem);
        margin: 1rem;
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .project-logo {
        width: 100%;
        max-width: 200px;
        height: auto;
        margin-bottom: 1rem;
    }

    .projects-card {
        margin: 1rem;
        padding: 1rem;
        width: calc(100% - 2rem);
    }
}

.minimal-blog,
.minimal-post-page {
    background: #0a192f;
    color: #ccd6f6;
}

.blog-page .minimal-shell,
.post-page .minimal-shell {
    width: min(760px, calc(100% - 3rem));
    margin: 0 auto;
    padding: 3rem 0 4rem;
}

.minimal-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-bottom: 4.5rem;
    color: #8892b0;
    font-size: 0.95rem;
}

.minimal-nav div {
    display: flex;
    gap: 1.15rem;
    align-items: center;
}

.minimal-nav a {
    color: inherit;
    text-decoration: none;
}

.minimal-nav a:hover,
.minimal-nav a[aria-current="page"] {
    color: #64ffda;
}

.minimal-header {
    margin-bottom: 3.4rem;
}

.minimal-header h1 {
    color: #fff;
    font-size: 3.2rem;
    line-height: 1.05;
    margin-bottom: 0.85rem;
    font-weight: 700;
}

.minimal-header p {
    color: #8892b0;
    font-size: 1.06rem;
    line-height: 1.75;
    max-width: 620px;
}

.minimal-post-list {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.minimal-post {
    display: block;
    padding: 0 0 2.15rem;
    margin: 0 0 2.15rem;
    border-bottom: 1px solid rgba(136, 146, 176, 0.18);
}

.minimal-post:last-child {
    margin-bottom: 0;
    border-bottom: 0;
}

.minimal-post time {
    display: block;
    color: #8892b0;
    font-size: 0.92rem;
    margin-bottom: 0.45rem;
}

.minimal-post h2 {
    font-size: 1.6rem;
    line-height: 1.28;
    margin-bottom: 0.55rem;
}

.minimal-post h2 a {
    color: #fff;
    text-decoration: none;
}

.minimal-post h2 a:hover {
    color: #64ffda;
}

.minimal-post p {
    color: #8892b0;
    line-height: 1.75;
    margin-bottom: 0.75rem;
}

.minimal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    color: #64ffda;
    font-size: 0.82rem;
}

.minimal-tags span::before {
    content: "#";
    color: rgba(100, 255, 218, 0.7);
}

.minimal-footer {
    width: min(760px, calc(100% - 3rem));
    margin: 0 auto;
    padding: 0 0 2.5rem;
    color: #8892b0;
    text-align: left;
}

.minimal-footer p {
    margin: 0;
}

.minimal-post-page .post-shell {
    max-width: 760px;
}

.minimal-post-page .post-hero,
.minimal-post-page .post-layout {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.minimal-post-page .post-hero {
    margin-bottom: 2.2rem;
}

.minimal-post-page .post-breadcrumb {
    display: inline-block;
    color: #8892b0;
    text-decoration: none;
    margin-bottom: 2.2rem;
}

.minimal-post-page .post-breadcrumb:hover {
    color: #64ffda;
}

.minimal-post-page .post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    color: #8892b0;
    font-size: 0.92rem;
    margin-bottom: 0.55rem;
}

.minimal-post-page .post-meta span + span::before {
    content: "/";
    color: rgba(136, 146, 176, 0.55);
    margin-right: 0.6rem;
}

.minimal-post-page .post-hero h1 {
    color: #fff;
    font-size: 2.85rem;
    line-height: 1.12;
    margin: 0 0 1rem;
}

.minimal-post-page .post-dek {
    color: #8892b0;
    font-size: 1.08rem;
    line-height: 1.75;
    max-width: none;
}

.minimal-post-page .post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1rem;
}

.minimal-post-page .post-tags span {
    min-height: auto;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: #64ffda;
    font-size: 0.82rem;
    font-weight: 500;
}

.minimal-post-page .post-tags span::before {
    content: "#";
    color: rgba(100, 255, 218, 0.7);
}

.minimal-post-page .media-post-hero {
    grid-template-columns: 1fr;
}

.minimal-post-page .post-hero-image {
    display: none;
}

.minimal-post-page .post-content {
    color: #ccd6f6;
    font-size: 1.05rem;
    line-height: 1.9;
}

.minimal-post-page .post-content p {
    margin-bottom: 1.25rem;
}

.minimal-post-page .post-content a {
    color: #64ffda;
    text-decoration: none;
}

.minimal-post-page .post-content a:hover {
    text-decoration: underline;
}

.minimal-post-page .post-content ul {
    margin: 0.2rem 0 1.35rem 1.2rem;
    padding-left: 1rem;
}

.minimal-post-page .post-content li {
    margin-bottom: 0.45rem;
}

.minimal-post-page .post-image-stack {
    margin: 2rem 0;
}

.minimal-post-page .post-image-stack img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 0.8rem;
    border: 1px solid rgba(136, 146, 176, 0.18);
    border-radius: 6px;
}

.minimal-post-page .post-image-stack figcaption {
    color: #8892b0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.minimal-post-page .coverage-list {
    columns: 2;
    column-gap: 2rem;
}

.minimal-post-page .coverage-list li {
    break-inside: avoid;
}

.minimal-post-page .post-lede {
    color: #ccd6f6;
    font-size: 1.12rem;
}

.minimal-post-page .post-content h2 {
    color: #fff;
    font-size: 1.45rem;
    line-height: 1.35;
    margin: 2.3rem 0 0.75rem;
}

.minimal-post-page .post-callout {
    margin: 2rem 0;
    padding: 0 0 0 1rem;
    background: transparent;
    border: 0;
    border-left: 2px solid rgba(100, 255, 218, 0.45);
    border-radius: 0;
    color: #8892b0;
}

.minimal-post-page .post-callout strong {
    color: #64ffda;
}

@media screen and (max-width: 640px) {
    .blog-page .minimal-shell,
    .post-page .minimal-shell {
        width: min(100% - 1.4rem, 760px);
        padding-top: 2rem;
    }

    .minimal-nav {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 3rem;
    }

    .minimal-header h1,
    .minimal-post-page .post-hero h1 {
        font-size: 2.25rem;
    }

    .minimal-post h2 {
        font-size: 1.35rem;
    }

    .minimal-footer {
        width: min(100% - 1.4rem, 760px);
    }

    .minimal-post-page .coverage-list {
        columns: 1;
    }
}

@media (max-width: 768px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0.5rem;
    }

    .tech-item {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .card {
        margin: 1rem;
        padding: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 0 0.5rem;
    }

    .about-card p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .tech-description {
        width: 180px;
        font-size: 0.8rem;
    }
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-icon {
    font-size: 2rem;
    color: white;
    transition: color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    color: #64ffda;
    transform: translateY(-3px);
}

.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(17, 34, 64, 0.95);
    color: #64ffda;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(100, 255, 218, 0.3);
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
    z-index: 10000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast i {
    font-size: 1.1rem;
    color: #64ffda;
}

.tech-item {
    transition: transform 0.3s ease;
}

.tech-item:hover {
    transform: scale(1.05);
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.gradient-text {
    background: linear-gradient(
        120deg,
        #64ffda 0%,
        #63f 25%,
        #ff6b6b 50%,
        #63f 75%,
        #64ffda 100%
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientFlow 8s ease infinite;
}

.hero-content {
    padding: 0 20px;
    text-align: center;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 10px;
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .about-card, .technologies-card {
        margin: 20px;
    }

    .project-card {
        margin: 10px;
    }
}

@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .social-links {
        gap: 15px;
    }
}

@media screen and (max-width: 768px) {
    .navbar {
        display: none;
    }
    
    #home {
        padding-top: 20px;
    }
    
    body {
        padding-top: 0;
    }
}

@media screen and (max-width: 768px) {
    section {
        margin: 2rem 1rem;
        padding: 1rem;
    }

    .hero-content {
        margin: 1rem;
        padding: 1rem;
    }

    .about-card, 
    .technologies-card, 
    .project-card {
        margin: 1.5rem 1rem;
        padding: 1.5rem;
    }

    .tech-grid {
        margin: 1rem;
    }

    .projects-grid {
        margin: 1rem;
    }

    .section-title {
        margin-bottom: 1.5rem;
    }

    section + section {
        margin-top: 3rem;
    }
}

@media screen and (max-width: 480px) {
    section {
        margin: 1.5rem 0.75rem;
        padding: 0.75rem;
    }

    .about-card, 
    .technologies-card, 
    .project-card {
        margin: 1rem 0.75rem;
        padding: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .projects-grid {
        gap: 1.5rem;
        padding: 0.5rem;
    }

    .project-card {
        margin: 0.5rem;
        padding: 1rem;
    }

    .project-logo {
        max-width: 150px;
    }
}

body {
    overflow-x: hidden;
    width: 100%;
}

@media screen and (max-width: 768px) {
    section {
        width: 100%;
        max-width: 100vw;
        padding: 0 1rem;
    }

    .hero-content {
        margin: 1rem;
        padding: 1rem;
    }

    .about-card, 
    .technologies-card, 
    .project-card {
        margin: 1.5rem 1rem;
        padding: 1.5rem;
    }

    .tech-grid {
        margin: 1rem;
    }

    .projects-grid {
        margin: 1rem;
    }

    .card, 
    .technologies-card, 
    .project-card {
        width: calc(100% - 2rem);
        margin: 1rem;
        box-sizing: border-box;
    }

    .hero-content,
    .about-card,
    .technologies-card,
    .projects-card {
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }
}

@media screen and (max-width: 480px) {
    section {
        margin: 1.5rem 0.75rem;
        padding: 0.75rem;
    }

    .about-card, 
    .technologies-card, 
    .project-card {
        margin: 1rem 0.75rem;
        padding: 1rem;
    }
}

@media screen and (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
        margin: 0;
        width: 100%;
    }

    .project-card {
        width: calc(100% - 2rem);
        margin: 1rem;
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .project-logo {
        width: 100%;
        max-width: 200px;
        height: auto;
        margin-bottom: 1rem;
    }

    .projects-card {
        margin: 1rem;
        padding: 1rem;
        width: calc(100% - 2rem);
    }

    .github-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .github-profile-link {
        align-self: flex-start;
    }

    .github-heatmap-link {
        padding: 0.75rem;
    }

    .github-card {
        padding: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .projects-grid {
        gap: 1.5rem;
        padding: 0.5rem;
    }

    .project-card {
        margin: 0.5rem;
        padding: 1rem;
    }

    .project-logo {
        max-width: 150px;
    }
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    section {
        padding: 0 1rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-card {
        width: 100%;
    }
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 1rem;
    padding: 1rem;
    width: 100%;
    margin: 0 auto;
}

@media screen and (min-width: 769px) {
    .tech-grid {
        grid-template-columns: repeat(9, 1fr);
        gap: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .tech-item {
        padding: 0.8rem;
    }

    .tech-item img {
        width: 40px;
        height: 40px;
    }
}

.about-card, 
.technologies-card, 
.projects-card,
.main-card {
    background: rgba(17, 34, 64, 0.7);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem auto;
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
    border: 1px solid rgba(100, 255, 218, 0.1);
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .about-card, 
    .technologies-card, 
    .projects-card {
        margin: 1rem;
        padding: 1.5rem;
        width: calc(100% - 2rem);
    }
}
