:root {
    --minecraft-green: #6AA84F;
    --minecraft-gray: #4A4A4A;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-minecraft: linear-gradient(135deg, #6AA84F 0%, #4a7c3a 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to bottom, #f8f9fa 0%, #e9ecef 100%);
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #2d2d2d 100%);
    padding: 80px 0 100px;
    margin-bottom: 60px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(0deg, transparent 24%, rgba(106, 168, 79, 0.05) 25%, rgba(106, 168, 79, 0.05) 26%, transparent 27%, transparent 74%, rgba(106, 168, 79, 0.05) 75%, rgba(106, 168, 79, 0.05) 76%, transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, rgba(106, 168, 79, 0.05) 25%, rgba(106, 168, 79, 0.05) 26%, transparent 27%, transparent 74%, rgba(106, 168, 79, 0.05) 75%, rgba(106, 168, 79, 0.05) 76%, transparent 77%, transparent);
    background-size: 50px 50px;
    animation: minecraftGrid 20s linear infinite;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(106, 168, 79, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(106, 168, 79, 0.15) 0%, transparent 50%);
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(106, 168, 79, 0.1) 50%, transparent 70%);
    animation: minecraftShine 3s ease-in-out infinite;
}

@keyframes minecraftShine {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, var(--minecraft-green) 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(106, 168, 79, 0.5);
    letter-spacing: -1px;
    animation: heroTitleGlow 3s ease-in-out infinite;
}

@keyframes heroTitleGlow {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(106, 168, 79, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(106, 168, 79, 0.8));
    }
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--minecraft-green);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(106, 168, 79, 0.5);
}

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

/* Minecraft Animated Blocks */
.minecraft-blocks {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.block {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--minecraft-green);
    opacity: 0.15;
    box-shadow: 0 0 20px rgba(106, 168, 79, 0.3);
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
}

.block-1 {
    top: 10%;
    left: 10%;
    animation: floatBlock 8s infinite;
    animation-delay: 0s;
}

.block-2 {
    top: 60%;
    left: 20%;
    width: 50px;
    height: 50px;
    animation: floatBlock 10s infinite;
    animation-delay: 1s;
}

.block-3 {
    top: 30%;
    right: 15%;
    width: 35px;
    height: 35px;
    animation: floatBlock 12s infinite;
    animation-delay: 2s;
}

.block-4 {
    bottom: 20%;
    right: 25%;
    width: 45px;
    height: 45px;
    animation: floatBlock 9s infinite;
    animation-delay: 1.5s;
}

.block-5 {
    top: 50%;
    left: 5%;
    width: 30px;
    height: 30px;
    animation: floatBlock 11s infinite;
    animation-delay: 0.5s;
}

.block-6 {
    top: 20%;
    right: 30%;
    width: 40px;
    height: 40px;
    animation: floatBlock 13s infinite;
    animation-delay: 2.5s;
}

@keyframes floatBlock {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.15;
    }
    25% {
        transform: translateY(-30px) rotate(90deg);
        opacity: 0.25;
    }
    50% {
        transform: translateY(-60px) rotate(180deg);
        opacity: 0.15;
    }
    75% {
        transform: translateY(-30px) rotate(270deg);
        opacity: 0.25;
    }
}

/* Hero Search Bar */
.hero-search {
    position: absolute;
    bottom: 30px;
    right: 40px;
    z-index: 3;
}

.search-form {
    margin: 0;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    padding: 8px 8px 8px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    width: 350px;
}

.search-input-wrapper:hover {
    box-shadow: 0 12px 40px rgba(106, 168, 79, 0.4);
    transform: translateY(-2px);
}

.search-icon {
    color: var(--minecraft-green);
    font-size: 1.1rem;
    margin-right: 12px;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    background: transparent;
    color: #333;
    padding: 8px 0;
}

.search-input::placeholder {
    color: #999;
}

.search-btn {
    background: var(--gradient-minecraft);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(106, 168, 79, 0.3);
}

.search-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(106, 168, 79, 0.5);
}

