
strong {
    font-weight: 700;
    color: var(--secondary);
}

em {
    font-style: italic;
    color: var(--text-light);
}
a{
    transition:color var(--transition-smooth)
}
a:hover{
    color:var(--accent)
}

/* ===================================
   ENHANCED HEADER WITH GLASSMORPHISM
   =================================== */
.site-header {
    position: sticky;
    top: 0;
    background:
        linear-gradient(180deg, rgba(20, 28, 40, 0.94) 0%, rgba(11, 17, 26, 0.94) 100%),
        radial-gradient(circle at top, rgba(230, 158, 86, 0.07) 0%, transparent 60%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.35),
        0 4px 16px rgba(230, 158, 86, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(230, 158, 86, 0.18);
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background:
        linear-gradient(180deg, rgba(15, 22, 33, 0.96) 0%, rgba(11, 17, 26, 0.96) 100%),
        radial-gradient(circle at top, rgba(230, 158, 86, 0.1) 0%, transparent 60%);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 4px 20px rgba(230, 158, 86, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    border-bottom-color: rgba(230, 158, 86, 0.28);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
}

.header-logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.header-logo-link:hover {
    transform: scale(1.05);
}

.header-logo {
    width: 50px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(230, 158, 86, 0.3));
    transition: filter 0.3s ease;
}

.header-logo-link:hover .header-logo {
    filter: drop-shadow(0 6px 12px rgba(230, 158, 86, 0.5));
}

.header-path {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
}

.nav-item {
    margin: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-lighter);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(230, 158, 86, 0.2), transparent);
    transition: left 0.5s;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    background: rgba(230, 158, 86, 0.12);
    border-color: rgba(230, 158, 86, 0.3);
    transform: translateY(-2px);
    color: var(--accent);
}

.nav-link.active {
    background: linear-gradient(135deg, rgba(230, 158, 86, 0.18), rgba(244, 162, 97, 0.18));
    border-color: rgba(230, 158, 86, 0.4);
    color: var(--accent);
    box-shadow: 0 4px 15px rgba(230, 158, 86, 0.2);
}

