/*
Theme Name: Yumakos
Theme URI: https://yumakos.com
Author: Yumakos Team
Author URI: https://yumakos.com
Description: Modern WordPress theme for articles about internet, apps, and websites
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yumakos
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ef4444;
    --primary-hover: #dc2626;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --gradient-purple: linear-gradient(135deg, #1e1b4b 0%, #581c87 50%, #be185d 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    background: #f8f8f8;
    line-height: 1.6;
    min-height: 100vh;
    transition: background 0.3s ease, color 0.3s ease;
}

body.dark-mode,
body.home.dark-mode,
body.blog.dark-mode,
body.single.dark-mode,
body.page.dark-mode {
    --text-dark: #f5e6d3 !important;
    --text-gray: #d4c5b9 !important;
    --bg-light: #3d3426 !important;
    --bg-white: #4a3d2e !important;
    --border-color: #6b5d4f !important;
    background: #2c2416 !important;
    background-image: radial-gradient(circle at 30% 20%, rgba(139, 115, 85, 0.2) 0%, transparent 50%), radial-gradient(circle at 70% 80%, rgba(160, 130, 109, 0.18) 0%, transparent 50%), linear-gradient(135deg, #2c2416 0%, #3d3426 50%, #2c2416 100%) !important;
    background-attachment: fixed !important;
    color: #f5e6d3 !important;
}

body.dark-mode::after,
body.home.dark-mode::after,
body.blog.dark-mode::after,
body.single.dark-mode::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 115, 85, 0.15) !important;
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: multiply;
}

body.dark-mode .site-header {
    background: rgba(61, 52, 38, 0.95);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1000;
}

body.dark-mode .site-header.scrolled {
    background: rgba(61, 52, 38, 0.98);
}

body.dark-mode .article-card {
    background: rgba(61, 52, 38, 0.8);
    border-color: #6b5d4f;
    position: relative;
    z-index: 1;
}

body.dark-mode .sidebar-widget {
    background: rgba(61, 52, 38, 0.8);
    border-color: #6b5d4f;
    position: relative;
    z-index: 1;
}

body.dark-mode .site-footer {
    background: rgba(44, 36, 22, 0.95);
    border-color: #6b5d4f;
    position: relative;
    z-index: 1;
}

body.dark-mode .search-modal {
    background: rgba(61, 52, 38, 0.98);
    position: relative;
    z-index: 1;
}

body.dark-mode .author-box {
    background: linear-gradient(135deg, rgba(61, 52, 38, 0.9), rgba(74, 61, 46, 0.9));
    border-color: #6b5d4f;
    position: relative;
    z-index: 1;
}

body.dark-mode .comment-body {
    background: rgba(61, 52, 38, 0.8);
    border-color: #6b5d4f;
    position: relative;
    z-index: 1;
}

body.dark-mode input,
body.dark-mode textarea {
    background: rgba(44, 36, 22, 0.9);
    color: #f5e6d3;
    border-color: #6b5d4f;
    position: relative;
    z-index: 1;
}

body.dark-mode code {
    background: rgba(44, 36, 22, 0.9);
    color: #d4c5b9;
    position: relative;
    z-index: 1;
}

body.dark-mode .single-post-wrapper {
    background: rgba(61, 52, 38, 0.85);
    position: relative;
    z-index: 1;
}

body.dark-mode .hero-section {
    position: relative;
    z-index: 1;
}

body.dark-mode .content-with-sidebar {
    position: relative;
    z-index: 1;
}

body.dark-mode .article-meta,
body.dark-mode .post-meta {
    color: #d4c5b9;
}

body.dark-mode .single-post-header h1 {
    color: #f5e6d3;
}

body.dark-mode .main-navigation a {
    color: #f5e6d3;
}

body.dark-mode .main-navigation a:hover,
body.dark-mode .main-navigation a.active {
    color: #d4a574;
}

body.dark-mode .member-area-btn {
    background: linear-gradient(135deg, #8b7355, #a0826d);
    color: #f5e6d3;
}

body.dark-mode .search-icon,
body.dark-mode .dark-mode-toggle {
    color: #f5e6d3;
}

body.dark-mode .search-icon:hover,
body.dark-mode .dark-mode-toggle:hover {
    color: #d4a574;
}

body.dark-mode .breadcrumb a {
    color: #d4a574;
}

body.dark-mode .related-posts-grid .article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header Styles */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(139, 92, 246, 0.1);
    width: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 2px solid transparent;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

.site-header.scrolled .ultra-navigation a,
.site-header.scrolled .action-icon i,
.site-header.scrolled .live-bird {
    color: var(--text-dark);
}

.site-header.scrolled .ultra-navigation a:hover,
.site-header.scrolled .ultra-navigation a.active {
    color: var(--primary-color);
    background: rgba(139, 92, 246, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.site-logo {
    flex-shrink: 0;
    transition: transform 0.3s;
}

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

.site-logo img,
.site-logo svg {
    width: 45px;
    height: 45px;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(139, 92, 246, 0.3));
}

.ultra-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

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

.ultra-navigation a {
    color: var(--text-dark);
    font-weight: 600;
    transition: all 0.3s;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.ultra-navigation a i {
    font-size: 0.9rem;
    transition: transform 0.3s;
}

.ultra-navigation a:hover i {
    transform: translateY(-2px) scale(1.1);
}

.ultra-navigation a:hover,
.ultra-navigation a.active {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    color: #8b5cf6;
    box-shadow: 0 2px 10px rgba(139, 92, 246, 0.2);
}

.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: var(--text-gray);
    font-weight: 500;
    transition: color 0.3s;
}

.main-navigation a:hover,
.main-navigation a.active {
    color: var(--primary-color);
}

.ultra-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.action-icon {
    position: relative;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.action-icon:hover {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.action-icon i {
    font-size: 1.1rem;
    color: #8b5cf6;
    transition: color 0.3s;
}

.action-icon:hover i {
    color: white;
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5);
    animation: notificationPulse 2s infinite;
}

@keyframes notificationPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

.user-avatar {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.user-avatar i {
    color: white;
    font-size: 1.3rem;
}

/* Author Profile Modal */
.author-profile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn 0.3s;
}

.author-profile-modal {
    background: white;
    border-radius: 2rem;
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.4);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(139, 92, 246, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #8b5cf6;
    transition: all 0.3s;
    z-index: 1;
}

.modal-close:hover {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: white;
    transform: rotate(90deg);
}

.profile-header {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    padding: 3rem 2rem 2rem;
    border-radius: 2rem 2rem 0 0;
    text-align: center;
    position: relative;
}

.profile-avatar-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.profile-crown {
    position: absolute;
    top: -10px;
    right: -5px;
    font-size: 2rem;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    animation: crownBounce 2s infinite;
}

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

.profile-verified {
    position: absolute;
    bottom: 5px;
    right: -5px;
    width: 32px;
    height: 32px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    border: 3px solid white;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.5);
}

.profile-info {
    color: white;
}

.profile-name {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: white;
}

.profile-role {
    font-size: 1rem;
    margin: 0 0 1rem 0;
    opacity: 0.9;
}

.profile-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
    margin: 0 0 1.5rem 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.profile-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: white;
    color: #8b5cf6;
    transform: translateY(-3px);
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 2rem;
    border-bottom: 2px solid rgba(139, 92, 246, 0.1);
}