.search-btn i {
    font-size: 1.1rem;
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.page-info {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

/* Section Headers */
.section-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.section-header {
    position: relative;
    margin-bottom: 40px;
}

.section-header::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100px;
    height: 4px;
    background: var(--gradient-minecraft);
    border-radius: 2px;
}

.section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--gradient-minecraft);
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(106, 168, 79, 0.3);
}

.section-icon i {
    font-size: 24px;
    color: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-minecraft);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 10px 0;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    font-weight: 400;
    margin: 0;
}

.minecraft-title {
    font-family: 'Times New Roman', Times, serif;
    color: var(--minecraft-green);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.bg-minecraft-green {
    background-color: var(--minecraft-green) !important;
}

.btn-minecraft {
    background: var(--gradient-minecraft);
    color: white;
    border: none;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.85rem;
    padding: 12px 28px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(106, 168, 79, 0.3);
}

.btn-minecraft:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(106, 168, 79, 0.4);
    color: white;
}

.btn-minecraft-outline {
    background: linear-gradient(white, white) padding-box,
                var(--gradient-minecraft) border-box;
    color: var(--minecraft-green);
    border: 2px solid transparent;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.9rem;
    padding: 12px 32px;
    text-transform: uppercase;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-minecraft-outline:hover {
    background: var(--gradient-minecraft);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(106, 168, 79, 0.3);
}

/* Legacy card styles - kept for backward compatibility */
.addon-card {
    background: #f8f9fa;
    border: 3px solid var(--minecraft-gray);
    padding: 15px;
    border-radius: 0;
    transition: transform 0.3s;
    height: 100%;
}

.addon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.addon-thumbnail {
    width: 100%;
    height: 150px;
    object-fit: cover;
    margin-bottom: 10px;
}

.addon-title {
    font-size: 0.9rem;
    margin-bottom: 10px;
    min-height: 50px;
}

.addon-description {
    font-size: 0.8rem;
    margin-bottom: 10px;
    min-height: 60px;
}

/* New Beautiful Card Styles */
.addon-card-new {
    width: 100%;
    max-width: 320px;
    height: 250px;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    margin: 0 auto;
    border: 1px solid rgba(106, 168, 79, 0.1);
}

.addon-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(106, 168, 79, 0.3), rgba(102, 126, 234, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.addon-card-new:hover::before {
    opacity: 1;
}

.addon-card-new:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 40px rgba(106, 168, 79, 0.25), 0 0 0 1px rgba(106, 168, 79, 0.1);
}

.addon-card-new:hover .card-overlay {
    opacity: 1;
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.addon-thumbnail-new {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.addon-card-new:hover .addon-thumbnail-new {
    transform: scale(1.1);
}

.category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, var(--minecraft-green), #5a9640);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(106, 168, 79, 0.4);
    backdrop-filter: blur(10px);
    animation: badgePulse 2s ease-in-out infinite;
}

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

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-view-details {
    background: white;
    color: var(--minecraft-green);
    border: none;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-view-details:hover {
    background: var(--minecraft-green);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(106, 168, 79, 0.4);
}

.card-content {
    padding: 12px 16px;
    background: white;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.addon-title-new {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 8px 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.addon-meta {
    font-size: 0.8rem;
    color: #718096;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.addon-meta i {
    color: var(--minecraft-green);
}

.card-footer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    font-size: 0.75rem;
    color: #718096;
}

.info-left {
    display: flex;
    align-items: center;
    gap: 4px;
}

.info-left i {
    color: var(--minecraft-green);
    font-size: 0.85rem;
}

.info-right {
    display: flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, var(--minecraft-green), #5a9640);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
}

.info-right i {
    font-size: 0.75rem;
}

.sticky-sidebar {
    position: sticky;
    top: 80px;
    max-width: 100%;
    overflow: hidden;
}

.post-box {
    background: #ffffff;
    padding: 8px;
    box-shadow: 0 4px 8px rgba(106, 168, 79, 0.3);
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    margin-bottom: 20px;
}

/* Modern Popular Posts Section */
.popular-posts-section {
    background: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.popular-posts-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
}

.popular-posts-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.popular-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    animation: pulseGlow 2s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
        transform: scale(1.05);
    }
}

.popular-title {
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.popular-post-card {
    display: flex;
    gap: 12px;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
}

.popular-post-card:last-child {
    border-bottom: none;
}

.popular-post-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.popular-post-card:hover {
    background: #f8f9ff;
    transform: translateX(5px);
}

.popular-post-card:hover::before {
    width: 4px;
}

.popular-post-image {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.popular-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

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

.popular-post-overlay i {
    color: white;
    font-size: 1.8rem;
    transform: scale(0);
    transition: transform 0.3s ease;
}

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

.popular-post-card:hover .popular-post-overlay i {
    transform: scale(1);
}

.popular-post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-width: 0;
}

.popular-post-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.popular-post-card:hover .popular-post-title {
    color: #667eea;
}

.popular-post-meta {
    font-size: 0.8rem;
    color: #718096;
    display: flex;
    align-items: center;
    gap: 5px;
}

.popular-post-meta i {
    color: #667eea;
}

/* Modern Post Title Section */
.post-title-section {
    padding: 30px 0;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 30px;
}

.post-category-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #6AA84F 0%, #4CAF50 100%);
    color: white;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(106, 168, 79, 0.25);
    transition: all 0.3s ease;
}

.post-category-badge-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(106, 168, 79, 0.35);
}

.post-category-badge-top i {
    font-size: 0.9rem;
    animation: rotateIcon 4s ease-in-out infinite;
}

.post-main-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.3;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #1a1a2e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.post-main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #6AA84F 0%, #4CAF50 100%);
    border-radius: 2px;
}