.nav-icon,
.icon {
    width: 1.3rem;
    height: 1.3rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.icon-card {
    width: 2.4rem;
    height: 2.4rem;
    color: var(--background-strong);
}

.nav-link:hover .nav-icon {
    transform: scale(1.2) rotate(10deg);
}

.icon-social {
    width: 1.4rem;
    height: 1.4rem;
}

.nav-text {
    font-weight: 600;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: rgba(230, 158, 86, 0.1);
    border: 2px solid rgba(230, 158, 86, 0.3);
    color: #e69e56;
    font-size: 1.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-toggle:hover {
    background: rgba(230, 158, 86, 0.2);
    border-color: #e69e56;
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

.menu-icon {
    pointer-events: none;
}

/* Header Mobile */
@media screen and (max-width: 768px) {
    .header-container {
        padding: 0.6rem 0.75rem;
        flex-wrap: wrap;
    }

    .header-logo {
        width: 45px;
    }

    .header-path {
        font-size: 1.15rem;
    }

    .mobile-menu-toggle {
        display: block;
        margin-left: auto;
    }

    .main-nav {
        display: none;
        width: 100%;
        margin-top: 1rem;
        order: 3;
        animation: slideDown 0.3s ease-out;
    }

    .main-nav.active {
        display: block;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-list {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .nav-link {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        justify-content: center;
        border-radius: 12px;
    }

    .nav-text {
        display: inline;
    }

    .nav-icon {
        font-size: 1.3rem;
    }
}

.button,.read-more{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:0.35rem;
    padding:0.85rem 1.4rem;
    font-size:1rem;
    font-weight:var(--semibold-font-weight);
    color:var(--background);
    background:linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    border:1px solid transparent;
    border-radius:var(--border-radius-lg);
    text-align:center;
    cursor:pointer;
    transition:transform var(--transition-smooth),background var(--transition-smooth),box-shadow var(--transition-smooth),color var(--transition-smooth);
    box-shadow:var(--shadow-md)
}
.button:hover{
    background:linear-gradient(135deg, var(--accent-hover) 0%, var(--accent-2) 100%);
    box-shadow:var(--shadow-lg);
    transform:translateY(-2px)
}
.read-more{
    background:rgba(230, 158, 86, 0.16);
    color:var(--accent);
    border:1px solid rgba(230, 158, 86, 0.45);
    box-shadow:none
}
.read-more:hover{
    color:var(--background);
    background:linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    box-shadow:var(--shadow-lg);
    transform:translateY(-2px)
}
.blog-card h3,.content .bold-text,.poem-author{
    font-weight:700
}
.blog-card:hover,.compact-list li:hover{
    transform:translateY(-5px)
}
/* Keyframe animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Fade in animation for cards */
.blog-card,
.poem-card,
.compact-list li {
    animation: fadeIn 0.6s ease-out;
}

/* Print styles */
@media print {
    header,
    footer,
    .read-more,
    nav {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .blog-post,
    .blog-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}
/* Additional mobile improvements */
@media screen and (max-width:768px){
    button{
        padding:10px 20px;
        font-size:.9em
    }
    .blog-card{
        padding: 1.5rem;
    }
    .section-parallax{
        padding:40px 10px;
        font-size:1.2em
    }
    main {
        padding: 1rem;
    }
    .content-container {
        padding: 0.5rem;
    }
}

/* ===================================
   HERO SECTION
   =================================== */
.hero-section {
    position: relative;
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 4rem 1.5rem;
    background: var(--gradient-hero);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.25;
    z-index: 1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(242, 166, 90, 0.2) 0%, transparent 50%);
    animation: gradientMove 15s ease infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2.5rem;
    max-width: 980px;
    animation: fadeInUp 1s ease-out;
    background: rgba(12, 18, 29, 0.6);
    border: var(--glass-border);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
}

.hero-logo {
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.hero-logo:hover {
    animation-play-state: paused;
}

.logo-image {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(230, 158, 86, 0.3));
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.1) rotate(5deg);
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-title-line {
    display: block;
    font-size: 1.5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
    animation: slideInLeft 0.8s ease-out 0.2s both;
}

.hero-title-main {
    display: block;
    font-size: clamp(2.8rem, 5vw, 4.4rem);
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: slideInRight 0.8s ease-out 0.4s both, shimmer 3.2s ease-in-out infinite;
    letter-spacing: 1px;
    text-shadow: 0 0 40px rgba(230, 158, 86, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    line-height: 1.8;
    animation: fadeIn 1s ease-out 0.6s both;
}

.hero-intro {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.25rem;
    font-style: italic;
    animation: fadeIn 1s ease-out 0.8s both;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 1s ease-out 1s both;
}

.cta-button {
    padding: 0.95rem 2.2rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: var(--border-radius-xl);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: inline-block;
    text-align: center;
    border:1px solid rgba(230, 158, 86, 0.4);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button.primary {
    background: linear-gradient(135deg, #f7b267 0%, #9fd8ff 100%);
    color: var(--background-strong);
    box-shadow: 0 12px 30px rgba(247, 178, 103, 0.35);
}

.cta-button.primary:hover,
.cta-button.primary:focus {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(230, 158, 86, 0.55);
}

.cta-button.primary:focus {
    outline: 2px solid var(--accent-2);
    outline-offset: 4px;
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-button.secondary:hover,
.cta-button.secondary:focus {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(159, 216, 255, 0.15));
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 10px 30px rgba(159, 216, 255, 0.28);
}

.cta-button.secondary:focus {
    outline: 2px solid var(--accent-2);
    outline-offset: 4px;
}

.hero-stats {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.stat-card {
    padding: 1rem 1.2rem;
    background: var(--gradient-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.stat-value {
    display: block;
    font-size: 1.3rem;
    font-weight: var(--bold-font-weight);
    color: var(--heading-color);
    margin-bottom: 0.3rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.95rem;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: fadeIn 1.5s ease-out 1.5s both;
}

.scroll-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-arrow {
    font-size: 2rem;
    color: #e69e56;
    animation: bounce 2s infinite, pulse 2s infinite;
    text-shadow: 0 0 10px rgba(230, 158, 86, 0.5);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        text-shadow: 0 0 10px rgba(230, 158, 86, 0.5);
    }
    50% {
        opacity: 0.7;
        text-shadow: 0 0 20px rgba(230, 158, 86, 0.8);
    }
}

/* Hero Animations */
@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

@keyframes gradientMove {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(50px, 50px); }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Hero Responsive */
@media screen and (max-width: 768px) {
    .hero-section {
        min-height: 50vh;
        padding: 2rem 1rem;
    }

    .hero-content {
        padding: 1rem;
    }

    .logo-image {
        width: 90px;
    }

    .hero-title-line {
        font-size: 1.2rem;
    }

    .hero-title-main {
        font-size: 2.6rem;
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .hero-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .cta-button {
        padding: 0.85rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        align-items: center;
    }

    .hero-scroll-indicator {
        bottom: 1rem;
    }

    .scroll-text {
        font-size: 0.8rem;
    }

    .scroll-arrow {
        font-size: 1.5rem;
    }
}

/* Extra small screens */
@media screen and (max-width: 480px) {
    .hero-title-main {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-intro {
        font-size: 0.95rem;
    }

    .header-logo {
        width: 40px;
    }

    .header-path {
        font-size: 1rem;
    }

    .blog-card {
        padding: 1.25rem;
    }

    .blog-card-image {
        height: 140px;
    }

    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .tab-link {
        font-size: 0.9rem;
        padding: 0.65rem 0.85rem;
    }

    h1 {
        font-size: 1.9rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .section-header h2 {
        font-size: 1.9rem;
    }

    .compact-list li {
        padding: 1.25rem;
    }

    .content-container {
        padding: 0.25rem;
    }
}

.blog-grid,main{
    padding:20px
}
.content-container{
    max-width:1200px;
    margin:0 auto
}
/* ===================================
   SECTION HEADERS & SPACING
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem 0 1rem 0;
}

.section-header h2 {
    font-size: 2.8rem;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #e69e56 0%, #f4a261 100%);
    border-radius: 2px;
}

main {
    min-height: 60vh;
}

/* Visual Section Divider */
.section-divider {
    width: 100%;
    height: 110px;
    background: radial-gradient(circle at 20% 50%, rgba(242,166,90,0.08), transparent 45%), radial-gradient(circle at 80% 50%, rgba(125,211,252,0.08), transparent 45%), linear-gradient(180deg, transparent 0%, rgba(242,166,90,0.08) 50%, transparent 100%);
    position: relative;
    overflow: hidden;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(242,166,90,0.55) 30%, rgba(255,127,80,0.55) 50%, rgba(242,166,90,0.55) 70%, transparent 100%);
    box-shadow: 0 0 10px rgba(242, 166, 90, 0.5);
}

.section-divider::after {
    content: '◆';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #f2a65a;
    font-size: 1.5rem;
    background: transparent;
    padding: 0 1rem;
    text-shadow: 0 0 10px rgba(242, 166, 90, 0.4), 0 2px 4px rgba(242, 166, 90, 0.3);
}

.tabs {
    text-align: center;
    margin-bottom: 20px;
}
/* ===================================
   ENHANCED BLOG CARDS
   =================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
    align-items: stretch;
}

.blog-card {
    position: relative;
    background: linear-gradient(150deg, rgba(18,27,42,0.92) 0%, rgba(13,20,34,0.95) 100%),
        radial-gradient(circle at 20% 20%, rgba(242,166,90,0.1), transparent 45%),
        radial-gradient(circle at 80% 0%, rgba(125,211,252,0.08), transparent 45%);
    border-radius: var(--border-radius-xl);
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.32),
        0 6px 14px rgba(230, 158, 86, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(6px);
    height: 100%;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #f2a65a 0%, #ff7f50 100%);
    transition: width 0.3s ease;
}

.blog-card:hover::before {
    width: 8px;
}

.blog-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-card-image-inner {
    width: 100%;
    height: 100%;
    background:
        linear-gradient(135deg, rgba(242, 166, 90, 0.8) 0%, rgba(255, 127, 80, 0.75) 60%, rgba(242, 166, 90, 0.85) 100%),
        linear-gradient(45deg, rgba(15, 22, 33, 0.35) 0%, rgba(11, 17, 26, 0.35) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease;
    box-shadow: inset 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.blog-card:hover .blog-card-image-inner {
    transform: scale(1.1) rotate(2deg);
}

.blog-card-icon {
    font-size: 0;
    opacity: 0.95;
}

.blog-card-content {
    padding: 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(255,255,255,0.015) 0%, rgba(255,255,255,0.04) 100%);
}

.blog-title {
    margin: 0 0 1rem 0;
}

.blog-title a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    display: block;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.4;
}

.blog-title a:hover {
    color: var(--accent);
    text-shadow: 0 2px 20px rgba(242, 166, 90, 0.3);
}

.excerpt {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-lighter);
    margin-bottom: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
}

.post-meta .date::before {
    content: '⏱';
    margin-right: 6px;
}

.post-meta .reading-time::before {
    content: '📖';
    margin-right: 6px;
}

.date,
.reading-time {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.date::before {
    content: '📅';
    font-size: 0.9rem;
}

.reading-time::before {
    content: '⏱';
    font-size: 0.9rem;
}

.tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.tags span {
    padding: 0.35rem 0.85rem;
    background: rgba(242, 166, 90, 0.18);
    border: 1px solid rgba(242, 166, 90, 0.35);
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.tags span:hover {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    color: var(--background);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 18px rgba(230, 158, 86, 0.35);
}

.blog-card .read-more {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    color: var(--background-strong);
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 18px rgba(230, 158, 86, 0.32);
    position: relative;
    overflow: hidden;
}

.blog-card .read-more::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.blog-card .read-more:hover::before {
    width: 300px;
    height: 300px;
}

.blog-card .read-more:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 28px rgba(230, 158, 86, 0.45);
}

.blog-card:hover,
.blog-card:focus-within {
    transform: translateY(-10px) rotate(-1deg);
    box-shadow:
        0 22px 48px rgba(0, 0, 0, 0.38),
        0 12px 30px rgba(230, 158, 86, 0.16),
        0 6px 16px rgba(230, 158, 86, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    border-color: rgba(230, 158, 86, 0.28);
}

.blog-card:focus-within {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

/* Blog Card Responsive */
@media screen and (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-card-image {
        height: 160px;
    }

    .blog-title a {
        font-size: 1.3rem;
    }
}

.tab-link,.table-of-contents ul li a{
    transition:background-color .3s,color .3s
}
#favorites,#my-story,.blog-post h1,.infographic,.poem-author,.poem-title,footer,footer .footer-bottom{
    text-align:center
}
.compact-list li:hover{
    box-shadow:var(--shadow-lg);
    transform:translateY(-5px)
}
.table-of-contents:hover{
    box-shadow:var(--shadow-lg)
}
footer{
    background: linear-gradient(180deg, var(--footer-bg) 0%, #070c13 100%);
    padding: var(--spacing-xl) var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.footer-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:32px;
    max-width:1400px;
    margin:0 auto;
    padding-bottom:32px;
}
.footer-section{
    padding:16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}
footer h3{
    font-size:1.25em;
    text-transform:uppercase;
    letter-spacing: 0.06em;
}
footer h3::after{
    width:60px;
    height:3px;
    background-color:var(--accent);
}
footer a,footer p{
    font-size:1em;
    color:var(--footer-text);
}
#btc-wallet{
    word-break:break-all;
    color:#ffffff !important;
    font-weight:600;
}
footer .social-media a{
    margin:0 10px;
    font-size:1.65em;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:44px;
    height:44px;
    border-radius:50%;
    background: rgba(255,255,255,0.05);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    color:#ffffff !important;
    border: 1px solid rgba(255,255,255,0.06);
}

footer .social-media a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(230, 158, 86, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
    z-index: -1;
}

footer .social-media a:hover::before {
    width: 50px;
    height: 50px;
}

footer .social-media a:hover {
    color: var(--accent);
    transform: translateY(-5px) scale(1.1) rotate(5deg);
}
footer .contact-info p,footer .quick-links a{
    margin-bottom:10px;
    display:flex;
    align-items:center
}
footer .contact-info i{
    margin-right:10px;
    font-size:1.2em;
    color:#ffffff !important
}
footer .btc-donations strong{
    color:#ffffff !important
}
footer .fa,footer .fas,footer .fab,footer .fa-brands,footer i{
    color:#ffffff !important
}
footer .quick-links a{
    display:block;
    margin:5px 0;
    padding:5px 0;
    position: relative;
    transition: all 0.3s ease;
}

footer .quick-links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

footer .quick-links a:hover::before {
    left: -15px;
    opacity: 1;
}
.compact-list li a:hover,.meta-info .author a:hover,.related-posts ul li a:hover,footer .quick-links a:hover{
    text-decoration:underline
}
footer .footer-bottom{
    padding-top:var(--spacing-sm);
    border-top:1px solid var(--footer-border);
    color:var(--text-lighter)
}
@media (max-width:768px){
    .button,.read-more{
        padding:10px 20px;
        font-size:.9rem
    }
    footer {
        padding: 2.5rem 1rem;
    }
    footer .footer-container{
        flex-direction:column;
        align-items:center;
        gap: 2.5rem;
    }
    footer .footer-section{
        margin-bottom:0;
        text-align:center;
        width: 100%;
        max-width: 400px;
    }
    footer .contact-info p{
        justify-content:center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    footer .social-media a {
        margin: 0 15px;
        font-size: 1.8em;
    }
    footer .footer-bottom {
        margin-top: 2rem;
        padding-top: 2rem;
    }
}
/* ===================================
   ENHANCED FAVORITES SECTION
   =================================== */
#favorites {
    padding: 4rem 0;
    background: linear-gradient(180deg, var(--background) 0%, var(--surface) 60%, var(--background) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

#favorites h2 {
    text-align: center;
    font-size: 2.8rem;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

#favorites h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #e69e56 0%, #f4a261 100%);
    border-radius: 2px;
}

.tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
    background: linear-gradient(145deg, rgba(22, 31, 45, 0.92) 0%, rgba(16, 23, 34, 0.92) 100%);
    padding: 0.75rem;
    border-radius: 50px;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.28),
        0 4px 12px rgba(230, 158, 86, 0.08),
        inset 0 2px 0 rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.tab-link {
    border: 1px solid rgba(230, 158, 86, 0.3);
    padding: 0.85rem 2rem;
    margin: 0;
    cursor: pointer;
    border-radius: var(--border-radius-lg);
    background: rgba(230, 158, 86, 0.08);
    color: var(--text);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.tab-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(230, 158, 86, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.tab-link:hover::before {
    width: 200px;
    height: 200px;
}

.tab-link:hover {
    transform: translateY(-3px);
    color: var(--accent);
}

.tab-link.active {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    color: var(--background-strong);
    box-shadow: 0 8px 20px rgba(230, 158, 86, 0.35);
    transform: scale(1.05);
    border-color: rgba(230, 158, 86, 0.55);
}

.tab-content {
    display: none;
    width: 100%;
    max-width: 1200px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.tab-content.active-tab {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInContent {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--secondary);
}
.content .highlight-text,.table-of-contents ul li a:hover{
    background-color:var(--accent);
    color:#fff
}
/* Enhanced Compact List Items */
.compact-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.compact-list li {
    background:
        linear-gradient(145deg, rgba(12,18,29,0.92) 0%, rgba(15,24,38,0.95) 100%),
        radial-gradient(circle at top right, rgba(255, 127, 80, 0.08) 0%, transparent 60%),
        radial-gradient(circle at bottom left, rgba(242, 166, 90, 0.1) 0%, transparent 60%);
    padding: 2rem;
    border-radius: 20px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.18),
        0 4px 10px rgba(242, 166, 90, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.favorite-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 0.65rem;
}

.pill-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: var(--accent);
    color: var(--background-strong);
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid rgba(242,166,90,0.4);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), background var(--transition-smooth);
}

.pill-button:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.pill-button.ghost {
    background: rgba(255,255,255,0.06);
    color: var(--text);
    border-color: rgba(255,255,255,0.14);
}

.compact-list li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #e69e56 0%, #f4a261 100%);
    transition: width 0.3s ease;
}

.compact-list li:hover::before {
    width: 6px;
}

.compact-list li:hover,
.compact-list li:focus-within {
    transform: translateY(-8px) rotate(-1deg);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.12),
        0 10px 25px rgba(230, 158, 86, 0.15),
        0 5px 12px rgba(230, 158, 86, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(230, 158, 86, 0.25);
}

.compact-list li:focus-within {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.compact-list li strong {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--secondary);
    font-family: 'Montserrat', sans-serif;
}

.compact-list li p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.compact-list li a {
    color: var(--accent);
    font-weight: 700;
    margin-top: auto;
    align-self: flex-start;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(242, 166, 90, 0.12);
    transition: all 0.3s ease;
    text-decoration: none;
}

.compact-list li a:hover {
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    color: #0c121d;
    transform: translateX(5px);
}

.image-gallery img, .infographic img {
    box-shadow: var(--shadow-md);
}
.compact-list li .podcast-cover{
    max-width:100px;
    margin-right:5px;
    border-radius:10px;
    box-shadow:0 2px 4px rgba(0,0,0,.2)
}
.compact-list li .podcast-info{
    display:flex;
    flex-direction:column
}
.compact-list li .podcast-name{
    margin:10px 0 5px;
    font-size:1.4em;
    color:var(--secondary)
}
.compact-list li .producer-name{
    font-size:1em;
    color:var(--text-lighter);
    position:absolute;
    top:var(--spacing-sm);
    right:var(--spacing-lg)
}
.compact-list li p{
    margin:10px 0;
    font-size:1em
}
.compact-list li .podcast-links{
    display:flex;
    gap:10px;
    margin-top:5px;
    position:absolute;
    top:35px;
    right:20px
}
.compact-list li .podcast-links a {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

.compact-list li .podcast-links a:hover {
    transform: translateY(-3px) scale(1.15) rotate(5deg);
}

.compact-list li .podcast-links a img{
    width:24px;
    max-height:24px;
    filter: grayscale(0.3);
    transition: filter 0.3s ease;
}

.compact-list li .podcast-links a:hover img {
    filter: grayscale(0) drop-shadow(0 2px 8px rgba(230, 158, 86, 0.4));
}
.blog-post h1,.content ol li,.content ul li,.related-posts ul li,.table-of-contents ul li{
    margin-bottom:10px
}
#progress-bar{
    position:fixed;
    top:0;
    left:0;
    width:0;
    height:5px;
    background: linear-gradient(90deg, #e69e56 0%, #f4a261 50%, #e69e56 100%);
    background-size: 200% auto;
    z-index:9999;
    transition:width .2s ease-out, opacity .25s ease;
    box-shadow: 0 0 10px rgba(230, 158, 86, 0.6), 0 0 20px rgba(230, 158, 86, 0.4);
    animation: shimmer 3s linear infinite;
    opacity: 0;
    pointer-events: none;
}

#progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    filter: blur(5px);
}
.blog-post{
    max-width:900px;
    margin:var(--spacing-xl) auto;
    padding:0 var(--spacing-lg);
    background-color:var(--card-bg);
    border-radius:var(--border-radius-lg);
    box-shadow:var(--shadow-md);
    display:flex;
    gap:var(--spacing-lg)
}

.single-post-article {
    max-width: 900px;
}
.blog-post h1{
    font-size:2.5rem;
    margin-top:20px;
    color:var(--text-color)
}
.meta-info{
    display:flex;
    justify-content:center;
    gap:var(--spacing-lg);
    font-size:.9rem;
    color:var(--text-light);
    margin-bottom:var(--spacing-lg)
}
.content p,.infographic p,.related-posts h3,.side-note,.table-of-contents h2{
    color:var(--text,#333)
}
.meta-info .author a{
    color:var(--accent-color);
    padding-left:.1em
}
.meta-info span{
    display:flex;
    align-items:center
}
.blog-post .featured-image{
    width:100%;
    max-height:400px;
    object-fit:cover;
    border-radius:var(--border-radius-lg);
    margin-bottom:var(--spacing-lg);
    box-shadow:var(--shadow-md)
}

/* Content images */
.content img{
    max-width:100%;
    height:auto;
    border-radius:var(--border-radius);
    margin:var(--spacing-lg) auto;
    display:block;
    box-shadow:var(--shadow-sm)
}
.content h2,.content h3{
    color:var(--text,#333);
    margin-top:20px;
    margin-bottom:10px;
    border-bottom:1px solid var(--light-grey,#ddd);
    padding-bottom:5px
}
.content p{
    line-height:var(--line-height-relaxed);
    margin-bottom:var(--spacing-lg)
}

/* Code blocks styling */
.content pre,
.content code{
    background-color:var(--background);
    border-radius:var(--border-radius);
    font-family:monospace
}

.content code{
    padding:0.2em 0.4em;
    font-size:0.9em;
    color:var(--accent)
}

.content pre{
    padding:var(--spacing-md);
    overflow-x:auto;
    margin-bottom:var(--spacing-lg);
    border:1px solid var(--border-color);
    box-shadow:var(--shadow-sm)
}

.content pre code{
    background:none;
    padding:0;
    color:var(--text)
}

/* Blockquotes */
.content blockquote{
    margin:var(--spacing-lg) 0;
    padding:var(--spacing-md) var(--spacing-lg);
    border-left:4px solid var(--accent);
    background-color:var(--background);
    font-style:italic;
    color:var(--text-light);
    border-radius:0 var(--border-radius) var(--border-radius) 0
}

/* Horizontal rules */
.content hr{
    border:none;
    height:2px;
    background:linear-gradient(to right, transparent, var(--accent), transparent);
    margin:var(--spacing-xl) 0
}
.content ol,.content ul{
    margin-left:20px;
    margin-bottom:20px
}
.related-posts{
    margin-top:40px
}
.related-posts h3{
    margin-bottom:20px;
    font-size:1.5rem
}
.related-posts ul,.table-of-contents ul{
    list-style:none;
    padding:0;
    margin:0
}
.table-of-contents{
    background-color:var(--card-bg);
    border:1px solid var(--border-color);
    border-radius:var(--border-radius-lg);
    padding:var(--spacing-lg);
    margin:var(--spacing-lg) 0;
    box-shadow:var(--shadow-md);
    transition:box-shadow var(--transition-smooth)
}
.side-note,.table-of-contents ul li a{
    border-radius:var(--border-radius,10px)
}
.table-of-contents h2{
    font-size:1.5rem;
    margin-bottom:15px;
    border-bottom:2px solid var(--accent);
    padding-bottom:10px
}
.table-of-contents ul li a{
    font-size:1.1rem;
    padding:5px 10px
}
.infographic{
    margin:20px 0
}
.image-gallery img,.infographic img{
    max-width:100%;
    height:auto;
    border-radius:var(--border-radius,5px)
}
.infographic p{
    margin-top:10px
}
.image-gallery{
    display:flex;
    gap:10px;
    overflow-x:auto
}
.content .highlight-text{
    padding:2px 5px;
    border-radius:var(--border-radius,5px)
}
.side-note{
    background-color:#f0f4f8;
    border-left:5px solid var(--accent);
    padding:10px 15px;
    margin:20px 0;
    font-size:.9rem
}
@media screen and (max-width:1024px){
    .content-container{
        padding:10px
    }
    .blog-card,.compact-list li{
        padding:15px
    }
    .blog-post{
        flex-direction:column
    }
    .sidebar{
        position:static;
        width:100%
    }
}
@media screen and (max-width:768px){
    .blog-post,.compact-list li{
        flex-direction:column
    }
    .blog-post {
        padding: 1rem;
        margin: 1rem auto;
    }
    .compact-list li img,.tab-link{
        margin-bottom:10px
    }
    h1{
        font-size:2.2rem
    }
    h2{
        font-size:1.8rem
    }
    h3{
        font-size:1.5rem
    }
    h4{
        font-size:1.3rem
    }
    h5{
        font-size:1.15rem
    }
    h6{
        font-size:1rem
    }
    /* Mobile navigation is handled by header mobile styles above */
    .tabs{
        flex-direction: row;
        flex-wrap: wrap;
        padding: 0.5rem;
        gap: 0.5rem;
    }
    .tab-link{
        flex: 1 1 auto;
        min-width: calc(50% - 0.5rem);
        text-align:center;
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
    footer .footer-container{
        flex-direction:column;
        align-items:center;
        gap: 2rem;
    }
    footer .footer-section{
        text-align:center;
        margin-bottom:20px
    }
    footer .contact-info p{
        justify-content:center
    }
    .compact-list{
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .compact-list li{
        flex-direction:column;
        align-items:center;
        text-align:center;
        padding: 1.5rem;
    }
    .compact-list li .podcast-info{
        align-items:center
    }
    .compact-list li .podcast-links,.compact-list li .producer-name{
        position:static;
        margin-top:10px;
        justify-content:center
    }
    .compact-list li .podcast-links {
        margin-top: 15px;
        gap: 15px;
    }
    .sidebar{
        width:100%;
        position:static;
        top:auto
    }
    .content h2,.content h3{
        margin-top:15px;
        margin-bottom:5px
    }
    .content p{
        margin-bottom:15px
    }
    .content img {
        margin: 1.5rem auto;
    }
    .related-posts h3{
        font-size:1.2rem
    }
    .table-of-contents{
        padding:15px;
        font-size:.95rem
    }
    /* Improve blog grid spacing */
    .blog-grid {
        padding: 1rem 0;
        gap: 1.5rem;
    }
    .section-header {
        padding: 2rem 1rem 1rem 1rem;
    }
    .section-header h2 {
        font-size: 2.2rem;
    }
}
.poem-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
    gap:20px;
    max-width:1200px;
    width:100%;
    padding:15px;
    box-sizing:border-box;
    margin:0 auto
}
.poem-card{
    background-color:var(--card-bg);
    border:1px solid var(--border-color);
    border-radius:var(--border-radius-lg);
    padding:var(--spacing-lg);
    box-shadow:var(--shadow-md);
    transition:transform var(--transition-base),box-shadow var(--transition-smooth);
    margin-bottom:var(--spacing-xl);
    height:auto
}
.poem-card:hover{
    transform:translateY(-5px);
    box-shadow:var(--shadow-lg)
}
.poem-title{
    font-family:var(--font-serif),Georgia,'Times New Roman',serif;
    font-size:1.6em;
    color:var(--accent);
    margin:0 0 10px
}
.poem-author{
    font-size:1em;
    color:var(--secondary);
    margin-bottom:15px
}
.poem-text{
    font-family:var(--font-sans),Arial,sans-serif;
    font-size:clamp(1em, 1vw + .5em, 1.1em);
    color:var(--text);
    text-align:left;
    margin:0;
    padding:10px;
    background-color:var(--background);
    overflow-wrap:break-word;
    overflow-y:auto
}
.poem-line{
    display:block;
    padding:.2em 0
}

/* Creative Gallery Styles */
.creative-gallery {
    position: relative;
    min-height: 100vh;
    padding: 3rem 0 4rem;
    background:
        radial-gradient(circle at 15% 20%, rgba(242, 166, 90, 0.14), transparent 32%),
        radial-gradient(circle at 85% 10%, rgba(255, 127, 80, 0.14), transparent 30%),
        linear-gradient(135deg, #0e1626 0%, #0b1321 50%, #0c1728 100%);
    overflow: hidden;
}

.creative-gallery::before,
.creative-gallery::after {
    content: "";
    position: absolute;
    inset: 12% auto auto -10%;
    width: 35%;
    height: 35%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06), transparent 60%);
    filter: blur(60px);
    z-index: 0;
    opacity: 0.6;
}
.creative-gallery::after {
    inset: auto -12% -6% auto;
    background: radial-gradient(circle, rgba(242, 166, 90, 0.12), transparent 55%);
    filter: blur(70px);
}

.creative-gallery .content-container {
    position: relative;
    z-index: 1;
}

.gallery-header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInDown 0.8s ease;
    display: grid;
    gap: 1rem;
}

.gallery-title {
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    font-weight: 700;
    background: linear-gradient(135deg, #e69e56 0%, #f4a261 50%, #ff7f50 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0.35rem 0 0;
}

.gallery-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    max-width: 760px;
    margin: 0 auto;
}

.gallery-header .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.78rem;
    color: var(--text-light);
}

.gallery-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.meta-card {
    background: linear-gradient(140deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--border-radius-lg);
    padding: 1rem 1.25rem;
    text-align: left;
    box-shadow: var(--shadow-sm);
}

.meta-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
}

.meta-value {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--heading-color);
}

.meta-hint {
    display: block;
    font-size: 0.95rem;
    color: var(--text-light);
    margin-top: 0.15rem;
}

.meta-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.5rem;
}

.meta-pill {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    font-size: 0.85rem;
    color: var(--text);
}

/* Filter Buttons */
.creative-filters {
    display: inline-flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    animation: fadeIn 1s ease;
    padding: 0.5rem;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.05));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow-sm);
}

.filter-btn {
    padding: 0.7rem 1.2rem;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.06);
    color: var(--text);
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 0.95rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    min-width: 110px;
    box-shadow: var(--shadow-sm);
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(242, 166, 90, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.filter-btn:hover::before {
    width: 200px;
    height: 200px;
}

.filter-btn:hover {
    border-color: rgba(230, 158, 86, 0.35);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 5px 15px rgba(230, 158, 86, 0.22);
}

.filter-btn.active {
    background: var(--accent);
    color: var(--background-strong);
    border-color: rgba(242, 166, 90, 0.6);
    box-shadow: 0 4px 12px rgba(242, 166, 90, 0.25);
    transform: scale(1.06);
}

.filter-btn.active::before {
    width: 0;
    height: 0;
}

.creative-toolbar {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}

.creative-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(120deg, rgba(255,255,255,0.03), rgba(255,255,255,0.05));
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--border-radius-lg);
    padding: 0.75rem;
    box-shadow: var(--shadow-sm);
}

.control .input-shell {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.75rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
}

.input-shell input {
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 0.95rem;
    width: 100%;
}

.input-shell input:focus {
    outline: none;
}

.icon-inline {
    width: 20px;
    height: 20px;
    color: var(--text-light);
}

.sort-select {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    color: var(--text);
    font-weight: 600;
}

.ghost-button {
    justify-self: start;
    padding: 0.65rem 1rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.02);
    color: var(--text);
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition-smooth);
}

.ghost-button:hover {
    border-color: rgba(242, 166, 90, 0.5);
    color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.results-pill {
    justify-self: end;
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    background: rgba(242, 166, 90, 0.16);
    border: 1px solid rgba(242, 166, 90, 0.3);
    color: var(--text);
    font-weight: 700;
    text-align: center;
}

.creative-empty {
    text-align: center;
    margin-top: 1.25rem;
    background: rgba(255,255,255,0.03);
    border: 1px dashed rgba(255,255,255,0.15);
    padding: 1rem;
    border-radius: var(--border-radius-lg);
}

/* Creative Grid */
.creative-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

/* Creative Card */
.creative-card {
    position: relative;
    perspective: 1000px;
    height: clamp(480px, 62vw, 560px);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: var(--border-radius-xl);
}

.creative-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.creative-card:nth-child(1) { animation-delay: 0.1s; }
.creative-card:nth-child(2) { animation-delay: 0.2s; }
.creative-card:nth-child(3) { animation-delay: 0.3s; }
.creative-card:nth-child(4) { animation-delay: 0.4s; }
.creative-card:nth-child(5) { animation-delay: 0.5s; }
.creative-card:nth-child(6) { animation-delay: 0.6s; }

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
    transform-origin: center center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.creative-card .card-inner.flipped {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    min-height: inherit;
    backface-visibility: hidden;
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.creative-card .card-inner.flipped .card-front {
    pointer-events: none;
}

.card-front {
    background: linear-gradient(155deg, rgba(18, 27, 42, 0.9) 0%, rgba(13, 20, 34, 0.95) 60%, rgba(19, 32, 52, 0.95) 100%);
    backdrop-filter: blur(12px) saturate(140%);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    text-align: center;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
    position: relative;
}

.card-front::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 25% 15%, rgba(242, 166, 90, 0.16), transparent 45%),
        radial-gradient(circle at 80% 10%, rgba(255, 127, 80, 0.14), transparent 45%),
        radial-gradient(circle at 50% 85%, rgba(255, 255, 255, 0.04), transparent 45%);
    pointer-events: none;
    z-index: 0;
}

.card-back {
    background:
        linear-gradient(135deg, rgba(242, 166, 90, 0.96) 0%, rgba(255, 127, 80, 0.9) 60%, rgba(242, 166, 90, 0.96) 100%),
        radial-gradient(circle at bottom right, rgba(255, 127, 80, 0.35) 0%, transparent 60%);
    transform: rotateY(180deg);
    overflow-y: auto;
    color: var(--background-strong);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.4),
        inset 0 2px 10px rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.2);
    scrollbar-width: thin;
}

.creative-card[data-category="poetry"] .card-front {
    background: linear-gradient(155deg, rgba(18, 27, 42, 0.92) 0%, rgba(30, 26, 46, 0.95) 70%, rgba(18, 27, 42, 0.92) 100%);
}

.creative-card[data-category="resilience"] .card-front {
    background: linear-gradient(155deg, rgba(18, 27, 42, 0.9) 0%, rgba(12, 30, 34, 0.95) 65%, rgba(18, 27, 42, 0.92) 100%);
}

.creative-card[data-category="wisdom"] .card-front {
    background: linear-gradient(155deg, rgba(18, 27, 42, 0.92) 0%, rgba(34, 29, 43, 0.94) 65%, rgba(18, 27, 42, 0.9) 100%);
}

.card-back::-webkit-scrollbar {
    width: 8px;
}
.card-back::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
}