.stat-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(236, 72, 153, 0.05));
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    border: 2px solid rgba(139, 92, 246, 0.1);
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.2);
}

.stat-card i {
    font-size: 2rem;
    color: #8b5cf6;
    margin-bottom: 0.5rem;
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

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

.profile-posts-section {
    padding: 2rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.author-posts-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.author-post-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.03), rgba(236, 72, 153, 0.03));
    border-radius: 1rem;
    border: 2px solid rgba(139, 92, 246, 0.1);
    transition: all 0.3s;
}

.author-post-item:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
    border-color: #8b5cf6;
}

.author-post-thumb {
    width: 80px;
    height: 80px;
    border-radius: 0.75rem;
    overflow: hidden;
    flex-shrink: 0;
}

.author-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-post-content {
    flex: 1;
}

.author-post-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

.author-post-content h4 a {
    color: var(--text-dark);
    transition: color 0.3s;
}

.author-post-item:hover .author-post-content h4 a {
    color: #8b5cf6;
}

.author-post-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-gray);
}

.modal-loading,
.modal-error {
    padding: 4rem 2rem;
    text-align: center;
    font-size: 1.2rem;
    color: #8b5cf6;
}

.modal-error {
    color: #ef4444;
}

.no-posts {
    text-align: center;
    padding: 2rem;
    color: var(--text-gray);
    font-style: italic;
}

/* Notification Modal */
.notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn 0.3s;
}

.notification-modal {
    background: white;
    border-radius: 2rem;
    max-width: 600px;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.4);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.notification-header {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 2rem 2rem 0 0;
    gap: 1rem;
}

.notification-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    flex: 1;
}

.notification-title i {
    font-size: 1.8rem;
    animation: bellRing 2s infinite;
}

@keyframes bellRing {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-10deg); }
    20%, 40% { transform: rotate(10deg); }
}

.notification-title h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

.notification-count {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
    white-space: nowrap;
}

.notifications-list {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.notification-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.03), rgba(236, 72, 153, 0.03));
    border-radius: 1.25rem;
    border: 2px solid rgba(139, 92, 246, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
}

.notification-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    border-radius: 2rem 0 0 2rem;
    opacity: 0;
    transition: opacity 0.3s;
}

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

.notification-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.25);
    border-color: #8b5cf6;
}

.notification-thumb {
    width: 80px;
    height: 80px;
    border-radius: 1rem;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.notification-thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    opacity: 0;
    transition: opacity 0.3s;
}

.notification-item:hover .notification-thumb::after {
    opacity: 1;
}

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

.notification-item:hover .notification-thumb img {
    transform: scale(1.1);
}

.notification-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.notification-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 2rem;
    width: fit-content;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.notification-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notification-content h4 a {
    color: var(--text-dark);
    transition: color 0.3s;
}

.notification-item:hover .notification-content h4 a {
    color: #8b5cf6;
}

.notification-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: var(--text-gray);
}

.meta-author,
.meta-category,
.meta-time {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.notification-footer {
    padding: 1.5rem;
    border-top: 2px solid rgba(139, 92, 246, 0.1);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.02), rgba(236, 72, 153, 0.02));
}

