/* blog page base styles */
html.blog-page {
    scroll-behavior: smooth;
    background: linear-gradient(-45deg, #0a0a0a, #121212, #1a1a1a, #0f0f0f);
    background-size: 400% 400%;
    animation: gradientShift 30s ease infinite;
}

/* video background desktop only */
#blog-background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 1;
    filter: blur(3px) brightness(0.6) contrast(0.9);
    opacity: 0.7;
    transition: all 0.3s ease;
    pointer-events: none;
    display: block;
}

/* hide video in themed modes */
body.akai-theme #blog-background-video,
body.hotline-miami-theme #blog-background-video,
body.star-glitcher-theme #blog-background-video,
body.frutiger-aero-theme #blog-background-video {
    display: none;
}

/* hide video on mobile */
@media (max-width: 768px) {
    #blog-background-video {
        display: none !important;
    }
    
    /* make sure grid bg shows on mobile */
    body.blog-page .background-grid {
        display: block !important;
        opacity: 1 !important;
        z-index: 2;
        animation: fadeInGrid 3s 1s forwards, panGrid 30s linear infinite;
    }
}

/* hide grid bg on desktop when video is there */
@media (min-width: 769px) {
    body.blog-page:not(.akai-theme):not(.hotline-miami-theme):not(.star-glitcher-theme):not(.frutiger-aero-theme) .background-grid {
        display: none !important;
    }
    
    /* show grid bg on desktop when in themed modes no video */
    body.blog-page.akai-theme .background-grid,
    body.blog-page.hotline-miami-theme .background-grid,
    body.blog-page.star-glitcher-theme .background-grid,
    body.blog-page.frutiger-aero-theme .background-grid {
        display: block !important;
        opacity: 1 !important;
        z-index: 2;
        animation: fadeInGrid 3s 1s forwards, panGrid 30s linear infinite;
    }
}

html.blog-page::-webkit-scrollbar {
    width: 16px;
}

html.blog-page::-webkit-scrollbar-track {
    background: transparent;
}

html.blog-page::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #4f4f4f, #6b6b6b);
    border-radius: 8px;
    border: 4px solid transparent;
    background-clip: content-box;
    box-shadow: 0 0 10px rgba(75, 75, 75, 0.3);
}

html.blog-page::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #6b6b6b, #8b8b8b);
}

.blog-main {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    display: block;
    align-items: unset;
    justify-content: unset;
    padding-top: 40px;
    padding-bottom: 100px;
}

.back-link {
    position: fixed;
    top: 30px;
    right: 40px;
    z-index: 10000;
    color: #c586ff;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    padding: 10px 15px;
    backdrop-filter: blur(10px);
    background: rgba(197, 134, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(197, 134, 255, 0.2);
}

.back-link:hover {
    color: #fff;
    text-shadow: 0 0 12px #c586ff;
    transform: translateX(5px) scale(1.05);
    background: rgba(197, 134, 255, 0.2);
}

/* main blog container */
.blog-container {
    width: 100%;
    max-width: 1400px;
    padding: 40px;
    margin: 0 auto;
    will-change: transform;
    animation: blog-fade-in 2s 0.5s ease-out forwards;
    opacity: 0;
    position: relative;
    z-index: 10;
}

@keyframes blog-fade-in {
    to { opacity: 1; }
}

/* tab navigation */
.tab-navigation {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 40px;
}

.tab-btn {
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.6), rgba(25, 25, 25, 0.4));
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 1.5rem 1rem;
    font-family: 'Roboto Mono', monospace;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        rgba(0, 0, 0, 0.3) 0px 8px 16px 0px,
        rgba(0, 0, 0, 0.2) 0px 12px 32px 0px,
        inset 0 0 30px rgba(255, 255, 255, 0.02);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transform: rotate(45deg);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.tab-btn:hover::before {
    transform: rotate(45deg) translate(50%, 50%);
}

.tab-btn:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        rgba(0, 0, 0, 0.4) 0px 16px 32px 0px,
        rgba(0, 0, 0, 0.3) 0px 24px 64px 0px,
        0 0 50px rgba(197, 134, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.9);
}