.card-front > * {
    position: relative;
    z-index: 1;
}

.card-media {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow-sm);
    margin-bottom: 0.35rem;
}

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

.card-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: var(--shadow-sm);
    color: var(--text);
    margin-bottom: 0.25rem;
}

.badge-text {
    font-weight: 700;
    letter-spacing: 0.01em;
    font-size: 0.9rem;
}

/* Card Icon */
.card-icon {
    color: var(--accent);
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 10px rgba(230, 158, 86, 0.5));
}

.card-front:hover .card-icon {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 0 20px rgba(242, 166, 90, 0.8));
}

.card-icon svg {
    width: 48px;
    height: 48px;
}

.icon-badge {
    width: 18px;
    height: 18px;
}

/* Card Content */
.card-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text);
    margin: 0.5rem 0;
}

.card-author {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin-bottom: 1rem;
}

.card-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1rem;
}

.card-theme,
.card-year {
    padding: 0.3rem 0.8rem;
    background: rgba(242, 166, 90, 0.14);
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    color: var(--accent);
}

.creative-card[data-category="resilience"] .card-theme,
.creative-card[data-category="resilience"] .card-year {
    background: rgba(125, 211, 252, 0.16);
    color: var(--secondary);
}

.creative-card[data-category="wisdom"] .card-theme,
.creative-card[data-category="wisdom"] .card-year {
    background: rgba(255, 127, 80, 0.18);
    color: var(--accent-2);
}