.mark-all-read {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: white;
    border: none;
    border-radius: 1rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.mark-all-read:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.no-notifications {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-gray);
    font-style: italic;
    font-size: 1.1rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

/* PWA Install Banner */
.pwa-install-banner {
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 600px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
    z-index: 9999;
    animation: slideDown 0.5s ease-out;
    backdrop-filter: blur(10px);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.pwa-banner-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
}

.pwa-banner-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pwa-banner-icon i {
    font-size: 1.5rem;
    color: white;
}

.pwa-banner-text {
    flex: 1;
    color: white;
}

.pwa-banner-text h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.pwa-banner-text p {
    margin: 0;
    font-size: 0.875rem;
    opacity: 0.9;
}

.pwa-banner-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.pwa-install-btn,
.pwa-close-btn {
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.pwa-install-btn {
    background: white;
    color: #667eea;
    padding: 0.625rem 1.25rem;
}

.pwa-install-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.pwa-close-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.625rem;
    width: 38px;
    height: 38px;
    justify-content: center;
}

.pwa-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    border: 2px solid transparent;
    border-radius: 50%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.mobile-menu-toggle i {
    font-size: 1.1rem;
    color: #8b5cf6;
}

.mobile-menu-toggle:hover {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    transform: scale(1.1);
}

.mobile-menu-toggle:hover i {
    color: white;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 280px;
    background: white;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.mobile-menu-overlay.active .mobile-menu {
    transform: translateX(0);
}

.mobile-menu-header {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    padding: 2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-header h3 {
    color: white;
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.mobile-menu-close:hover {
    background: white;
    color: #8b5cf6;
    transform: rotate(90deg);
}

.mobile-navigation {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
}

.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-list li {
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.mobile-menu-list a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
}

.mobile-menu-list a i {
    width: 24px;
    text-align: center;
    color: #8b5cf6;
}

.mobile-menu-list a:hover,
.mobile-menu-list a.active {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    color: #8b5cf6;
    transform: translateX(8px);
}

.mobile-menu-list a:hover i,
.mobile-menu-list a.active i {
    transform: scale(1.2);
}

/* Ultra Also Read Section */
.ultra-also-read,
.ei-also-read {
    background: rgba(255, 223, 0, 0.03);
    border: 3px solid #FFD700;
    border-radius: 15px;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.15);
    transition: all 0.3s ease;
}

.ei-also-read::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.ei-also-read::after {
    content: '📖';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3rem;
    z-index: 1;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ei-also-read {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    padding-left: 4.5rem;
    padding-right: 2.5rem;
    min-height: 65px;
    display: flex;
    align-items: center;
}

.ei-also-read a {
    color: var(--text-dark);
    font-weight: 600;
    transition: all 0.3s;
    margin-left: 0.5rem;
    position: relative;
}

.ei-also-read a::after {
    content: '→';
    position: absolute;
    right: -1.75rem;
    color: #FFA500;
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.ei-also-read a:hover {
    color: #FFA500;
}

.ei-also-read a:hover::after {
    transform: translateX(4px);
}

.ultra-also-read:hover,
.ei-also-read:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.25);
    border-color: #FFA500;
}

.ei-also-read:hover::before {
    transform: translateY(-50%) scale(1.05);
}

.ei-also-read:hover::after {
    transform: translateY(-50%) scale(1.05);
}

.also-read-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    transition: all 0.3s;
}

.ultra-also-read:hover .also-read-icon {
    transform: scale(1.05);
    box-shadow: 0 3px 12px rgba(255, 215, 0, 0.4);
}

.also-read-icon i {
    color: white;
    font-size: 1.2rem;
}

.also-read-content {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.also-read-label {
    font-weight: 700;
    color: #FFA500;
    font-size: 0.95rem;
    white-space: nowrap;
}

.also-read-link {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.4;
    transition: color 0.3s;
    flex: 1;
}

.also-read-link:hover {
    color: #FFA500;
}

.also-read-arrow {
    color: #FFA500;
    font-size: 1rem;
    transition: transform 0.3s;
}

.ultra-also-read:hover .also-read-arrow {
    transform: translateX(4px);
}

/* Also Read Minimal Style */
.also-read-minimal {
    background: none;
    border-left: 3px solid #FFD700;
    padding: 1rem 1.5rem;
    box-shadow: none;
}

.also-read-minimal .also-read-icon {
    width: 38px;
    height: 38px;
}

.also-read-minimal .also-read-icon i {
    font-size: 1.1rem;
}

/* Also Read Card Style */
.also-read-card {
    background: white;
    border: 2px solid rgba(139, 92, 246, 0.2);
    border-radius: 1rem;
    padding: 1.75rem;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.1);
}

.also-read-card:hover {
    border-color: #8b5cf6;
    transform: translateY(-3px);
}

/* Mobile Also Read */
@media (max-width: 480px) {
    .ultra-also-read,
    .ei-also-read {
        padding: 1.25rem;
        gap: 1rem;
    }
    
    .ei-also-read {
        padding-left: 4rem;
        padding-right: 2rem;
        font-size: 0.9rem;
        min-height: 60px;
    }
    
    .ei-also-read::before,
    .ei-also-read::after {
        left: 1rem;
        width: 40px;
        height: 40px;
    }
    
    .ei-also-read::after {
        font-size: 1.2rem;
    }
    
    .ei-also-read a::after {
        right: -1.5rem;
        font-size: 1.1rem;
    }
    
    /* Ultra Tags Mobile */
    .ultra-post-tags {
        padding: 1.5rem;
        border-radius: 1.25rem;
    }
    
    .tags-header {
        margin-bottom: 1.25rem;
        padding-bottom: 0.75rem;
    }
    
    .tags-header i {
        font-size: 1.3rem;
    }
    
    .tags-header strong {
        font-size: 1.1rem;
    }
    
    .tags-list {
        gap: 0.75rem;
    }
    
    .ultra-tag-badge {
        padding: 0.6rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .tag-count {
        font-size: 0.7rem;
        padding: 0.15rem 0.5rem;
    }
    
    .also-read-icon {
        width: 45px;
        height: 45px;
    }
    
    .also-read-icon i {
        font-size: 1.1rem;
    }
    
    .also-read-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .also-read-label {
        font-size: 0.9rem;
    }
    
    .also-read-link {
        font-size: 0.95rem;
    }
}

/* Mobile Tab Bar */
.mobile-tab-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-top: 2px solid rgba(139, 92, 246, 0.1);
    padding: 0.75rem 0.5rem calc(0.75rem + env(safe-area-inset-bottom));
    display: none;
    justify-content: space-around;
    align-items: center;
    z-index: 999;
    box-shadow: 0 -4px 20px rgba(139, 92, 246, 0.15);
}

.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-gray);
    position: relative;
    flex: 1;
    max-width: 80px;
}

.tab-item i {
    font-size: 1.3rem;
    transition: all 0.3s;
}

.tab-item span {
    font-size: 0.7rem;
    font-weight: 600;
    transition: all 0.3s;
}

.tab-item.active {
    color: #8b5cf6;
}

.tab-item.active i {
    transform: translateY(-3px) scale(1.15);
}

.tab-item:active {
    transform: scale(0.95);
}

/* Center Tab Button */
.tab-center {
    margin-top: -1.5rem;
}

.tab-center-icon {
    position: relative;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 4px solid white;
}

.tab-center:active .tab-center-icon {
    transform: scale(0.9);
}

.tab-center .tab-center-icon i {
    color: white;
    font-size: 1.5rem;
}

.tab-center span {
    display: none;
}

.tab-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.45rem;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5);
    animation: tabBadgePulse 2s infinite;
    border: 2px solid white;
}

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

/* Tab Bar Active Animation */
.tab-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s;
}

.tab-item.active::before {
    opacity: 1;
    width: 30px;
    height: 4px;
    border-radius: 2px;
}

.live-bird-container {
    position: relative;
}