.tab-btn.active {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        rgba(0, 0, 0, 0.4) 0px 16px 32px 0px,
        rgba(0, 0, 0, 0.3) 0px 24px 64px 0px,
        0 0 50px rgba(197, 134, 255, 0.3);
    border-color: rgba(197, 134, 255, 0.4);
    color: #fff;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.8), rgba(25, 25, 25, 0.6));
}

.tab-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.tab-btn:hover .tab-icon {
    transform: scale(1.1);
}

.tab-btn span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* tab content */
.tab-content-wrapper {
    position: relative;
    min-height: 600px;
}

.tab-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.tab-content.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: all;
    position: relative;
}

/* about me tab */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.blog-post {
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.6), rgba(25, 25, 25, 0.4));
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2.5rem;
    font-family: 'Roboto Mono', monospace;
    line-height: 1.8;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        rgba(0, 0, 0, 0.3) 0px 8px 16px 0px,
        rgba(0, 0, 0, 0.2) 0px 12px 32px 0px,
        inset 0 0 30px rgba(255, 255, 255, 0.02);
    position: relative;
    overflow: hidden;
}

.blog-post::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transform: rotate(45deg);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.about-grid .blog-post:hover::before {
    transform: rotate(45deg) translate(50%, 50%) !important;
}

.about-grid .blog-post:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow:
        rgba(0, 0, 0, 0.4) 0px 16px 32px 0px,
        rgba(0, 0, 0, 0.3) 0px 24px 64px 0px,
        0 0 50px rgba(197, 134, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
}

/* Force hover states to work even after tab switching */
.about-grid .blog-post.hover-refresh:hover,
.about-grid .blog-post:hover:not([style*="pointer-events: none"]) {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow:
        rgba(0, 0, 0, 0.4) 0px 16px 32px 0px,
        rgba(0, 0, 0, 0.3) 0px 24px 64px 0px,
        0 0 50px rgba(197, 134, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    pointer-events: auto !important;
}

/* Manual hover effects support */
.about-grid .blog-post.manual-hover-active::before {
    transform: rotate(45deg) translate(50%, 50%) !important;
}

/* Ultra-aggressive fix to restore hover states after tab switching */
.tab-content.hover-fix-applied .about-grid .blog-post:hover,
.tab-content.hover-fix-applied .blog-post:hover,
#about-tab.hover-fix-applied .blog-post:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow:
        rgba(0, 0, 0, 0.4) 0px 16px 32px 0px,
        rgba(0, 0, 0, 0.3) 0px 24px 64px 0px,
        0 0 50px rgba(197, 134, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 9999 !important;
}

.tab-content.hover-fix-applied .about-grid .blog-post:hover::before,
.tab-content.hover-fix-applied .blog-post:hover::before,
#about-tab.hover-fix-applied .blog-post:hover::before {
    transform: rotate(45deg) translate(50%, 50%) !important;
}

/* Force all areas of blog posts to be interactive */
.tab-content.hover-fix-applied .blog-post,
#about-tab.hover-fix-applied .blog-post,
.tab-content.hover-fix-applied .about-grid .blog-post,
#about-tab.hover-fix-applied .about-grid .blog-post {
    cursor: pointer !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 1000 !important;
}

/* Force all children to be interactive */
.tab-content.hover-fix-applied .blog-post *,
#about-tab.hover-fix-applied .blog-post *,
.tab-content.hover-fix-applied .about-grid .blog-post *,
#about-tab.hover-fix-applied .about-grid .blog-post * {
    pointer-events: auto !important;
    position: relative !important;
    z-index: 1001 !important;
}

/* Specifically force links to work */
.tab-content.hover-fix-applied .blog-post a,
#about-tab.hover-fix-applied .blog-post a {
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 1002 !important;
    display: inline !important;
}

.blog-post h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow:
        1px 1px 0px rgba(0,0,0,0.7),
        2px 2px 0px rgba(0,0,0,0.5),
        3px 3px 2px rgba(0,0,0,0.3),
        0 0 15px rgba(255, 255, 255, 0.1);
    font-weight: 600;
}

.blog-post p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.2em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.blog-post a {
    color: #c586ff;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    padding: 2px 4px;
    border-radius: 4px;
    background: rgba(197, 134, 255, 0.1);
}

.blog-post a:hover {
    color: #fff;
    text-shadow: 0 0 12px #c586ff;
    background: rgba(197, 134, 255, 0.2);
    transform: translateX(3px);
}