.card-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-preview {
    font-style: italic;
    color: var(--text-lighter);
    margin-bottom: 1.25rem;
    font-size: 0.98rem;
}

.read-more-btn {
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    color: var(--background-strong);
    border: 1px solid rgba(230, 158, 86, 0.45);
    border-radius: var(--border-radius-lg);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(230, 158, 86, 0.3);
    position: relative;
    overflow: hidden;
    margin-top: auto;
}

.read-more-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.read-more-btn:hover::before {
    width: 300px;
    height: 300px;
}

.read-more-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(230, 158, 86, 0.6);
}

/* Card Back Content */
.poem-content {
    height: 100%;
    overflow-y: auto;
}

.poem-lines {
    font-family: 'Georgia', serif;
    line-height: 1.8;
}

.poem-line {
    display: block;
    padding: 0.3rem 0;
    font-size: 1rem;
}

.poem-line:empty {
    height: 1rem;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(26, 26, 46, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.close-btn:hover {
    background: #1a1a2e;
    transform: rotate(90deg) scale(1.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.close-btn:active {
    transform: rotate(90deg) scale(0.95);
}

@media (max-width: 768px) {
    .creative-controls {
        grid-template-columns: 1fr;
    }
    .ghost-button,
    .results-pill {
        justify-self: stretch;
        width: 100%;
        text-align: center;
    }
    .creative-filters {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .creative-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .creative-card {
        height: 460px;
    }
    .card-front,
    .card-back {
        padding: 1.25rem;
        min-height: 400px;
    }
    .card-title {
        font-size: 1.5rem;
    }
    .card-description {
        font-size: 0.95rem;
    }
    .read-more-btn {
        width: 100%;
    }
    .gallery-header {
        margin-bottom: 2rem;
    }
    .creative-filters {
        justify-content: flex-start;
    }
    .filter-btn {
        min-width: 90px;
        padding: 0.65rem 1rem;
    }
    .card-icon {
        animation: none;
        transform: none !important;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ===================================
   LOADING STATES & SKELETON SCREENS
   =================================== */

/* Skeleton Loading Animation */
@keyframes skeleton-loading {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.skeleton {
    background: linear-gradient(
        90deg,
        #f0f0f0 0px,
        #f8f8f8 40px,
        #f0f0f0 80px
    );
    background-size: 200px 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
}

/* Skeleton Card */
.blog-card.skeleton,
.compact-list li.skeleton,
.creative-card.skeleton {
    pointer-events: none;
}

.blog-card.skeleton .blog-card-image-inner {
    background: linear-gradient(
        90deg,
        rgba(230, 158, 86, 0.3) 0px,
        rgba(244, 162, 97, 0.3) 40px,
        rgba(230, 158, 86, 0.3) 80px
    );
    background-size: 200px 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
}

.blog-card.skeleton .blog-card-icon,
.blog-card.skeleton .blog-title,
.blog-card.skeleton .excerpt,
.blog-card.skeleton .post-meta,
.blog-card.skeleton .tags,
.blog-card.skeleton .read-more {
    background: linear-gradient(
        90deg,
        #e0e0e0 0px,
        #f0f0f0 40px,
        #e0e0e0 80px
    );
    background-size: 200px 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    color: transparent;
    border-radius: 8px;
}

/* Fade-in on Load */
.fade-in {
    animation: fadeInContent 0.8s ease;
}

/* Image Loading State */
.content img,
.blog-card-image img,
.compact-list img {
    opacity: 0;
    transition: opacity 0.4s ease;
}

img.loaded {
    opacity: 1;
}

/* Ensure critical images are visible */
.hero-logo img,
.header-logo {
    opacity: 1 !important;
}

/* Progressive Content Loading */
.content-loaded {
    animation: slideInFromBottom 0.6s ease-out;
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Page Transition Effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

body.page-transitioning::before {
    opacity: 1;
    pointer-events: all;
}

/* Loading Spinner */
.loading-spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10001;
    opacity: 0;
    pointer-events: none;
}

body.page-transitioning .loading-spinner {
    opacity: 1;
}

.spinner-circle {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(230, 158, 86, 0.2);
    border-top-color: #e69e56;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 1rem;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-consent-content p {
    margin: 0;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-accept, .btn-decline {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-accept {
    background: var(--accent);
    color: #fff;
}

.btn-accept:hover {
    background: var(--accent-hover);
}

.btn-decline {
    background: #666;
    color: #fff;
}

.btn-decline:hover {
    background: #555;
}

@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
    }
}


/* ===================================
   SEARCH PAGE
   =================================== */
.search-page {
    padding: 4rem 0;
    min-height: 70vh;
}

.search-header {
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, rgba(242,166,90,0.12), rgba(125,211,252,0.1));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--border-radius-xl);
    padding: 1.75rem 1.25rem;
    box-shadow: var(--shadow-sm);
}

.search-header h1 {
    font-size: 2.4rem;
    margin-bottom: 0.35rem;
    color: var(--heading-color);
}

.search-description {
    color: var(--text-light);
    font-size: 1.05rem;
}

.search-container {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.search-bar {
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.05));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 0.85rem 1rem;
    transition: all var(--transition-smooth);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.search-bar:focus-within {
    border-color: rgba(242,166,90,0.45);
    box-shadow: 0 0 0 3px rgba(242, 166, 90, 0.2);
}

.search-icon {
    color: var(--secondary);
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1.1rem;
    color: var(--text);
    outline: none;
}

.search-input::placeholder {
    color: var(--text-light);
}

.clear-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    color: var(--text-light);
    transition: all var(--transition-smooth);
    margin-left: 0.5rem;
    box-shadow: var(--shadow-sm);
}

.clear-button:hover {
    background: var(--accent);
    color: #0c121d;
    transform: scale(1.1);
}

.clear-button:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.search-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.filter-label {
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

.tag-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex: 1;
}

.tag-filter {
    padding: 0.4rem 1rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    color: var(--text);
    cursor: pointer;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.tag-filter:hover {
    border-color: rgba(242,166,90,0.45);
    background: rgba(242,166,90,0.12);
}

.tag-filter.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.tag-filter:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.search-stats {
    max-width: 1200px;
    margin: 0 auto 1.5rem;
    padding: 0 1rem;
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}

.search-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.search-result-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.05));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(6px);
    position: relative;
}

.search-result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(242, 166, 90, 0.2);
    border-color: rgba(242,166,90,0.5);
}

.search-result-card:focus-within {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.search-result-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(242,166,90,0.2), rgba(125,211,252,0.2));
    border: 1px solid rgba(255,255,255,0.08);
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-sm);
}