.live-bird {
    font-size: 1.2rem;
    color: #8b5cf6;
    animation: birdFloat 3s ease-in-out infinite, birdWingFlap 0.5s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.live-bird-container:hover .live-bird {
    animation: none;
    transform: scale(1.1) rotate(0deg);
}

.action-icon.live-bird-container:hover .live-bird {
    color: white;
}

.bird-tooltip {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    z-index: 1000;
}

.bird-tooltip::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #8b5cf6;
}

.live-bird-container:hover .bird-tooltip,
.live-bird-container.show-tooltip .bird-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(5px);
}

@keyframes birdFloat {
    0%, 100% {
        transform: translateY(0) rotate(-5deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

@keyframes birdWingFlap {
    0%, 100% {
        transform: scaleX(1);
    }
    50% {
        transform: scaleX(0.9);
    }
}

.search-icon,
.dark-mode-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--text-gray);
    transition: color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

.search-icon i,
.dark-mode-toggle i {
    font-size: 1.125rem;
}

.search-icon:hover,
.dark-mode-toggle:hover {
    color: var(--primary-color);
}

.member-area-btn {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.member-area-btn:hover {
    background: linear-gradient(135deg, #7c3aed, #db2777);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

/* Hero Section */
.hero-section {
    background: transparent;
    padding: 4rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Top Articles Section */
.top-articles-section {
    padding: 4rem 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-dark);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

/* Article Card */
.article-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
}

.category-internet {
    background: #10b981;
}

.category-website {
    background: #ec4899;
}

.category-aplikasi {
    background: #6366f1;
}

.category-media-sosial {
    background: #f97316;
}

.category-info-menarik {
    background: #3b82f6;
}

.article-content {
    padding: 1.5rem;
}

.article-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-gray);
    font-size: 0.875rem;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-icon {
    width: 20px;
    height: 20px;
    color: #6366f1;
}

.article-date::before {
    content: "•";
    margin-right: 0.5rem;
}

/* Featured Article Banner */
.featured-article {
    background: var(--gradient-purple);
    border-radius: 1.5rem;
    padding: 4rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 400px;
}

.featured-article::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 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    opacity: 0.3;
}

.featured-content {
    position: relative;
    z-index: 1;
    max-width: 50%;
}

.featured-content .article-category {
    position: static;
    display: inline-block;
    margin-bottom: 1rem;
}

.featured-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.featured-description {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 1rem;
    margin-top: 2rem;
}

.featured-description p {
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-gray);
    font-size: 0.875rem;
}

/* Sidebar */
.content-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    padding: 3rem 2rem;
}

.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-section {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.sidebar-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

/* Ultra Categories */
.ultra-categories-section {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(236, 72, 153, 0.05));
    border-radius: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 2px solid rgba(139, 92, 246, 0.15);
}

.ultra-categories-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(139, 92, 246, 0.15);
}

.ultra-categories-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.categories-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.9rem;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: white;
    border-radius: 2rem;
    font-weight: 600;
}

.ultra-category-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ultra-category-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    text-decoration: none;
}

.ultra-category-card:hover {
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.25);
    border-color: rgba(139, 92, 246, 0.4);
}

.category-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    border-radius: 0.75rem;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.category-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.category-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: color 0.3s;
}

.ultra-category-card:hover .category-name {
    color: #8b5cf6;
}

.category-count {
    font-size: 0.75rem;
    color: var(--text-gray);
    font-weight: 500;
}

.category-pill {
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: transform 0.2s;
}

.category-pill:hover {
    transform: scale(1.05);
}

/* Ultra Popular Posts */
.ultra-popular-section {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(236, 72, 153, 0.05));
    border-radius: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 2px solid rgba(139, 92, 246, 0.15);
}

.ultra-popular-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(139, 92, 246, 0.15);
}

.ultra-popular-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.popular-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.9rem;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: white;
    border-radius: 2rem;
    font-weight: 600;
}

.ultra-popular-card {
    position: relative;
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: white;
    border-radius: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.ultra-popular-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.3);
}

.ultra-popular-card:last-child {
    margin-bottom: 0;
}

.popular-rank-badge {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 0.85rem;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
    z-index: 1;
}

.ultra-popular-card[data-rank="1"] .popular-rank-badge,
.ultra-popular-card[data-rank="2"] .popular-rank-badge,
.ultra-popular-card[data-rank="3"] .popular-rank-badge {
    font-size: 1.2rem;
}

.ultra-popular-image {
    width: 90px;
    height: 90px;
    border-radius: 0.75rem;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.ultra-popular-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.ultra-popular-card:hover .ultra-popular-image img {
    transform: scale(1.1);
}

.image-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(236, 72, 153, 0.3));
    opacity: 0;
    transition: opacity 0.3s;
}

.ultra-popular-card:hover .image-gradient-overlay {
    opacity: 1;
}

.ultra-popular-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ultra-popular-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    width: fit-content;
}

.ultra-popular-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ultra-popular-title a {
    color: inherit;
    transition: color 0.3s;
}

.ultra-popular-card:hover .ultra-popular-title a {
    color: #8b5cf6;
}

.ultra-popular-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.7rem;
    color: var(--text-gray);
    margin-top: auto;
}

.meta-views,
.meta-time {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.95) 0%, rgba(236, 72, 153, 0.95) 100%);
    backdrop-filter: blur(20px);
    display: none;
    align-items: flex-start;
    justify-content: center;
    z-index: 9999;
    padding-top: 10vh;
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
}

.search-overlay.active {
    display: flex;
}

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

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

.search-modal {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 0;
    border-radius: 1.5rem;
    width: 90%;
    max-width: 700px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
    margin-bottom: 2rem;
}

.search-modal-header {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    padding: 2rem;
    border-radius: 1.5rem 1.5rem 0 0;
    position: relative;
}