/* status tab */
.status-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
    align-items: start;
}

.current-status h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 0 0 20px rgba(197, 134, 255, 0.3);
}

.status-card {
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.8), rgba(25, 25, 25, 0.6));
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
}

.status-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(197, 134, 255, 0.3);
}

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

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-dot.online {
    background: #43b581;
    box-shadow: 0 0 20px rgba(67, 181, 129, 0.5);
}

.status-dot.idle {
    background: #faa61a;
    box-shadow: 0 0 20px rgba(250, 166, 26, 0.5);
}

.status-dot.dnd {
    background: #f04747;
    box-shadow: 0 0 20px rgba(240, 71, 71, 0.5);
}

.status-dot.offline {
    background: #747f8d;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

.status-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
}

.current-activity {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.current-activity p {
    font-family: 'Roboto Mono', monospace;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* discord widget - redesigned to match site theme */
.discord-widget h3 {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: #fff;
    text-align: center;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.discord-card {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(20, 20, 20, 0.9));
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 1.8rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.discord-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(59, 130, 246, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.discord-card:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 16px 64px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(124, 58, 237, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(124, 58, 237, 0.3);
}

.discord-card:hover::before {
    opacity: 1;
}

.discord-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.discord-avatar {
    position: relative;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.discord-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    filter: brightness(0.9);
}

.discord-card:hover .discord-avatar img {
    border-color: rgba(124, 58, 237, 0.5);
    filter: brightness(1);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
}

.discord-status-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.8);
    background: #747f8d;
    transition: all 0.3s ease;
}

.discord-status-indicator.online { 
    background: #43b581;
    box-shadow: 0 0 10px rgba(67, 181, 129, 0.5);
}
.discord-status-indicator.idle { 
    background: #faa61a;
    box-shadow: 0 0 10px rgba(250, 166, 26, 0.5);
}
.discord-status-indicator.dnd { 
    background: #f04747;
    box-shadow: 0 0 10px rgba(240, 71, 71, 0.5);
}

.discord-info h4 {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.3rem;
    color: #fff;
    margin: 0 0 0.3rem 0;
    font-weight: 700;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.discord-info p {
    font-family: 'Source Sans Pro', sans-serif;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.discord-banner {
    height: 140px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #7c3aed, #3b82f6, #06b6d4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.discord-card:hover .discord-banner {
    transform: scale(1.02);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.discord-banner-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #7c3aed, #3b82f6, #06b6d4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'Source Sans Pro', sans-serif;
    position: absolute;
    top: 0;
    left: 0;
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.discord-profile-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    border-radius: 12px;
    overflow: hidden;
}

.discord-bio {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    padding: 1.2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.discord-card:hover .discord-bio {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(124, 58, 237, 0.2);
}

.discord-bio p {
    font-family: 'Source Sans Pro', sans-serif;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.discord-bio .bio-title {
    font-weight: 700;
    color: #a855f7;
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.discord-activity {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    padding: 1.2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.discord-card:hover .discord-activity {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(59, 130, 246, 0.2);
}

.discord-activity p {
    font-family: 'Source Sans Pro', sans-serif;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    text-align: center;
    font-style: italic;
    font-size: 0.95rem;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.discord-note {
    margin-top: 1rem;
    text-align: center;
}

.discord-note p {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* pics tab */
.pics-container {
    width: 100%;
}

.pics-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 2rem;
    padding: 8px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pics-tab-btn {
    padding: 10px 16px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
}

.pics-tab-btn:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.05);
}

.pics-tab-btn.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(197, 134, 255, 0.3), rgba(197, 134, 255, 0.1));
    border: 1px solid rgba(197, 134, 255, 0.3);
}

.pics-content {
    position: relative;
    min-height: 400px;
}

.pics-tab-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.4s ease;
    pointer-events: none;
}

.pics-tab-content.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: all;
    position: relative;
}

.upload-area {
    margin-bottom: 2rem;
}

.upload-zone {
    border: 2px dashed rgba(197, 134, 255, 0.5);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    background: rgba(197, 134, 255, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-zone:hover {
    border-color: rgba(197, 134, 255, 0.8);
    background: rgba(197, 134, 255, 0.1);
    transform: translateY(-2px);
}

.upload-zone.drag-over {
    border-color: #c586ff;
    background: rgba(197, 134, 255, 0.2);
    transform: scale(1.02);
}

.upload-icon {
    width: 48px;
    height: 48px;
    fill: rgba(197, 134, 255, 0.8);
    margin-bottom: 1rem;
}

.upload-zone p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.pics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    align-items: start;
}

.pic-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pic-placeholder p {
    font-family: 'Roboto Mono', monospace;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-style: italic;
}

.pic-item {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(20px);
    will-change: transform;
    aspect-ratio: 1;
    position: relative;
}

.pic-item:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 32px rgba(197, 134, 255, 0.2);
    border-color: rgba(197, 134, 255, 0.3);
}

.pic-image-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 70%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    border-radius: 0;
}

.pic-item:hover img {
    transform: scale(1.05);
}

.pic-description {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.pic-description h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: #c586ff;
    margin: 0 0 0.3rem 0;
    font-weight: 600;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pic-description p {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* blog tab */
.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.blog-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    color: #fff;
    text-shadow: 0 0 20px rgba(197, 134, 255, 0.3);
    margin: 0;
}

.new-post-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(197, 134, 255, 0.3), rgba(197, 134, 255, 0.1));
    border: 1px solid rgba(197, 134, 255, 0.3);
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
}

.new-post-btn:hover {
    background: linear-gradient(135deg, rgba(197, 134, 255, 0.4), rgba(197, 134, 255, 0.2));
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(197, 134, 255, 0.2);
}

.new-post-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blog-post-item {
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.8), rgba(25, 25, 25, 0.6));
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
}