.post-meta-modern {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.95rem;
    color: #718096;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
    position: relative;
}

.meta-item:not(:last-child)::after {
    content: '•';
    position: absolute;
    right: -9px;
    color: #cbd5e0;
    font-weight: 300;
}

.meta-item i {
    color: #6AA84F;
    font-size: 1rem;
}

.meta-item:hover {
    color: #2d3748;
}

.post-meta {
    font-size: 0.9rem;
    color: #666;
}

.post-content {
    line-height: 1.8;
}

.post-box .img-fluid {
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.download-section {
    background: #f8f9fa;
    padding: 20px;
    border: 3px solid var(--minecraft-green);
    border-radius: 8px;
}

.download-section a {
    display: block;
    width: 100%;
}

.file-size-badge {
    background: linear-gradient(135deg, var(--minecraft-green), #5a9640);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 1rem;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(106, 168, 79, 0.3);
}

.file-size-badge i {
    margin-right: 8px;
}

.ad-space-728x90 {
    width: 728px;
    height: 90px;
    max-width: 100%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto;
}

.ad-space-300x600 {
    width: 100%;
    max-width: 300px;
    height: 600px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto;
}

.social-share-section {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
}

.social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-social {
    font-family: Arial, sans-serif;
    font-size: 0.85rem;
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-social:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: white;
}

.btn-facebook {
    background-color: #1877f2;
}

.btn-facebook:hover {
    background-color: #145dbf;
}

.btn-twitter {
    background-color: #1da1f2;
}

.btn-twitter:hover {
    background-color: #0c85d0;
}

.btn-whatsapp {
    background-color: #25d366;
}

.btn-whatsapp:hover {
    background-color: #1eac51;
}

.btn-linkedin {
    background-color: #0077b5;
}

.btn-linkedin:hover {
    background-color: #005885;
}

.btn-pinterest {
    background-color: #e60023;
}

.btn-pinterest:hover {
    background-color: #b7001c;
}

/* Narrow gutter for single post layout - 3.5px padding */
.row-narrow-gutter {
    margin-left: -3.5px;
    margin-right: -3.5px;
    display: flex;
    flex-wrap: nowrap;
}

.row-narrow-gutter > [class*='col-'] {
    padding-left: 3.5px;
    padding-right: 3.5px;
}

/* Custom 3-7-3 layout using flex basis */
.row-narrow-gutter .col-md-3:first-child {
    flex: 0 0 23.08%;
    max-width: 23.08%;
}

.row-narrow-gutter .col-md-7 {
    flex: 0 0 53.84%;
    max-width: 53.84%;
}

.row-narrow-gutter .col-md-3:last-child {
    flex: 0 0 23.08%;
    max-width: 23.08%;
}

/* Responsive Design for Cards */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0 120px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-search {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 30px;
        padding: 0 20px;
    }
    
    .search-input-wrapper {
        width: 100%;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .minecraft-title {
        font-size: 1rem;
    }
    
    .btn-minecraft, .btn-minecraft-outline {
        font-size: 0.75rem;
        padding: 10px 20px;
    }
    
    .sticky-sidebar {
        position: relative;
        top: 0;
    }
    
    .social-buttons {
        flex-direction: column;
    }
    
    .btn-social {
        width: 100%;
        justify-content: center;
    }
    
    .col-md-3:first-child {
        display: none;
    }
    
    .addon-card-new {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .category-badge {
        font-size: 0.65rem;
        padding: 5px 12px;
    }
    
    .section-icon {
        width: 40px;
        height: 40px;
    }
    
    .section-icon i {
        font-size: 20px;
    }
}

/* 5-column layout for XL screens */
@media (min-width: 1200px) {
    .col-xl-2-4 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

.text-logo {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Post Meta Badges */
.post-meta-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.meta-date {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.meta-date:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.meta-views {
    background: linear-gradient(135deg, var(--minecraft-green), #5a9640);
    color: white;
    box-shadow: 0 4px 12px rgba(106, 168, 79, 0.3);
}

.meta-views:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(106, 168, 79, 0.4);
}

.meta-category {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
    box-shadow: 0 4px 12px rgba(245, 87, 108, 0.3);
}

.meta-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 87, 108, 0.4);
}

/* Responsive Post Title Section */
@media (max-width: 768px) {
    .post-main-title {
        font-size: 1.8rem;
    }
    
    .post-meta-modern {
        font-size: 0.85rem;
        gap: 8px;
    }
    
    .post-category-badge-top {
        font-size: 0.8rem;
        padding: 6px 14px;
    }
}

/* Responsive meta badges */
@media (max-width: 768px) {
    .post-meta-badges {
        justify-content: center;
    }
    
    .meta-badge {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
}

/* Hide right sidebar ad on mobile for single posts */
@media (max-width: 767px) {
    .addon-detail-right-sidebar {
        display: none !important;
    }
}

/* Mobile responsive fixes for single post */
@media (max-width: 767px) {
    .post-box {
        padding: 15px !important;
    }
    
    .minecraft-title {
        font-size: 1.5rem !important;
    }
    
    .post-meta-badges {
        flex-direction: column;
        align-items: stretch;
    }
    
    .meta-badge {
        width: 100%;
        justify-content: center;
        margin-bottom: 8px;
    }
    
    .sticky-sidebar {
        position: relative !important;
        top: auto !important;
    }
}

/* Fix row-narrow-gutter for mobile - allow wrapping */
@media (max-width: 767px) {
    .row-narrow-gutter {
        flex-wrap: wrap !important;
        margin-left: -15px !important;
        margin-right: -15px !important;
    }
    
    .row-narrow-gutter > [class*='col-'] {
        padding-left: 15px !important;
        padding-right: 15px !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* Home page mobile padding fix */
@media (max-width: 767px) {
    .container-fluid {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    
    .px-4 {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
}

/* Card side padding 5px on mobile */
@media (max-width: 767px) {
    .col-xl-2-4, .col-lg-3, .col-md-4, .col-sm-6 {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    
    .addon-card-new {
        margin-bottom: 10px !important;
    }
}

/* Fix card left/right spacing on mobile - 5px total */
@media (max-width: 767px) {
    /* Remove default row margins */
    .row {
        margin-left: -5px !important;
        margin-right: -5px !important;
    }
    
    /* Set card column padding to 5px */
    .row > [class*='col-'] {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    
    /* Ensure cards fill the available width */
    .addon-card-new {
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
    }
}

/* Tag Page Header Design */
.tag-header-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.tag-title-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.tag-icon-badge {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.tag-title-content {
    flex: 1;
}

.tag-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.tag-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin: 8px 0 0 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tag-subtitle i {
    font-size: 1.1rem;
}

/* Mobile responsive tag header */
@media (max-width: 767px) {
    .tag-header-section {
        padding: 20px;
    }
    
    .tag-icon-badge {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .tag-page-title {
        font-size: 1.8rem;
    }
    
    .tag-subtitle {
        font-size: 0.9rem;
    }
}

/* Modern Footer Design */
.modern-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #e0e0e0;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6AA84F 0%, #4CAF50 50%, #6AA84F 100%);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

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

.footer-top {
    padding: 60px 0 40px;
}

.footer-brand {
    padding-right: 20px;
}

.footer-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #6AA84F;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo-text i {
    font-size: 2rem;
    animation: rotateIcon 4s ease-in-out infinite;
}

@keyframes rotateIcon {
    0%, 100% { transform: rotateY(0deg); }
    50% { transform: rotateY(180deg); }
}

.footer-description {
    color: #b0b0b0;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(106, 168, 79, 0.1);
    border: 2px solid rgba(106, 168, 79, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6AA84F;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: #6AA84F;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(106, 168, 79, 0.4);
}

.footer-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #6AA84F, transparent);
    border-radius: 2px;
}

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

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu li a {
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.footer-menu li a i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.footer-menu li a:hover {
    color: #6AA84F;
    padding-left: 8px;
}

.footer-menu li a:hover i {
    transform: translateX(4px);
}

.footer-newsletter-text {
    color: #b0b0b0;
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.newsletter-input-group {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    padding: 5px;
    border: 1px solid rgba(106, 168, 79, 0.2);
    transition: all 0.3s ease;
}

.newsletter-input-group:focus-within {
    border-color: #6AA84F;
    box-shadow: 0 0 0 3px rgba(106, 168, 79, 0.1);
}

.newsletter-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    padding: 12px 20px;
    outline: none;
    font-size: 0.9rem;
}

.newsletter-input::placeholder {
    color: #808080;
}

.newsletter-btn {
    background: linear-gradient(135deg, #6AA84F, #4CAF50);
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(106, 168, 79, 0.4);
}

.newsletter-btn i {
    font-size: 1rem;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.copyright-text {
    margin: 0;
    color: #b0b0b0;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-bottom-links a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #6AA84F;
}

.footer-bottom-links .separator {
    color: #6AA84F;
}

/* Mobile responsive footer */
@media (max-width: 767px) {
    .footer-top {
        padding: 40px 0 30px;
    }
    
    .footer-brand {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .footer-logo-text {
        font-size: 1.5rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .modern-footer {
        margin-top: 50px;
    }
}

/* Modern Header Design */
.modern-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: 0;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(106, 168, 79, 0.2);
    height: 65px;
    display: flex;
    align-items: center;
}

.modern-header .navbar {
    padding: 0;
    width: 100%;
    position: relative;
}

.modern-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.modern-brand:hover {
    transform: translateY(-2px);
}

.brand-logo-text {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rotating-cube {
    font-size: 2rem;
    color: #6AA84F;
    animation: rotateIcon 4s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(106, 168, 79, 0.5));
}

.brand-name {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6AA84F 0%, #4CAF50 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.brand-logo-img {
    filter: drop-shadow(0 2px 8px rgba(106, 168, 79, 0.3));
    transition: all 0.3s ease;
}

.modern-brand:hover .brand-logo-img {
    filter: drop-shadow(0 4px 12px rgba(106, 168, 79, 0.5));
}

.modern-nav {
    display: flex;
    align-items: center;
    gap: 5px;
}

.modern-nav-link {
    color: #e0e0e0 !important;
    font-weight: 500;
    padding: 10px 20px !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modern-nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #6AA84F, #4CAF50);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.modern-nav-link:hover {
    color: #6AA84F !important;
    background: rgba(106, 168, 79, 0.1);
}

.modern-nav-link:hover::before {
    width: 80%;
}

/* Category Dropdown Menu */
.category-dropdown .dropdown-menu {
    background: rgba(26, 26, 46, 0.98);
    border: 1px solid rgba(106, 168, 79, 0.3);
    border-radius: 12px;
    padding: 10px 0;
    margin-top: 10px;
    min-width: 280px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

.category-dropdown .dropdown-item {
    color: #e0e0e0;
    padding: 12px 20px;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

.category-dropdown .dropdown-item:hover {
    background: rgba(106, 168, 79, 0.15);
    color: #6AA84F;
    padding-left: 25px;
}

.category-item.has-children {
    position: relative;
}

.category-item.has-children .parent-category {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-item.has-children .parent-category .fa-chevron-left {
    font-size: 0.8rem;
    opacity: 0.6;
    transition: all 0.3s ease;
    margin-left: 8px;
}

.category-item.has-children:hover .parent-category .fa-chevron-left {
    opacity: 1;
    transform: translateX(-3px);
}

.dropdown-submenu {
    position: absolute;
    right: 100%;
    top: -10px;
    min-width: 220px;
    background: rgba(26, 26, 46, 0.98);
    border: 1px solid rgba(106, 168, 79, 0.3);
    border-radius: 12px;
    padding: 10px 0;
    margin-right: 5px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    display: none;
    list-style: none;
}

.category-item.has-children:hover .dropdown-submenu {
    display: block;
    animation: slideInLeft 0.3s ease;
}

.dropdown-submenu .child-category {
    color: #e0e0e0;
    padding: 10px 20px;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 400;
}

.dropdown-submenu .child-category:hover {
    background: rgba(106, 168, 79, 0.15);
    color: #6AA84F;
    padding-left: 25px;
}

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

/* Icon spacing in nav links */
.modern-nav-link i {
    margin-right: 6px;
    font-size: 0.95rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
}

.header-search-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6AA84F, #4CAF50);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(106, 168, 79, 0.3);
}

.header-search-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(106, 168, 79, 0.5);
    color: white;
}

.header-search-btn i {
    font-size: 1.1rem;
}

/* Modern Hamburger Menu */
.modern-toggler {
    border: none;
    padding: 0;
    width: 35px;
    height: 35px;
    position: relative;
    background: transparent;
    cursor: pointer;
}

.modern-toggler span {
    display: block;
    width: 100%;
    height: 3px;
    background: #6AA84F;
    border-radius: 3px;
    transition: all 0.3s ease;
    position: absolute;
    left: 0;
}

.modern-toggler span:nth-child(1) {
    top: 6px;
}

.modern-toggler span:nth-child(2) {
    top: 16px;
}

.modern-toggler span:nth-child(3) {
    top: 26px;
}

.modern-toggler:not(.collapsed) span:nth-child(1) {
    transform: rotate(45deg);
    top: 16px;
}

.modern-toggler:not(.collapsed) span:nth-child(2) {
    opacity: 0;
}

.modern-toggler:not(.collapsed) span:nth-child(3) {
    transform: rotate(-45deg);
    top: 16px;
}

.modern-toggler:focus {
    outline: none;
    box-shadow: none;
}

/* Mobile Header Adjustments */
@media (max-width: 991px) {
    .modern-header .navbar-collapse {
        background: rgba(26, 26, 46, 0.98);
        margin-top: 0;
        padding: 20px;
        border-radius: 0 0 12px 12px;
        border: 1px solid rgba(106, 168, 79, 0.2);
        border-top: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
    }
    
    .modern-nav {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    
    .modern-nav .nav-item {
        width: 100%;
    }
    
    .modern-nav-link {
        width: 100%;
        margin: 5px 0;
    }
    
    .header-actions {
        width: 100%;
        justify-content: center;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid rgba(106, 168, 79, 0.2);
    }
    
    .brand-name {
        font-size: 1.3rem;
    }
    
    .rotating-cube {
        font-size: 1.5rem;
    }
    
    /* Mobile Category Dropdown Adjustments */
    .category-dropdown .dropdown-menu {
        position: static !important;
        transform: none !important;
        width: 100%;
        margin-top: 5px;
        border: none;
        background: rgba(16, 16, 36, 0.95);
    }
    
    .dropdown-submenu {
        position: static !important;
        left: auto !important;
        top: auto !important;
        margin-left: 0 !important;
        margin-top: 5px;
        border-left: 2px solid rgba(106, 168, 79, 0.4);
        border-radius: 0;
        animation: none !important;
    }
    
    .category-item.has-children .dropdown-submenu {
        display: none;
    }
    
    .category-item.has-children.active .dropdown-submenu {
        display: block;
    }
    
    .category-item.has-children .submenu-toggle {
        padding: 10px;
        margin: -10px -10px -10px 10px;
        cursor: pointer;
        transition: transform 0.3s ease;
    }
    
    .category-item.has-children.active .submenu-toggle {
        transform: rotate(-90deg);
    }
}

/* Add smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Fix header overlap with content */
body {
    padding-top: 0;
}

main {
    min-height: calc(100vh - 600px);
}

/* Modern Page Design */
.modern-page-wrapper {
    min-height: calc(100vh - 400px);
}

.modern-page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

/* Category Page Header */
.category-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.category-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236AA84F' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.category-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6AA84F 0%, #4CAF50 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(106, 168, 79, 0.3);
    animation: categoryIconFloat 3s ease-in-out infinite;
}

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

.category-icon i {
    font-size: 2.5rem;
    color: white;
}

.category-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 10px 0;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.category-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin: 0;
}

/* Modern Pagination */
.pagination-modern .page-link {
    background: rgba(26, 26, 46, 0.5);
    border: 1px solid rgba(106, 168, 79, 0.3);
    color: #e0e0e0;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin: 0 5px;
}

.pagination-modern .page-link:hover {
    background: linear-gradient(135deg, #6AA84F 0%, #4CAF50 100%);
    border-color: #6AA84F;
    color: white;
    transform: translateY(-2px);
}

.pagination-modern .page-link i {
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .category-title {
        font-size: 2rem;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
    }
    
    .category-icon i {
        font-size: 2rem;
    }
}

.modern-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-icon {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.page-icon i {
    font-size: 3.5rem;
    color: white;
}

.modern-page-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.modern-page-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin: 0;
}

.modern-page-content {
    background: white;
    border-radius: 20px;
    padding: 50px;
    margin-top: -40px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    margin-bottom: 60px;
}

.modern-page-content h2 {
    color: #1a1a2e;
    font-size: 2rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #6AA84F;
    display: inline-block;
}

.modern-page-content h2:first-child {
    margin-top: 0;
}

.modern-page-content h3 {
    color: #16213e;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
}

.modern-page-content p {
    color: #555;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.modern-page-content ul, .modern-page-content ol {
    color: #555;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 25px;
    padding-left: 30px;
}

.modern-page-content ul li, .modern-page-content ol li {
    margin-bottom: 10px;
}

.modern-page-content strong {
    color: #1a1a2e;
    font-weight: 600;
}

.modern-page-content a {
    color: #6AA84F;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.modern-page-content a:hover {
    border-bottom-color: #6AA84F;
}

.modern-page-content .info-box {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-left: 4px solid #6AA84F;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
}

.modern-page-content .info-box p:last-child {
    margin-bottom: 0;
}

/* Mobile responsive page design */
@media (max-width: 767px) {
    .modern-page-header {
        padding: 50px 0 40px;
    }
    
    .page-icon {
        width: 90px;
        height: 90px;
        margin-bottom: 20px;
    }
    
    .page-icon i {
        font-size: 2.5rem;
    }
    
    .modern-page-title {
        font-size: 2rem;
    }
    
    .modern-page-subtitle {
        font-size: 1rem;
    }
    
    .modern-page-content {
        padding: 30px 20px;
        margin-top: -30px;
        border-radius: 15px;
    }
    
    .modern-page-content h2 {
        font-size: 1.5rem;
    }
    
    .modern-page-content h3 {
        font-size: 1.2rem;
    }
}