.search-modal-header h2 {
    color: white;
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.search-modal-header h2::before {
    content: '🔍';
    font-size: 1.8rem;
}

.search-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.search-modal-body {
    padding: 2rem;
}

.search-form {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 1rem 1.5rem 1rem 3.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 3rem;
    font-size: 1.1rem;
    background: #f9fafb;
    color: #1f2937;
    transition: all 0.3s;
}

.search-form input[type="search"]:focus {
    outline: none;
    border-color: #8b5cf6;
    background: white;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.search-form::before {
    content: '🔎';
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3rem;
    pointer-events: none;
}

.search-form button {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: white;
    border: none;
    border-radius: 3rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    white-space: nowrap;
}

.search-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

.search-shortcuts-title {
    font-weight: 600;
    color: #8b5cf6;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.search-shortcuts {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.search-shortcut {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 2rem;
    font-size: 0.875rem;
    color: #8b5cf6;
    cursor: pointer;
    transition: all 0.3s;
}

.search-shortcut:hover {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: white;
    transform: translateY(-2px);
}

.search-results {
    max-height: 400px;
    overflow-y: auto;
    margin-top: 1rem;
}

.search-result-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.3s;
    cursor: pointer;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    text-decoration: none;
    color: inherit;
}

.search-result-item:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(236, 72, 153, 0.05));
    transform: translateX(5px);
}

.search-result-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 0.5rem;
    flex-shrink: 0;
}

.search-result-content {
    flex: 1;
}

.search-result-item h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    color: #1f2937;
    font-weight: 600;
}

.search-result-item p {
    margin: 0 0 0.5rem 0;
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
}

.search-result-date {
    font-size: 0.75rem;
    color: #8b5cf6;
    font-weight: 500;
}

.search-no-results {
    text-align: center;
    padding: 3rem 1rem;
    color: #6b7280;
}

.search-no-results::before {
    content: '🔍';
    display: block;
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.search-loading {
    text-align: center;
    padding: 2rem;
    color: #8b5cf6;
}

.search-loading::after {
    content: '...';
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #7c3aed, #db2777);
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.5);
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin: 3rem 0;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: white;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.load-more-btn:hover {
    background: linear-gradient(135deg, #7c3aed, #db2777);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.4);
}

.load-more-btn:disabled {
    background: var(--text-light);
    cursor: not-allowed;
    transform: none;
}

.load-more-btn svg {
    width: 20px;
    height: 20px;
}

/* Footer Styles */
.site-footer {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-left {
    flex: 1;
}

.footer-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-navigation a {
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-navigation a:hover {
    color: var(--primary-color);
}

.copyright {
    color: var(--text-gray);
    font-size: 0.875rem;
    margin: 0;
}

.copyright a {
    color: var(--text-dark);
    font-weight: 600;
}

.copyright a:hover {
    color: var(--primary-color);
}

.footer-right {
    text-align: right;
}

.social-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border-radius: 50%;
    color: var(--text-gray);
    transition: all 0.3s;
}

.social-links a i {
    font-size: 1.125rem;
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    padding: 2rem 0;
}

.pagination a,
.pagination .current {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    color: var(--text-gray);
    transition: all 0.3s;
}

.pagination a:hover,
.pagination .current {
    background: var(--primary-color);
    color: white;
}

/* Responsive */
@media (max-width: 1024px) {
    .content-with-sidebar {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
    
    .featured-content {
        max-width: 100%;
    }
    
    .featured-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
    }
    
    .main-navigation ul {
        gap: 1rem;
        font-size: 0.875rem;
    }
    
    .header-actions {
        gap: 1rem;
    }
    
    .member-area-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-article {
        padding: 2rem;
    }
    
    .featured-title {
        font-size: 1.5rem;
    }
    
    .scroll-to-top {
        width: 40px;
        height: 40px;
        bottom: 1rem;
        right: 1rem;
        font-size: 1.25rem;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-right {
        text-align: left;
    }
    
    .social-links {
        justify-content: flex-start;
    }
}

/* Single Post Hero Section */
.single-hero-section {
    background: transparent;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
}

.single-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.single-hero-content .article-category {
    display: inline-block;
    margin-bottom: 1rem;
}

.single-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 1rem 0 1.5rem;
    line-height: 1.2;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    flex-wrap: wrap;
}

.breadcrumbs a {
    color: var(--text-gray);
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumb-separator {
    color: var(--text-light);
    font-size: 0.75rem;
}

.breadcrumb-current {
    color: var(--text-dark);
    font-weight: 500;
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.single-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--text-gray);
    font-size: 0.875rem;
    flex-wrap: wrap;
}

.single-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.single-meta i {
    font-size: 1rem;
}

.single-meta .comments-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reading-mode-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1.5px solid var(--border-color);
    color: var(--text-gray);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    margin-left: auto;
}

.reading-mode-toggle:hover {
    border-color: #8b5cf6;
    color: #8b5cf6;
    background: rgba(139, 92, 246, 0.05);
}

.reading-mode-toggle i {
    font-size: 1rem;
}

/* Reading Mode Styles */
body.reading-mode {
    background: linear-gradient(135deg, #f5e6d3 0%, #faf5eb 50%, #f0e4d0 100%) !important;
    position: relative;
}

body.reading-mode::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(160, 130, 109, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 115, 85, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, rgba(212, 197, 185, 0.05) 0%, rgba(180, 150, 120, 0.08) 100%);
    pointer-events: none;
    z-index: 0;
    filter: sepia(0.4) saturate(0.7);
}

body.reading-mode .site-header {
    background: rgba(245, 230, 211, 0.95);
    opacity: 0.4;
    pointer-events: none;
}

body.reading-mode .site-footer,
body.reading-mode .sidebar,
body.reading-mode .social-share,
body.reading-mode .related-posts,
body.reading-mode .author-box,
body.reading-mode .comments-area {
    opacity: 0.3;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

body.reading-mode .content-with-sidebar {
    position: relative;
    z-index: 1;
}

body.reading-mode .single-post-wrapper {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(255, 252, 245, 0.95);
    box-shadow: 0 10px 40px rgba(139, 115, 85, 0.15);
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
}

body.reading-mode .breadcrumb {
    background: rgba(250, 245, 235, 0.8);
}

body.reading-mode .single-title,
body.reading-mode .single-meta {
    position: relative;
    z-index: 2;
}

body.reading-mode .entry-content {
    font-size: 1.125rem;
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

body.reading-mode .entry-featured-image {
    opacity: 0.9;
}

body.reading-mode .reading-mode-toggle {
    background: linear-gradient(135deg, #8b7355, #a0826d);
    border-color: #8b7355;
    color: #f5e6d3;
}

body.reading-mode .reading-mode-toggle:hover {
    background: linear-gradient(135deg, #a0826d, #b89580);
    border-color: #a0826d;
}

/* Single Post Wrapper */
.single-post-wrapper {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 3rem;
    margin-bottom: 2rem;
}

.entry-featured-image {
    margin-bottom: 2rem;
    border-radius: 1rem;
    overflow: hidden;
}

.entry-featured-image img {
    width: 100%;
    height: auto;
}

.entry-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.entry-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-size: 1.0625rem;
}

.entry-content p:first-of-type {
    font-size: 1.125rem;
    font-weight: 500;
}

.entry-content a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: opacity 0.3s;
}

.entry-content a:hover {
    opacity: 0.8;
}

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

.entry-content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.entry-content img {
    border-radius: 0.5rem;
    margin: 2rem 0;
}

.entry-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-gray);
    background: rgba(239, 68, 68, 0.05);
    border-radius: 0 8px 8px 0;
    font-size: 1.125rem;
    line-height: 1.7;
}

.entry-content blockquote p:last-child {
    margin-bottom: 0;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
}

.entry-content figcaption {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-top: 0.5rem;
    font-style: italic;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.entry-content table thead {
    background: var(--primary-color);
    color: white;
}

.entry-content table th,
.entry-content table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.entry-content table th {
    font-weight: 600;
}

.entry-content table tbody tr:hover {
    background: rgba(239, 68, 68, 0.05);
}

.entry-content table tbody tr:last-child td {
    border-bottom: none;
}

.entry-content code {
    background: rgba(239, 68, 68, 0.1);
    color: var(--primary-color);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: 'Courier New', monospace;
}

.entry-content pre {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 1.5rem;
    border-radius: 10px;
    overflow-x: auto;
    margin: 2rem 0;
    line-height: 1.5;
}

.entry-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

.entry-content hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.3), transparent);
    margin: 3rem 0;
}