.blog-post-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(197, 134, 255, 0.3);
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.post-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    color: #fff;
    margin: 0;
}

.post-meta {
    display: flex;
    gap: 1rem;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.post-author {
    color: #c586ff;
    font-weight: 500;
}

.post-content {
    margin-bottom: 1.5rem;
}

.post-content p, .post-text {
    font-family: 'Roboto Mono', monospace;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 1rem;
    white-space: normal;
}

/* Ensure HTML elements in post text are rendered properly */
.post-text a, .post-text img, .post-text div, .post-text span {
    display: inline;
    white-space: normal;
}

.post-text .blog-image-container {
    display: block;
    margin: 1rem 0;
}

.post-text .blog-image {
    display: block;
    width: 100%;
    height: auto;
}

.post-text em {
    color: #c586ff;
    font-style: italic;
}

.post-text strong {
    color: #fff;
    font-weight: 600;
}

.read-more-btn {
    background: linear-gradient(135deg, rgba(197, 134, 255, 0.2), rgba(197, 134, 255, 0.1));
    border: 1px solid rgba(197, 134, 255, 0.3);
    border-radius: 8px;
    padding: 8px 16px;
    color: #c586ff;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: linear-gradient(135deg, rgba(197, 134, 255, 0.3), rgba(197, 134, 255, 0.2));
    transform: translateY(-1px);
}

/* blog posts are simple and clean now w no interactive shit */

/* theme compatibility */
/* star glitcher theme overrides */
.star-glitcher-theme .tab-btn.active {
    background: linear-gradient(135deg, rgba(var(--sg-primary-rgb), 0.3), rgba(var(--sg-primary-rgb), 0.1));
    border-color: rgba(var(--sg-primary-rgb), 0.3);
    box-shadow: 0 4px 20px rgba(var(--sg-primary-rgb), 0.2);
}

.star-glitcher-theme .pics-tab-btn.active,
.star-glitcher-theme .new-post-btn,
.star-glitcher-theme .submit-comment {
    background: linear-gradient(135deg, rgba(var(--sg-primary-rgb), 0.3), rgba(var(--sg-primary-rgb), 0.1));
    border-color: rgba(var(--sg-primary-rgb), 0.3);
}

.star-glitcher-theme .blog-post a,
.star-glitcher-theme .comment strong {
    color: var(--sg-primary);
}

.star-glitcher-theme .status-dot.online {
    background: var(--sg-primary);
    box-shadow: 0 0 20px rgba(var(--sg-primary-rgb), 0.5);
}

.star-glitcher-theme .upload-zone {
    border-color: rgba(var(--sg-primary-rgb), 0.5);
    background: rgba(var(--sg-primary-rgb), 0.05);
}

.star-glitcher-theme .upload-zone:hover {
    border-color: rgba(var(--sg-primary-rgb), 0.8);
    background: rgba(var(--sg-primary-rgb), 0.1);
}

.star-glitcher-theme .comment {
    border-left-color: rgba(var(--sg-primary-rgb), 0.3);
}

/* akai theme overrides */
.akai-theme .tab-btn.active {
    background: linear-gradient(135deg, rgba(255, 0, 85, 0.3), rgba(255, 0, 85, 0.1));
    border-color: rgba(255, 0, 85, 0.3);
    box-shadow: 0 4px 20px rgba(255, 0, 85, 0.2);
}

.akai-theme .pics-tab-btn.active,
.akai-theme .new-post-btn,
.akai-theme .submit-comment {
    background: linear-gradient(135deg, rgba(255, 0, 85, 0.3), rgba(255, 0, 85, 0.1));
    border-color: rgba(255, 0, 85, 0.3);
}

.akai-theme .blog-post a,
.akai-theme .comment strong {
    color: #ff0055;
}

.akai-theme .status-dot.online {
    background: #ff0055;
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.5);
}

