/* --- GLOBAL RESET & BASICS (Kept yours) --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: white;
    /* Added this to ensure text is white by default */
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- BUBBLES ANIMATION (Kept yours) --- */
.bubble {
    position: fixed;
    border-radius: 50%;
    opacity: 0.1;
    pointer-events: none;
    animation: float 20s infinite linear;
}

.bubble:nth-child(1) {
    width: 80px;
    height: 80px;
    left: 10%;
    background: rgba(255, 255, 255, 0.3);
    animation-delay: -5s;
}

.bubble:nth-child(2) {
    width: 120px;
    height: 120px;
    left: 70%;
    background: rgba(0, 200, 255, 0.2);
    animation-delay: -1s;
}

.bubble:nth-child(3) {
    width: 60px;
    height: 60px;
    left: 40%;
    background: rgba(255, 255, 255, 0.4);
    animation-delay: -8s;
}

.bubble:nth-child(4) {
    width: 100px;
    height: 100px;
    left: 20%;
    background: rgba(200, 100, 255, 0.25);
    animation-delay: -3s;
}

.bubble:nth-child(5) {
    width: 50px;
    height: 50px;
    left: 80%;
    background: rgba(255, 255, 100, 0.3);
    animation-delay: -5s;
}

.bubble:nth-child(6) {
    width: 140px;
    height: 140px;
    left: 55%;
    background: rgba(0, 255, 150, 0.2);
    animation-delay: -2s;
}

.bubble:nth-child(7) {
    width: 160px;
    height: 170px;
    right: 55%;
    background: rgba(0, 255, 150, 0.2);
    animation-delay: -1s;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
    }
}

/* --- NAVIGATION  --- */
nav {
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    position: sticky;
    /* Make sure nav stays at top */
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    cursor: default;
    user-select: none;
}

.nav-container {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links a,
.dropdown-toggle {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-links a:hover,
.dropdown-toggle:hover {
    color: white;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-top: 0.25rem;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    margin: 0.25rem;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}


/* --- NEW HUB LAYOUT (Bento Grid) --- */

.hub-grid {
    display: grid;
    /* This creates 3 columns on big screens */
    grid-template-columns: repeat(3, 1fr);
    /* This sets the height of the rows */
    grid-template-rows: auto auto;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 4rem auto;
    padding: 0 2rem;
    animation: fadeInUp 1s ease forwards;
}

/* Glass Card Style  */
.hub-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    padding: 2rem;
    color: white;
    transition: transform 0.3s ease, background 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Hover effects for the cards */
a.hub-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.18);
    cursor: pointer;
}

/* --- TILE SPECIFICS --- */

/* 1. Introduction Tile (Spans 2 columns) */
.intro-tile {
    grid-column: span 3;
    /* Full width on mobile default, overridden in media query */
    text-align: left;
    padding: 3rem;
}

@media (min-width: 768px) {
    .intro-tile {
        grid-column: span 2;
        /* Takes up 2/3rds of the top row */
        grid-row: span 2;
        /* Takes up 2 rows height */
    }
}

.greeting {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-name {
    font-size: 3rem;
    font-weight: 300;
    margin: 0.5rem 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-roles {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.role {
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    max-width: 600px;
}

/* 2. Action Tiles (Projects & Resume) */
.action-tile h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.action-tile p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.arrow-icon {
    font-size: 2rem;
    align-self: flex-end;
}

/* 3. Social Tile */
.social-tile .social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-links a {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem;
    border-radius: 12px;
    text-align: center;
    transition: background 0.3s;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hub-grid {
        grid-template-columns: 1fr;
        /* Stack everything in 1 column */
        margin-top: 2rem;
    }

    .intro-tile {
        grid-column: span 1;
        grid-row: span 1;
    }
}


/* image */
/* img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    object-fit: fill;
} */

.byteimg {
    height: 3.3em;
    /* Adjust height relative to the surrounding font size */
    width: 3.3em;
    /* Keep width consistent with height for square emojis */
    vertical-align: text-bottom;
    /* Align with the bottom of the text line */
    margin: 0 0.05em 0 0.1em;
    /* Add slight margins for spacing */
    /* Optional: Add border-radius for rounded appearance */
    /* border-radius: 50%; */
    /* Optional: Apply filters for specific visual effects */
    /* filter: grayscale(100%); */
}

/* Contact Page Styles */

/* Main content */
main {
    padding: 120px 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Split Layout */
.split-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

/* About Card (Left Side) */
.about-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 3rem;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.about-card h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.about-card h2 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: white;
}

.about-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-card p:last-child {
    margin-bottom: 0;
}

/* Contact Sidebar (Right Side) */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 140px;
}

.contact-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    color: white;
}

.contact-icon {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    display: block;
}

.contact-label {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
    color: white;
}

.contact-detail {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* Special styling for non-clickable items */
.contact-item.info-only {
    cursor: default;
}

.contact-item.info-only:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .split-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-card {
        padding: 2rem;
    }

    .about-card h1 {
        font-size: 2rem;
    }

    .about-card h2 {
        font-size: 1.8rem;
    }

    .contact-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    main {
        padding: 100px 1rem 4rem;
    }
}

@media (max-width: 480px) {
    .contact-sidebar {
        grid-template-columns: 1fr;
    }
}

/* --- ABOUT ME PAGE STYLES --- */

/* About Me Layout */
.about-container {
    max-width: 1100px;
    margin: 4rem auto;
    padding: 0 2rem;
    animation: fadeInUp 1s ease forwards;
}

/* Glass Card Style */
.glass-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    padding: 2.5rem;
    color: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

/* Hero Section */
.about-hero {
    display: flex;
    gap: 3rem;
    align-items: center;
    padding: 3rem;
    margin-bottom: 2rem;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.hero-content .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.05rem;
    opacity: 0.85;
    line-height: 1.7;
}

/* Story Section */
.story-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.story-section p {
    font-size: 1.05rem;
    opacity: 0.85;
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

/* Skills/Interests Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.info-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card li {
    padding: 0.5rem 0;
    opacity: 0.85;
    padding-left: 1.5rem;
    position: relative;
}

.info-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.6);
}

/* Fun Facts */
.fun-facts {
    padding: 2rem;
}

.fun-facts h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: left;
}

.fun-facts-content {
    display: flex;
    /* Items arranged in a row, need to remember the names*/
    align-items: center;
    /* Vertically center everything */
    gap: 1rem;


}

.fun-facts p {
    font-size: 1.05rem;
    opacity: 0.85;
    line-height: 1.7;
    text-align: left;
}

.play-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    color: white;
    font-size: 1.2rem;
}

