/* 🎮 MINECRAFT HELP - PERFECT DARK THEME */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css');

:root {
    /* Core Dark Theme Colors */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --bg-card: #1e293b;
    --bg-glass: rgba(30, 41, 59, 0.95);
    
    /* Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #e2e8f0;
    --text-muted: #94a3b8;
    --text-tertiary: #cbd5e1;
    
    /* Minecraft Accent Colors */
    --minecraft-green: #22c55e;
    --minecraft-green-hover: #16a34a;
    --minecraft-blue: #3b82f6;
    --minecraft-purple: #8b5cf6;
    --minecraft-orange: #f97316;
    --minecraft-red: #ef4444;
    --minecraft-yellow: #eab308;
    
    /* System Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    
    /* Shadows & Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* Transitions */
    --transition: all 0.2s ease;
    --transition-slow: all 0.3s ease;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    min-height: 100vh;
    position: relative;
    margin: 0;
    padding: 0;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(34, 197, 94, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Navigation */
.navbar {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border: none !important;
    margin: 0;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
    color: white !important;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.75rem 1rem !important;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
}

.navbar-toggler {
    border-color: rgba(34, 197, 94, 0.3);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2834, 197, 94, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.8)), 
        url('https://i.pinimg.com/1200x/ee/a4/32/eea4321d5bf221f2ceca9bbf587c68be.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    color: var(--text-primary);
    padding: 10rem 0 8rem;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

/* Fallback for hero background */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
        min-height: 60vh;
        padding: 6rem 0 4rem;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.1;
    color: white !important;
    text-align: center;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.95) !important;
    text-align: center;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-cta .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 160px;
    text-align: center;
}

.hero-cta .btn-primary {
    background: #22c55e !important;
    border: none !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
}

.hero-cta .btn-primary:hover {
    background: #16a34a !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.5);
}

.hero-cta .btn-outline {
    background: #3b82f6 !important;
    border: 2px solid #3b82f6 !important;
    color: white !important;
}

.hero-cta .btn-outline:hover {
    background: #2563eb !important;
    color: white !important;
    transform: translateY(-2px);
    border-color: #2563eb !important;
}

.hero-cta .btn-outline .bi,
.hero-cta .btn-outline i {
    color: white !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--minecraft-green);
    color: white;
    border-color: var(--minecraft-green);
}

.btn-primary:hover {
    background: var(--minecraft-green-hover);
    border-color: var(--minecraft-green-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-outline, .btn-outline-primary {
    background: transparent;
    color: var(--minecraft-blue);
    border: 2px solid var(--minecraft-blue);
}

.btn-outline:hover, .btn-outline-primary:hover {
    background: var(--minecraft-blue);
    color: white;
}

.btn-success {
    background: var(--success);
    color: white;
    border-color: var(--success);
}

.btn-success:hover {
    background: #059669;
    color: white;
}

.btn-danger {
    background: var(--danger);
    color: white;
    border-color: var(--danger);
}

.btn-danger:hover {
    background: #dc2626;
    color: white;
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-color: var(--bg-tertiary);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
}

/* Cards */
.card, .blog-card, .glass-card, .job-card {
    background: var(--bg-card);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-slow);
    overflow: hidden;
}

.card:hover, .blog-card:hover, .glass-card:hover, .job-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--minecraft-green);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    color: var(--text-primary) !important;
    font-weight: 700;
    margin-bottom: 1rem;
}

.card-title a {
    color: var(--text-primary);
    text-decoration: none;
}

.card-title a:hover {
    color: var(--minecraft-green);
}