.akai-theme .upload-zone {
    border-color: rgba(255, 0, 85, 0.5);
    background: rgba(255, 0, 85, 0.05);
}

.akai-theme .comment {
    border-left-color: rgba(255, 0, 85, 0.3);
}

/* miami theme overrides */
.hotline-miami-theme.blog-page {
    font-family: 'Press Start 2P', cursive;
}

.hotline-miami-theme .blog-container {
    background: linear-gradient(135deg, rgba(50, 0, 50, 0.4), rgba(0, 50, 80, 0.2));
    backdrop-filter: blur(20px) brightness(0.9) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) brightness(0.9) saturate(1.3);
    border: 2px solid rgba(0, 168, 243, 0.4);
    box-shadow: 
        0 0 50px rgba(216, 30, 91, 0.2), 
        inset 0 0 30px rgba(0, 168, 243, 0.1);
}

.hotline-miami-theme .blog-main h1,
.hotline-miami-theme .tab-navigation h2 {
    font-family: 'Press Start 2P', cursive;
    color: #FF00FF;
    text-shadow: 
        0 0 8px #00FFFF, 
        0 0 15px #00FFFF, 
        0 0 25px #FF00FF, 
        3px 3px 0px #000;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.hotline-miami-theme .tab-btn {
    font-family: 'Press Start 2P', cursive;
    color: #00FFFF;
    background: linear-gradient(135deg, rgba(50, 0, 50, 0.6), rgba(0, 50, 80, 0.4));
    border: 2px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.1);
    font-size: 0.7rem;
    text-shadow: 0 0 8px #FF00FF, 2px 2px 0px #000;
}

.hotline-miami-theme .tab-btn:hover {
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.4), rgba(0, 255, 255, 0.2));
    border-color: rgba(255, 20, 147, 0.5);
    box-shadow: 0 6px 25px rgba(255, 20, 147, 0.3);
    text-shadow: 0 0 12px #00FFFF, 2px 2px 0px #000;
}

.hotline-miami-theme .tab-btn.active {
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.6), rgba(0, 255, 255, 0.3));
    border-color: rgba(255, 20, 147, 0.7);
    box-shadow: 0 8px 30px rgba(255, 20, 147, 0.4);
    color: #fff;
}

.hotline-miami-theme .pics-tab-btn {
    font-family: 'Press Start 2P', cursive;
    color: #00FFFF;
    background: linear-gradient(135deg, rgba(50, 0, 50, 0.6), rgba(0, 50, 80, 0.4));
    border: 2px solid rgba(0, 255, 255, 0.3);
    font-size: 0.6rem;
    text-shadow: 0 0 8px #FF00FF;
}

.hotline-miami-theme .pics-tab-btn.active,
.hotline-miami-theme .new-post-btn,
.hotline-miami-theme .submit-comment {
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.6), rgba(0, 255, 255, 0.3));
    border-color: rgba(255, 20, 147, 0.7);
    color: #fff;
    text-shadow: 0 0 12px #00FFFF, 2px 2px 0px #000;
}