.search-result-title {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.search-result-title a {
    color: var(--text);
    text-decoration: none;
}

.search-result-title a:hover {
    color: var(--accent);
}

.search-result-title a:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.search-result-summary {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.search-result-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.search-result-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.search-result-tags .tag {
    padding: 0.25rem 0.75rem;
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
}

.search-result-title mark,
.search-result-summary mark {
    background: var(--accent);
    color: #fff;
    padding: 0 2px;
    border-radius: 3px;
}

.no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    color: var(--text-light);
    background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.05));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-sm);
}

.no-results svg {
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.no-results p {
    font-size: 1rem;
}

/* Search resilience */
.search-error {
    margin: 2rem auto;
    max-width: 800px;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.05);
    color: var(--text-light);
    box-shadow: var(--shadow-sm);
}

.search-noscript {
    margin: 2rem auto 0;
    max-width: 800px;
    padding: 1rem 1.25rem;
    border: 1px dashed rgba(255,255,255,0.18);
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.04);
}

.search-noscript ul {
    padding-left: 1.25rem;
}

@media (max-width: 768px) {
    .search-header h1 {
        font-size: 2rem;
    }

    .search-filters {
        flex-direction: column;
        align-items: flex-start;
    }

    .search-results {
        grid-template-columns: 1fr;
    }

    .search-result-card {
        padding: 1.25rem;
    }
}