.play-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* .play-btn::before {
    content: '▶';
    margin-left: 3px;
} */

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 3rem;
}

.cta-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.05rem;
    opacity: 0.85;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-primary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* About Me Page Responsive */
@media (max-width: 768px) {
    .about-hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* --- SKILLS AND CERTIFICATIONS SECTION --- */

/* Skills Section */
.skills-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.skill-category {
    margin-bottom: 1.5rem;
}

.skill-category h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 500;
    opacity: 0.9;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.skill-tag:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Certifications Section */
.certifications-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cert-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cert-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.cert-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.cert-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.cert-issuer {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 0.2rem;
}

.cert-date {
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
    .skills-container {
        grid-template-columns: 1fr;
        margin: 2rem auto;
    }

    .glass-card {
        padding: 2rem;
    }

    .glass-card h2 {
        font-size: 1.6rem;
    }
}

/* ========================================
   BLOG HUB PAGE STYLES
   ======================================== */

/* Blog Hub Container */
.blog-hub-container {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
    animation: fadeInUp 1s ease forwards;
}

.blog-hub-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-hub-header h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.blog-hub-header p {
    font-size: 1.2rem;
    opacity: 0.85;
}

/* Blog Grid - 3 Columns */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Blog Card */
.blog-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

.blog-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.blog-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.blog-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.blog-card p {
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .blog-hub-header h1 {
        font-size: 2rem;
    }

    .blog-card {
        padding: 1.5rem;
        min-height: 180px;
    }
}

@media (max-width: 480px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}


/* ========================================
   BLOG LIST PAGE STYLES
   ======================================== */

.blog-list-container {
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 2rem;
    animation: fadeInUp 1s ease forwards;
}

.blog-list-header {
    margin-bottom: 3rem;
}

.blog-list-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.blog-list-header p {
    font-size: 1.1rem;
    opacity: 0.85;
}

.posts-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.post-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 2rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.post-card:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateX(8px);
}

.post-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.post-preview {
    font-size: 1rem;
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-list-header h1 {
        font-size: 2rem;
    }

    .post-card {
        padding: 1.5rem;
    }
}

/* ========================================
   BLOG LIST PAGE STYLES
   ======================================== */

.blog-list-container {
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 2rem;
    animation: fadeInUp 1s ease forwards;
}

.blog-list-header {
    margin-bottom: 3rem;
}

.blog-list-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.blog-list-header p {
    font-size: 1.1rem;
    opacity: 0.85;
}

.posts-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.post-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 2rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.post-card:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateX(8px);
}

.post-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.post-preview {
    font-size: 1rem;
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-list-header h1 {
        font-size: 2rem;
    }

    .post-card {
        padding: 1.5rem;
    }
}


/* ========================================
   BLOG POST PAGE STYLES
   ======================================== */

.blog-post-container {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 2rem;
    animation: fadeInUp 1s ease forwards;
}

/* Post Header */
.post-header {
    margin-bottom: 3rem;
}

.back-link {
    display: inline-block;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: white;
}

.post-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.post-info {
    display: flex;
    gap: 0.5rem;
    font-size: 0.95rem;
    opacity: 0.7;
}

/* new par*/
.post-pic {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0
}

/* Post Content */
.post-content {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 3rem;
    color: white;
    line-height: 1.8;
}

.post-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.post-content h2 {
    font-size: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.post-content h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.post-content ul,
.post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

/* Code Blocks */
.post-content pre {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.post-content code {
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
}

/* Inline code */
.post-content p code {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9em;
}

/* Post Footer */
.post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .post-title {
        font-size: 2rem;
    }

    .post-content {
        padding: 2rem;
    }

    .post-content h2 {
        font-size: 1.6rem;
    }

    .post-content h3 {
        font-size: 1.3rem;
    }
}