.hotline-miami-theme .blog-post {
    font-family: 'Press Start 2P', cursive;
    background: linear-gradient(135deg, rgba(50, 0, 50, 0.7), rgba(0, 50, 80, 0.5));
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border: 2px solid rgba(0, 255, 255, 0.4);
    box-shadow: 
        0 8px 32px rgba(216, 30, 91, 0.3),
        0 0 50px rgba(0, 168, 243, 0.2),
        inset 0 0 20px rgba(255, 0, 255, 0.1);
    line-height: 1.8;
}

.hotline-miami-theme .blog-post h2,
.hotline-miami-theme .blog-post h3 {
    font-family: 'Press Start 2P', cursive;
    color: #FF00FF;
    text-shadow: 
        0 0 8px #00FFFF, 
        0 0 15px #00FFFF, 
        2px 2px 0 #000;
    font-size: 1rem;
    margin-bottom: 15px;
}

.hotline-miami-theme .blog-post p,
.hotline-miami-theme .comment-text {
    color: #eee;
    font-size: 0.7rem;
    line-height: 1.6;
    text-shadow: 1px 1px 0 #000;
}

.hotline-miami-theme .blog-post a,
.hotline-miami-theme .comment strong {
    color: #ff1493;
    text-shadow: 0 0 8px #ff1493, 1px 1px 0 #000;
}

.hotline-miami-theme .blog-post a:hover {
    color: #00FFFF;
    text-shadow: 0 0 12px #00FFFF, 1px 1px 0 #000;
}

.hotline-miami-theme .back-link {
    font-family: 'Press Start 2P', cursive;
    color: #00FFFF;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(255, 0, 255, 0.1));
    border: 2px solid rgba(0, 255, 255, 0.4);
    text-shadow: 0 0 8px #FF00FF, 2px 2px 0px #000;
    font-size: 0.7rem;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.2);
}

.hotline-miami-theme .back-link:hover {
    color: #fff;
    text-shadow: 0 0 12px #00FFFF, 2px 2px 0px #000;
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.3), rgba(0, 255, 255, 0.2));
    border-color: rgba(255, 20, 147, 0.5);
    box-shadow: 0 6px 25px rgba(255, 20, 147, 0.3);
}

.hotline-miami-theme .status-dot.online {
    background: #ff1493;
    box-shadow: 0 0 20px rgba(255, 20, 147, 0.5);
}