/* ===================================
   BREADCRUMB NAVIGATION
   =================================== */
.breadcrumb-nav {
    padding: 1rem 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-light);
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-smooth);
}

.breadcrumb-item a:hover {
    color: var(--accent);
    background: var(--surface-hover);
}

.breadcrumb-item a:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.breadcrumb-item svg {
    width: 14px;
    height: 14px;
}

.breadcrumb-separator {
    color: var(--text-lighter);
    user-select: none;
}

.breadcrumb-current span {
    color: var(--text);
    font-weight: 500;
    padding: 0.25rem 0.5rem;
}

@media (max-width: 480px) {
    .breadcrumb {
        font-size: 0.85rem;
    }

    .breadcrumb-item svg {
        width: 12px;
        height: 12px;
    }
}

/* ===================================
   SKELETON LOADERS
   =================================== */
.skeleton {
    background: linear-gradient(
        90deg,
        var(--card-bg) 0%,
        var(--light-grey) 50%,
        var(--card-bg) 100%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: var(--border-radius);
}

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

.skeleton-text {
    height: 1em;
    margin-bottom: 0.5rem;
    border-radius: var(--border-radius-sm);
}

.skeleton-title {
    height: 1.5em;
    width: 80%;
    margin-bottom: 1rem;
}

.skeleton-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    height: 300px;
}