.entry-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(239, 68, 68, 0.1);
}

/* Ultra Post Tags */
.ultra-post-tags {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(236, 72, 153, 0.05));
    border-radius: 1.5rem;
    padding: 2rem;
    margin: 3rem 0;
    border: 2px solid rgba(139, 92, 246, 0.1);
}

.tags-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(139, 92, 246, 0.15);
}

.tags-header i {
    font-size: 1.5rem;
    color: #8b5cf6;
    animation: tagsPulse 2s infinite;
}

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

.tags-header strong {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.2rem;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.ultra-tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    border: 2px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.1);
}

.tag-icon {
    font-size: 1.2rem;
    color: #8b5cf6;
    font-weight: 700;
}

.tag-count {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: white;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    font-weight: 700;
    min-width: 24px;
    text-align: center;
}

.ultra-tag-badge:hover {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: white;
    transform: translateY(-3px) scale(1.05);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.ultra-tag-badge:hover .tag-icon {
    color: white;
    transform: rotate(10deg);
}

.ultra-tag-badge:hover .tag-count {
    background: white;
    color: #8b5cf6;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.post-tags strong {
    color: var(--text-dark);
    font-weight: 600;
}

.post-tags a {
    background: var(--bg-light);
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    color: var(--text-gray);
    transition: all 0.3s;
    font-weight: 500;
}

.post-tags a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Social Share */
.ultra-social-share {
    margin: 1.5rem 0;
}

.share-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.share-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
}

.share-buttons-grid {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.ultra-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

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

.ultra-share-btn span {
    display: none;
}

.ultra-share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.share-copy {
    cursor: pointer;
}

.share-copy.copied svg circle {
    fill: #10b981 !important;
}

.share-copy.copied svg {
    animation: copySuccess 0.5s;
}

@keyframes copySuccess {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.copy-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: #10b981;
    color: white;
    padding: 0.5rem 0.875rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    pointer-events: none;
    animation: tooltipFadeIn 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.copy-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #10b981;
}

@keyframes tooltipFadeIn {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-4px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(-8px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Author Box - Clean Design */
.author-box {
    background: #f9fafb;
    border-radius: 12px;
    padding: 2rem;
    margin: 3rem 0;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.author-box:hover {
    background: #f3f4f6;
}

.author-box .author-avatar {
    flex-shrink: 0;
}

.author-box .author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author-box .author-info {
    flex: 1;
}

.author-box .author-info h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-box .author-info h3 a {
    color: var(--text-dark);
    transition: color 0.3s;
}

.author-box .author-info h3 a:hover {
    color: var(--primary-color);
}

.author-box .author-info .author-role {
    display: none;
}

.author-box .author-info p {
    color: #6b7280;
    line-height: 1.6;
    margin: 0.5rem 0 0 0;
    font-size: 0.95rem;
}

.author-box .author-info .author-bio {
    margin-bottom: 0.75rem;
}

.author-box .author-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.author-box .author-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    color: #6b7280;
    transition: all 0.3s;
    font-size: 1rem;
    border: 1px solid #e5e7eb;
}

.author-box .author-social a:hover {
    background: var(--text-dark);
    color: white;
    border-color: var(--text-dark);
}

.author-box .author-stats {
    display: none;
}

.author-box .author-stat {
    display: none;
}

.author-box .author-stat-number {
    display: none;
}

.author-box .author-stat-label {
    display: none;
    letter-spacing: 0.5px;
}

/* Ultra Related Posts */
.ultra-related-section {
    margin: 4rem 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.03), rgba(236, 72, 153, 0.03));
    border-radius: 2rem;
    padding: 3rem;
    border: 2px solid rgba(139, 92, 246, 0.1);
}

.related-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(139, 92, 246, 0.15);
    flex-wrap: wrap;
    gap: 1rem;
}

