/*
Theme Name: 0xdance
Theme URI: https://example.com/0xdance
Author: You
Author URI: https://example.com
Description: A bilingual (EN/CN) magazine-style WordPress theme with a /cn Chinese section and language switcher.
Version: 1.0.0
Text Domain: 0xdance
*/

/* Base reset */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; background: #0f141a; color: #d8e0e7; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: #f28f66; text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Ensure header container doesn't add extra height */
.site-header .container {
    height: 70px !important;
    display: flex;
    align-items: center;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}
.hidden { display:none; }

/* Header */
.site-header { 
    position: sticky; 
    top: 0; 
    z-index: 100; 
    background: rgba(15,20,26,0.98); 
    backdrop-filter: blur(20px); 
    border-bottom: 1px solid rgba(242,143,102,0.2); 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 32px rgba(0,0,0,0.15), 0 1px 0 rgba(242,143,102,0.1);
    height: 70px !important;
    min-height: 70px !important;
    max-height: 70px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

/* Ensure header height consistency regardless of admin bar or other factors */
body .site-header,
body.admin-bar .site-header,
body.logged-in .site-header {
    height: 70px !important;
    min-height: 70px !important;
    max-height: 70px !important;
    top: 0 !important;
    margin-top: 0 !important;
}

.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(242,143,102,0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.site-header:hover::before {
    opacity: 1;
}

.navbar { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    height: 70px !important; 
    min-height: 70px !important;
    max-height: 70px !important;
    position: relative;
    box-sizing: border-box;
}

/* Ensure consistent navbar height across all page types */
body .site-header .navbar,
.single .site-header .navbar,
.page .site-header .navbar,
.archive .site-header .navbar,
.search .site-header .navbar,
.home .site-header .navbar {
    height: 70px !important;
    min-height: 70px !important;
    max-height: 70px !important;
}

.brand { 
    display: flex; 
    align-items: center; 
    gap: 14px; 
    font-weight: 800; 
    color: #fff; 
    font-size: 20px;
    letter-spacing: -0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    margin-right: 40px;
}

.brand::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #f28f66, #ff6b35);
    transition: width 0.4s ease;
    border-radius: 1px;
}

.brand:hover::after {
    width: 100%;
}

.brand:hover {
    color: #f28f66;
    text-decoration: none;
    transform: translateY(-2px);
    text-shadow: 0 0 20px rgba(242,143,102,0.3);
}

.brand .dot { 
    width: 14px; 
    height: 14px; 
    border-radius: 50%; 
    background: linear-gradient(135deg, #f28f66, #ff6b35); 
    display: inline-block; 
    box-shadow: 0 0 20px rgba(242,143,102,0.5), 0 0 40px rgba(242,143,102,0.2);
    animation: pulse 3s infinite;
    position: relative;
}

.brand .dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(242,143,102,0.3), rgba(255,107,53,0.3));
    transform: translate(-50%, -50%);
    animation: ripple 3s infinite;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 20px rgba(242,143,102,0.5), 0 0 40px rgba(242,143,102,0.2);
    }
    50% { 
        transform: scale(1.15);
        box-shadow: 0 0 25px rgba(242,143,102,0.7), 0 0 50px rgba(242,143,102,0.3);
    }
}

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

.main-navigation {
    display: flex;
    align-items: center;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle:hover {
    background-color: rgba(242, 143, 102, 0.1);
    transform: scale(1.05);
}

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

.hamburger-line {
    width: 24px;
    height: 2px;
    background-color: #cbd5df;
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
    border-radius: 1px;
}

/* Hamburger Animation */
.mobile-menu-toggle.active .hamburger-line {
    background-color: #f28f66;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav { 
    display: flex; 
    align-items: center; 
    gap: 24px;
    pointer-events: auto;
}

.nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 24px;
    pointer-events: auto;
}

.nav li {
    position: relative;
    pointer-events: auto;
}

.nav a { 
    color: #cbd5df; 
    font-weight: 500; 
    padding: 12px 20px;
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-decoration: none;
    font-size: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 44px;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    direction: ltr;
    white-space: nowrap;
}

.nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(242,143,102,0.15), transparent);
    transition: left 0.3s ease;
}

.nav a:hover::before {
    left: 100%;
}

.nav a:hover { 
    color: #fff;
    background: rgba(242,143,102,0.12);
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(242,143,102,0.15);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #f28f66, #ff6b35);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 2px 2px 0 0;
}

.nav a:hover::after {
    width: 90%;
}

/* Active/Current page styling */
.nav .current-menu-item > a,
.nav .current_page_item > a {
    color: #f28f66;
    background: rgba(242,143,102,0.08);
}

.nav .current-menu-item > a::after,
.nav .current_page_item > a::after {
    width: 90%;
    opacity: 0.8;
}

/* Search Component */
.search-container {
    display: flex;
    align-items: center;
    margin-left: 20px;
    position: relative;
}

.search-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px;
    min-height: 44px;
    min-width: 44px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.search-toggle svg {
    fill: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.search-toggle:hover svg {
    fill: #fff;
}

.search-form-container {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.search-form-container.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 4px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 4px 16px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    min-width: 280px;
}

.search-field {
    flex: 1;
    border: none;
    background: transparent;
    padding: 14px 16px;
    min-height: 44px;
    font-size: 16px;
    color: #333;
    outline: none;
    border-radius: 8px;
}

.search-field::placeholder {
    color: rgba(51, 51, 51, 0.6);
}

.search-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    padding: 12px;
    min-height: 44px;
    min-width: 44px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
}

.search-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.search-submit svg {
    fill: #fff;
}

/* Search Suggestions Dropdown */
.search-suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    margin-top: 8px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 4px 16px rgba(0, 0, 0, 0.05);
    z-index: 1001;
    max-height: 400px;
    overflow-y: auto;
    display: none;
}

.suggestions-list {
    list-style: none;
    padding: 8px;
    margin: 0;
}

.suggestion-item {
    margin: 0;
}

.suggestion-link {
    display: flex;
    align-items: center;
    padding: 16px 12px;
    min-height: 60px;
    text-decoration: none;
    color: #333;
    border-radius: 8px;
    transition: all 0.2s ease;
    gap: 12px;
}

.suggestion-link:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateX(4px);
}

.suggestion-thumb {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.suggestion-content {
    flex: 1;
    min-width: 0;
}

.suggestion-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-excerpt {
    font-size: 12px;
    color: rgba(51, 51, 51, 0.7);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-date {
    font-size: 11px;
    color: rgba(51, 51, 51, 0.5);
}

/* Search overlay for mobile */
@media (max-width: 768px) {
    .search-form-container {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        margin-top: 0;
    }
    
    .search-form {
        min-width: 100%;
        max-width: 400px;
        padding: 8px;
    }
    
    .search-field {
        padding: 16px;
        font-size: 16px;
        min-height: 48px;
    }
    
    .search-submit {
        padding: 14px;
        min-height: 48px;
        min-width: 48px;
    }
    
    .suggestion-link {
        padding: 20px 16px;
        min-height: 72px;
    }
    
    .suggestion-thumb {
        width: 48px;
        height: 48px;
    }
    
    .search-suggestions-dropdown {
        position: relative;
        margin-top: 16px;
        max-height: 300px;
    }
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 20px;
}

.language-switcher a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.language-switcher a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.language-switcher a.current {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
/* Search Results Page */
.search-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(242, 143, 102, 0.15) 0%, rgba(255, 107, 53, 0.15) 50%, rgba(15, 20, 26, 0.8) 100%);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(242, 143, 102, 0.2);
    position: relative;
    overflow: hidden;
}

.search-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

.search-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #f28f66 0%, #ff6b35 50%, #d8e0e7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.search-query {
    color: #f28f66;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(242, 143, 102, 0.2);
}