.skeleton-image {
    width: 100%;
    height: 200px;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
}

/* Loading state for images */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .skeleton {
        animation: none;
    }

    img[loading="lazy"] {
        transition: none;
    }
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.pagination .page-link {
    padding: 0.65rem 1.1rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.05));
    color: var(--text);
    text-decoration: none;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.pagination .page-link:hover,
.pagination .page-link:focus {
    border-color: rgba(242,166,90,0.5);
    color: #0c121d;
    background: var(--accent);
    outline: none;
}

.pagination .page-status {
    color: var(--text-light);
    font-weight: 600;
}

/* 404 game */
.game-area {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

#game-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(90px, 1fr));
    gap: 10px;
    margin: 0 0 10px;
}

.game-cell {
    aspect-ratio: 1 / 1;
    background-color: var(--surface);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-radius: var(--radius-lg);
}

.game-cell:hover,
.game-cell:focus {
    background-color: var(--surface-hover);
    outline: 2px solid var(--accent);
}

.game-cell .cover {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--surface);
    font-size: 2rem;
    border-radius: var(--radius-lg);
}

.game-cell .game-icon {
    font-size: 2rem;
    color: var(--text);
}

.game-skip {
    color: var(--text-light);
}

.game-skip a {
    color: var(--accent);
}