.related-title {
    font-size: 2rem;
    margin: 0;
    color: var(--text-dark);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.related-stats {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.stat-item {
    font-size: 0.95rem;
    color: var(--text-gray);
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.1);
}

.ultra-related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.ultra-related-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(139, 92, 246, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.ultra-related-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
    border-color: #8b5cf6;
}

.card-link {
    display: block;
    text-decoration: none;
}

.ultra-related-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.ultra-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.ultra-related-card:hover .ultra-related-image img {
    transform: scale(1.15) rotate(2deg);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(236, 72, 153, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
}

.ultra-related-card:hover .image-overlay {
    opacity: 1;
}

.read-more {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    transform: translateY(20px);
    transition: transform 0.4s;
}

.ultra-related-card:hover .read-more {
    transform: translateY(0);
}

.ultra-related-content {
    padding: 1.5rem;
}

.ultra-related-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 1rem 0;
    transition: color 0.3s;
}

.ultra-related-card:hover .ultra-related-title {
    color: #8b5cf6;
}

.ultra-related-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-gray);
    padding-top: 1rem;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.meta-date,
.meta-views {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Comments Section */
.comments-area {
    margin: 4rem 0;
}

.ultra-comments {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.03), rgba(236, 72, 153, 0.03));
    border-radius: 2rem;
    padding: 3rem;
    border: 2px solid rgba(139, 92, 246, 0.1);
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(139, 92, 246, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.comments-title {
    font-size: 2rem;
    margin: 0;
    color: var(--text-dark);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.comments-icon {
    font-size: 2.5rem;
}

.comments-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-gray);
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 2rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.stat-item i {
    color: #8b5cf6;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 3rem 0;
}

.comment-list .comment {
    margin-bottom: 2rem;
}

.comment-list .children {
    list-style: none;
    margin-left: 3rem;
    padding-left: 0;
}

.comment-body {
    background: white;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(139, 92, 246, 0.15);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.comment-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.comment-body:hover {
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.comment-author img {
    border-radius: 50%;
    border: 2px solid rgba(239, 68, 68, 0.2);
}

.comment-author .fn {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    font-style: normal;
}

.author-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    margin-left: 0.5rem;
    font-weight: 500;
}

.comment-metadata {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-gray);
}

.comment-metadata a {
    color: var(--text-gray);
    transition: color 0.3s;
}

.comment-metadata a:hover {
    color: var(--primary-color);
}

.comment-awaiting-moderation {
    background: #fff3cd;
    color: #856404;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    margin: 1rem 0;
}

.comment-content {
    color: var(--text-dark);
    line-height: 1.7;
    margin-top: 1rem;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

.reply {
    margin-top: 1rem;
}

.reply a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    color: #8b5cf6;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.reply a::before {
    content: '↩️';
    font-size: 1rem;
}

.reply a:hover {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: white;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.comment-navigation {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
    gap: 1rem;
}

.comment-navigation a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    color: var(--text-dark);
    border: 1px solid rgba(239, 68, 68, 0.1);
    transition: all 0.3s;
    font-weight: 600;
}

.comment-navigation a:hover {
    background: var(--primary-color);
    color: white;
}

/* Comment Form Ultra */
.comment-form-wrapper {
    margin-top: 3rem;
    background: white;
    border-radius: 2rem;
    overflow: hidden;
    border: 2px solid rgba(139, 92, 246, 0.15);
}

.comment-form-header {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: white;
    padding: 2rem;
    text-align: center;
}

.comment-form-header h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.75rem;
}

.comment-form-header p {
    margin: 0;
    opacity: 0.9;
}

.comment-form-ultra {
    padding: 2rem;
}

.comment-reply-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comment-reply-title small {
    font-size: 1rem;
    color: var(--text-gray);
}

.comment-reply-title small a {
    color: #8b5cf6;
    text-decoration: none;
    margin-left: 0.5rem;
}

.comment-form-ultra p {
    margin-bottom: 1.5rem;
}

.comment-form-ultra label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.comment-form-ultra input[type="text"],
.comment-form-ultra input[type="email"],
.comment-form-ultra input[type="url"],
.comment-form-ultra textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(139, 92, 246, 0.2);
    border-radius: 1rem;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    background: #f9fafb;
}