.search-count {
    color: rgba(51, 51, 51, 0.8);
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.search-page-form {
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.search-input-container {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px);
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 20px;
    padding: 6px;
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.15),
        0 6px 20px rgba(102, 126, 234, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.search-input-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 18px;
}

.search-input-container:focus-within {
    border-color: rgba(242, 143, 102, 0.4);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.2),
        0 8px 24px rgba(242, 143, 102, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.search-input-container:focus-within::before {
    opacity: 1;
}

.search-field-large {
    flex: 1;
    border: none;
    background: transparent;
    padding: 18px 24px;
    font-size: 17px;
    color: #333;
    outline: none;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

.search-field-large::placeholder {
    color: rgba(51, 51, 51, 0.6);
    font-weight: 400;
}

.search-submit-large {
    background: linear-gradient(135deg, #f28f66 0%, #ff6b35 100%);
    border: none;
    border-radius: 16px;
    padding: 14px 28px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.search-submit-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.search-submit-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(242, 143, 102, 0.4);
}

.search-submit-large:hover::before {
    left: 100%;
}

.search-submit-large:active {
    transform: translateY(-1px);
}

.search-submit-large svg {
    fill: currentColor;
    transition: transform 0.3s ease;
}

.search-submit-large:hover svg {
    transform: scale(1.1);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 80px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.no-results-icon {
    margin-bottom: 24px;
    opacity: 0.3;
}

.no-results-icon svg {
    fill: #f28f66;
}

.no-results-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #d8e0e7;
}

.no-results-text {
    font-size: 1.1rem;
    color: rgba(216, 224, 231, 0.7);
    line-height: 1.6;
    margin-bottom: 40px;
}

.search-suggestions {
    background: rgba(242, 143, 102, 0.05);
    border-radius: 12px;
    padding: 24px;
    text-align: left;
    border: 1px solid rgba(242, 143, 102, 0.1);
}

.search-suggestions h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #f28f66;
}

.search-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-suggestions li {
    padding: 8px 0;
    color: rgba(216, 224, 231, 0.8);
    position: relative;
    padding-left: 20px;
}

.search-suggestions li::before {
    content: "•";
    color: #f28f66;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Search Results Grid */
.search-results {
    margin-top: 40px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* Search Result Article Cards */
.search-results .article-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    position: relative;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 4px 16px rgba(0, 0, 0, 0.2);
}

.search-results .article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(242, 143, 102, 0.08) 0%, rgba(255, 107, 53, 0.08) 50%, rgba(15, 20, 26, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
}

.search-results .article-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #f28f66 0%, #ff6b35 50%, #d8e0e7 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.search-results .article-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(242, 143, 102, 0.4);
    box-shadow: 
        0 24px 48px rgba(0, 0, 0, 0.4),
        0 12px 24px rgba(242, 143, 102, 0.2),
        0 6px 12px rgba(242, 143, 102, 0.1);
}

.search-results .article-card:hover::before {
    opacity: 1;
}

.search-results .article-card:hover::after {
    opacity: 1;
}

.search-results .article-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.search-results .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.search-results .article-card:hover .article-image img {
    transform: scale(1.05);
}

.search-results .article-content {
    padding: 24px;
    position: relative;
    z-index: 1;
}

.search-results .article-categories {
    margin-bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.search-results .category-tag {
    background: linear-gradient(135deg, rgba(242, 143, 102, 0.15) 0%, rgba(255, 107, 53, 0.15) 100%);
    color: #f28f66;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(242, 143, 102, 0.2);
    transition: all 0.3s ease;
}

.search-results .category-tag:hover {
    background: linear-gradient(135deg, #f28f66 0%, #ff6b35 100%);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(242, 143, 102, 0.3);
}

.search-results .article-title {
    margin: 0 0 16px 0;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
}

.search-results .article-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.search-results .article-title a:hover {
    color: #f28f66;
}

.search-results .article-excerpt {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.95rem;
}

.search-results .article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.search-results .meta-separator {
    color: rgba(255, 255, 255, 0.4);
}

.search-results .article-date,
.search-results .reading-time {
    font-weight: 500;
}

/* Search Highlighting */
.search-highlight {
    background: linear-gradient(135deg, #f28f66 0%, #ff6b35 100%);
    color: #fff;
    padding: 2px 4px;
    border-radius: 4px;
    font-weight: 600;
}

/* Responsive Design for Search */
@media (max-width: 768px) {
    .search-header {
        padding: 40px 20px;
        margin-bottom: 40px;
    }
    
    .search-title {
        font-size: 2rem;
    }
    
    .search-input-container {
        flex-direction: column;
        gap: 12px;
    }
    
    .search-field-large {
        width: 100%;
        text-align: center;
    }
    
    .search-submit-large {
        width: 100%;
        justify-content: center;
    }
    
    .no-results {
        padding: 60px 20px;
    }
    
    .no-results-title {
        font-size: 1.5rem;
    }
    
    /* Search Results Grid - Mobile */
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .search-results .article-card {
        border-radius: 16px;
    }
    
    .search-results .article-image {
        height: 180px;
    }
    
    .search-results .article-content {
        padding: 20px;
    }
    
    .search-results .article-title {
        font-size: 1.2rem;
    }
    
    .search-results .article-categories {
        margin-bottom: 12px;
    }
    
    .search-results .category-tag {
        font-size: 0.8rem;
        padding: 4px 10px;
    }
}

.lang-switch { 
    margin-left: 24px; 
}    padding: 12px 20px; 
    border-radius: 30px; 
    background: linear-gradient(135deg, #1a2332, #243142); 
    color: #fff; 
    border: 2px solid rgba(242,143,102,0.25); 
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1; /* 确保按钮在正确的层级 */
}

.lang-switch::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(242,143,102,0.3), transparent);
    transition: left 0.6s ease;
}

.lang-switch:hover::before {
    left: 100%;
}

.lang-switch:hover { 
    background: linear-gradient(135deg, #f28f66, #ff6b35); 
    text-decoration: none; 
    border-color: rgba(242,143,102,0.8);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(242,143,102,0.4), 0 0 0 1px rgba(242,143,102,0.2);
    color: #fff;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .site-header {
        backdrop-filter: blur(15px);
        box-shadow: 0 2px 20px rgba(0,0,0,0.2);
    }
    
    .navbar {
        height: 70px !important;
        min-height: 70px !important;
        max-height: 70px !important;
        padding: 0 15px;
        position: relative;
    }
    
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
        order: 3;
        min-height: 44px;
        min-width: 44px;
        padding: 12px;
    }
    
    /* Hide desktop navigation */
    .main-navigation {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: linear-gradient(135deg, #1a2332 0%, #243142 100%);
        backdrop-filter: blur(20px);
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        overflow-y: auto;
        padding: 2rem 0;
        box-shadow: 0 0 50px rgba(0,0,0,0.3);
    }
    
    .main-navigation.mobile-menu-open {
        transform: translateX(0);
    }
    
    .nav {
        flex-direction: column;
        align-items: center;
        gap: 0;
        width: 100%;
        padding: 0 2rem;
    }
    
    .nav ul {
        flex-direction: column;
        width: 100%;
        gap: 0;
        margin-bottom: 2rem;
    }
    
    .nav li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav li:last-child {
        border-bottom: none;
    }
    
    .nav a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 1.5rem 1.5rem;
        min-height: 60px;
        font-size: 16px;
        font-weight: 600;
        color: #cbd5df;
        border-radius: 0;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        direction: ltr;
        white-space: nowrap;
    }
    
    .nav a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(242,143,102,0.1), transparent);
        transition: left 0.2s ease;
    }
    
    .nav a:hover::before {
        left: 100%;
    }
    
    .nav a:hover {
        background: rgba(242,143,102,0.1);
        color: #f28f66;
        transform: none;
        box-shadow: none;
    }
    
    .nav a::after {
        display: none;
    }
    
    /* Search container in mobile menu */
    .search-container {
        margin: 1rem 0 2rem 0;
        width: 100%;
        max-width: 300px;
    }
    
    /* Language switcher in mobile menu */
    .lang-switch {
        margin: 0;
        padding: 16px 28px;
        min-height: 48px;
        font-size: 14px;
        border-radius: 25px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Mobile menu animations */
    .nav li.menu-item-animate {
        animation: slideInFromLeft 0.4s ease-out forwards;
        opacity: 0;
        transform: translateX(-30px);
    }
    
    /* Prevent body scroll when mobile menu is open */
    body.mobile-menu-active {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
    
    /* Mobile menu overlay */
    .main-navigation::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: -1;
    }
    
    .main-navigation.mobile-menu-open::before {
        opacity: 1;
        visibility: visible;
    }
    
    @keyframes slideInFromLeft {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    /* Ensure consistent mobile navbar height across all page types */
    body .site-header .navbar,
    .single .site-header .navbar,
    .page .site-header .navbar,
    .archive .site-header .navbar,
    .search .site-header .navbar,
    .home .site-header .navbar {
        height: 70px !important;
        min-height: 70px !important;
        max-height: 70px !important;
    }
    
    .brand {
        font-size: 18px;
        gap: 10px;
        font-weight: 700;
        margin-right: 24px;
    }
    
    .brand .dot {
        width: 12px;
        height: 12px;
    }
    
    .nav {
        gap: 12px;
    }
    
    .nav ul {
        gap: 12px;
    }
    
    .nav a {
        padding: 8px 14px;
        font-size: 14px;
        border-radius: 10px;
    }
    
    .lang-switch {
        margin-left: 16px;
        padding: 10px 16px;
        font-size: 12px;
        border-radius: 25px;
        letter-spacing: 0.3px;
    }
}

@media (max-width: 480px) {
    .navbar {
        height: 70px !important;
        min-height: 70px !important;
        max-height: 70px !important;
        padding: 0 12px;
    }
    
    /* Ensure consistent small mobile navbar height across all page types */
    body .site-header .navbar,
    .single .site-header .navbar,
    .page .site-header .navbar,
    .archive .site-header .navbar,
    .search .site-header .navbar,
    .home .site-header .navbar {
        height: 70px !important;
        min-height: 70px !important;
        max-height: 70px !important;
    }
    
    .brand {
        font-size: 16px;
        gap: 8px;
        margin-right: 16px;
    }
    
    .brand .dot {
        width: 10px;
        height: 10px;
    }
    
    .nav {
        gap: 8px;
    }
    
    .nav ul {
        gap: 8px;
    }
    
    .nav a {
        padding: 12px 16px;
        min-height: 46px;
        font-size: 16px;
        border-radius: 8px;
        line-height: 1.2;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .lang-switch {
        margin-left: 10px;
        padding: 10px 16px;
        min-height: 40px;
        font-size: 14px;
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1.2;
    }
    
    /* Enhanced touch targets for small screens */
    .btn {
        padding: 16px 20px;
        min-height: 48px;
        font-size: 16px;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 16px;
    }
    
    .newsletter-input,
    .newsletter-btn {
        width: 100%;
        min-height: 52px;
        padding: 16px 20px;
        font-size: 16px;
    }
    
    .search-toggle {
        min-height: 48px;
        min-width: 48px;
        padding: 14px;
    }
}

/* Hero */
.hero { padding: 56px 0 30px; text-align: center; }
.hero .avatar { width: 96px; height: 96px; margin: 0 auto 14px; border-radius: 50%; overflow: hidden; border: 2px solid rgba(255,255,255,0.1); }
.hero h1 { font-size: 20px; font-weight: 600; color: #dfe7ee; margin: 0 0 8px; }
.hero p { color: #97a6b6; margin: 0 auto 16px; max-width: 550px; }
.hero .actions { display: flex; gap: 10px; justify-content: center; }

/* CTA Button */
.cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 16px; min-height: 44px; border-radius: 6px; font-weight: 600; border: 1px solid rgba(255,255,255,0.08); }
.btn-primary { background: #f28f66; color: #1a0f0b; border-color: #f28f66; }
.btn-outline { background: transparent; color: #d8e0e7; }
.btn:hover { opacity: 0.92; text-decoration: none; }

/* Sections */
.section-title { 
    text-transform: uppercase; 
    font-size: 13px; 
    letter-spacing: 0.08em; 
    color: #ffffff; 
    margin: 0 0 20px 0; 
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
}

/* Featured Articles Container */
.featured-articles-container {
    position: relative;
    margin: 20px 0;
    background: transparent;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    pointer-events: auto;
}

.grid { 
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0 20px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.card { 
    flex: 0 0 320px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 6px 25px rgba(0,0,0,0.4);
    pointer-events: auto;
    cursor: pointer;
}

.card .card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 15;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    border-color: rgba(242,143,102,0.3);
}

.card .thumb { 
    aspect-ratio: 16/9; 
    background: transparent;
    position: relative;
    overflow: hidden;
}

.card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .thumb img {
    transform: scale(1.05);
}

.card .content { 
    padding: 16px 18px 20px;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 60px;
}

.card .title { 
    font-size: 16px; 
    font-weight: 600; 
    color: #ffffff; 
    margin: 0; 
    line-height: 1.4;
    /* Remove line clamp to show full title */
    word-wrap: break-word;
    hyphens: auto;
}

/* Navigation Arrows */
.featured-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.featured-nav:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-50%) scale(1.05);
}

.featured-nav.prev {
    left: -22px;
}

.featured-nav.next {
    right: -22px;
}

.featured-nav svg {
    width: 16px;
    height: 16px;
    fill: #ffffff;
}

/* List */
.post-list { border-top: 1px solid rgba(255,255,255,0.06); margin-top: 24px; }
.post-row { display: grid; grid-template-columns: 80px 1fr 90px; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.post-row .date { color: #f28f66; font-weight: 700; font-size: 12px; text-transform: uppercase; }
.post-row .title { color: #dfe7ee; font-weight: 600; }
.post-row .title a { 
    color: #dfe7ee; 
    text-decoration: none; 
    transition: all 0.3s ease;
    display: block;
    padding: 4px 0;
}
.post-row .title a:hover { 
    color: #f28f66; 
    text-decoration: none;
    transform: translateX(4px);
}
.post-row .meta { color: #8fa0b0; font-size: 12px; text-align: right; }

.load-more { text-align: center; margin: 24px 0 40px; }

/* Footer */
.site-footer {
    background: transparent;
    color: #94a3b8;
    font-size: 14px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
    backdrop-filter: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(242, 143, 102, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 107, 157, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 2;
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.footer-wave .shape-fill {
    fill: #0f172a;
    opacity: 0.9;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 3;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 60px;
    padding: 100px 0 60px;
}

.footer-section {
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.8s ease-out;
}

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

/* Brand Section */
.footer-brand {
    position: relative;
}

.brand-logo {
    margin-bottom: 24px;
}

.footer-brand .footer-title {
    color: #f1f5f9;
    font-size: 32px;
    font-weight: 900;
    margin: 0 0 12px 0;
    background: linear-gradient(135deg, #f28f66 0%, #ff6b9d 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    text-shadow: 0 4px 8px rgba(242, 143, 102, 0.3);
    transition: all 0.3s ease;
}

.footer-brand .footer-title:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.brand-tagline {
    color: #f28f66;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    opacity: 0.95;
    position: relative;
    padding-left: 20px;
}

.brand-tagline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 2px;
    background: linear-gradient(90deg, #f28f66, #ff6b9d);
    border-radius: 1px;
}

.footer-description {
    color: #e2e8f0;
    line-height: 1.8;
    margin: 0 0 36px 0;
    max-width: 340px;
    font-size: 16px;
    font-weight: 400;
    opacity: 0.9;
}

/* Force transparent background for newsletter input */
input[type="email"].newsletter-input,
.newsletter-input,
.footer-newsletter input {
    background: transparent !important;
    background-color: transparent !important;
}

/* Newsletter */
.footer-newsletter {
    margin-top: 32px;
    padding: 0;
    background: transparent !important;
    border-radius: 0;
    border: none;
    backdrop-filter: none;
    transition: all 0.3s ease;
    box-shadow: none !important;
}

.footer-newsletter:hover {
    background: transparent !important;
    border-color: transparent;
    transform: none;
    box-shadow: none !important;
}

.footer-newsletter h4 {
    color: #f1f5f9;
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 28px 0;
    position: relative;
    padding-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-newsletter h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, #f28f66, #ff6b9d, #8b5cf6);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.footer-newsletter:hover h4::after {
    width: 80px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    background: transparent !important;
}

.newsletter-input {
    flex: 1;
    padding: 18px 20px;
    min-height: 48px;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: #f1f5f9;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: none;
}

.newsletter-input::placeholder {
    color: #cbd5e1;
    opacity: 0.8;
}

.newsletter-input:focus {
    outline: none;
    border-color: #f28f66;
    background: transparent !important;
    box-shadow: 0 0 0 2px rgba(242, 143, 102, 0.2);
    transform: translateY(-1px);
}

.newsletter-btn {
    padding: 18px 28px;
    min-height: 48px;
    background: linear-gradient(135deg, #f28f66 0%, #ff6b9d 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.newsletter-btn:hover::before {
    left: 100%;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(242, 143, 102, 0.4);
    background: linear-gradient(135deg, #ff6b9d 0%, #8b5cf6 100%);
}

/* Section Titles */
.footer-section-title {
    color: #f1f5f9;
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 28px 0;
    position: relative;
    padding-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, #f28f66, #ff6b9d, #8b5cf6);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.footer-section:hover .footer-section-title::after {
    width: 80px;
}

/* List */
.footer-link-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-link-list li {
    margin: 0 0 16px 0;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.footer-link-list li:hover {
    transform: translateX(8px);
}

.footer-link-list a {
    color: #e2e8f0;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: inline-block;
    padding: 8px 0;
    font-size: 16px;
    font-weight: 500;
}

.footer-link-list a:hover {
    color: #f28f66;
    text-shadow: 0 2px 8px rgba(242, 143, 102, 0.3);
}

.footer-link-list a::before {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #f28f66, #ff6b9d);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.footer-link-list a:hover::before {
    width: 100%;
}

.footer-link-list a::after {
    content: '→';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
    color: #f28f66;
    font-weight: bold;
}

.footer-link-list a:hover::after {
    opacity: 1;
    right: -24px;
}

/* Contact Info */
.footer-contact-info {
    margin-bottom: 28px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    color: #e2e8f0;
    font-size: 15px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(242, 143, 102, 0.3);
    transform: translateY(-1px);
}

.contact-icon {
    font-size: 18px;
    width: 24px;
    text-align: center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Social Links */
.social-links {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    color: #e2e8f0;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(242, 143, 102, 0.3), transparent);
    transition: left 0.6s ease;
}

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

.social-link:hover {
    background: rgba(242, 143, 102, 0.2);
    border-color: rgba(242, 143, 102, 0.5);
    color: #f28f66;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(242, 143, 102, 0.25);
}

.social-link svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.social-link:hover svg {
    transform: scale(1.1) rotate(5deg);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 40px 0;
    background: transparent;
    backdrop-filter: none;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-copyright,
.footer-powered {
    margin: 0;
}

.footer-copyright p,
.footer-powered p {
    margin: 0;
    color: #cbd5e1;
    font-size: 15px;
    font-weight: 500;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 4px 0;
}

.footer-legal-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #f28f66, #ff6b9d);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.footer-legal-links a:hover {
    color: #f28f66;
}

.footer-legal-links a:hover::before {
    width: 100%;
}

.footer-legal-links .separator {
    color: #64748b;
    font-size: 14px;
    font-weight: bold;
}

.footer-powered a {
    color: #f28f66;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.footer-powered a:hover {
    color: #ff6b9d;
    text-shadow: 0 2px 8px rgba(242, 143, 102, 0.3);
}

/* Responsive */
@media (max-width: 900px) {
  .post-row { grid-template-columns: 70px 1fr 70px; }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 60px 0 40px;
  }
  
  .footer-brand {
    grid-column: 1 / -1;
    margin-bottom: 20px;
  }
  
  .footer-brand .footer-title {
    font-size: 24px;
  }
  
  .footer-description {
    max-width: 100%;
  }
  
  .newsletter-form {
    flex-direction: column;
    gap: 12px;
  }
  
  .newsletter-btn {
    align-self: flex-start;
  }
}
  
  .featured-articles-container {
    padding: 20px;
    margin: 16px 0;
  }
  
  .card {
    flex: 0 0 280px;
  }
  
  .featured-nav {
    width: 40px;
    height: 40px;
  }
  
  .featured-nav svg {
    width: 16px;
    height: 16px;
  }
  
  .featured-nav.prev {
    left: -20px;
  }
  
  .featured-nav.next {
    right: -20px;
  }
}

@media (max-width: 600px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 50px 0 30px;
  }
  
  .footer-container {
    padding: 0 16px;
  }
  
  .footer-brand .footer-title {
    font-size: 22px;
  }
  
  .brand-tagline {
    font-size: 11px;
  }
  
  .footer-description {
    font-size: 14px;
    max-width: 100%;
  }
  
  .footer-section-title {
    font-size: 16px;
    margin-bottom: 20px;
  }
  
  .footer-link-list a {
    font-size: 14px;
  }
  
  .contact-item {
    font-size: 13px;
  }
  
  .social-links {
    justify-content: flex-start;
    gap: 10px;
  }
  
  .social-link {
    width: 40px;
    height: 40px;
  }
  
  .social-link svg {
    width: 18px;
    height: 18px;
  }
  
  .footer-bottom {
    padding: 24px 0;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .footer-legal-links {
    justify-content: center;
    gap: 12px;
  }
  
  .footer-legal-links a {
    font-size: 13px;
  }
  
  .newsletter-input {
    padding: 10px 14px;
    font-size: 13px;
    background: transparent !important;
    background-color: transparent !important;
  }
  
  .newsletter-input:focus {
    background: transparent !important;
    background-color: transparent !important;
  }
  
  .newsletter-btn {
    padding: 10px 16px;
    font-size: 13px;
  }
}
  
  .featured-articles-container {
    padding: 16px;
    margin: 12px 0;
    border-radius: 12px;
  }
  
  .card {
    flex: 0 0 250px;
  }
  
  .featured-nav.prev {
    left: -16px;
  }
  
  .featured-nav.next {
    right: -16px;
  }
  
  .featured-nav {
    width: 36px;
    height: 36px;
  }
  
  .featured-nav svg {
    width: 14px;
    height: 14px;
  }
  
  .card .content {
    padding: 12px 14px 16px;
    min-height: 50px;
  }
  
  .card .title {
    font-size: 14px;
  }
  
  .section-title {
    font-size: 12px;
    margin: 0 0 16px 0;
  }
}

/* Infinite Scroll Loading Indicator */
.loading-indicator {
    text-align: center;
    padding: 40px 20px;
    margin: 20px 0;
    position: relative;
    z-index: 10;
}

/* Mobile-specific loading indicator styles */
@media (max-width: 768px) {
    .loading-indicator {
        padding: 30px 15px;
        margin: 15px 0;
        position: sticky;
        bottom: 20px;
        background: rgba(26, 15, 11, 0.95);
        border-radius: 12px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(242, 143, 102, 0.2);
    border-top: 3px solid #f28f66;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Mobile spinner */
@media (max-width: 768px) {
    .spinner {
        width: 32px;
        height: 32px;
        border-width: 2px;
        animation: spin 0.8s linear infinite;
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: #8fa0b0;
    font-size: 14px;
    font-weight: 500;
}

/* Mobile loading text */
@media (max-width: 768px) {
    .loading-text {
        font-size: 16px;
        color: #ffffff;
        font-weight: 600;
    }
}

.no-more-posts {
    color: #8fa0b0;
    font-size: 14px;
    font-weight: 500;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.load-error {
    color: #ff6b6b;
    font-size: 14px;
    font-weight: 500;
    padding: 20px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 107, 107, 0.2);
}

/* Load More Button Styles (Mobile) */
.load-more-button {
    display: none;
    text-align: center;
    margin: 2rem 0;
    padding: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.load-more-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.load-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent 100%);
    transition: left 0.6s ease;
}

.load-more-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
    background: linear-gradient(135deg, #7c8df0 0%, #8a5cb8 100%);
}

.load-more-btn:hover::before {
    left: 100%;
}

.load-more-btn:active {
    transform: translateY(-1px) scale(1.01);
    transition: all 0.1s ease;
}

.load-more-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.load-more-btn:disabled:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.load-more-text {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.load-more-spinner {
    display: none;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.load-more-spinner .spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Loading state */
.load-more-btn.loading {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    cursor: wait;
    animation: pulse 2s ease-in-out infinite;
}

.load-more-btn.loading .load-more-text {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.load-more-btn.loading .load-more-spinner {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    }
    50% {
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Error state */
.load-more-btn.error {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    animation: shake 0.5s ease-in-out, errorPulse 2s ease-in-out;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

@keyframes errorPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    }
    50% {
        box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
    }
}

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

/* No more posts state */
.load-more-btn.no-more {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    cursor: not-allowed;
    box-shadow: 0 2px 8px rgba(149, 165, 166, 0.3);
    opacity: 0.8;
    animation: fadeToGray 0.5s ease-out;
}

.load-more-btn.no-more:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(149, 165, 166, 0.3);
}

@keyframes fadeToGray {
    from {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        opacity: 1;
    }
    to {
        background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
        opacity: 0.8;
    }
}

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

/* Mobile specific styles */
@media (max-width: 768px) {
    .load-more-button {
        display: block;
    }
    
    .loading-indicator {
        display: none !important;
    }
    
    .load-more-btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        display: block;
    }
}

/* Desktop - hide load more button */
@media (min-width: 769px) {
    .load-more-button {
        display: none !important;
    }
}

/* Smooth animation for new posts */
.post-row {
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.post-row.fade-in {
    opacity: 0;
    transform: translateY(20px);
}

.post-row.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Content Menu Styles */
.content-menu {
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.content-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent 100%);
}

.content-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.25rem;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.content-menu-horizontal .content-menu-list {
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.content-menu-vertical .content-menu-list {
    flex-direction: column;
    align-items: center;
}

.content-menu-list li {
    margin: 0;
    position: relative;
}

.content-menu-list a {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.025em;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.content-menu-list a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%);
    transition: left 0.6s ease;
}

.content-menu-list a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 12px 24px rgba(0, 0, 0, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.content-menu-list a:hover::before {
    left: 100%;
}

.content-menu-list a:active {
    transform: translateY(-1px) scale(1.01);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .content-menu {
        margin: 2rem 0;
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .content-menu-list {
        gap: 1rem;
    }
    
    .content-menu-list a {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Sub-menu styles */
.content-menu-list .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 200px;
    z-index: 1000;
}

.content-menu-list li:hover .sub-menu {
    display: block;
}

.content-menu-list .sub-menu a {
    display: block;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0;
    background: transparent;
}

.content-menu-list .sub-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Category Archive Page Styles */
.page-header {
    text-align: center;
    padding: 60px 0 40px;
    margin-bottom: 40px;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, #f28f66, #ff6b35);
    border-radius: 1px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #fff, #f28f66);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.archive-description {
    color: #97a6b6;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Posts Container for Category Pages */
.posts-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 60px;
}

/* No Results Section */
.no-results {
    text-align: center;
    padding: 80px 20px;
}

.no-results .page-title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.no-results .page-content {
    color: #97a6b6;
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

.no-results .page-content p {
    margin-bottom: 30px;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 80px 0;
    flex-wrap: wrap;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    padding: 0 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    color: #cbd5df;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.pagination .page-numbers::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.pagination .page-numbers:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(242, 143, 102, 0.2) 100%);
    border-color: rgba(102, 126, 234, 0.4);
    color: #fff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 12px 32px rgba(102, 126, 234, 0.2),
        0 6px 16px rgba(242, 143, 102, 0.15);
}

.pagination .page-numbers:hover::before {
    left: 100%;
}

.pagination .page-numbers.current {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f28f66 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 
        0 12px 32px rgba(102, 126, 234, 0.3),
        0 6px 16px rgba(242, 143, 102, 0.2);
    transform: scale(1.1);
}

.pagination .page-numbers.current:hover {
    transform: translateY(-2px) scale(1.1);
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
    padding: 0 24px;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(242, 143, 102, 0.1) 100%);
    border: 2px solid rgba(102, 126, 234, 0.2);
}

.pagination .page-numbers.prev:hover,
.pagination .page-numbers.next:hover {
    background: linear-gradient(135deg, #667eea 0%, #f28f66 100%);
    border-color: transparent;
    color: #fff;
}

/* Responsive Design for Category Pages */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .archive-description {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .page-header {
        padding: 40px 0 30px;
        margin-bottom: 30px;
    }
    
    .posts-container {
        gap: 16px;
        margin-bottom: 40px;
    }
    
    .pagination {
        margin: 40px 0;
        gap: 8px;
    }
    
    .pagination .page-numbers {
        min-width: 40px;
        height: 40px;
        padding: 0 12px;
        font-size: 14px;
    }
}

/* Modern Search Results Styles */
.search-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.search-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    pointer-events: none;
}

.search-header-modern {
    text-align: center;
    padding: 4rem 2rem 2rem;
    position: relative;
    z-index: 1;
}

.search-hero {
    max-width: 800px;
    margin: 0 auto;
}

.search-title-modern {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.search-query-highlight {
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.search-count-modern {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    font-weight: 500;
}

.search-form-modern-container {
    max-width: 600px;
    margin: 0 auto 4rem;
    position: relative;
    z-index: 2;
}

.search-form-modern {
    position: relative;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.15);
    border-radius: 60px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.search-input-modern {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon-modern {
    position: absolute;
    left: 20px;
    z-index: 3;
    color: rgba(255, 255, 255, 0.7);
}

.search-field-modern {
    width: 100%;
    padding: 18px 140px 18px 60px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    background: transparent;
    color: white;
    outline: none;
    font-weight: 500;
}

.search-field-modern::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-submit-modern {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.search-submit-modern:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.search-results-modern {
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.articles-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
}

.article-card-modern {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.article-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.article-card-modern:hover::before {
    opacity: 1;
}

.article-card-modern:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.card-inner {
    position: relative;
    z-index: 1;
}

.article-image-modern {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.image-link {
    display: block;
    height: 100%;
    position: relative;
}

.featured-image-modern {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.article-card-modern:hover .featured-image-modern {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-card-modern:hover .image-overlay {
    opacity: 1;
}

.read-icon {
    color: white;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.article-card-modern:hover .read-icon {
    transform: scale(1);
}

.article-content-modern {
    padding: 2rem;
}

.article-categories-modern {
    margin-bottom: 1rem;
}

.category-tag-modern {
    display: inline-block;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    margin-right: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.category-tag-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.article-title-modern {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-title-modern a {
    color: #2d3748;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-title-modern a:hover {
    color: #667eea;
}

.article-excerpt-modern {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.article-meta-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.meta-left, .meta-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-date-modern, .reading-time-modern {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: #718096;
    font-weight: 500;
}

.date-icon, .time-icon {
    color: #a0aec0;
}

/* Modern Pagination */
.pagination-modern {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.pagination-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination-nav a,
.pagination-nav span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 44px;
    justify-content: center;
}

.pagination-nav a:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #667eea;
}

.pagination-nav .current {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Modern No Results */
.no-results-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 2rem;
}

.no-results-container {
    text-align: center;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 4rem 3rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.no-results-icon-modern {
    margin-bottom: 2rem;
    opacity: 0.7;
}

.no-results-icon-modern svg {
    fill: #a0aec0;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
}

.no-results-title-modern {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2d3748;
}

.no-results-text-modern {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 3rem;
}

.search-term {
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.search-suggestions-modern {
    text-align: left;
}

.suggestions-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #2d3748;
}

.suggestions-grid {
    display: grid;
    gap: 1rem;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.suggestion-item:hover {
    background: rgba(102, 126, 234, 0.15);
    transform: translateX(5px);
}

.suggestion-item svg {
    fill: #667eea;
    flex-shrink: 0;
}

.suggestion-item span {
    color: #4a5568;
    font-weight: 500;
}

/* Responsive Design for Modern Search */
@media (max-width: 768px) {
    .search-title-modern {
        font-size: 2.5rem;
    }
    
    .articles-grid-modern {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .article-meta-modern {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .search-form-modern-container {
        margin: 0 1rem 3rem;
    }
    
    .search-field-modern {
        padding: 16px 120px 16px 50px;
        font-size: 1rem;
    }
    
    .search-submit-modern {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .no-results-container {
        padding: 3rem 2rem;
        margin: 0 1rem;
    }
    
    .pagination-nav {
        gap: 0.25rem;
    }
    
    .pagination-nav a,
    .pagination-nav span {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}

/* ===== SINGLE POST / ARTICLE DETAIL PAGE STYLES ===== */

/* Single Post Container */
.single .site-main {
    background: linear-gradient(135deg, 
        rgba(15, 20, 26, 0.95) 0%, 
        rgba(20, 25, 35, 0.98) 50%, 
        rgba(15, 20, 26, 0.95) 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.single .site-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(242, 143, 102, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 107, 157, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.single .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 40px 20px 80px;
}

/* Article Container */
.single article {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

.single article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f28f66, #ff6b35, #8b5cf6, #667eea);
    background-size: 300% 100%;
    animation: gradientShift 6s ease-in-out infinite;
}

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

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ===== ABOUT PAGE STYLES ===== */
.about-page {
    padding: 2rem 0;
}

.about-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 5rem 2rem;
    background: 
        linear-gradient(135deg, 
            rgba(15, 20, 26, 0.95) 0%, 
            rgba(20, 25, 35, 0.98) 50%, 
            rgba(15, 20, 26, 0.95) 100%),
        radial-gradient(circle at 30% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(242, 143, 102, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 107, 157, 0.08) 0%, transparent 50%);
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.3),
        0 10px 40px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

.about-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.02) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(255, 255, 255, 0.02) 50%, transparent 70%);
    pointer-events: none;
    animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

.about-header::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.3) 0%, 
        rgba(242, 143, 102, 0.3) 25%,
        rgba(255, 107, 157, 0.3) 50%,
        rgba(139, 92, 246, 0.3) 75%,
        rgba(242, 143, 102, 0.3) 100%);
    border-radius: 34px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.6s ease;
    animation: borderGlow 4s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

/* Language Switcher */
.about-language-switcher {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    display: flex;
    gap: 0.5rem;
    z-index: 20;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.about-language-switcher a {
    padding: 0.75rem 1.25rem;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.about-language-switcher a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.8) 0%, 
        rgba(242, 143, 102, 0.8) 50%, 
        rgba(255, 107, 157, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.about-language-switcher a:hover {
    color: white;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 24px rgba(139, 92, 246, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.about-language-switcher a:hover::before {
    opacity: 1;
}

.about-language-switcher a.current {
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.9) 0%, 
        rgba(242, 143, 102, 0.9) 50%, 
        rgba(255, 107, 157, 0.9) 100%);
    box-shadow: 
        0 8px 20px rgba(139, 92, 246, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.about-language-switcher a.current::before {
    opacity: 0;
}

.about-header h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, 
        #ffffff 0%, 
        rgba(139, 92, 246, 0.9) 25%,
        rgba(242, 143, 102, 0.9) 50%,
        rgba(255, 107, 157, 0.9) 75%,
        #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1.1;
    position: relative;
    z-index: 10;
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
    animation: titleGlow 6s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { 
        filter: brightness(1) drop-shadow(0 0 20px rgba(139, 92, 246, 0.3));
    }
    33% { 
        filter: brightness(1.1) drop-shadow(0 0 30px rgba(242, 143, 102, 0.4));
    }
    66% { 
        filter: brightness(1.05) drop-shadow(0 0 25px rgba(255, 107, 157, 0.35));
    }
}

.about-header p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 10;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== TEAM SECTION STYLES ===== */
.team-section {
    margin-bottom: 6rem;
    padding: 4rem 0;
    position: relative;
    background: linear-gradient(135deg, 
        rgba(15, 20, 26, 0.95) 0%, 
        rgba(20, 25, 35, 0.98) 50%, 
        rgba(15, 20, 26, 0.95) 100%);
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(242, 143, 102, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 107, 157, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.team-section .section-title {
    position: relative;
    z-index: 2;
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 4rem;
    color: #ffffff;
    text-transform: none;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.team-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Team Member Card Styles */
.team-member-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.2),
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.team-member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #f28f66 0%, #8b5cf6 50%, #ff6b9d 100%);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left;
}

.team-member-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(242, 143, 102, 0.05) 0%, 
        rgba(139, 92, 246, 0.05) 50%, 
        rgba(255, 107, 157, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.team-member-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.3),
        0 12px 48px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.team-member-card:hover::before {
    transform: scaleX(1);
}

.team-member-card:hover::after {
    opacity: 1;
}

/* Member Photo Styles */
.member-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 2rem;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: linear-gradient(135deg, #f28f66 0%, #8b5cf6 50%, #ff6b9d 100%);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.2),
        0 5px 15px rgba(0, 0, 0, 0.1);
}

.member-photo::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #f28f66 0%, #8b5cf6 50%, #ff6b9d 100%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-member-card:hover .member-photo {
    transform: scale(1.08);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 8px 25px rgba(242, 143, 102, 0.2);
}

.team-member-card:hover .member-photo::before {
    opacity: 1;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
}

.team-member-card:hover .member-photo img {
    transform: scale(1.1);
}

.member-photo.no-photo,
.member-photo-placeholder {
    background: linear-gradient(135deg, #f28f66 0%, #8b5cf6 50%, #ff6b9d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Member Info Styles */
.member-info {
    position: relative;
    z-index: 2;
}

.member-info .member-name {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #ffffff;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: color 0.3s ease;
}

.team-member-card:hover .member-info .member-name {
    background: linear-gradient(135deg, #f28f66 0%, #8b5cf6 50%, #ff6b9d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.member-position {
    font-size: 1.1rem;
    color: rgba(242, 143, 102, 0.9);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.team-member-card:hover .member-position {
    color: #f28f66;
    transform: translateY(-2px);
}

.member-bio {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 2rem;
    transition: color 0.3s ease;
}

.team-member-card:hover .member-bio {
    color: rgba(255, 255, 255, 0.9);
}

/* Social Links Styles */
.member-social {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f28f66 0%, #8b5cf6 50%, #ff6b9d 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.3),
        0 4px 15px rgba(242, 143, 102, 0.2);
}

.social-link:hover::before {
    opacity: 1;
}

.social-link svg {
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.social-link:hover svg {
    color: white;
    transform: scale(1.1);
}

/* Twitter specific styling */
.social-link.twitter:hover {
    box-shadow: 
        0 10px 25px rgba(29, 161, 242, 0.4),
        0 4px 15px rgba(29, 161, 242, 0.2);
}

/* LinkedIn specific styling */
.social-link.linkedin:hover {
    box-shadow: 
        0 10px 25px rgba(0, 119, 181, 0.4),
        0 4px 15px rgba(0, 119, 181, 0.2);
}

/* GitHub specific styling */
.social-link.github:hover {
    box-shadow: 
        0 10px 25px rgba(51, 51, 51, 0.4),
        0 4px 15px rgba(51, 51, 51, 0.2);
}

.no-team-members {
    text-align: center;
    padding: 4rem 1rem;
    color: #666;
}

.no-team-members h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

/* ===== COMPANY STATS SECTION ===== */
.company-stats {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    padding: 6rem 0;
    margin: 6rem 0;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 8px 25px rgba(0, 0, 0, 0.2);
}

.company-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.stats-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stat-item {
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 10px 30px rgba(120, 119, 198, 0.3);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.stat-item:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6);
}

.stat-icon svg {
    width: 36px;
    height: 36px;
    color: white;
    transition: transform 0.3s ease;
}

.stat-item:hover .stat-icon svg {
    transform: scale(1.1);
}

.stat-content {
    position: relative;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.5rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.stat-plus {
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-left: 0.2rem;
    vertical-align: top;
    animation: pulse 2s infinite;
}

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

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 1rem;
    line-height: 1.4;
}

.stat-item:hover .stat-label {
    color: rgba(255, 255, 255, 0.95);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 2rem;
        padding: 0 1.5rem;
    }
    
    .team-member-card {
        padding: 2rem;
    }
    
    .member-photo {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 768px) {
    .about-header {
        padding: 4rem 1.5rem;
        margin-bottom: 3rem;
        border-radius: 24px;
    }
    
    .about-language-switcher {
        position: static;
        justify-content: center;
        margin-bottom: 2rem;
        background: rgba(255, 255, 255, 0.08);
        padding: 0.75rem;
        border-radius: 30px;
    }
    
    .about-language-switcher a {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .about-header h1 {
        font-size: 3rem;
        margin-bottom: 1.5rem;
        line-height: 1.2;
    }
    
    .about-header p {
        font-size: 1.2rem;
        max-width: 90%;
        line-height: 1.6;
    }
    
    .team-section {
        padding: 3rem 0;
        margin-bottom: 4rem;
    }
    
    .team-section .section-title {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .team-member-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .member-photo {
        width: 110px;
        height: 110px;
        margin-bottom: 1.5rem;
    }
    
    .member-info .member-name {
        font-size: 1.5rem;
    }
    
    .member-position {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .member-bio {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .member-social {
        gap: 1rem;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
    }
    
    .social-link svg {
        width: 18px;
        height: 18px;
    }
    
    .company-stats {
        padding: 4rem 0;
        margin: 4rem 0;
        border-radius: 20px;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding: 0 1.5rem;
    }
    
    .stat-item {
        padding: 2rem 1.5rem;
    }
    
    .stat-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.25rem;
    }
    
    .stat-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
    
    .stat-plus {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .about-header {
        padding: 3rem 1rem;
        margin-bottom: 2.5rem;
        border-radius: 20px;
    }
    
    .about-language-switcher {
        margin-bottom: 1.5rem;
        padding: 0.5rem;
        border-radius: 25px;
    }
    
    .about-language-switcher a {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .about-header h1 {
        font-size: 2.5rem;
        margin-bottom: 1.25rem;
        line-height: 1.15;
    }
    
    .about-header p {
        font-size: 1.1rem;
        max-width: 95%;
        line-height: 1.5;
    }
    
    .team-section {
        padding: 2rem 0;
        margin-bottom: 3rem;
    }
    
    .team-section .section-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }
    
    .team-grid {
        gap: 1.5rem;
        padding: 0 0.75rem;
    }
    
    .team-member-card {
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }
    
    .member-photo {
        width: 100px;
        height: 100px;
        margin-bottom: 1.25rem;
    }
    
    .member-info .member-name {
        font-size: 1.35rem;
        margin-bottom: 0.5rem;
    }
    
    .member-position {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .member-bio {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }
    
    .member-social {
        gap: 0.75rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-link svg {
        width: 16px;
        height: 16px;
    }
    
    .company-stats {
        padding: 3rem 0;
        margin: 3rem 0;
        border-radius: 16px;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .stat-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-plus {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 1rem;
        letter-spacing: 1px;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
}

/* ==========================================================================
   Mobile Performance Optimization Styles
   ========================================================================== */

/* Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.back-to-top-btn:active {
    transform: translateY(-1px) scale(0.98);
}

/* Lazy Loading Images */
img[data-src] {
    opacity: 0;
    transition: opacity 0.3s ease;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

img.loading {
    opacity: 0.6;
    filter: blur(2px);
}

img.loaded {
    opacity: 1;
    filter: none;
}

img.error {
    opacity: 0.5;
    background: #f5f5f5;
    position: relative;
}

img.error::after {
    content: '🖼️';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    opacity: 0.5;
}

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

/* Performance Optimizations for Slow Connections */
@media (max-width: 768px) {
    /* Reduce animations on mobile for better performance */
    .prefers-reduced-motion {
        animation: none !important;
        transition: none !important;
    }
    
    /* Optimize back to top button for mobile */
    .back-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    /* Optimize touch targets */
    .back-to-top-btn {
        min-height: 44px;
        min-width: 44px;
    }
}

@media (max-width: 480px) {
    .back-to-top-btn {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Optimize for slow connections */
@media (max-width: 768px) and (max-resolution: 1dppx) {
    /* Reduce visual effects for low-resolution displays */
    .back-to-top-btn {
        backdrop-filter: none;
        box-shadow: 0 2px 10px rgba(102, 126, 234, 0.2);
    }
    
    img[data-src] {
        animation: none;
        background: #f0f0f0;
    }
}

/* Critical resource hints for mobile performance */
.mobile-performance-hints {
    display: none; /* Hidden utility class for performance hints */
}

/* ===== NEWSLETTER STYLES ===== */

/* Newsletter Form */
.footer-newsletter {
    margin-top: 30px;
}

.footer-newsletter h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: -0.3px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    position: relative;
}

.newsletter-input {
    flex: 1;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    outline: none;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(242, 143, 102, 0.5);
    box-shadow: 0 0 0 3px rgba(242, 143, 102, 0.1);
    transform: translateY(-1px);
}

.newsletter-input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.newsletter-btn {
    padding: 14px 24px;
    background: linear-gradient(135deg, #f28f66, #ff6b35);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 100px;
    white-space: nowrap;
}

.newsletter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.newsletter-btn:hover::before {
    left: 100%;
}

.newsletter-btn:hover {
    background: linear-gradient(135deg, #ff6b35, #f28f66);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(242, 143, 102, 0.3);
}

.newsletter-btn:active {
    transform: translateY(0);
}

.newsletter-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.newsletter-btn.loading {
    background: linear-gradient(135deg, rgba(242, 143, 102, 0.7), rgba(255, 107, 53, 0.7));
    position: relative;
}

.newsletter-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: newsletterSpin 1s linear infinite;
}

@keyframes newsletterSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Newsletter Message */
.newsletter-message {
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    display: none;
    animation: messageSlideIn 0.3s ease-out;
}

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

.newsletter-message.success {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.newsletter-message.error {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.newsletter-message.info {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Enhanced Mobile Newsletter Experience */
@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
        gap: 12px;
        padding: 20px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .newsletter-input {
        width: 100%;
        padding: 18px 20px;
        min-height: 48px;
        font-size: 16px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.08);
        border: 2px solid rgba(255, 255, 255, 0.1);
        color: #fff;
        transition: all 0.3s ease;
    }
    
    .newsletter-input:focus {
        border-color: rgba(102, 126, 234, 0.5);
        background: rgba(255, 255, 255, 0.12);
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        transform: translateY(-1px);
    }
    
    .newsletter-input::placeholder {
        color: rgba(255, 255, 255, 0.6);
        font-size: 15px;
    }
    
    .newsletter-btn {
        width: 100%;
        min-width: auto;
        padding: 18px 20px;
        min-height: 48px;
        font-size: 16px;
        font-weight: 600;
        border-radius: 12px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border: none;
        color: white;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    .newsletter-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    }
    
    .newsletter-btn:active {
        transform: translateY(0);
    }
    
    .newsletter-message {
        padding: 12px 16px;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 500;
        text-align: center;
        margin-top: 8px;
        animation: messageSlideIn 0.3s ease;
    }
    
    .newsletter-message.success {
        background: rgba(34, 197, 94, 0.1);
        color: #22c55e;
        border: 1px solid rgba(34, 197, 94, 0.2);
    }
    
    .newsletter-message.error {
        background: rgba(239, 68, 68, 0.1);
        color: #ef4444;
        border: 1px solid rgba(239, 68, 68, 0.2);
    }
}

@media (max-width: 480px) {
    .footer-newsletter {
        margin-top: 30px;
        padding: 0 10px;
    }
    
    .footer-newsletter h4 {
        font-size: 18px;
        margin-bottom: 16px;
        text-align: center;
        color: #fff;
    }
    
    .newsletter-form {
        padding: 16px;
        gap: 10px;
    }
    
    .newsletter-input {
        padding: 16px 18px;
        min-height: 44px;
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .newsletter-btn {
        padding: 16px 18px;
        min-height: 44px;
        font-size: 15px;
    }
    
    .newsletter-message {
        padding: 10px 14px;
        font-size: 13px;
    }
}

/* Newsletter Loading States */
.newsletter-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.newsletter-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

/* Enhanced Touch Feedback */
@media (max-width: 768px) {
    .newsletter-input:focus,
    .newsletter-btn:focus {
        outline: none;
    }
    
    .newsletter-btn:active {
        background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    }
    
    /* Improve form accessibility */
    .newsletter-form {
        position: relative;
    }
    
    .newsletter-input:invalid {
        border-color: rgba(239, 68, 68, 0.5);
    }
    
    .newsletter-input:valid {
        border-color: rgba(34, 197, 94, 0.3);
    }
}

/* Tag Archive Page Styles */
.tag-archive {
    background: linear-gradient(135deg, rgba(15, 20, 26, 0.95), rgba(20, 25, 35, 0.95));
    min-height: 100vh;
    position: relative;
}

.tag-archive::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 75%, rgba(242, 143, 102, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 25%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.tag-header {
    text-align: center;
    padding: 60px 0 40px;
    position: relative;
}

.tag-header-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.tag-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f28f66, #ff6b35);
    border-radius: 20px;
    margin-bottom: 24px;
    box-shadow: 0 12px 40px rgba(242, 143, 102, 0.3);
    animation: tagIconFloat 3s ease-in-out infinite;
}

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

.tag-icon svg {
    color: #fff;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.tag-title {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px;
    background: linear-gradient(135deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.tag-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tag-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(242, 143, 102, 0.1);
    color: #f28f66;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(242, 143, 102, 0.2);
}

.tag-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.tag-post-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.tag-post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(242, 143, 102, 0.05), rgba(139, 92, 246, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.tag-post-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 8px 32px rgba(242, 143, 102, 0.1);
    border-color: rgba(242, 143, 102, 0.3);
}

.tag-post-card:hover::before {
    opacity: 1;
}

.tag-post-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.tag-post-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.tag-post-card:hover .tag-post-thumb {
    transform: scale(1.1);
}

.tag-post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(242, 143, 102, 0.8), rgba(139, 92, 246, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tag-post-card:hover .tag-post-overlay {
    opacity: 1;
}

.read-more-btn {
    background: rgba(255, 255, 255, 0.9);
    color: #1a1a1a;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.tag-post-card:hover .read-more-btn {
    transform: translateY(0);
}

.tag-post-content {
    padding: 24px;
}

.tag-post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 0.85rem;
}

.tag-post-date {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.tag-post-category a {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
    padding: 4px 12px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
}

.tag-post-category a:hover {
    background: rgba(139, 92, 246, 0.2);
    transform: translateY(-2px);
}

.tag-post-title {
    margin: 0 0 16px;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
}

.tag-post-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.tag-post-title a:hover {
    color: #f28f66;
}

.tag-post-excerpt {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.tag-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-link {
    background: rgba(242, 143, 102, 0.1);
    color: #f28f66;
    padding: 4px 10px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(242, 143, 102, 0.2);
    transition: all 0.3s ease;
}

.tag-link:hover {
    background: rgba(242, 143, 102, 0.2);
    transform: translateY(-2px);
    text-decoration: none;
}

.tag-pagination {
    margin-top: 40px;
}

.tag-no-results {
    text-align: center;
    padding: 80px 20px;
}

.tag-no-results .no-results-icon {
    margin-bottom: 30px;
    opacity: 0.6;
}

.tag-no-results .no-results-icon svg {
    color: #f28f66;
    filter: drop-shadow(0 4px 20px rgba(242, 143, 102, 0.2));
}

.tag-no-results .page-title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 16px;
    font-weight: 700;
}

.tag-no-results .no-results-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.no-results-suggestions {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.no-results-suggestions h3 {
    color: #f28f66;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

.no-results-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.no-results-suggestions li {
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding-left: 20px;
}

.no-results-suggestions li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #f28f66;
    font-weight: bold;
}

.no-results-suggestions a {
    color: #f28f66;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.no-results-suggestions a:hover {
    color: #ff6b35;
    text-decoration: underline;
}

/* Responsive Design for Tag Archive */
@media (max-width: 768px) {
    .tag-header {
        padding: 40px 0 30px;
    }
    
    .tag-header-content {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .tag-title {
        font-size: 2.2rem;
    }
    
    .tag-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .tag-post-card {
        border-radius: 16px;
    }
    
    .tag-post-image {
        height: 180px;
    }
    
    .tag-post-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .tag-header-content {
        padding: 25px 15px;
    }
    
    .tag-title {
        font-size: 1.8rem;
    }
    
    .tag-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .tag-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .tag-posts-grid {
        padding: 0 10px;
    }
    
    .tag-post-content {
        padding: 16px;
    }
    
    .tag-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* Author Archive Page Styles */
.author-archive {
    background: linear-gradient(135deg, rgba(15, 20, 26, 0.95), rgba(20, 25, 35, 0.95));
    min-height: 100vh;
    position: relative;
}

.author-archive::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(242, 143, 102, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.author-header {
    padding: 60px 0 50px;
    position: relative;
}

.author-header-content {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.author-header-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(242, 143, 102, 0.05));
    pointer-events: none;
}

.author-avatar {
    position: relative;
    flex-shrink: 0;
}

.author-avatar-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.author-avatar-ring {
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #f28f66);
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: authorAvatarPulse 3s ease-in-out infinite;
}

.author-header-content:hover .author-avatar-ring {
    opacity: 0.6;
}

@keyframes authorAvatarPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.author-info {
    flex: 1;
    position: relative;
    z-index: 2;
}

.author-meta-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.author-name {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 20px;
    background: linear-gradient(135deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
    line-height: 1.1;
}

.author-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 600px;
}

.author-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}

.author-stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #8b5cf6;
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #8b5cf6, #f28f66);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.author-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.author-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.author-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.website-link:hover {
    border-color: rgba(242, 143, 102, 0.5);
    color: #f28f66;
}

.twitter-link:hover {
    border-color: rgba(29, 161, 242, 0.5);
    color: #1da1f2;
}

.facebook-link:hover {
    border-color: rgba(24, 119, 242, 0.5);
    color: #1877f2;
}

.linkedin-link:hover {
    border-color: rgba(0, 119, 181, 0.5);
    color: #0077b5;
}

.instagram-link:hover {
    border-color: rgba(225, 48, 108, 0.5);
    color: #e1306c;
}

.author-posts-section {
    padding-bottom: 60px;
}

.author-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.author-post-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.author-post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(242, 143, 102, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.author-post-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 8px 32px rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
}

.author-post-card:hover::before {
    opacity: 1;
}

.author-post-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.author-post-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.author-post-card:hover .author-post-thumb {
    transform: scale(1.1);
}

.author-post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.8), rgba(242, 143, 102, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.author-post-card:hover .author-post-overlay {
    opacity: 1;
}

.author-post-content {
    padding: 24px;
}

.author-post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 0.85rem;
}

.author-post-date {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.author-post-category a {
    background: rgba(242, 143, 102, 0.1);
    color: #f28f66;
    padding: 4px 12px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    border: 1px solid rgba(242, 143, 102, 0.2);
    transition: all 0.3s ease;
}

.author-post-category a:hover {
    background: rgba(242, 143, 102, 0.2);
    transform: translateY(-2px);
}

.author-post-title {
    margin: 0 0 16px;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
}

.author-post-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.author-post-title a:hover {
    color: #8b5cf6;
}

.author-post-excerpt {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.author-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.author-pagination {
    margin-top: 40px;
}

.author-no-results {
    text-align: center;
    padding: 80px 20px;
}

.author-no-results .no-results-icon {
    margin-bottom: 30px;
    opacity: 0.6;
}

.author-no-results .no-results-icon svg {
    color: #8b5cf6;
    filter: drop-shadow(0 4px 20px rgba(139, 92, 246, 0.2));
}

.author-no-results .page-title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 16px;
    font-weight: 700;
}

.author-no-results .no-results-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.no-results-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #8b5cf6, #f28f66);
    color: #fff;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.4);
    text-decoration: none;
    color: #fff;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Responsive Design for Author Archive */
@media (max-width: 768px) {
    .author-header {
        padding: 40px 0 30px;
    }
    
    .author-header-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 40px 20px;
        margin: 0 15px;
    }
    
    .author-name {
        font-size: 2.2rem;
    }
    
    .author-stats {
        justify-content: center;
        gap: 30px;
    }
    
    .author-links {
        justify-content: center;
    }
    
    .author-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .author-post-card {
        border-radius: 16px;
    }
    
    .author-post-image {
        height: 180px;
    }
    
    .author-post-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .author-header-content {
        padding: 30px 15px;
    }
    
    .author-name {
        font-size: 1.8rem;
    }
    
    .author-avatar-img {
        width: 100px;
        height: 100px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .author-stats {
        gap: 20px;
    }
    
    .author-posts-grid {
        padding: 0 10px;
    }
    
    .author-post-content {
        padding: 16px;
    }
    
    .author-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .no-results-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* ===== SHARE COMPONENT STYLES ===== */

/* Share Component Container */
.share-component {
    margin: 40px 0;
    padding: 30px 40px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    animation: shareComponentFadeIn 0.8s ease-out 0.7s both;
}

.share-component::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(242, 143, 102, 0.6) 0%, 
        rgba(139, 92, 246, 0.6) 50%, 
        rgba(102, 126, 234, 0.6) 100%);
    background-size: 200% 100%;
    animation: shareGradientMove 4s ease-in-out infinite;
}

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

@keyframes shareGradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Share Title */
.share-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0.9;
}

/* Share Buttons Container */
.share-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Share Button Base Styles */
.share-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    min-width: 120px;
    justify-content: center;
}

.share-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    transition: left 0.6s ease;
}

.share-btn:hover::before {
    left: 100%;
}

.share-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.share-btn:hover svg {
    transform: scale(1.1);
}

/* Twitter Button */
.share-twitter {
    background: linear-gradient(135deg, 
        rgba(29, 161, 242, 0.15) 0%, 
        rgba(29, 161, 242, 0.25) 100%);
    border-color: rgba(29, 161, 242, 0.3);
}

.share-twitter:hover {
    background: linear-gradient(135deg, 
        rgba(29, 161, 242, 0.25) 0%, 
        rgba(29, 161, 242, 0.35) 100%);
    border-color: rgba(29, 161, 242, 0.5);
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(29, 161, 242, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Telegram Button */
.share-telegram {
    background: linear-gradient(135deg, 
        rgba(0, 136, 204, 0.15) 0%, 
        rgba(0, 136, 204, 0.25) 100%);
    border-color: rgba(0, 136, 204, 0.3);
}

.share-telegram:hover {
    background: linear-gradient(135deg, 
        rgba(0, 136, 204, 0.25) 0%, 
        rgba(0, 136, 204, 0.35) 100%);
    border-color: rgba(0, 136, 204, 0.5);
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(0, 136, 204, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Copy Link Button */
.share-copy {
    background: linear-gradient(135deg, 
        rgba(242, 143, 102, 0.15) 0%, 
        rgba(242, 143, 102, 0.25) 100%);
    border-color: rgba(242, 143, 102, 0.3);
}

.share-copy:hover {
    background: linear-gradient(135deg, 
        rgba(242, 143, 102, 0.25) 0%, 
        rgba(242, 143, 102, 0.35) 100%);
    border-color: rgba(242, 143, 102, 0.5);
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(242, 143, 102, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Copy Success State */
.share-copy.copied {
    background: linear-gradient(135deg, 
        rgba(34, 197, 94, 0.25) 0%, 
        rgba(34, 197, 94, 0.35) 100%);
    border-color: rgba(34, 197, 94, 0.5);
    transform: scale(1.05);
}

.share-copy.copied svg {
    transform: scale(1.2);
}

/* Button Text Animation */
.share-btn span {
    transition: all 0.3s ease;
}

.share-btn:hover span {
    letter-spacing: 0.5px;
}

/* Responsive Design for Share Component */
@media (max-width: 768px) {
    .share-component {
        margin: 30px 0;
        padding: 25px 30px;
        border-radius: 16px;
    }
    
    .share-buttons {
        gap: 12px;
    }
    
    .share-btn {
        padding: 12px 16px;
        font-size: 0.9rem;
        min-width: 110px;
    }
    
    .share-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .share-title {
        font-size: 1rem;
        margin-bottom: 18px;
    }
}

@media (max-width: 768px) {
    .share-component {
        margin: 30px 0;
        padding: 25px 20px;
        border-radius: 16px;
    }
    
    .share-title {
        font-size: 1.1rem;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .share-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    
    .share-btn {
        width: 100%;
        padding: 16px 20px;
        font-size: 16px;
        border-radius: 12px;
        justify-content: center;
        min-height: 52px;
        touch-action: manipulation;
    }
    
    .share-btn svg {
        width: 22px;
        height: 22px;
        margin-right: 12px;
    }
    
    .share-btn span {
        font-weight: 600;
    }
    
    /* Enhanced touch feedback */
    .share-btn:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

@media (max-width: 480px) {
    .share-component {
        margin: 25px 0;
        padding: 20px 15px;
        border-radius: 14px;
    }
    
    .share-buttons {
        gap: 10px;
    }
    
    .share-btn {
        width: 100%;
        padding: 15px 18px;
        font-size: 15px;
        min-width: auto;
        min-height: 48px;
        border-radius: 10px;
    }
    
    .share-btn svg {
        width: 20px;
        height: 20px;
        margin-right: 10px;
    }
    
    .share-btn span {
        font-weight: 500;
    }
    
    .share-title {
        font-size: 1rem;
        margin-bottom: 18px;
        text-align: center;
    }
    
    /* Enhanced touch feedback for small screens */
    .share-btn:active {
        transform: scale(0.96);
        transition: transform 0.1s ease;
    }
    
    /* Improved spacing between buttons */
    .share-buttons {
        gap: 8px;
    }
}

/* Share Button Focus States for Accessibility */
.share-btn:focus {
    outline: none;
    box-shadow: 
        0 0 0 3px rgba(242, 143, 102, 0.3),
        0 8px 25px rgba(0, 0, 0, 0.15);
}

.share-btn:active {
    transform: translateY(-1px) scale(0.98);
}

/* Loading State for Share Buttons */
.share-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.share-btn.loading svg {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Enhanced Responsive Design for Single Posts */
@media (max-width: 768px) {
    .single .container {
        padding: 20px 15px 60px;
    }
    
    .single article {
        border-radius: 20px;
        margin: 0 5px;
    }
    
    .single article::before {
        height: 3px;
    }
}

@media (max-width: 480px) {
    .single .container {
        padding: 15px 10px 50px;
    }
    
    .single article {
        border-radius: 16px;
        margin: 0;
        box-shadow: 
            0 15px 40px rgba(0, 0, 0, 0.25),
            0 6px 20px rgba(0, 0, 0, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }
    
    .single article::before {
        height: 2px;
    }
}

/* Entry Header */
.entry-header {
    padding: 60px 60px 40px;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.02) 0%, 
        rgba(255, 255, 255, 0.05) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.entry-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, #f28f66, #ff6b35);
    border-radius: 1px;
    opacity: 0.7;
}

/* Entry Title */
.entry-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 30px 0;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    position: relative;
    animation: titleGlow 0.8s ease-out 0.3s both;
}

@keyframes titleGlow {
    from {
        opacity: 0;
        transform: translateY(20px);
        text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        text-shadow: 
            0 4px 20px rgba(0, 0, 0, 0.3),
            0 0 40px rgba(242, 143, 102, 0.2);
    }
}

/* Entry Meta */
.entry-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
    animation: metaFadeIn 0.8s ease-out 0.5s both;
}

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

.entry-meta > * {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #cbd5df;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.entry-meta > *:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.entry-meta a {
    color: #f28f66;
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry-meta a:hover {
    color: #ff6b35;
    text-decoration: none;
}

/* Entry Content */
.entry-content {
    padding: 60px;
    line-height: 1.8;
    font-size: 18px;
    color: #e2e8f0;
    position: relative;
}

.entry-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 60px;
    right: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* Typography in Content */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: #ffffff;
    font-weight: 700;
    margin: 40px 0 20px 0;
    line-height: 1.3;
    position: relative;
}

.entry-content h2 {
    font-size: 2.2rem;
    margin-top: 60px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(242, 143, 102, 0.3);
}

.entry-content h3 {
    font-size: 1.8rem;
    color: #f28f66;
}

.entry-content h4 {
    font-size: 1.4rem;
    color: #cbd5df;
}

.entry-content p {
    margin: 0 0 24px 0;
    text-align: justify;
}

.entry-content a {
    color: #f28f66;
    text-decoration: none;
    border-bottom: 1px solid rgba(242, 143, 102, 0.3);
    transition: all 0.3s ease;
    padding-bottom: 2px;
}

.entry-content a:hover {
    color: #ff6b35;
    border-bottom-color: #ff6b35;
    text-decoration: none;
}

/* Lists */
.entry-content ul,
.entry-content ol {
    margin: 24px 0;
    padding-left: 30px;
}

.entry-content li {
    margin-bottom: 12px;
    position: relative;
}

.entry-content ul li::marker {
    color: #f28f66;
}

.entry-content ol li::marker {
    color: #f28f66;
    font-weight: 600;
}

/* Blockquotes */
.entry-content blockquote {
    margin: 40px 0;
    padding: 30px 40px;
    background: rgba(242, 143, 102, 0.08);
    border-left: 4px solid #f28f66;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    font-size: 1.1em;
    color: #f1f5f9;
    position: relative;
}

.entry-content blockquote::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 3rem;
    color: #f28f66;
    opacity: 0.3;
    font-family: serif;
}

/* Code Blocks */
.entry-content pre {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    margin: 30px 0;
    overflow-x: auto;
    font-size: 14px;
    line-height: 1.6;
}

.entry-content code {
    background: rgba(242, 143, 102, 0.15);
    color: #f28f66;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.9em;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.entry-content pre code {
    background: none;
    color: #e2e8f0;
    padding: 0;
}

/* Images */
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.entry-content img:hover {
    transform: scale(1.02);
}

/* Page Content Section */
.page-content-section {
    margin: 60px 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    position: relative;
}

.page-content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(242, 143, 102, 0.3), transparent);
}

.page-content-section .entry-content {
    padding: 50px 60px;
}

/* Page Links */
.page-links {
    margin: 40px 0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.page-links a,
.page-links > span {
    display: inline-block;
    margin: 0 8px;
    padding: 10px 16px;
    background: rgba(242, 143, 102, 0.1);
    color: #f28f66;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid rgba(242, 143, 102, 0.2);
    transition: all 0.3s ease;
    font-weight: 500;
}

.page-links a:hover {
    background: rgba(242, 143, 102, 0.2);
    transform: translateY(-2px);
    text-decoration: none;
}

.page-links > span {
    background: #f28f66;
    color: #1a0f0b;
}

/* Entry Footer */
.entry-footer {
    padding: 40px 60px 60px;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.entry-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 60px;
    right: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* Categories and Tags */
.cat-links,
.tags-links {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.cat-links a,
.tags-links a {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(242, 143, 102, 0.1), rgba(255, 107, 53, 0.1));
    color: #f28f66;
    text-decoration: none;
    border-radius: 20px;
    border: 1px solid rgba(242, 143, 102, 0.2);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cat-links a::before,
.tags-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.cat-links a:hover::before,
.tags-links a:hover::before {
    left: 100%;
}

.cat-links a:hover,
.tags-links a:hover {
    background: linear-gradient(135deg, rgba(242, 143, 102, 0.2), rgba(255, 107, 53, 0.2));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(242, 143, 102, 0.15);
    text-decoration: none;
}

/* Edit Post Link */
.edit-link {
    margin-top: 20px;
}

.edit-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
    text-decoration: none;
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    font-weight: 500;
    transition: all 0.3s ease;
}

.edit-link a:hover {
    background: rgba(139, 92, 246, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.15);
    text-decoration: none;
}

/* Responsive Design for Single Posts */
@media (max-width: 768px) {
    .single .container {
        padding: 20px 15px 60px;
    }
    
    .entry-header {
        padding: 40px 30px 30px;
    }
    
    .entry-title {
        font-size: 2.2rem;
        margin-bottom: 20px;
        line-height: 1.2;
    }
    
    .entry-meta {
        gap: 15px;
        flex-direction: column;
        align-items: center;
    }
    
    .entry-content {
        padding: 40px 30px;
        font-size: 17px;
        line-height: 1.9;
    }
    
    .entry-content::before {
        left: 30px;
        right: 30px;
    }
    
    .entry-content p {
        margin: 0 0 28px 0;
        text-align: left;
    }
    
    .entry-content h1 {
        font-size: 2.4rem;
        margin: 50px 0 25px 0;
        line-height: 1.2;
    }
    
    .entry-content h2 {
        font-size: 1.9rem;
        margin: 45px 0 20px 0;
        line-height: 1.25;
    }
    
    .entry-content h3 {
        font-size: 1.6rem;
        margin: 35px 0 18px 0;
        line-height: 1.3;
    }
    
    .entry-content h4 {
        font-size: 1.3rem;
        margin: 30px 0 15px 0;
    }
    
    .entry-content ul,
    .entry-content ol {
        margin: 28px 0;
        padding-left: 25px;
    }
    
    .entry-content li {
        margin-bottom: 15px;
        line-height: 1.8;
    }
    
    .entry-content blockquote {
        padding: 25px 20px;
        margin: 35px 0;
        font-size: 1.05em;
        line-height: 1.7;
    }
    
    .entry-content a {
        padding-bottom: 3px;
        border-bottom-width: 2px;
    }
    
    .entry-content img {
        margin: 35px 0;
        border-radius: 10px;
    }
    
    .entry-footer {
        padding: 30px 30px 40px;
    }
    
    .entry-footer::before {
        left: 30px;
        right: 30px;
    }
    
    .cat-links,
    .tags-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .entry-header {
        padding: 30px 20px 25px;
    }
    
    .entry-title {
        font-size: 1.9rem;
        line-height: 1.15;
        margin-bottom: 25px;
    }
    
    .entry-content {
        padding: 35px 20px;
        font-size: 16px;
        line-height: 2.0;
    }
    
    .entry-content::before {
        left: 20px;
        right: 20px;
    }
    
    .entry-content p {
        margin: 0 0 30px 0;
        text-align: left;
    }
    
    .entry-content h1 {
        font-size: 2.1rem;
        margin: 45px 0 22px 0;
        line-height: 1.15;
    }
    
    .entry-content h2 {
        font-size: 1.7rem;
        margin: 40px 0 18px 0;
        line-height: 1.2;
    }
    
    .entry-content h3 {
        font-size: 1.4rem;
        margin: 32px 0 16px 0;
        line-height: 1.25;
    }
    
    .entry-content h4 {
        font-size: 1.2rem;
        margin: 28px 0 14px 0;
    }
    
    .entry-content ul,
    .entry-content ol {
        margin: 30px 0;
        padding-left: 20px;
    }
    
    .entry-content li {
        margin-bottom: 18px;
        line-height: 1.9;
    }
    
    .entry-content blockquote {
        padding: 20px 15px;
        margin: 30px 0;
        font-size: 1.02em;
        line-height: 1.8;
    }
    
    .entry-content a {
        padding-bottom: 4px;
        border-bottom-width: 2px;
    }
    
    .entry-content img {
        margin: 30px 0;
        border-radius: 8px;
    }
    
    .entry-content code {
        font-size: 0.85em;
        padding: 6px 10px;
    }
    
    .entry-content pre {
        padding: 20px 15px;
        margin: 25px 0;
        font-size: 13px;
        border-radius: 8px;
    }
    
    .entry-footer {
        padding: 25px 20px 30px;
    }
    
    .entry-footer::before {
        left: 20px;
        right: 20px;
    }
}

/* Single Post Page Enhancements */
.single .site-main {
    position: relative;
    min-height: 100vh;
}

.single .site-main::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(242, 143, 102, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 107, 157, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.single .container {
    position: relative;
    z-index: 1;
    padding: 40px 20px 80px;
}

/* Article Container */
.single article {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
    animation: articleFadeIn 0.8s ease-out both;
}

@keyframes articleFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.single article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        #f28f66 0%, 
        #ff6b35 25%, 
        #8b5cf6 50%, 
        #667eea 75%, 
        #f28f66 100%);
    background-size: 200% 100%;
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}