.game-status {
    color: var(--accent);
    font-weight: 700;
}

.error-hero {
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(242,166,90,0.12), rgba(125,211,252,0.12));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.card {
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
}

.back-home {
    display: inline-block;
    margin-top: 1rem;
}

.confetti {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.confetti span {
    position: absolute;
    width: 6px;
    height: 12px;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(calc(30deg * var(--i)));
    animation: pop 0.9s ease forwards;
    border-radius: 2px;
}

@keyframes pop {
    0% { opacity: 1; transform: translate(-50%, -50%) scale(0.5) rotate(0deg); }
    100% { opacity: 0; transform: translate(-50%, -200%) scale(1.1) rotate(180deg); }
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

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

.shake {
    animation: shake 0.5s;
}

.pulse {
    animation: pulse 0.5s;
}

/* Post hero */
.post-hero {
    margin: 2rem auto 1.5rem;
    max-width: 960px;
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, rgba(242,166,90,0.14), rgba(125,211,252,0.12));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-md);
}

.post-hero__content {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.post-hero .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.85rem;
    color: var(--secondary);
    margin: 0;
}

.post-hero h1 {
    margin: 0;
}

.post-hero .meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.post-hero .meta-info span::before {
    content: '•';
    margin-right: 6px;
    color: var(--accent);
}

.post-hero .meta-info span:first-child::before {
    content: '👤';
}

.post-hero .meta-info .date::before {
    content: '🗓';
}

.post-hero .meta-info .reading-time::before {
    content: '⏱';
}

.post-hero .meta-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.post-hero .tag-pill {
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(242,166,90,0.16);
    border: 1px solid rgba(242,166,90,0.35);
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
}

.single-post-article {
    margin: 1.5rem auto 3rem;
}

/* Refined article layout */
.single-post-article {
    max-width: 1180px;
    display: grid;
    grid-template-columns: minmax(240px, 300px) 1fr;
    gap: 1.5rem;
    align-items: start;
}

.single-post-article .content {
    background: linear-gradient(170deg, rgba(12,18,29,0.9) 0%, rgba(10,16,26,0.96) 100%);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--border-radius-xl);
    padding: 2.2rem;
    box-shadow: var(--shadow-lg);
    max-width: 880px;
    width: 100%;
    margin: 0 auto;
}

.single-post-article .content p {
    color: var(--text);
    line-height: 1.9;
    font-size: 1.04rem;
    letter-spacing: 0.01em;
    margin-bottom: 1.4rem;
}

.single-post-article .content ul,
.single-post-article .content ol {
    padding-left: 1.2rem;
    margin: 0 0 1.4rem;
    color: var(--text);
    line-height: 1.8;
}

.single-post-article .content li + li {
    margin-top: 0.4rem;
}

.single-post-article .content code {
    background: rgba(255,255,255,0.06);
    padding: 0.25rem 0.45rem;
    border-radius: var(--border-radius-sm);
    color: var(--accent);
    font-size: 0.95rem;
}

.single-post-article .content pre {
    background: rgba(0,0,0,0.45);
    padding: 1rem;
    border-radius: var(--border-radius);
    overflow: auto;
    border: 1px solid rgba(255,255,255,0.08);
}

.single-post-article .content img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.single-post-article .table-of-contents {
    position: sticky;
    top: 120px;
    background: linear-gradient(150deg, rgba(18,27,42,0.92) 0%, rgba(13,20,34,0.95) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-left: 3px solid var(--accent);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
}

.single-post-article .table-of-contents h2 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: var(--heading-color);
}

.single-post-article .table-of-contents ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.4rem;
}

.single-post-article .table-of-contents a {
    color: var(--text);
    font-weight: 600;
    line-height: 1.5;
    transition: color var(--transition-smooth), transform var(--transition-smooth);
}

.single-post-article .table-of-contents a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.single-post-article .content h2,
.single-post-article .content h3 {
    color: var(--heading-color);
    border: none;
    padding-bottom: 0.25rem;
    margin-top: 1.5rem;
    position: relative;
}

.single-post-article .content h2::after,
.single-post-article .content h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    border-radius: 999px;
}

.single-post-article .content blockquote {
    border-left: 3px solid var(--accent);
    padding-left: 1rem;
    color: var(--text-light);
    font-style: italic;
    background: rgba(255,255,255,0.03);
    border-radius: var(--border-radius-sm);
    padding: 0.85rem 1.1rem;
}

.single-post-article .related-posts {
    grid-column: 1 / -1;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.single-post-article .related-posts h3 {
    margin-top: 0;
    color: var(--heading-color);
}

.single-post-article .related-posts ul {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0;
    display: grid;
    gap: 0.5rem;
}

.single-post-article .related-posts a {
    color: var(--text);
    font-weight: 600;
}

.single-post-article .related-posts a:hover {
    color: var(--accent);
}

@media (max-width: 960px) {
    .single-post-article {
        grid-template-columns: 1fr;
    }
    .single-post-article .table-of-contents {
        position: relative;
        top: auto;
    }
    .single-post-article .content {
        padding: 1.5rem;
    }
}