.comment-form-ultra input[type="text"]:focus,
.comment-form-ultra input[type="email"]:focus,
.comment-form-ultra input[type="url"]:focus,
.comment-form-ultra textarea:focus {
    outline: none;
    border-color: #8b5cf6;
    background: white;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.comment-form-ultra textarea {
    min-height: 150px;
    resize: vertical;
}

.comment-form-comment {
    position: relative;
}

.char-counter {
    position: absolute;
    bottom: -1.5rem;
    right: 0;
    font-size: 0.75rem;
    color: var(--text-gray);
}

.char-count {
    color: #8b5cf6;
    font-weight: 600;
}

.ultra-submit {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: white;
    padding: 1rem 3rem;
    border: none;
    border-radius: 3rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.ultra-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.submit-button {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: white;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.submit-button:hover {
    background: linear-gradient(135deg, #7c3aed, #db2777);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3);
}

.no-comments {
    text-align: center;
    padding: 2rem;
    color: var(--text-gray);
    font-style: italic;
}

/* Ultra Comments Responsive */
@media (max-width: 768px) {
    .ultra-comments {
        padding: 1.5rem;
        border-radius: 1rem;
    }
    
    .comments-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .comments-stats {
        width: 100%;
        justify-content: space-around;
    }
    
    .comment-form-wrapper {
        padding: 1.5rem;
    }
    
    .ultra-submit {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
    }
    
    .comment-body {
        margin-left: 0;
    }
    
    .comment-author-avatar {
        width: 40px;
        height: 40px;
    }
}

.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

.post-navigation a {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 15px;
    transition: all 0.3s;
    border: 1px solid rgba(239, 68, 68, 0.1);
    display: block;
}

.post-navigation a:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

.nav-subtitle {
    display: block;
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.nav-title {
    display: block;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
}

/* Page Header (Archives, Categories) */
.page-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.page-title span {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    /* Mobile Tab Bar Show on Tablet */
    .mobile-tab-bar {
        display: flex;
    }
    
    /* Add bottom padding to body for tab bar */
    body {
        padding-bottom: 75px;
    }
    
    /* Header Tablet */
    .header-container {
        padding: 0 1.5rem;
        gap: 1rem;
        justify-content: space-between;
    }
    
    .ultra-navigation {
        display: none;
    }
    
    .ultra-header-actions {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Modals Tablet */
    .author-profile-modal,
    .notification-modal {
        max-width: 90%;
    }
    
    .profile-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.25rem;
    }
    
    /* Sidebar Tablet */
    .ultra-categories-section,
    .ultra-popular-section {
        padding: 1.5rem;
    }
    
    .ultra-popular-card {
        padding: 0.875rem;
    }
    
    /* Comments Tablet */
    .ultra-comments {
        padding: 2rem;
    }
    
    .comments-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .comments-stats {
        width: 100%;
        justify-content: space-around;
    }
    
    .comment-form-wrapper {
        padding: 1.5rem;
    }
    
    .ultra-submit {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
    }
    
    .comment-body {
        margin-left: 0;
    }
    
    .comment-author-avatar {
        width: 40px;
        height: 40px;
    }
    
    /* Related Posts Tablet */
    .ultra-related-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .ultra-related-section {
        padding: 2rem;
    }
    
    .related-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .author-box .author-avatar img {
        width: 80px;
        height: 80px;
    }
    
    .single-title {
        font-size: 2rem;
    }
    
    .breadcrumb-current {
        max-width: 200px;
    }
    
    .post-navigation {
        grid-template-columns: 1fr;
    }
    
    .entry-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    /* Social Share Tablet */
    .ultra-share-btn {
        width: 32px;
        height: 32px;
    }
    
    .ultra-share-btn svg {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    /* Mobile Tab Bar Show */
    .mobile-tab-bar {
        display: flex;
    }
    
    /* Add bottom padding to body for tab bar */
    body {
        padding-bottom: 75px;
    }
    
    /* PWA Banner Mobile */
    .pwa-install-banner {
        top: 60px;
        width: calc(100% - 1rem);
    }
    
    .pwa-banner-content {
        padding: 0.875rem 1rem;
        gap: 0.75rem;
    }
    
    .pwa-banner-icon {
        width: 40px;
        height: 40px;
    }
    
    .pwa-banner-icon i {
        font-size: 1.25rem;
    }
    
    .pwa-banner-text h4 {
        font-size: 0.9rem;
    }
    
    .pwa-banner-text p {
        font-size: 0.8rem;
    }
    
    .pwa-install-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .pwa-close-btn {
        width: 34px;
        height: 34px;
        padding: 0.5rem;
    }
    
    /* Header & Navigation */
    .header-container {
        padding: 0 1rem;
        gap: 0.5rem;
        justify-content: space-between;
    }
    
    .site-logo img,
    .site-logo svg {
        width: 35px;
        height: 35px;
    }
    
    .ultra-navigation {
        display: none;
    }
    
    .ultra-header-actions {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        width: 40px;
        height: 40px;
    }
    
    .mobile-menu-toggle i {
        font-size: 1.2rem;
    }
    
    .notification-badge {
        font-size: 0.6rem;
        padding: 0.1rem 0.35rem;
    }
    
    /* Modals Mobile */
    .author-profile-modal,
    .notification-modal {
        max-width: 95%;
        max-height: 90vh;
        border-radius: 1.5rem;
    }
    
    .profile-header {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .profile-avatar {
        width: 90px;
        height: 90px;
    }
    
    .profile-name {
        font-size: 1.5rem;
    }
    
    .profile-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .notification-header {
        padding: 1.5rem;
    }
    
    .notification-title h2 {
        font-size: 1.3rem;
    }
    
    .notification-title i {
        font-size: 1.4rem;
    }
    
    .notification-item {
        flex-direction: column;
        padding: 1rem;
    }
    
    .notification-thumb {
        width: 100%;
        height: 150px;
    }
    
    /* Sidebar Mobile */
    .ultra-categories-section,
    .ultra-popular-section {
        padding: 1.25rem;
    }
    
    .ultra-categories-title,
    .ultra-popular-title {
        font-size: 1.15rem;
    }
    
    .ultra-category-card {
        padding: 0.875rem;
    }
    
    .category-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .ultra-popular-card {
        padding: 0.875rem;
    }
    
    .ultra-popular-image {
        width: 70px;
        height: 70px;
    }
    
    /* Comments Mobile */
    .ultra-comments {
        padding: 1.5rem;
        border-radius: 1.5rem;
    }
    
    .comments-title {
        font-size: 1.5rem;
    }
    
    .comment-form-wrapper {
        padding: 1.25rem;
    }
    
    /* Related Posts Mobile */
    .ultra-related-section {
        padding: 1.5rem;
        border-radius: 1.5rem;
    }
    
    .related-title {
        font-size: 1.3rem;
    }
    
    .ultra-related-image {
        height: 180px;
    }
    
    /* Search Modal Mobile */
    .search-modal {
        width: 95%;
        max-width: none;
        padding: 1.5rem;
    }
    
    .search-input {
        font-size: 1.1rem;
    }
    
    .main-navigation ul {
        gap: 0.5rem;
        font-size: 0.75rem;
    }
    
    .hero-section {
        padding: 2rem 1rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .single-hero-section {
        padding: 2rem 1rem;
    }
    
    .single-post-wrapper {
        padding: 1.5rem;
    }
    
    .single-title {
        font-size: 1.75rem;
    }
    
    .entry-content {
        font-size: 1rem;
    }
    
    .post-navigation {
        grid-template-columns: 1fr;
    }
    
    .author-box {
        flex-direction: column;
        padding: 1.5rem;
    }
    
    .ultra-related-grid {
        grid-template-columns: 1fr;
    }
    
    /* Social Share Mobile */
    .share-title {
        font-size: 0.8rem;
    }
    
    .share-buttons-grid {
        gap: 0.4rem;
    }
    
    .ultra-share-btn {
        width: 30px;
        height: 30px;
    }
    
    .ultra-share-btn svg {
        width: 30px;
        height: 30px;
    }
    
    .comment-list .children {
        margin-left: 1rem;
    }
    
    .comment-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .comment-form-custom {
        padding: 1.5rem;
    }
    
    .entry-content table {
        font-size: 0.875rem;
    }
    
    .entry-content table th,
    .entry-content table td {
        padding: 0.75rem;
    }
}