.hotline-miami-theme .upload-zone {
    border: 2px dashed rgba(255, 20, 147, 0.5);
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.1), rgba(0, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hotline-miami-theme .comment {
    background: linear-gradient(135deg, rgba(50, 0, 50, 0.3), rgba(0, 50, 80, 0.2));
    border-left: 4px solid rgba(255, 20, 147, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hotline-miami-theme .comment-author {
    color: #FF00FF;
    text-shadow: 0 0 8px #FF00FF, 1px 1px 0 #000;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.7rem;
}

.hotline-miami-theme .comment-date {
    color: #00FFFF;
    text-shadow: 0 0 6px #00FFFF;
    font-size: 0.6rem;
}

.hotline-miami-theme .new-post-form textarea,
.hotline-miami-theme .comment-form textarea,
.hotline-miami-theme .comment-form input {
    font-family: 'Press Start 2P', cursive;
    background: linear-gradient(135deg, rgba(50, 0, 50, 0.6), rgba(0, 50, 80, 0.4));
    border: 2px solid rgba(0, 255, 255, 0.3);
    color: #eee;
    font-size: 0.7rem;
    line-height: 1.6;
    text-shadow: 1px 1px 0 #000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hotline-miami-theme .new-post-form textarea:focus,
.hotline-miami-theme .comment-form textarea:focus,
.hotline-miami-theme .comment-form input:focus {
    border-color: rgba(255, 20, 147, 0.5);
    box-shadow: 0 0 15px rgba(255, 20, 147, 0.3);
    outline: none;
}

/* frutiger aero theme overrides */
.frutiger-aero-theme .tab-btn.active {
    background: linear-gradient(135deg, rgba(102, 204, 255, 0.3), rgba(0, 150, 255, 0.1));
    border-color: rgba(102, 204, 255, 0.3);
    box-shadow: 0 4px 20px rgba(102, 204, 255, 0.2);
}

.frutiger-aero-theme .pics-tab-btn.active,
.frutiger-aero-theme .new-post-btn,
.frutiger-aero-theme .submit-comment {
    background: linear-gradient(135deg, rgba(102, 204, 255, 0.3), rgba(0, 150, 255, 0.1));
    border-color: rgba(102, 204, 255, 0.3);
}

.frutiger-aero-theme .blog-post a,
.frutiger-aero-theme .comment strong {
    color: #66ccff;
}

.frutiger-aero-theme .status-dot.online {
    background: #66ccff;
    box-shadow: 0 0 20px rgba(102, 204, 255, 0.5);
}

.frutiger-aero-theme .upload-zone {
    border-color: rgba(102, 204, 255, 0.5);
    background: rgba(102, 204, 255, 0.05);
}

.frutiger-aero-theme .comment {
    border-left-color: rgba(102, 204, 255, 0.3);
}

/* mobile responsiveness */
@media (max-width: 1024px) {
    .blog-container {
        padding: 30px 20px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .status-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tab-navigation {
        gap: 4px;
        padding: 6px;
    }
    
    .tab-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .tab-btn span {
        display: none;
    }
}

@media (max-width: 768px) {
    html.blog-page {
        background-color: #121212;
    }

    body.blog-page {
        height: auto;
        overflow: visible;
        position: relative;
        background-color: transparent;
        overscroll-behavior-y: contain;
    }

    main.blog-main {
        flex-grow: 1;
        position: relative;
        height: auto;
        overflow: visible;
        padding: 0;
        z-index: 1;
    }

    .back-link {
        top: 20px;
        right: 20px;
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .blog-container {
        padding: 80px 15px 280px 15px;
    }
    
    .tab-navigation {
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 30px;
    }
    
    .tab-btn {
        padding: 10px 14px;
        font-size: 0.85rem;
    }
    
    .tab-content-wrapper {
        min-height: 500px;
    }

    .blog-post {
        padding: 1.8rem;
        border-radius: 16px;
    }
    
    .blog-post h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .blog-post p {
        font-size: 1rem;
    }
    
    .status-container {
        grid-template-columns: 1fr;
    }
    
    .current-status h2 {
        font-size: 1.8rem;
    }
    
    .pics-nav {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .pics-tab-btn {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
    
    .upload-zone {
        padding: 2rem;
    }
    
    .upload-zone p {
        font-size: 1rem;
    }
    
    .pics-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 1rem;
    }
    
    .blog-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .new-post-btn {
        justify-content: center;
    }
    
    .discord-bio {
        padding: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .discord-bio p {
        font-size: 0.9rem;
    }
    
    .discord-banner {
        height: 100px;
    }
    
    body.blog-page footer {
        position: fixed;
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 30px);
        max-width: 350px;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(5px);
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding: 8px 12px;
        font-size: 11px;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .blog-container {
        padding: 70px 10px 300px 10px;
    }
    
    .tab-btn {
        padding: 8px 10px;
        min-width: auto;
    }
    
    .tab-icon {
        width: 16px;
        height: 16px;
    }
    
    .blog-post {
        padding: 1.5rem;
    }
    
    .blog-post h2 {
        font-size: 1.6rem;
    }
    
    .blog-post p {
        font-size: 0.95rem;
    }
    
    .upload-zone {
        padding: 1.5rem;
    }
    
    .upload-icon {
        width: 36px;
        height: 36px;
    }
    
    .upload-zone p {
        font-size: 0.9rem;
    }
    
    .pics-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 0.8rem;
    }
    
    .pic-item {
        aspect-ratio: 1;
    }
    
    .pic-description h4 {
        font-size: 0.85rem;
    }
    
    .pic-description p {
        font-size: 0.7rem;
        -webkit-line-clamp: 1;
    }
}



/* Image rotation fixes for S24 Ultra photos - moved to end to prevent interference */

/* Image loading placeholder styles */
.image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: opacity 0.3s ease;
}

.placeholder-shimmer {
    width: 60%;
    height: 60%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
    margin-bottom: 1rem;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.loading-text {
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Roboto Mono', monospace;
    font-size: 0.8rem;
}

.lazy-image {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-image[data-loaded="true"] {
    opacity: 1;
}

/* Improved modal styles for better image display */
.modal-content .image-container {
    min-height: 400px;
    max-height: 70vh;
}

.modal-content .image-container img {
    max-width: 90vw;
    max-height: 70vh;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
}

@media (max-width: 768px) {
    .modal-content .image-container {
        min-height: 300px;
        max-height: 60vh;
    }
    
    .modal-content .image-container img {
        max-width: 85vw;
        max-height: 60vh;
    }
}

/* Gallery image rotations */
.pics-grid .pic-item img[src*="20240506_120621"],
.pics-grid .pic-item img[src*="20240701_193115"],
.pics-grid .pic-item img[src*="20240908_151546"],
.pics-grid .pic-item img[src*="20241015_115036_001"],
.pics-grid .pic-item img[src*="20241015_115044"],
.pics-grid .pic-item img[src*="20250119_124104"],
.pics-grid .pic-item img[src*="20250202_124649"],
.pics-grid .pic-item img[src*="20250216_170729"],
.pics-grid .pic-item img[src*="20250408_131615"],
.pics-grid .pic-item img[src*="20250413_154008"],
.pics-grid .pic-item img[src*="20250423_181119"],
.pics-grid .pic-item img[src*="20250423_181758"],
.pics-grid .pic-item img[src*="20250519_182731"],
.pics-grid .pic-item img[src*="20250801_114741"] {
    transform: rotate(-90deg) !important;
}

.pics-grid .pic-item img[src*="20210619_202146"],
.pics-grid .pic-item img[src*="20210619_202605"],
.pics-grid .pic-item img[src*="20210715_194706"],
.pics-grid .pic-item img[src*="20210717_173643"],
.pics-grid .pic-item img[src*="20210717_173646"],
.pics-grid .pic-item img[src*="20210719_102537"],
.pics-grid .pic-item img[src*="20210719_102909"],
.pics-grid .pic-item img[src*="20210719_103020"],
.pics-grid .pic-item img[src*="20210719_103325"],
.pics-grid .pic-item img[src*="20210719_112214"],
.pics-grid .pic-item img[src*="20210725_200834"],
.pics-grid .pic-item img[src*="20220404_123742"],
.pics-grid .pic-item img[src*="20220404_124342"],
.pics-grid .pic-item img[src*="20220409_120034"],
.pics-grid .pic-item img[src*="20220409_121637"],
.pics-grid .pic-item img[src*="20220409_130642"],
.pics-grid .pic-item img[src*="20220803_120850"],
.pics-grid .pic-item img[src*="20220803_183025"],
.pics-grid .pic-item img[src*="20220803_183042"],
.pics-grid .pic-item img[src*="20230627_143710"],
.pics-grid .pic-item img[src*="20230627_143719"],
.pics-grid .pic-item img[src*="20241203_123114"],
.pics-grid .pic-item img[src*="20240513_171540"],
.pics-grid .pic-item img[src*="20240617_170923"],
.pics-grid .pic-item img[src*="20241024_112202"],
.pics-grid .pic-item img[src*="20241024_140850"],
.pics-grid .pic-item img[src*="20241024_141021"],
.pics-grid .pic-item img[src*="20241024_154937"],
.pics-grid .pic-item img[src*="20241024_160017"],
.pics-grid .pic-item img[src*="20241203_131605"],
.pics-grid .pic-item img[src*="20250224_173943"],
.pics-grid .pic-item img[src*="20250620_143036"],
.pics-grid .pic-item img[src*="20241119_110111"],
.pics-grid .pic-item img[src*="20241125_125929"],
.pics-grid .pic-item img[src*="20250110_135935"],
.pics-grid .pic-item img[src*="20250408_112607"],
.pics-grid .pic-item img[src*="20250523_151616"],
.pics-grid .pic-item img[src*="20250527_103202"],
.pics-grid .pic-item img[src*="20250527_103621"],
.pics-grid .pic-item img[src*="20250627_182937"],
.pics-grid .pic-item img[src*="20250711_141226"],
.pics-grid .pic-item img[src*="20250722_125633"],
.pics-grid .pic-item img[src*="20250724_215942"] {
    transform: rotate(90deg) !important;
}

/* Modal image rotations - disable all rotations in modal for better display */
/* The modal should display images in their natural orientation for better viewing */

/* All modal images should display in their natural orientation */
.modal-content img {
    transform: none !important;
    max-width: 90vw;
    max-height: 70vh;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
}