.card-text {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.card-footer {
    background: rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(34, 197, 94, 0.1);
    padding: 1rem 1.5rem;
}

/* Badges */
.badge {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: white;
}

/* Category specific badges */
.badge-builds { background: var(--minecraft-green); }
.badge-tutorials { background: var(--minecraft-blue); }
.badge-news { background: var(--minecraft-yellow); color: #000; }
.badge-mods { background: var(--minecraft-purple); }
.badge-servers { background: var(--minecraft-red); }
.badge-tips { background: var(--success); }
.badge-reviews { background: var(--minecraft-orange); }
.badge-redstone { background: #dc2626; }

/* Forms */
.form-control, .form-select {
    background: var(--bg-tertiary);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    background: var(--bg-secondary);
    border-color: var(--minecraft-green);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
    color: var(--text-primary);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-label {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Dropdown */
.dropdown-menu {
    background: var(--bg-card);
    border: none !important;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
}

/* Remove borders around navbar dropdown toggles */
.navbar .nav-link.dropdown-toggle {
    border: none !important;
    background: transparent !important;
}

.navbar .nav-link {
    border: none !important;
    background: transparent !important;
}

.dropdown-item {
    color: var(--text-secondary);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
    font-weight: 500;
}

.dropdown-item:hover {
    background: rgba(34, 197, 94, 0.1);
    color: var(--minecraft-green);
}

.dropdown-item i {
    color: var(--minecraft-green);
    width: 20px;
    margin-right: 0.5rem;
}

.dropdown-divider {
    border-top: 1px solid rgba(34, 197, 94, 0.2);
    margin: 0.5rem 0;
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white !important;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Category Cards */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.category-card {
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid rgba(34, 197, 94, 0.2);
    transition: var(--transition-slow);
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(34, 197, 94, 0.05) 0%, 
        rgba(59, 130, 246, 0.05) 50%, 
        rgba(139, 92, 246, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.category-card:hover::before {
    opacity: 1;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--minecraft-green);
    text-decoration: none;
    color: inherit;
}

.category-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
    position: relative;
    z-index: 2;
}

.category-card.builds .category-icon { color: var(--minecraft-green); }
.category-card.tutorials .category-icon { color: var(--minecraft-blue); }
.category-card.news .category-icon { color: var(--minecraft-yellow); }
.category-card.mods .category-icon { color: var(--minecraft-purple); }
.category-card.servers .category-icon { color: var(--minecraft-red); }
.category-card.tips .category-icon { color: var(--success); }
.category-card.reviews .category-icon { color: var(--minecraft-orange); }
.category-card.redstone .category-icon { color: #dc2626; }

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

.category-description {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Jobs CTA Section */
.jobs-cta {
    background: linear-gradient(135deg, var(--minecraft-green) 0%, var(--minecraft-blue) 100%);
    color: white;
    padding: 4rem 3rem;
    border-radius: var(--radius-2xl);
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 4rem 0;
}

.jobs-cta .btn {
    color: white !important;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    margin: 0 0.5rem;
    min-width: 140px;
}

.jobs-cta .btn i {
    color: white !important;
}

/* Ensure all CTA buttons have proper styling with icons */
.jobs-cta .btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.jobs-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Make sure hero background always loads */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://i.pinimg.com/1200x/ee/a4/32/eea4321d5bf221f2ceca9bbf587c68be.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.8));
    z-index: -1;
}

/* Ensure hero content is above the background */
.hero-content {
    position: relative;
    z-index: 1;
}

.jobs-cta h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.jobs-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.jobs-cta .btn {
    background: white;
    color: var(--minecraft-green);
    border: 2px solid white;
    margin: 0 0.5rem;
}

.jobs-cta .btn:hover {
    background: transparent;
    color: white;
    border-color: white;
}

/* Stats Section */
.stats-section {
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    padding: 3rem 0;
    margin: 3rem 0;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--minecraft-green);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    color: var(--text-primary);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(34, 197, 94, 0.2);
}

.footer h5, .footer h6 {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    padding: 0.25rem 0;
}

.footer-link:hover {
    color: var(--minecraft-green);
    transform: translateX(8px);
}

.footer .bi {
    color: var(--minecraft-green);
}

.footer .text-white {
    color: var(--text-primary) !important;
}

.footer .opacity-75 {
    opacity: 0.75 !important;
}

.hover-primary:hover {
    color: var(--minecraft-green) !important;
    transform: scale(1.2);
}

/* Alerts */
.alert {
    border: none;
    border-radius: var(--radius-lg);
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

.alert-success {
    background: rgba(34, 197, 94, 0.15);
    color: var(--minecraft-green);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.alert-info {
    background: rgba(59, 130, 246, 0.15);
    color: var(--info);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Pagination */
.pagination .page-link {
    background: var(--bg-tertiary);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.pagination .page-link:hover {
    background: var(--bg-secondary);
    border-color: var(--minecraft-green);
    color: var(--minecraft-green);
}

.pagination .page-item.active .page-link {
    background: var(--minecraft-green);
    border-color: var(--minecraft-green);
    color: white;
}

.pagination .page-item.disabled .page-link {
    background: var(--bg-tertiary);
    border-color: var(--bg-tertiary);
    color: var(--text-muted);
}

/* Text Utilities for Dark Theme */
.text-dark { color: var(--text-primary) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-primary { color: var(--minecraft-green) !important; }
.text-success { color: var(--success) !important; }
.text-white { color: var(--text-primary) !important; }

/* Background Utilities */
.bg-light { background-color: var(--bg-card) !important; }
.bg-secondary { background-color: var(--bg-secondary) !important; }
.bg-dark { background-color: var(--bg-primary) !important; }
.bg-transparent { background-color: transparent !important; }

/* Border Utilities */
.border-light { border-color: rgba(34, 197, 94, 0.2) !important; }
.border-0 { border: 0 !important; }

/* Icon Styling */
.bi {
    font-family: "bootstrap-icons" !important;
    font-style: normal !important;
    font-weight: normal !important;
}

/* Specific icon colors in navigation */
.navbar .bi {
    color: var(--minecraft-green) !important;
}

/* Icons in cards inherit from parent unless overridden */
.card .bi {
    color: inherit;
}

/* Button icons should be white when on colored backgrounds */
.btn-primary .bi,
.btn-success .bi,
.btn-danger .bi,
.btn-warning .bi {
    color: white !important;
}

/* Category section styling */
.category-section {
    padding: 4rem 0;
    position: relative;
}

/* Empty state styling */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.empty-state i {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.empty-state h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .jobs-cta {
        padding: 2rem;
        margin: 2rem 0;
    }
    
    .jobs-cta h3 {
        font-size: 1.8rem;
    }
    
    .stats-section {
        padding: 2rem 0;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .category-card {
        padding: 2rem 1.5rem;
    }
    
    .category-icon {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Input Group Styling */
.input-group .form-control {
    border-right: none;
}

.input-group .btn {
    border-left: none;
    border-color: rgba(34, 197, 94, 0.3);
}

/* Small element styling */
small, .small {
    color: var(--text-muted);
}

/* Job specific badges */
.job-type-badge {
    background: linear-gradient(135deg, var(--minecraft-green), var(--minecraft-blue));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.salary-badge {
    background: rgba(34, 197, 94, 0.2);
    color: var(--minecraft-green);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Search form in navigation */
.navbar .form-control {
    background: var(--bg-tertiary);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: var(--text-primary);
}

.navbar .form-control:focus {
    background: var(--bg-secondary);
    border-color: var(--minecraft-green);
    color: var(--text-primary);
}

.navbar .form-control::placeholder {
    color: var(--text-muted);
}

/* =====================================
   🎯 POST DETAIL PAGES - PREMIUM STYLING
   ===================================== */

.premium-post-container {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    min-height: 100vh;
    position: relative;
}

.premium-post-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(34, 197, 94, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.premium-post-article {
    background: var(--bg-card) !important;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(34, 197, 94, 0.2);
    padding: 3rem;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

/* Premium Breadcrumb */
.premium-breadcrumb {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.25rem;
    padding-left: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(34, 197, 94, 0.2);
    margin: 0 0 0 1rem;
}

.premium-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-muted);
}

.premium-breadcrumb .breadcrumb-item a {
    color: var(--minecraft-green);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.premium-breadcrumb .breadcrumb-item a:hover {
    color: var(--minecraft-green-hover);
    text-decoration: underline;
}

.premium-breadcrumb .breadcrumb-item.active {
    color: var(--text-muted);
}

/* Premium Category Badge */
.premium-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--minecraft-green) 0%, var(--minecraft-blue) 100%);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-md);
    position: relative;
}

/* Premium Post Title */
.premium-post-title {
    font-size: clamp(1.875rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
    margin: 2rem 0 1.5rem;
    letter-spacing: -0.025em;
    position: relative;
}

.premium-post-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--minecraft-green), var(--minecraft-blue));
    border-radius: 2px;
}

/* Premium Post Meta */
.premium-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(34, 197, 94, 0.1);
    margin-bottom: 3rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
}

.meta-item i {
    color: var(--minecraft-green);
    font-size: 1rem;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-left: 0.5rem;
}

.premium-tag {
    background: rgba(34, 197, 94, 0.1);
    color: var(--minecraft-green);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(34, 197, 94, 0.2);
    transition: var(--transition);
}

.premium-tag:hover {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
}

/* Premium Post Content */
.premium-post-content {
    position: relative;
    background: var(--bg-card) !important;
    color: var(--text-primary) !important;
}

.content-wrapper {
    max-width: none;
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--text-primary) !important;
    background: var(--bg-card) !important;
}

.content-wrapper h1, 
.content-wrapper h2, 
.content-wrapper h3, 
.content-wrapper h4, 
.content-wrapper h5, 
.content-wrapper h6 {
    color: var(--text-primary);
    font-weight: 700;
    margin: 2rem 0 1rem;
    line-height: 1.3;
}

.content-wrapper h2 {
    font-size: 1.875rem;
    margin-top: 3rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(34, 197, 94, 0.1);
}

.content-wrapper h3 {
    font-size: 1.5rem;
    color: var(--minecraft-green);
}

.content-wrapper p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.content-wrapper a {
    color: var(--minecraft-green);
    text-decoration: none;
    border-bottom: 1px solid rgba(34, 197, 94, 0.3);
    transition: var(--transition);
}

.content-wrapper a:hover {
    color: var(--minecraft-green-hover);
    border-bottom-color: var(--minecraft-green-hover);
}

.content-wrapper ul, 
.content-wrapper ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.content-wrapper li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.content-wrapper code {
    background: rgba(34, 197, 94, 0.1);
    color: var(--minecraft-green);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
}

.content-wrapper pre {
    background: var(--bg-tertiary);
    border: 1px solid rgba(34, 197, 94, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin: 2rem 0;
    overflow-x: auto;
}

.content-wrapper pre code {
    background: none;
    color: var(--text-primary);
    padding: 0;
}

.content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    margin: 1.5rem auto;
    padding: 0 1rem;
    box-shadow: var(--shadow-md);
    display: block;
}

/* Blog post content images - fix padding/margin issues */
.premium-post-content img,
.post-content img,
.blog-content img {
    max-width: calc(100% - 2rem);
    height: auto;
    border-radius: var(--radius-lg);
    margin: 2rem auto;
    padding: 0 1rem;
    display: block;
    box-shadow: var(--shadow-md);
}

.content-wrapper blockquote {
    background: rgba(34, 197, 94, 0.05);
    border-left: 4px solid var(--minecraft-green);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    font-style: italic;
    color: var(--text-secondary);
}

/* Premium Social Share */
.premium-social-share {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin: 3rem 0;
    border: 1px solid rgba(34, 197, 94, 0.2);
    text-align: center;
}

.share-title {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.share-btn {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    min-width: 120px;
    justify-content: center;
    color: white !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.share-btn.twitter {
    background: #1da1f2 !important;
    color: white !important;
}

.share-btn.twitter:hover {
    background: #0d8bd9 !important;
    color: white !important;
    transform: translateY(-2px);
}

.share-btn.facebook {
    background: #4267b2 !important;
    color: white !important;
}

.share-btn.facebook:hover {
    background: #365899 !important;
    color: white !important;
    transform: translateY(-2px);
}

.share-btn.reddit {
    background: #ff4500 !important;
    color: white !important;
}

.share-btn.reddit:hover {
    background: #e03d00 !important;
    color: white !important;
    transform: translateY(-2px);
}

.share-btn.copy {
    background: var(--bg-tertiary) !important;
    color: white !important;
    border: 1px solid rgba(34, 197, 94, 0.3) !important;
}

.share-btn.copy:hover {
    background: var(--minecraft-green) !important;
    color: white !important;
    border-color: var(--minecraft-green) !important;
    transform: translateY(-2px);
}

/* Ensure share button text and icons are always visible */
.share-btn span,
.share-btn i {
    color: white !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Admin Actions */
.premium-admin-actions {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin: 3rem 0;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.admin-title {
    color: var(--danger);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.admin-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.admin-btn {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    min-width: 120px;
    justify-content: center;
    color: white !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.admin-btn.edit {
    background: var(--info) !important;
    color: white !important;
}

.admin-btn.edit:hover {
    background: #2563eb !important;
    color: white !important;
    transform: translateY(-2px);
}

.admin-btn.delete {
    background: var(--danger) !important;
    color: white !important;
}

.admin-btn.delete:hover {
    background: #dc2626 !important;
    color: white !important;
    transform: translateY(-2px);
}

/* Ensure admin button text and icons are always visible */
.admin-btn span,
.admin-btn i {
    color: white !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Premium Sidebar Section */
.premium-sidebar-section {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.premium-widget {
    background: var(--bg-card) !important;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: var(--text-primary) !important;
}

.premium-widget * {
    color: inherit !important;
}

.premium-widget p {
    color: var(--text-secondary) !important;
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(34, 197, 94, 0.1);
}

.widget-icon {
    color: var(--minecraft-green);
    font-size: 1.5rem;
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

/* Related Posts Grid */
.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

.related-post-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(34, 197, 94, 0.2);
    transition: var(--transition);
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.card-image {
    position: relative;
    height: 150px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.related-post-card:hover .card-image img {
    transform: scale(1.05);
}

.placeholder-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, var(--minecraft-green) 0%, var(--minecraft-blue) 100%);
    color: white;
}

.placeholder-image i {
    font-size: 2.5rem;
    opacity: 0.8;
}

.card-category {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
}

.card-content {
    padding: 1.25rem;
}

.card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.card-excerpt {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.widget-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(34, 197, 94, 0.1);
}

.more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--minecraft-green);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
}

.more-link:hover {
    color: var(--minecraft-green-hover);
    text-decoration: underline;
}

/* Discord Widget - Uniform Dark Theme */
.discord-widget,
.premium-widget.discord-widget {
    background: var(--bg-card) !important;
    border: 1px solid rgba(34, 197, 94, 0.2) !important;
    border-radius: var(--radius-xl) !important;
    box-shadow: var(--shadow-lg) !important;
    color: var(--text-primary) !important;
    text-align: center;
    backdrop-filter: blur(20px);
    /* Remove any gradients */
    background-image: none !important;
}

.discord-content {
    position: relative;
    z-index: 1;
}

.discord-icon {
    margin-bottom: 1rem;
}

.discord-icon i {
    font-size: 3rem;
    color: var(--minecraft-green);
}

.discord-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.discord-description {
    opacity: 0.9;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--minecraft-green);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.875rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.discord-btn:hover {
    background: var(--minecraft-green-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Jobs Hero Section - Enhanced */
.jobs-hero {
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    padding: 3rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(34, 197, 94, 0.2);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.jobs-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(34, 197, 94, 0.05) 0%, 
        rgba(59, 130, 246, 0.05) 50%, 
        rgba(139, 92, 246, 0.05) 100%);
    opacity: 0.5;
}

.jobs-hero * {
    position: relative;
    z-index: 2;
}

/* Category Header Styling */
.category-header {
    margin-bottom: 3rem;
    padding: 2rem 0;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

/* Minecraft Card Styling */
.minecraft-card {
    background: var(--bg-card);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: var(--radius-xl);
    transition: var(--transition-slow);
    overflow: hidden;
}

.minecraft-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--minecraft-green);
}

.minecraft-card .card-title a {
    color: var(--text-primary);
    transition: var(--transition);
}

.minecraft-card .card-title a:hover {
    color: var(--minecraft-green);
}

.minecraft-card .card-text {
    color: var(--text-secondary);
}

.minecraft-card .card-footer {
    background: rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(34, 197, 94, 0.1);
}

/* Enhanced Link Styling for Dark Theme */
a {
    color: var(--minecraft-green);
    transition: var(--transition);
}

a:hover {
    color: var(--minecraft-green-hover);
}

/* Breadcrumb Dark Theme */
.breadcrumb {
    background: transparent;
    padding: 0.75rem 0;
}

.breadcrumb-item a {
    color: var(--minecraft-green);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--minecraft-green-hover);
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--text-muted);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-muted);
}

/* Enhanced Empty State */
.empty-state {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 4rem 2rem;
    margin: 2rem 0;
    border: 1px solid rgba(34, 197, 94, 0.2);
    text-align: center;
}

.empty-state h3 {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Make sure all Bootstrap components work in dark theme */
.list-group-item {
    background: var(--bg-card);
    color: var(--text-primary);
    border-color: rgba(34, 197, 94, 0.2);
}

.list-group-item:hover {
    background: var(--bg-secondary);
}

.modal-content {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.modal-header {
    border-bottom-color: rgba(34, 197, 94, 0.2);
}

.modal-footer {
    border-top-color: rgba(34, 197, 94, 0.2);
}

.table {
    color: var(--text-primary) !important;
    background: var(--bg-card) !important;
}

.table-dark {
    background-color: var(--bg-secondary) !important;
}

.table th,
.table td {
    border-color: rgba(34, 197, 94, 0.2) !important;
    background: var(--bg-card) !important;
    color: var(--text-primary) !important;
}

.table thead th {
    background: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
    border-bottom: 2px solid rgba(34, 197, 94, 0.3) !important;
}

.table tbody tr:nth-child(even) {
    background: var(--bg-secondary) !important;
}

.table tbody tr:hover {
    background: var(--bg-tertiary) !important;
}

/* Tab styling */
.nav-tabs {
    border-bottom-color: rgba(34, 197, 94, 0.2);
}

.nav-tabs .nav-link {
    color: var(--text-secondary);
    border-color: transparent;
}

.nav-tabs .nav-link:hover {
    color: var(--minecraft-green);
    border-color: rgba(34, 197, 94, 0.2);
}

.nav-tabs .nav-link.active {
    color: var(--minecraft-green);
    background: var(--bg-card);
    border-color: rgba(34, 197, 94, 0.3);
}

.tab-content {
    background: var(--bg-card);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-top: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: 2rem;
}

/* Progress bars */
.progress {
    background: var(--bg-tertiary);
}

.progress-bar {
    background: var(--minecraft-green);
}

/* Tooltips and Popovers */
.tooltip .tooltip-inner {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.popover {
    background: var(--bg-card);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.popover-header {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-bottom: 1px solid rgba(34, 197, 94, 0.2);
}

.popover-body {
    color: var(--text-primary);
}

/* =====================================
   🔥 FINAL TOUCHES - ENSURE 100% COVERAGE
   ===================================== */

/* Any remaining Bootstrap text utilities override */
.text-body { color: var(--text-secondary) !important; }
.text-body-emphasis { color: var(--text-primary) !important; }
.text-body-secondary { color: var(--text-muted) !important; }

/* Link colors in dark theme */
.link-primary { color: var(--minecraft-green) !important; }
.link-secondary { color: var(--text-secondary) !important; }
.link-success { color: var(--success) !important; }
.link-info { color: var(--info) !important; }
.link-warning { color: var(--warning) !important; }
.link-danger { color: var(--danger) !important; }

/* Focus states for accessibility */
*:focus {
    outline: 2px solid var(--minecraft-green);
    outline-offset: 2px;
}

.btn:focus,
.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

/* Border utilities for dark theme */
.border { border-color: rgba(34, 197, 94, 0.2) !important; }
.border-top { border-top-color: rgba(34, 197, 94, 0.2) !important; }
.border-bottom { border-bottom-color: rgba(34, 197, 94, 0.2) !important; }
.border-start { border-left-color: rgba(34, 197, 94, 0.2) !important; }
.border-end { border-right-color: rgba(34, 197, 94, 0.2) !important; }

/* Background utilities with proper contrast */
.bg-white { background-color: var(--bg-card) !important; }
.bg-gray-100 { background-color: var(--bg-secondary) !important; }
.bg-gray-200 { background-color: var(--bg-tertiary) !important; }

/* Ensure all headings are properly colored */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary) !important;
}

/* Display utilities */
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    color: var(--text-primary) !important;
}

/* Lead text */
.lead {
    color: var(--text-secondary) !important;
}

/* Blockquote */
blockquote {
    color: var(--text-secondary) !important;
    border-left: 4px solid var(--minecraft-green);
    padding-left: 1rem;
    font-style: italic;
}

/* Code blocks */
pre {
    background: var(--bg-tertiary) !important;
    color: var(--text-primary) !important;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

code {
    background: rgba(34, 197, 94, 0.1) !important;
    color: var(--minecraft-green) !important;
}

/* List styling */
.list-unstyled li {
    color: var(--text-secondary);
}

/* Horizontal rules */
hr {
    border-color: rgba(34, 197, 94, 0.2) !important;
    opacity: 1;
}

/* Close buttons */
.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Offcanvas */
.offcanvas {
    background: var(--bg-card);
    color: var(--text-primary);
}

.offcanvas-header {
    border-bottom: 1px solid rgba(34, 197, 94, 0.2);
}

.offcanvas-title {
    color: var(--text-primary);
}

/* Accordion */
.accordion-item {
    background: var(--bg-card);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.accordion-header button {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: none;
}

.accordion-header button:not(.collapsed) {
    background: var(--minecraft-green);
    color: white;
}

.accordion-body {
    background: var(--bg-card);
    color: var(--text-secondary);
}

/* Carousel */
.carousel-control-prev,
.carousel-control-next {
    filter: invert(1);
}

.carousel-indicators [data-bs-target] {
    background-color: var(--minecraft-green);
}

/* Spinner */
.spinner-border {
    color: var(--minecraft-green);
}

.spinner-grow {
    color: var(--minecraft-green);
}

/* Toast */
.toast {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.toast-header {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-bottom: 1px solid rgba(34, 197, 94, 0.2);
}

/* Make sure all text is readable */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ensure proper text selection colors */
::selection {
    background: rgba(34, 197, 94, 0.3);
    color: var(--text-primary);
}

::-moz-selection {
    background: rgba(34, 197, 94, 0.3);
    color: var(--text-primary);
}

/* Fix any potential visibility issues */
.invisible { opacity: 0 !important; }
.visible { opacity: 1 !important; }

/* Override any remaining light theme classes */
.text-white { color: var(--text-primary) !important; }
.text-black { color: var(--text-primary) !important; }

/* Ensure cards with images look good */
.card img {
    border-radius: var(--radius-md);
}

.card-img-top:first-child {
    border-top-left-radius: var(--radius-xl);
    border-top-right-radius: var(--radius-xl);
}

/* Make sure all interactive elements have proper hover states */
a:hover,
.btn:hover,
.nav-link:hover {
    transition: all 0.2s ease;
}

/* Final check - any text that might be missed */
p, span, div, small, label, legend, figcaption {
    color: inherit;
}

/* Ensure form validation feedback is visible */
.valid-feedback {
    color: var(--success) !important;
}

.invalid-feedback {
    color: var(--danger) !important;
}

/* Make sure all content is accessible */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* =====================================
   🔧 POST DETAIL FIXES - FORCE DARK THEME
   ===================================== */

/* Force dark background for all post content areas */
.premium-post-container,
.premium-post-container *,
.premium-post-article,
.premium-post-article *,
.premium-post-content,
.premium-post-content *,
.content-wrapper,
.content-wrapper * {
    color: var(--text-primary) !important;
}

/* Ensure specific elements have proper dark styling */
.premium-post-article > * {
    background: var(--bg-card) !important;
}

.content-wrapper p,
.content-wrapper div,
.content-wrapper span,
.content-wrapper li,
.content-wrapper ul,
.content-wrapper ol {
    color: var(--text-secondary) !important;
    background: transparent !important;
}

.content-wrapper strong,
.content-wrapper b {
    color: var(--text-primary) !important;
}

/* Fix any remaining light backgrounds */
.bg-white,
.bg-light,
[style*="background-color: white"],
[style*="background-color: #fff"],
[style*="background-color: #ffffff"],
[style*="background: white"],
[style*="background: #fff"],
[style*="background: #ffffff"] {
    background-color: var(--bg-card) !important;
    background: var(--bg-card) !important;
}

/* Fix breadcrumb positioning */
.breadcrumb,
.premium-breadcrumb {
    margin-left: 1rem !important;
    padding-left: 2rem !important;
}

/* Container padding fix for breadcrumbs */
.premium-post-container .container {
    padding-left: 2rem;
    padding-right: 2rem;
}

@media (max-width: 768px) {
    .premium-post-container .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .breadcrumb,
    .premium-breadcrumb {
        margin-left: 0 !important;
        padding-left: 1rem !important;
    }
}

/* =====================================
   🔧 COMPREHENSIVE TEXT READABILITY FIXES
   ===================================== */

/* Ensure all widgets have proper text contrast */
.premium-widget,
.premium-widget *,
.widget-title,
.widget-content,
.card .card-body,
.card .card-body *,
.card-title,
.card-text {
    color: var(--text-primary) !important;
}

.premium-widget p,
.premium-widget .card-text,
.premium-widget small,
.premium-widget .text-muted {
    color: var(--text-secondary) !important;
}

/* Account info and similar sections */
.account-info,
.user-info,
.profile-info,
.profile-info *,
.account-section,
.account-section * {
    color: var(--text-primary) !important;
    background: var(--bg-card) !important;
}

/* Admin section text fixes */
.admin-section,
.admin-panel,
.admin-content,
.admin-section *,
.admin-panel *,
.admin-content * {
    background: var(--bg-card) !important;
    color: var(--text-primary) !important;
}

/* Force all small text to be readable */
small,
.small,
.text-sm,
.meta-item,
.card-meta {
    color: var(--text-muted) !important;
}

/* Ensure labels are visible */
label,
.form-label,
.control-label {
    color: var(--text-primary) !important;
    font-weight: 600;
}

/* Fix any remaining dark text on dark backgrounds */
.text-dark,
.dark-text,
[style*="color: #000"],
[style*="color: black"],
[style*="color: #333"],
[style*="color: #666"] {
    color: var(--text-primary) !important;
}

/* Admin tables and data tables */
.admin-table,
.data-table,
.table-responsive,
.table-responsive * {
    background: var(--bg-card) !important;
    color: var(--text-primary) !important;
}

/* Bootstrap overrides for better contrast */
.bg-white,
.bg-light,
.bg-gray-100,
.bg-gray-200 {
    background-color: var(--bg-card) !important;
    color: var(--text-primary) !important;
}

/* Sidebar and widget text fixes */
.sidebar,
.sidebar *,
.widget,
.widget *,
.premium-widget h5,
.premium-widget h6 {
    color: var(--text-primary) !important;
}

/* =====================================
   🔧 COMPREHENSIVE BUTTON AND VISIBILITY FIXES
   ===================================== */

/* Fix 1: Make ALL buttons visible and with proper styling */
.btn,
button,
input[type="button"],
input[type="submit"],
.table .btn,
a.btn,
.admin-btn,
.share-btn {
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-weight: 500;
    text-decoration: none;
}

/* Specific button background colors */
.btn-primary {
    background: var(--minecraft-green) !important;
    border-color: var(--minecraft-green) !important;
}

.btn-secondary,
.btn-outline-secondary {
    background: var(--bg-tertiary) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.btn-success {
    background: var(--success) !important;
    border-color: var(--success) !important;
}

.btn-danger {
    background: var(--danger) !important;
    border-color: var(--danger) !important;
}

.btn-warning {
    background: var(--warning) !important;
    border-color: var(--warning) !important;
}

.btn-info {
    background: var(--info) !important;
    border-color: var(--info) !important;
}

.btn-outline,
.btn-outline-primary {
    background: transparent !important;
    border: 2px solid var(--minecraft-blue) !important;
    color: var(--minecraft-blue) !important;
}

.btn-outline:hover,
.btn-outline-primary:hover {
    background: var(--minecraft-blue) !important;
    color: white !important;
}

/* All buttons should have white text */
.btn,
button,
input[type="button"],
input[type="submit"],
.table .btn,
a.btn,
.admin-btn,
.share-btn {
    color: white !important;
}

/* Hover states for buttons */
.btn:hover,
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.table .btn:hover,
a.btn:hover,
.admin-btn:hover,
.share-btn:hover {
    color: white !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(-2px);
}

/* Fix 2: Ensure all icons are visible */
.btn i,
button i,
.admin-btn i,
.share-btn i,
.bi {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Make icons in buttons white */
.btn i,
button i,
.admin-btn i,
.share-btn i {
    color: white !important;
}

/* Special case for outline buttons */
.btn-outline i,
.btn-outline-primary i {
    color: var(--minecraft-blue) !important;
}

.btn-outline:hover i,
.btn-outline-primary:hover i {
    color: white !important;
}

/* Fix 3: Make ALL text content white/readable */
h1, h2, h3, h4, h5, h6,
.card-title,
.widget-title,
.section-title,
.premium-post-title,
.discord-title,
.share-title,
.admin-title {
    color: white !important;
}

/* Fix 4: Make subtitle and paragraph text white */
p,
.card-text,
.section-subtitle,
.hero-subtitle,
.discord-description,
small,
.small,
.text-muted,
.meta-item,
.card-meta,
.form-text {
    color: white !important;
}

/* Fix 5: Remove gradient backgrounds - just solid dark */
.discord-widget,
.premium-widget.discord-widget,
.jobs-hero,
.category-card::before,
.hero-section::before {
    background: var(--bg-card) !important;
    background-image: none !important;
}

/* Remove body gradient background */
body {
    background: var(--bg-primary) !important;
    background-image: none !important;
}

body::before {
    display: none !important;
}

/* Remove card hover gradients */
.category-card::before,
.jobs-hero::before {
    display: none !important;
}

/* Fix 6: Ensure form labels are white */
label,
.form-label,
.control-label {
    color: white !important;
}

/* Fix 7: Breadcrumb text should be white */
.breadcrumb-item,
.breadcrumb-item a,
.premium-breadcrumb .breadcrumb-item,
.premium-breadcrumb .breadcrumb-item a {
    color: white !important;
}

/* Fix 8: Navigation text */
.navbar-nav .nav-link,
.navbar-brand {
    color: white !important;
}

/* Fix 9: Meta information should be white */
.meta-item,
.premium-post-meta .meta-item,
.card-meta {
    color: white !important;
}

.meta-item i {
    color: var(--minecraft-green) !important;
}

/* Fix 10: All content wrapper text */
.content-wrapper,
.content-wrapper *,
.premium-post-content,
.premium-post-content * {
    color: white !important;
}

.content-wrapper p,
.content-wrapper div,
.content-wrapper span,
.content-wrapper li {
    color: white !important;
}

/* Fix 11: Footer text */
.footer,
.footer *,
.footer h5,
.footer h6,
.footer-link {
    color: white !important;
}

/* =====================================
   🎯 SIDEBAR STYLING IMPROVEMENTS
   ===================================== */

/* Sidebar specific adjustments */
.premium-sidebar-section {
    gap: 1.5rem;
}

.premium-widget {
    margin-bottom: 1.5rem;
}

/* Related posts grid for sidebar (single column) */
.col-lg-4 .related-posts-grid {
    display: block;
}

.col-lg-4 .related-post-card {
    margin-bottom: 1rem;
}

/* Make sidebar sticky and responsive */
.sticky-top {
    position: sticky;
    top: 2rem;
}

@media (max-width: 991px) {
    .sticky-top {
        position: static;
    }
}

/* =====================================
   🎯 FORM SECTION STYLING
   ===================================== */

.form-section {
    background: var(--bg-card);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin-bottom: 2rem;
}

.form-section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(34, 197, 94, 0.2);
}

.form-section-icon {
    color: var(--minecraft-green);
    font-size: 1.5rem;
}

.form-section-title {
    color: white !important;
    font-weight: 700;
    margin: 0;
}

/* Form group styling */
.form-group {
    margin-bottom: 1.5rem;
}

/* Make sure all card titles are white */
.card-title,
.card-header h5,
.widget-header h5 {
    color: white !important;
}

/* Editor toolbar styling */
.editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: var(--radius-md);
}

.btn-ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.375rem 0.75rem;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* SEO tips styling */
.seo-tips .tip {
    color: white !important;
}

.seo-tips .tip strong {
    color: var(--minecraft-green) !important;
}

/* Account info sections */
.account-section,
.user-profile-section {
    background: var(--bg-card);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin-bottom: 2rem;
}

.account-section h3,
.user-profile-section h3 {
    color: white !important;
    margin-bottom: 1rem;
}

/* Actions section - fix invisible buttons */
.actions-section,
.admin-actions {
    background: var(--bg-card);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: var(--radius-xl);
    padding: 2rem;
}

.actions-section .btn,
.admin-actions .btn {
    background: var(--minecraft-green) !important;
    color: white !important;
    border: 1px solid var(--minecraft-green) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Make sure all sections have proper spacing */
.section,
.content-section {
    margin-bottom: 2rem;
}

/* Fix any remaining invisible elements */
* {
    opacity: 1 !important;
}

/* Special override for any elements that might have opacity: 0 */
.invisible-fix,
.hidden-element {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* =====================================
   🔧 NAVBAR GAP FIX AND ADDITIONAL BUTTON FIXES
   ===================================== */

/* Remove any gaps above navbar and fix positioning */
html, body {
    margin: 0 !important;
    padding: 0 !important;
}

.navbar {
    margin: 0 !important;
    padding: 0.5rem 0 !important;
}

.navbar-nav {
    margin: 0;
    padding: 0;
}

/* Fix navbar brand - make "Minecraft" green */
.navbar-brand {
    font-weight: 900;
    color: var(--text-primary) !important;
    font-size: 1.5rem;
}

.navbar-brand .text-success {
    color: var(--minecraft-green) !important;
}

/* Fix any remaining button issues */
button,
.btn,
input[type="button"],
input[type="submit"] {
    background-color: var(--bg-tertiary) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

button:hover,
.btn:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
    color: white !important;
}

/* Ensure specific action buttons are visible */
.actions-section button,
.admin-actions button {
    background: var(--minecraft-green) !important;
    color: white !important;
    border: 1px solid var(--minecraft-green) !important;
}

/* Make sure all text in buttons is white and visible */
.btn *,
button *,
input[type="button"] *,
input[type="submit"] * {
    color: white !important;
}

/* Fix dropdown and navbar buttons */
.dropdown-toggle,
.navbar-toggler {
    color: white !important;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

/* Search form styling */
.navbar .form-control {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 8px;
}

.navbar .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* =====================================
   🔧 FINAL FIXES FOR HERO AND NAVBAR
   ===================================== */

/* Ensure no gaps or weird positioning */
.container-fluid,
.container {
    padding-left: 15px;
    padding-right: 15px;
}

/* Make sure hero content is properly centered */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Fix any button that still doesn't show text */
.btn span,
.btn-primary span,
.btn-outline span {
    color: white !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ensure social media and admin buttons work */
.share-buttons .btn,
.admin-buttons .btn {
    color: white !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Fix dropdown borders completely */
.dropdown-toggle {
    border: none !important;
    outline: none !important;
}

.dropdown-toggle:focus {
    box-shadow: none !important;
}

/* Remove any remaining borders from navbar elements */
.navbar .nav-item,
.navbar .nav-link,
.navbar .dropdown-toggle {
    border: none !important;
    outline: none !important;
}

/* Fix navbar positioning issues */
body {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.navbar-expand-lg {
    position: sticky !important;
    top: 0 !important;
    z-index: 1030 !important;
}

/* Bootstrap Icons Font Family Fix */
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css');

/* Icon Font Family */
.bi {
    font-family: "bootstrap-icons" !important;
    font-style: normal !important;
    font-weight: normal !important;
    line-height: 1;
    vertical-align: -.125em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Clean icon definitions - no extra content */
.bi::after {
    content: none !important;
}

.bi {
    margin-right: 0.5rem;
}

/* Remove any extra content after icons */
.bi + *::before {
    content: none !important;
}

/* Ensure all button icons display properly */
.btn .bi {
    display: inline-block !important;
    font-size: 1rem;
    margin-right: 0.5rem;
    width: auto;
    height: auto;
}

/* Force icon visibility in all contexts */
.hero-cta .btn .bi,
.jobs-cta .btn .bi,
.navbar .bi {
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
    font-family: "bootstrap-icons" !important;
}

/* All button icons should be visible */
.btn .bi {
    color: white !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.navbar .form-control:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: #22c55e !important;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2) !important;
    color: white !important;
}

.navbar .btn-primary {
    background: #22c55e !important;
    border-color: #22c55e !important;
    border-radius: 8px;
}

.navbar .btn-primary:hover {
    background: #16a34a !important;
    border-color: #16a34a !important;
}