


/* static/css/style.css */
/* Premium Dark & Gold Theme */
:root {
    /* Primary Gold Colors */
    --primary-gold: #e0ca9e;
    --gold-accent: #948564;
    --gold-dark: #ce9b2e;
    --gold-rgb: 201, 161, 74;
    
    /* Dark Gray Base Colors */
    --dark-primary: #000000;
    --dark-secondary: #1A1915;
    --dark-tertiary: #2A2722;
    
    /* Main Theme Colors */
    --primary-color: var(--primary-gold);
    --primary-light: var(--gold-accent);
    --primary-dark: var(--gold-dark);
    --primary-rgb: var(--gold-rgb);
    --secondary-color: var(--dark-tertiary);
    --accent-color: var(--gold-accent);
    
    /* Text Colors */
    --text-color: #FFFFFF;
    --text-muted: #B0B0B0;
    --text-secondary: #D4D4D8;
    
    /* Background Colors */
    --bg-color: var(--dark-primary);
    --card-bg: var(--dark-secondary);
    --surface-bg: var(--dark-tertiary);
    
    /* UI Elements */
    --border-color: #441E14;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --shadow-color-light: rgba(201, 161, 74, 0.15);
    --navbar-bg: var(--dark-primary);
    --footer-bg: var(--dark-primary);
    --footer-text: var(--text-secondary);
    
    /* Gradients */
    --gold-gradient-hover: linear-gradient(135deg, var(--gold-accent), var(--primary-gold));
    --dark-gradient: linear-gradient(135deg, var(--dark-secondary), var(--dark-tertiary));
    --gold-light-gradient: linear-gradient(135deg, rgba(201, 161, 74, 0.1), rgba(255, 215, 0, 0.1));
    
    /* Glass Effect */
    --glass-bg: rgba(26, 26, 26, 0.95);
    --glass-border: rgba(201, 161, 74, 0.2);
    
    /* Form Elements */
    --input-bg: var(--dark-tertiary);
    --input-text: var(--text-color);
    --input-border: var(--border-color);
    --input-focus-border: var(--primary-gold);
    --input-focus-shadow: rgba(201, 161, 74, 0.25);
    
    /* Dropdown Elements */
    --dropdown-bg: var(--dark-secondary);
    --dropdown-text: var(--text-color);
    --dropdown-border: var(--border-color);
    --dropdown-text-hover: var(--gold-accent);
    --dropdown-item-hover-bg: rgba(201, 161, 74, 0.1);
    
    /* Animation */
    --transition-speed: 0.3s;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light theme adjustments (minimal since we want dark theme) */
[data-bs-theme="light"] {
    /* Keep similar but lighter for contrast when light theme is selected */
    --text-color: #1A1A1A;
    --text-muted: #666666;
    --text-secondary: #444444;
    --bg-color: #F5F5F5;
    --card-bg: #FFFFFF;
    --surface-bg: #F8F8F8;
    --border-color: #E0E0E0;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --navbar-bg: rgba(255, 255, 255, 0.95);
    --footer-bg: #F5F5F5;
    --footer-text: #444444;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --input-bg: #FFFFFF;
    --dropdown-bg: #FFFFFF;
    --dropdown-text: #1A1A1A;
    --dropdown-text-hover: var(--primary-gold);
}

/* Body and Base Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color var(--transition-speed) var(--transition-smooth), 
                color var(--transition-speed) var(--transition-smooth);
    line-height: 1.6;
    position: relative;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Premium background pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(201, 161, 74, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(201, 161, 74, 0.02) 0%, transparent 50%);
    z-index: -1;
}

/* Premium Navigation */
.navbar {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px var(--shadow-color);
    transition: all var(--transition-speed) var(--transition-smooth);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--gold-accent) !important;
    transition: color var(--transition-speed) var(--transition-smooth);
}

.navbar-brand:hover {
    color: var(--primary-gold) !important;
}

.navbar-nav .nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    transition: all var(--transition-speed) var(--transition-smooth);
    position: relative;
    padding: 0.5rem 1rem !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: all var(--transition-speed) var(--transition-smooth);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover {
    color: var(--gold-accent) !important;
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

/* Premium Card System */
.card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px var(--shadow-color);
    transition: all var(--transition-speed) var(--transition-smooth);
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
    opacity: 0;
    transition: opacity var(--transition-speed) var(--transition-smooth);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px var(--shadow-color), 0 2px 10px var(--shadow-color-light);
    border-color: rgba(201, 161, 74, 0.3);
}

.card:hover::before {
    opacity: 1;
}

.card-title {
    color: var(--text-color);
    font-weight: 700;
}

.card-text {
    color: var(--text-muted);
}

/* Category cards */
.category-card {
    height: 100%;
    border-top: 4px solid var(--primary-gold);
    overflow: visible;
    background: var(--dark-gradient);
}

.category-card i {
    color: var(--primary-gold);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transition: all var(--transition-speed) var(--transition-smooth);
}

.category-card:hover i {
    transform: scale(1.1);
    color: var(--gold-accent);
}

/* Premium Button System */
.btn {
    border-radius: 0.75rem;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all var(--transition-speed) var(--transition-smooth);
    text-transform: none;
    letter-spacing: 0.025em;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    border: none;
}

.btn-primary {
    background: var(--gold-gradient);
    color: #1A1A1A;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(201, 161, 74, 0.25);
    position: relative;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gold-gradient-hover);
    transition: all 0.6s var(--transition-smooth);
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 161, 74, 0.4);
    color: #1A1A1A;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:focus {
    box-shadow: 0 0 0 0.25rem rgba(201, 161, 74, 0.5);
}

.btn-outline-primary {
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
    background: transparent;
    font-weight: 600;
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: #1A1A1A;
    box-shadow: 0 4px 15px rgba(201, 161, 74, 0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--dark-gradient);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--dark-tertiary);
    border-color: var(--primary-gold);
    color: var(--text-color);
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--gold-gradient);
    color: #1A1A1A;
    font-weight: 700;
}

.btn-accent:hover {
    background: var(--gold-gradient-hover);
    color: #1A1A1A;
    transform: translateY(-2px);
}

/* Premium Dropdown System */
.dropdown-menu {
    min-width: 12rem;
    padding: 0.75rem 0;
    margin: 0.125rem 0;
    border-radius: 0.75rem;
    box-shadow: 0 10px 40px var(--shadow-color);
    border: 1px solid var(--border-color);
    background-color: var(--dropdown-bg);
    color: var(--dropdown-text);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.dropdown-item {
    padding: 0.625rem 1.25rem;
    font-weight: 500;
    transition: all var(--transition-speed) var(--transition-smooth);
    color: var(--dropdown-text);
    cursor: pointer;
    border: none;
}

.dropdown-item:hover, .dropdown-item:focus {
    background-color: var(--dropdown-item-hover-bg);
    color: var(--dropdown-text-hover);
    transform: translateX(4px);
}

.dropdown-item.active {
    background: var(--gold-gradient);
    color: #1A1A1A;
    font-weight: 600;
}

.dropdown-divider {
    border-top: 1px solid var(--border-color);
    margin: 0.5rem 0;
}

.dropdown-header {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Premium Footer */
footer {
    background-color: var(--footer-bg) !important;
    color: var(--footer-text) !important;
    transition: background-color var(--transition-speed) var(--transition-smooth), 
                color var(--transition-speed) var(--transition-smooth);
    padding: 4rem 0 2rem;
    margin-top: 6rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold-gradient);
}

footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30%;
    height: 30%;
    background: var(--gold-light-gradient);
    border-top-left-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

footer h5 {
    color: var(--text-color) !important;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

footer p {
    color: var(--text-muted) !important;
    line-height: 1.6;
}

footer a {
    color: var(--primary-gold) !important;
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-speed) var(--transition-smooth);
    position: relative;
}

footer a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: var(--gold-gradient);
    transition: width var(--transition-speed) var(--transition-smooth);
}

footer a:hover {
    color: var(--gold-accent) !important;
}

footer a:hover:after {
    width: 100%;
}

footer .social-links {
    display: flex;
    gap: 0.75rem;
}

footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--dark-gradient);
    color: var(--primary-gold) !important;
    transition: all var(--transition-speed) var(--transition-smooth);
    border: 1px solid var(--border-color);
}

footer .social-links a:hover {
    transform: translateY(-3px);
    background: var(--gold-gradient);
    color: #1A1A1A !important;
    box-shadow: 0 4px 15px rgba(201, 161, 74, 0.3);
}

footer .social-links a:hover:after {
    display: none;
}

/* Footer Subscription Form */
footer .d-flex {
    gap: 0.5rem;
}

footer .form-control {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    border-radius: 8px;
    transition: all var(--transition-speed) var(--transition-smooth);
}

footer .form-control:focus {
    background-color: var(--bg-primary);
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 0.25rem rgba(201, 161, 74, 0.25);
    color: var(--text-color);
}

footer .form-control::placeholder {
    color: var(--text-muted);
}

footer .btn-primary {
    background: var(--gold-gradient) !important;
    color: #1A1A1A !important;
    border: none !important;
    white-space: nowrap;
    padding: 0.375rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all var(--transition-speed) var(--transition-smooth);
    position: relative;
    z-index: 1;
}

footer .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gold-gradient-hover);
    transition: all 0.6s var(--transition-smooth);
    z-index: -1;
    border-radius: 8px;
}

footer .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(201, 161, 74, 0.3);
    color: #1A1A1A !important;
}

footer .btn-primary:hover::before {
    left: 0;
}

/* Responsive footer subscription */
@media (max-width: 768px) {
    footer .d-flex {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    footer .btn-primary {
        width: 100%;
    }
}

/* Premium Theme Switch */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.theme-switch-wrapper span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.theme-switch {
    display: inline-block;
    position: relative;
    width: 56px;
    height: 28px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-color);
    transition: all 0.4s var(--transition-smooth);
    border-radius: 28px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: var(--text-color);
    transition: all 0.4s var(--transition-smooth);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked + .slider {
    background: var(--gold-gradient);
    box-shadow: 0 0 10px rgba(201, 161, 74, 0.3);
}

input:checked + .slider:before {
    transform: translateX(28px);
    background-color: #1A1A1A;
    box-shadow: 0 2px 8px rgba(201, 161, 74, 0.4);
}

/* Premium Form Elements */
.form-control, .form-select, .input-group-text {
    border-radius: 0.5rem;
    padding: 0.875rem 1.125rem;
    font-size: 0.95rem;
    font-weight: 500;
    border: 2px solid var(--input-border);
    background-color: var(--input-bg);
    color: var(--input-text);
    transition: all var(--transition-speed) var(--transition-smooth);
}

.form-control:focus, .form-select:focus {
    border-color: var(--input-focus-border);
    box-shadow: 0 0 0 0.25rem var(--input-focus-shadow);
    background-color: var(--input-bg);
    color: var(--input-text);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.input-group-text {
    background: var(--gold-gradient);
    color: #1A1A1A;
    border: 2px solid var(--primary-gold);
    font-weight: 600;
}

.form-label {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

/* File Upload Styling */
input[type="file"] {
    color: var(--text-color);
}

input[type="file"]::file-selector-button {
    background: var(--gold-gradient);
    color: #1A1A1A;
    border: none;
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-speed) var(--transition-smooth);
    margin-right: 1rem;
}

input[type="file"]::file-selector-button:hover {
    background: var(--gold-gradient-hover);
    transform: translateY(-1px);
}

.custom-file-upload {
    background-color: var(--card-bg);
    border: 2px solid var(--border-color);
    color: var(--text-color);
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all var(--transition-speed) var(--transition-smooth);
    display: inline-block;
    font-weight: 600;
}

.custom-file-upload:hover {
    border-color: var(--primary-gold);
    background-color: var(--surface-bg);
    transform: translateY(-1px);
}

/* Premium Alert System */
.alert {
    background-color: var(--card-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary-gold);
}

.alert-info {
    background-color: rgba(201, 161, 74, 0.1);
    border-color: rgba(201, 161, 74, 0.3);
    border-left-color: var(--primary-gold);
    color: var(--text-color);
}

.alert-success {
    background-color: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
    border-left-color: #22c55e;
    color: var(--text-color);
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    border-left-color: #ef4444;
    color: var(--text-color);
}

.alert-warning {
    background-color: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
    border-left-color: #f59e0b;
    color: var(--text-color);
}

/* Badge System */
.badge {
    font-weight: 600;
    font-size: 0.75em;
    padding: 0.5em 0.75em;
    border-radius: 0.375rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.badge.bg-primary {
    background: var(--gold-gradient) !important;
    color: #1A1A1A !important;
}

.badge.bg-secondary {
    background-color: var(--dark-tertiary) !important;
    color: var(--text-color) !important;
    border: 1px solid var(--border-color);
}

.badge.bg-danger {
    background-color: #ef4444 !important;
    color: white !important;
}

.badge.bg-success {
    background-color: #22c55e !important;
    color: white !important;
}

.badge.bg-warning {
    background-color: #f59e0b !important;
    color: #1A1A1A !important;
}

/* Admin Notification Bell */
.nav-link i.fa-bell {
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.nav-link:hover i.fa-bell {
    color: var(--primary-gold);
}

#admin-notification-badge {
    font-size: 0.75rem;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    padding: 0;
    transform: translate(-50%, -50%);
    top: 25% !important;
    left: 75% !important;
}

/* Fancy Hero section */
.hero-section {
    background: var(--dark-gradient);
    color: var(--text-color);
    padding: 6rem 0;
    margin-bottom: 5rem;
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px var(--shadow-color);
    border: 1px solid var(--border-color);
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--gold-light-gradient);
    border-radius: 50%;
    opacity: 0.3;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background: var(--gold-light-gradient);
    border-radius: 50%;
    opacity: 0.2;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23C9A14A' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.8;
}

.hero-section h1 {
    font-weight: 800;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.hero-section h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gold-gradient);
    border-radius: 2px;
}

/* Hero background graphic */
.hero-background-graphic {
    height: 500px;
    background-image: url('../img/bg.gif');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0 10px 20px var(--shadow-color));
    transition: transform 0.5s ease;
    position: relative;
}

.hero-background-graphic:hover {
    transform: scale(1.02);
}

/* Fallback for missing hero graphic */
.hero-background-graphic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://via.placeholder.com/600x400/7b2cbf/ffffff?text=Minecraft+Bedrock+Graphics');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

/* Show fallback if main image fails to load */
.hero-background-graphic:not([style*="background-image"]):before,
.hero-background-graphic[style*="background-image: none"]:before {
    opacity: 1;
}

/* Premium Section headings */
.section-heading {
    position: relative;
    display: inline-block;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--gold-accent);
    padding-bottom: 10px;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gold-gradient);
    border-radius: 2px;
}

/* Premium Typography System */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: var(--text-color);
    letter-spacing: -0.025em;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

h3 {
    font-size: 2rem;
    font-weight: 600;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
}

h5 {
    font-size: 1.25rem;
    font-weight: 600;
}

h6 {
    font-size: 1rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--text-color);
    font-weight: 400;
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-secondary {
    color: var(--text-secondary) !important;
}

.text-primary {
    color: var(--primary-gold) !important;
}

.text-gradient {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    font-weight: 800;
}

/* Lead text */
.lead {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Small text */
.small, small {
    font-size: 0.875em;
    color: var(--text-muted);
}

/* Profile Edit Form Styling */
.profile-edit-form {
    background-color: var(--card-bg);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.profile-edit-form h1 {
    color: var(--text-color);
    margin-bottom: 2rem;
    font-weight: 800;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.profile-edit-form label {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.profile-edit-form .form-control {
    background-color: var(--input-bg);
    color: var(--input-text);
    border: 1px solid var(--border-color);
}

.profile-edit-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(184, 134, 11, 0.25);
}

.custom-file-upload {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 0.6rem 1.2rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-file-upload:hover {
    background-color: var(--primary-light);
    color: white;
}

/* Form file upload customization */
input[type="file"]::file-selector-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

input[type="file"]::file-selector-button:hover {
    background-color: var(--primary-dark);
}

/* Style for file input in dark mode */
[data-bs-theme="dark"] input[type="file"] {
    color: var(--text-color);
}

/* Card content colors in dark mode */
[data-bs-theme="dark"] .card-title,
[data-bs-theme="dark"] .card-text {
    color: var(--text-color);
}

/* Modal dialogs in dark mode */
[data-bs-theme="dark"] .modal-content {
    background-color: var(--card-bg);
    color: var(--text-color);
    border-color: var(--border-color);
}

[data-bs-theme="dark"] .modal-header,
[data-bs-theme="dark"] .modal-footer {
    border-color: var(--border-color);
}

/* Table styling for dark mode */
[data-bs-theme="dark"] .table {
    color: var(--text-color);
    border-color: var(--border-color);
}

[data-bs-theme="dark"] .table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: rgba(184, 134, 11, 0.05);
    color: var(--text-color);
}

[data-bs-theme="dark"] .table-hover tbody tr:hover {
    background-color: rgba(184, 134, 11, 0.1);
    color: var(--text-color);
}

/* Pagination styling for dark mode */
[data-bs-theme="dark"] .pagination .page-link {
    background-color: var(--card-bg);
    border-color: var(--border-color);
    color: var(--text-color);
}

[data-bs-theme="dark"] .pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Ensure buttons have proper contrast */
[data-bs-theme="dark"] .btn-outline-secondary {
    color: var(--text-color);
    border-color: var(--border-color);
}

[data-bs-theme="dark"] .btn-outline-secondary:hover {
    background-color: var(--border-color);
    color: var(--text-color);
}

/* Fix for form select in dark mode */
[data-bs-theme="dark"] select.form-select {
    background-color: var(--input-bg);
    color: var(--input-text);
    border-color: var(--border-color);
}

[data-bs-theme="dark"] select.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(184, 134, 11, 0.25);
}

[data-bs-theme="dark"] select.form-select option {
    background-color: var(--input-bg);
    color: var(--input-text);
}

/* Better contrast for badges in dark mode */
[data-bs-theme="dark"] .badge.bg-secondary {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: var(--text-color);
}

/* Enhance code blocks in dark mode */
[data-bs-theme="dark"] pre,
[data-bs-theme="dark"] code {
    background-color: #2d2d2d;
    color: #f8f8f2;
    border-color: var(--border-color);
}

/* Fix dark mode text in various contexts */
[data-bs-theme="dark"] .navbar-nav .nav-link {
    color: var(--text-color);
}

[data-bs-theme="dark"] .navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Add a subtle texture to dark mode backgrounds */
[data-bs-theme="dark"] body::before {
    background-image: 
        radial-gradient(var(--primary-dark) 1px, transparent 1px),
        radial-gradient(var(--primary-dark) 1px, transparent 1px);
    opacity: 0.03;
}

/* Improve dark mode alerts */
[data-bs-theme="dark"] .alert-info {
    color: #e6e6e6;
    background-color: rgba(184, 134, 11, 0.15);
    border-color: rgba(184, 134, 11, 0.4);
}

[data-bs-theme="dark"] .alert-success {
    color: #e6e6e6;
    background-color: rgba(0, 229, 207, 0.15);
    border-color: rgba(0, 229, 207, 0.4);
}

[data-bs-theme="dark"] .alert-warning {
    color: #e6e6e6;
    background-color: rgba(255, 187, 0, 0.15);
    border-color: rgba(255, 187, 0, 0.4);
}

[data-bs-theme="dark"] .alert-danger {
    color: #e6e6e6;
    background-color: rgba(255, 92, 141, 0.15);
    border-color: rgba(255, 92, 141, 0.4);
}

/* Better card hover effects in dark mode */
[data-bs-theme="dark"] .card:hover {
    box-shadow: 0 15px 35px rgba(184, 134, 11, 0.25);
}

/* ====== Homepage Styles ====== */

/* Premium Hero Banner */
.hero-banner {
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
    background: var(--bg-color);
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: var(--gold-light-gradient);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 20% 100%);
    opacity: 0.3;
    z-index: 0;
}

.hero-banner .container {
    position: relative;
    z-index: 1;
}

.hero-banner h1 .text-gradient {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}

.hero-banner h1 .text-gradient::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 6px;
    background: var(--gold-gradient);
    border-radius: 3px;
}

.search-container {
    position: relative;
}

.search-form .form-control {
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: 2px solid var(--border-color);
    box-shadow: 0 5px 20px var(--shadow-color);
    font-size: 1rem;
    background-color: var(--input-bg);
    color: var(--input-text);
    transition: all var(--transition-speed) var(--transition-smooth);
}

.search-form .form-control:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 0.25rem var(--input-focus-shadow), 0 5px 20px var(--shadow-color);
}

.search-form .btn {
    border-radius: 0 50px 50px 0;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    background: var(--gold-gradient);
    border: none;
    color: #1A1A1A;
    font-weight: 700;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: 0 20px 40px var(--shadow-color);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(0deg);
}

/* Section Titles */
.section-title {
    position: relative;
    margin-bottom: 2.5rem;
}

.section-title h2 {
    font-weight: 700;
    margin-bottom: 0.2rem;
    position: relative;
    display: inline-block;
    color: white;
}

.section-title h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 4px;
    background: var(--gold-gradient);
    border-radius: 2px;
}

.section-title p {
    color: #aaa;
    font-size: 1rem;
    margin: 0;
}

[data-bs-theme="light"] .section-title h2 {
    color: #333;
}

[data-bs-theme="light"] .section-title p {
    color: #666;
}

/* Premium Featured Card */
.featured-card {
    border-radius: 20px;
    overflow: hidden;
    background-color: var(--card-bg);
    box-shadow: 0 8px 30px var(--shadow-color);
    transition: transform var(--transition-speed) var(--transition-smooth), box-shadow var(--transition-speed) var(--transition-smooth);
    margin-bottom: 2rem;
    position: relative;
    border: 1px solid var(--border-color);
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.featured-image-container {
    position: relative;
    overflow: hidden;
    max-height: 320px;
}

.featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-card:hover .featured-img {
    transform: scale(1.05);
}

.featured-badges {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.featured-badge, .download-badge {
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 12px var(--shadow-color);
    display: inline-flex;
    align-items: center;
}

.featured-badge {
    background: var(--gold-gradient);
    color: #1A1A1A;
}

.download-badge {
    background: rgba(42, 42, 42, 0.9);
    color: var(--text-color);
    backdrop-filter: blur(5px);
}

.featured-title {
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 2rem;
    color: white;
}

.featured-desc {
    color: #aaa;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.category-pill {
    display: inline-block;
    padding: 6px 16px;
    background: var(--gold-light-gradient);
    color: var(--gold-accent);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: transform var(--transition-speed) var(--transition-smooth);
    border: 1px solid rgba(201, 161, 74, 0.2);
}

.featured-card:hover .category-pill {
    transform: translateY(-5px);
}

.featured-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.featured-actions .btn {
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.featured-actions .btn-primary {
    background: var(--gold-gradient);
    border: none;
    color: white;
}

.featured-actions .btn-outline-primary {
    border: 1px solid rgba(201, 161, 74, 0.5);
    color: var(--primary-gold);
    background: transparent;
}

.featured-actions .btn-outline-primary:hover {
    background: rgba(201, 161, 74, 0.1);
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

.featured-content {
    background-color: #1e1e1e;
    padding: 2rem !important;
}

/* Dark mode adjustments aren't needed since the card is already dark */
[data-bs-theme="dark"] .featured-card {
    background-color: #1e1e1e;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

[data-bs-theme="dark"] .download-badge {
    background: rgba(30, 30, 30, 0.8);
    color: white;
}

[data-bs-theme="dark"] .category-pill {
    background: rgba(201, 161, 74, 0.2);
    color: var(--primary-gold);
}

@media (max-width: 767.98px) {
    .featured-img {
        border-radius: 20px 20px 0 0 !important;
        height: 250px !important;
    }
    
    .featured-title {
        font-size: 1.5rem;
    }
    
    .featured-actions {
        flex-direction: column;
    }
    
    .featured-actions .btn {
        width: 100%;
        margin-left: 0 !important;
        margin-top: 0.5rem;
    }
}

/* Author elements */
.author-info {
    margin-bottom: 1.5rem;
    color: #aaa;
    display: flex;
    align-items: center;
}

.author-info .author-avatar {
    margin-right: 8px;
}

.author-info a {
    color: var(--primary-gold);
    text-decoration: none;
}

.author-info a:hover {
    text-decoration: underline;
}

.avatar-sm {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-md {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-xs {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-gradient);
    color: white;
}

/* Premium Category Cards */
.categories-section {
    background-color: var(--dark-secondary);
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.categories-section .category-card {
    position: relative;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    background-color: var(--card-bg);
    box-shadow: 0 8px 24px var(--shadow-color);
    transition: all var(--transition-speed) var(--transition-smooth);
    height: 100%;
    z-index: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid var(--border-color);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gold-light-gradient);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s var(--transition-smooth);
    border-radius: 16px;
}

.categories-section .category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
    border-color: rgba(201, 161, 74, 0.3);
}

.categories-section .category-card:hover .category-overlay {
    opacity: 1;
}

.category-icon {
    margin-bottom: 1.5rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(201, 161, 74, 0.15);
    color: var(--primary-gold);
    font-size: 2.2rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.category-content {
    z-index: 2;
    width: 100%;
}

.categories-section .category-card:hover .category-icon {
    transform: translateY(-8px);
    background: var(--gold-gradient);
    color: white;
    box-shadow: 0 10px 20px rgba(201, 161, 74, 0.3);
}

.category-name {
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: white;
    transition: color 0.3s ease;
    font-size: 1.3rem;
}

.categories-section .category-card:hover .category-name {
    color: var(--primary-gold);
}

.category-desc {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.categories-section .category-card:hover .category-desc {
    color: #ccc;
}

.category-arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 161, 74, 0.15);
    color: var(--primary-gold);
    border-radius: 50%;
    transition: all 0.3s ease;
    margin: 0 auto;
    transform: translateY(10px);
    opacity: 0;
}

.categories-section .category-card:hover .category-arrow {
    opacity: 1;
    transform: translateY(0);
    background: var(--gold-gradient);
    color: white;
}

/* Background colors for different theme modes */
.bg-light-subtle {
    background-color: #191919;
    position: relative;
}

[data-bs-theme="dark"] .bg-light-subtle {
    background-color: #191919;
}

[data-bs-theme="light"] .bg-light-subtle {
    background-color: #f8f9fa;
}

[data-bs-theme="light"] .categories-section {
    background-color: #f8f9fa;
}

[data-bs-theme="light"] .categories-section .category-card {
    background-color: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

[data-bs-theme="light"] .category-name {
    color: #333;
}

[data-bs-theme="light"] .category-desc {
    color: #666;
}

@media (max-width: 767.98px) {
    .category-card {
        padding: 1.5rem 1rem;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
}

/* Premium CTA Section */
.cta-section {
    padding: 3rem 0;
}

.cta-container {
    border-radius: 16px;
    background: var(--dark-gradient);
    color: var(--text-color);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px var(--shadow-color);
    border: 1px solid var(--border-color);
}

.cta-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23C9A14A' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.cta-container .btn-primary {
    background: var(--gold-gradient);
    color: #1A1A1A;
    box-shadow: 0 4px 15px rgba(201, 161, 74, 0.3);
    font-weight: 700;
}

.cta-container .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 161, 74, 0.5);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-banner {
        padding: 4rem 0 3rem;
    }
    
    .hero-banner::before {
        width: 100%;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        opacity: 0.5;
    }
    
    .hero-image {
        margin-top: 3rem;
    }
    
    .featured-img {
        border-radius: 16px 16px 0 0;
    }
}

@media (max-width: 767.98px) {
    .hero-banner {
        padding: 2rem 0;
    }
    
    .hero-banner h1 {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 1.75rem;
    }
    
    .featured-card .row {
        flex-direction: column;
    }
    
    .featured-content {
        padding: 1.5rem !important;
    }
    
    .featured-img {
        border-radius: 16px 16px 0 0 !important;
        height: 250px !important;
    }
    
    .featured-title {
        font-size: 1.5rem;
    }
    
    .featured-actions {
        flex-direction: column;
    }
    
    .featured-actions .btn {
        width: 100%;
        margin-left: 0 !important;
        margin-top: 0.5rem;
    }
    
    .category-card {
        padding: 1.5rem 1rem;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
}

@media (max-width: 575.98px) {
    .hero-banner h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .card-img-container {
        height: 180px;
    }
    
    .card-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Dark mode specific adjustments */
[data-bs-theme="dark"] .hero-banner::before {
    background: linear-gradient(135deg, rgba(201, 161, 74, 0.2), rgba(184, 134, 11, 0.2));
}

[data-bs-theme="dark"] .featured-card,
[data-bs-theme="dark"] .pack-card,
[data-bs-theme="dark"] .categories-section .category-card {
    background-color: var(--card-bg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

[data-bs-theme="dark"] .download-badge {
    background: rgba(40, 40, 40, 0.9);
    color: var(--text-color);
}

[data-bs-theme="dark"] .category-pill {
    background: linear-gradient(135deg, rgba(201, 161, 74, 0.2), rgba(184, 134, 11, 0.2));
    color: var(--primary-light);
}

[data-bs-theme="dark"] .category-overlay {
    background: linear-gradient(135deg, rgba(201, 161, 74, 0.2), rgba(184, 134, 11, 0.2));
}

[data-bs-theme="dark"] .card-meta {
    border-top-color: #333;
}

[data-bs-theme="dark"] .search-form .form-control {
    background-color: var(--input-bg);
    border-color: #333;
    color: var(--input-text);
}

/* Animation Effects */
.content-card, .category-card, .featured-card, .section-title {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.content-card.visible, .category-card.visible, .featured-card.visible, .section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    transition-delay: 0.1s;
}

.featured-card {
    transition-delay: 0.2s;
}

.content-card:nth-child(1), .category-card:nth-child(1) {
    transition-delay: 0.1s;
}

.content-card:nth-child(2), .category-card:nth-child(2) {
    transition-delay: 0.2s;
}

.content-card:nth-child(3), .category-card:nth-child(3) {
    transition-delay: 0.3s;
}

.content-card:nth-child(4), .category-card:nth-child(4) {
    transition-delay: 0.4s;
}

.content-card:nth-child(5), .category-card:nth-child(5) {
    transition-delay: 0.5s;
}

.content-card:nth-child(6), .category-card:nth-child(6) {
    transition-delay: 0.6s;
}

/* Redesigned Pack Cards */
.pack-card {
    position: relative;
    background-color: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow-color);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    will-change: transform;
}

.pack-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.pack-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-color);
}

.pack-card:hover::before {
    opacity: 1;
}

.pack-card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.pack-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pack-card:hover .pack-card-image img {
    transform: scale(1.08);
}

.pack-category {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.new-badge, .hot-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.new-badge {
    background-color: #10b981;
    color: white;
}

.hot-badge {
    background-color: #ef4444;
    color: white;
}

.pack-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
}

.pack-title {
    margin: 0 0 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.4;
}

.pack-author {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.author-avatar, .author-avatar-placeholder {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 8px;
}

.author-avatar {
    object-fit: cover;
}

.author-avatar-placeholder {
    background: var(--gold-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.pack-desc {
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    flex-grow: 1;
}

.pack-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.pack-stat {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.pack-stat i {
    margin-right: 5px;
    color: var(--primary-color);
}

.pack-actions {
    display: flex;
    gap: 5px;
}

.btn-details {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gold-light-gradient);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 3;
    position: relative;
}

.pack-card:hover .btn-details {
    background: var(--gold-gradient);
    color: white;
    transform: translateX(3px);
}

/* Dark mode adjustments for pack cards */
[data-bs-theme="dark"] .pack-category {
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

[data-bs-theme="dark"] .pack-card {
    background-color: #1e1e1e;
}

[data-bs-theme="dark"] .pack-stats {
    border-top-color: #333;
}

/* Animation Effects for Pack Cards */
.pack-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow 0.3s ease, background-color var(--transition-speed);
}

.pack-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.pack-card:nth-child(1) {
    transition-delay: 0.1s;
}

.pack-card:nth-child(2) {
    transition-delay: 0.2s;
}

.pack-card:nth-child(3) {
    transition-delay: 0.3s;
}

.pack-card:nth-child(4) {
    transition-delay: 0.4s;
}

.pack-card:nth-child(5) {
    transition-delay: 0.5s;
}

.pack-card:nth-child(6) {
    transition-delay: 0.6s;
}

/* Category Page Styles */
.category-header {
    position: relative;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.category-header h1 {
    font-weight: 800;
    color: var(--text-color);
}

.category-header h1 i {
    color: var(--primary-color);
    opacity: 0.9;
}

.category-header .search-form .form-control {
    border-radius: 8px 0 0 8px;
    padding: 0.7rem 1.2rem;
    border: 1px solid var(--border-color);
    background-color: var(--input-bg);
    color: var(--input-text);
    box-shadow: 0 4px 10px var(--shadow-color);
}

.category-header .search-form .btn {
    border-radius: 0 8px 8px 0;
}

.search-results-header {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.search-results-header h2 {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.search-results-header p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.no-results {
    padding: 3rem 0;
}

.no-results i {
    color: var(--text-muted);
    opacity: 0.7;
    margin-bottom: 1rem;
}

.no-results h3 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.no-results p {
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 1.5rem;
}

/* Dark mode adjustments for category pages */
[data-bs-theme="dark"] .category-header {
    border-bottom-color: #333;
}

[data-bs-theme="dark"] .search-results-header {
    background-color: #1e1e1e;
    border-left-color: var(--primary-color);
}

/* Fix for hero-image on index page */
.hero-banner .hero-image {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.hero-banner .hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px var(--shadow-color));
}

/* Fix for pack-card styling */
.pack-card {
    position: relative;
    background-color: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow-color);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    will-change: transform;
}

.pack-card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.pack-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pack-card .stretched-link {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
    pointer-events: auto;
    content: "";
    background-color: rgba(0,0,0,0);
}

/* Ensure buttons work within cards with stretched links */
.pack-actions .btn-details {
    position: relative;
    z-index: 2;
}

/* Fix for navbar dropdown on mobile */
@media (max-width: 991.98px) {
    .navbar-collapse {
        max-height: 80vh;
        overflow-y: auto;
        padding: 1rem;
        background-color: var(--card-bg);
        border-radius: 0 0 1rem 1rem;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1030;
    }
    
    .dropdown-menu {
        border: none;
        background-color: rgba(var(--primary-rgb), 0.05);
        box-shadow: none;
        margin-left: 1rem;
        position: static !important;
        transform: none !important;
        float: none;
        width: auto;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
    
    [data-bs-theme="dark"] .dropdown-menu {
        background-color: rgba(255,255,255,0.05);
    }
    
    .navbar-nav .dropdown-toggle::after {
        float: right;
        margin-top: 10px;
    }
    
    .navbar-nav .nav-item {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Markdown Content Styling */
.markdown-content {
    line-height: 1.6;
}

.markdown-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 0.5rem 0;
    display: block;
}

.markdown-content h1, 
.markdown-content h2, 
.markdown-content h3, 
.markdown-content h4, 
.markdown-content h5, 
.markdown-content h6 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.markdown-content ul, 
.markdown-content ol {
    margin-bottom: 1.2rem;
    padding-left: 2rem;
}

.markdown-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 0.5rem 1rem;
    margin: 1rem 0;
    background-color: rgba(var(--primary-rgb), 0.05);
    border-radius: 0.25rem;
}

.markdown-content code {
    background-color: rgba(var(--primary-rgb), 0.1);
    border-radius: 3px;
    padding: 0.2rem 0.4rem;
}

[data-bs-theme="dark"] .markdown-content blockquote {
    background-color: rgba(201, 161, 74, 0.05);
}

[data-bs-theme="dark"] .markdown-content code {
    background-color: rgba(201, 161, 74, 0.1);
    color: var(--text-color);
}

.img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(var(--primary-rgb), 0.1);
    border: 1px dashed var(--border-color);
    height: 200px;
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 1rem;
}

.img-placeholder i {
    margin-right: 0.5rem;
    font-size: 1.5rem;
}

/* New modern styles for minimalist design */
.minimalist-card {
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background-color: var(--card-bg);
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.minimalist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: var(--primary-light);
}

/* Modern navbar */
.navbar-modern {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--border-color);
}

.navbar-modern .navbar-brand {
    font-weight: 700;
    letter-spacing: -0.5px;
}

.navbar-modern .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.navbar-modern .nav-link:hover {
    background-color: rgba(var(--primary-rgb), 0.05);
    color: var(--primary-color);
}

/* Modern hero section */
.hero-minimal {
    padding: 5rem 0;
    background-color: transparent;
    position: relative;
    overflow: hidden;
}

.hero-minimal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gold-light-gradient);
    clip-path: polygon(0 0, 100% 0, 100% 75%, 0% 100%);
    z-index: -1;
}

.hero-minimal .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-minimal .lead {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 90%;
}

/* Search form */
.search-minimal {
    width: 100%;
    max-width: 600px;
    position: relative;
    margin-bottom: 2rem;
}

.search-minimal .form-control {
    height: 56px;
    padding-left: 1.5rem;
    padding-right: 4rem;
    border-radius: 28px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-minimal .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}

.search-minimal .btn {
    position: absolute;
    right: 8px;
    top: 8px;
    bottom: 8px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-gradient);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.search-minimal .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.2);
}

/* Featured section */
.featured-minimal {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    margin-bottom: 3rem;
}

.featured-image {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-minimal:hover .featured-image img {
    transform: scale(1.05);
}

.featured-minimal .featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
}

.featured-minimal .category-badge {
    display: inline-block;
    padding: 5px 12px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.featured-minimal .featured-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.featured-minimal .featured-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.featured-minimal .featured-meta i {
    margin-right: 0.25rem;
}

/* Pack cards - redesigned */
.pack-card-minimal {
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pack-card-minimal:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-light);
}

.pack-card-minimal .pack-image {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.pack-card-minimal .pack-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pack-card-minimal:hover .pack-image img {
    transform: scale(1.05);
}

.pack-card-minimal .pack-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-block;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 2;
}

.pack-card-minimal .new-badge {
    background-color: var(--accent-color);
    color: white;
}

.pack-card-minimal .hot-badge {
    background-color: #ff9500;
    color: white;
}

.pack-card-minimal .category-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.pack-card-minimal .pack-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pack-card-minimal .pack-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.pack-card-minimal .pack-author {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.pack-card-minimal .author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 0.5rem;
    object-fit: cover;
}

.pack-card-minimal .pack-description {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.pack-card-minimal .pack-rating {
    margin-bottom: 0.75rem;
}

.pack-card-minimal .rating-stars {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    font-size: 0.85rem;
}

.pack-card-minimal .rating-stars i {
    color: #ffc107;
}

.pack-card-minimal .rating-stars .far {
    color: #e0e0e0;
}

.pack-card-minimal .pack-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.pack-card-minimal .downloads {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.pack-card-minimal .downloads i {
    margin-right: 0.25rem;
    color: var(--primary-color);
}

.pack-card-minimal .view-link {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.pack-card-minimal .view-link i {
    margin-left: 0.25rem;
    transition: transform 0.2s ease;
}

.pack-card-minimal .view-link:hover i {
    transform: translateX(3px);
}

/* Pack details redesign */
.pack-header {
    padding: 3rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.pack-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gold-light-gradient);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
    z-index: -1;
}

.pack-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 2rem;
}

.pack-header .breadcrumb-item a {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
}

.pack-header .breadcrumb-item.active {
    color: var(--text-muted);
}

.pack-preview {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.pack-preview img {
    width: 100%;
    height: auto;
    display: block;
}

.pack-preview .pack-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 0.5rem;
}

.pack-preview .badge {
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pack-info-box {
    background-color: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
    padding: 2rem;
    height: 100%;
}

.pack-category-tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.pack-title-main {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.pack-version-tag {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.pack-creator {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.pack-creator .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-right: 1rem;
}

.pack-creator .meta {
    flex: 1;
}

.pack-creator .label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.pack-creator .name {
    font-weight: 600;
    font-size: 1rem;
}

.pack-creator .name a {
    color: var(--primary-color);
    text-decoration: none;
}

.pack-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.pack-stat-item {
    text-align: center;
    padding: 1rem;
    border-radius: 10px;
    background-color: rgba(var(--primary-rgb), 0.03);
}

.pack-stat-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.pack-stat-item .value {
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.pack-stat-item .label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.pack-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tabs-minimal {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.tabs-minimal .nav-link {
    color: var(--text-muted);
    font-weight: 500;
    padding: 1rem 1.5rem;
    border: none;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
    margin-bottom: -1px;
}

.tabs-minimal .nav-link:hover {
    color: var(--primary-color);
}

.tabs-minimal .nav-link.active {
    color: var(--primary-color);
    background-color: transparent;
    border-bottom-color: var(--primary-color);
}

.tab-content-minimal {
    padding: 2rem 0;
}

/* Category cards - redesigned */
.category-card-minimal {
    border-radius: 12px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    padding: 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
}

.category-card-minimal:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-light);
}

.category-card-minimal .icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(var(--primary-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    transition: all 0.3s ease;
}

.category-card-minimal .icon i {
    font-size: 1.75rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.category-card-minimal:hover .icon {
    background: var(--gold-gradient);
}

.category-card-minimal:hover .icon i {
    color: white;
}

.category-card-minimal .title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.category-card-minimal .description {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-minimal .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-background-graphic {
        height: 400px;
    }
    
    .featured-image {
        height: 250px;
    }
    
    .featured-minimal .featured-title {
        font-size: 1.5rem;
    }
    
    .pack-title-main {
        font-size: 1.75rem;
    }
    
    .pack-preview {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .hero-minimal .hero-title {
        font-size: 2rem;
    }
    
    .hero-minimal .lead {
        font-size: 1rem;
    }
    
    .featured-image {
        height: 200px;
    }
    
    .featured-minimal .featured-overlay {
        padding: 1.5rem;
    }
    
    .featured-minimal .featured-title {
        font-size: 1.25rem;
    }
    
    .pack-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tabs-minimal .nav-link {
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 575.98px) {
    .hero-minimal {
        padding: 3rem 0;
    }
    
    .hero-minimal .hero-title {
        font-size: 1.75rem;
    }
    
    .search-minimal .form-control {
        height: 50px;
    }
    
    .pack-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Dark mode specific adjustments for new components */
[data-bs-theme="dark"] .minimalist-card {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

[data-bs-theme="dark"] .navbar-modern {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

[data-bs-theme="dark"] .pack-card-minimal {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

[data-bs-theme="dark"] .pack-card-minimal:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

[data-bs-theme="dark"] .pack-info-box {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

[data-bs-theme="dark"] .pack-stat-item {
    background-color: rgba(var(--primary-rgb), 0.05);
}

/* Badge styles for author and admin */
.badge-author {
    background-color: var(--primary-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
    margin-left: 0.5rem;
    display: inline-block;
    vertical-align: middle;
}

.badge-admin {
    background: linear-gradient(135deg, #B8860B, #DAA520);
    color: #1A1A1A;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
    margin-left: 0.5rem;
    display: inline-block;
    vertical-align: middle;
    box-shadow: 0 2px 5px rgba(184, 134, 11, 0.3);
}

/* Dark mode adjustments */
[data-bs-theme="dark"] .badge-admin {
    box-shadow: 0 2px 5px rgba(184, 134, 11, 0.5);
}

/* Admin and Author badges */
.badge-admin {
    display: inline-block;
    padding: 0.25em 0.5em;
    font-size: 0.75em;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    background: linear-gradient(135deg, #B8860B, #DAA520);
    color: #1A1A1A;
    margin-left: 0.25rem;
}

.badge-author {
    display: inline-block;
    padding: 0.25em 0.5em;
    font-size: 0.75em;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    background-color: #28a745;
    color: white;
    margin-left: 0.25rem;
}

:not(pre)>code[class*=language-], pre[class*=language-] {
    background: rgba(var(--primary-rgb), 0.05) !important; 
}


.list-group-item.active {
    z-index: 2;
    color: var(--text-muted) !important;
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-color) !important;
}


.screenshot-modal-dialog {
    max-width: 90vw !important;
    width: 90vw !important;
}

.screenshot-modal-body {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 60vh !important;
}

.screenshot-modal-image {
    max-width: 100% !important;
    max-height: 70vh !important;
    object-fit: contain !important;
}

/* ======================================== */
/* ADMIN DASHBOARD & PAGES STYLING */
/* ======================================== */

/* Enhanced Gold Colors - Less Yellowish */
:root {
    --admin-gold: #B8860B; /* Darker, more premium gold */
    --admin-gold-light: #DAA520; /* Goldenrod instead of yellow */
    --admin-gold-hover: #CD853F; /* Peru gold for hover states */
    --admin-gold-rgb: 184, 134, 11;
}

/* Admin Dashboard Analytics Fix */
.analytics-card {
    background-color: var(--card-bg) !important;
    border: 1px solid var(--border-color);
    color: var(--text-color) !important;
}

.analytics-card .card-title,
.analytics-card h1, .analytics-card h2, .analytics-card h3, 
.analytics-card h4, .analytics-card h5, .analytics-card h6 {
    color: var(--text-color) !important;
}

.analytics-card .card-text,
.analytics-card p, .analytics-card span {
    color: var(--text-muted) !important;
}

.stat-card {
    background-color: var(--card-bg) !important;
    border: 1px solid var(--border-color);
    color: var(--text-color) !important;
}

.stat-card .stat-number, .stat-card .display-4 {
    color: var(--admin-gold) !important;
    font-weight: 700;
}

.stat-icon {
    color: var(--admin-gold) !important;
}

/* Admin Page Container */
.admin-container {
    background-color: var(--bg-color);
    min-height: 100vh;
    padding: 2rem 0;
}

/* Back to Dashboard Button */
.admin-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.btn-back-dashboard {
    background: linear-gradient(135deg, var(--admin-gold), var(--admin-gold-light));
    color: #1A1A1A;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.25);
}

.btn-back-dashboard:hover {
    background: linear-gradient(135deg, var(--admin-gold-light), var(--admin-gold));
    color: #1A1A1A;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184, 134, 11, 0.4);
}

/* Enhanced Admin Table Styling */
.admin-table-container {
    background-color: var(--card-bg);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.admin-table {
    background-color: transparent;
    color: var(--text-color);
    border: none;
    margin-bottom: 0;
}

.admin-table thead {
    background: linear-gradient(135deg, var(--admin-gold), var(--admin-gold-light));
    border-radius: 0.5rem;
}

.admin-table thead th {
    color: #1A1A1A;
    font-weight: 700;
    padding: 1rem;
    border: none;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.admin-table thead th:first-child {
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
}

.admin-table thead th:last-child {
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.admin-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.admin-table tbody tr:hover {
    background-color: rgba(184, 134, 11, 0.1);
    transform: translateY(-1px);
}

.admin-table tbody tr:last-child {
    border-bottom: none;
}

.admin-table tbody td {
    padding: 1rem;
    color: var(--text-color);
    border: none;
    vertical-align: middle;
}

.admin-table .btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    border-radius: 0.4rem;
    font-weight: 500;
}

.admin-table .btn-group .btn {
    margin-right: 0.25rem;
}

.admin-table .badge {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    border-radius: 0.5rem;
}

/* Admin Cards Enhancement */
.admin-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.admin-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15), 0 2px 10px rgba(201, 161, 74, 0.2);
    border-color: var(--primary-gold);
}

.admin-card .card-title {
    color: var(--text-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.admin-card .card-text {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.admin-card .btn-primary {
    background: var(--gold-gradient);
    border: 2px solid var(--primary-gold);
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(201, 161, 74, 0.3);
}

.admin-card .btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-accent), var(--primary-gold));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201, 161, 74, 0.4);
    color: white;
    border-color: var(--gold-accent);
}

/* Light Mode Overrides for Admin Cards */
[data-bs-theme="light"] .admin-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-bs-theme="light"] .admin-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 2px 10px rgba(201, 161, 74, 0.2);
    border-color: var(--primary-gold);
}

[data-bs-theme="light"] .admin-card .card-title {
    color: #1a1a1a;
}

[data-bs-theme="light"] .admin-card .card-text {
    color: #666666;
}

/* Dashboard Stats Enhancement */
.dashboard-stat {
    text-align: center;
    padding: 2rem 1rem;
}

.dashboard-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-gold);
    display: block;
    margin-bottom: 0.5rem;
}

/* Enhanced Button Styling for All Admin Pages */
.btn-back-dashboard {
    background: var(--gold-gradient);
    border: 2px solid var(--primary-gold);
    color: white;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(201, 161, 74, 0.3);
}

.btn-back-dashboard:hover {
    background: linear-gradient(135deg, var(--gold-accent), var(--primary-gold));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201, 161, 74, 0.4);
    color: white;
    text-decoration: none;
    border-color: var(--gold-accent);
}

/* Admin Table Action Buttons */
.admin-table .btn {
    border: 1px solid;
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.admin-table .btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.admin-table .btn-primary {
    background: var(--gold-gradient);
    border-color: var(--primary-gold);
    color: white;
}

.admin-table .btn-primary:hover {
    background: var(--primary-gold);
    border-color: var(--gold-accent);
    color: white;
    transform: translateY(-1px);
}

.admin-table .btn-success {
    background: #22c55e;
    border-color: #16a34a;
    color: white;
}

.admin-table .btn-success:hover {
    background: #16a34a;
    border-color: #15803d;
    color: white;
    transform: translateY(-1px);
}

.admin-table .btn-danger {
    background: #ef4444;
    border-color: #dc2626;
    color: white;
}

.admin-table .btn-danger:hover {
    background: #dc2626;
    border-color: #b91c1c;
    color: white;
    transform: translateY(-1px);
}

.admin-table .btn-warning {
    background: #f59e0b;
    border-color: #d97706;
    color: white;
}

.admin-table .btn-warning:hover {
    background: #d97706;
    border-color: #b45309;
    color: white;
    transform: translateY(-1px);
}

/* Light Mode Button Fixes */
[data-bs-theme="light"] .btn-back-dashboard {
    box-shadow: 0 2px 8px rgba(201, 161, 74, 0.25);
}

[data-bs-theme="light"] .btn-back-dashboard:hover {
    box-shadow: 0 4px 15px rgba(201, 161, 74, 0.35);
}

[data-bs-theme="light"] .admin-table .btn {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

[data-bs-theme="light"] .admin-table .btn:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.dashboard-stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--admin-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.dashboard-stat-label {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Notification and Alert Enhancements */
.admin-alert {
    border-radius: 0.75rem;
    border: none;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

.admin-alert-info {
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.1), rgba(218, 165, 32, 0.1));
    color: var(--text-color);
    border-left: 4px solid var(--admin-gold);
}

.admin-alert-warning {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 235, 59, 0.1));
    color: var(--text-color);
    border-left: 4px solid #ffc107;
}

/* Mobile Responsiveness for Admin Tables */
@media (max-width: 768px) {
    .admin-table-container {
        padding: 1rem;
        border-radius: 0.75rem;
    }
    
    .admin-table thead th,
    .admin-table tbody td {
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .admin-nav-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .btn-back-dashboard {
        width: 100%;
    }
}

/* Enhanced Pack Card Styles */
.pack-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.pack-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.pack-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-gold);
}

.pack-card:hover::before {
    transform: scaleX(1);
}

.pack-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--dark-gradient);
}

.pack-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.pack-card:hover .pack-card-img {
    transform: scale(1.1);
}

.pack-version-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gold-gradient);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 8px rgba(201, 161, 74, 0.3);
}

.pack-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
}

.pack-title {
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pack-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pack-author {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: rgba(201, 161, 74, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(201, 161, 74, 0.1);
}

.pack-author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 0.75rem;
    border: 2px solid var(--primary-gold);
    box-shadow: 0 2px 8px rgba(201, 161, 74, 0.2);
}

.pack-author-info {
    flex: 1;
}

.pack-author-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.pack-download-count {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}

.pack-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.pack-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.pack-rating i {
    font-size: 0.9rem;
    color: var(--primary-gold);
}

.pack-rating .rating-count {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-left: 0.25rem;
}

.pack-hearts {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #e74c3c;
}

.pack-hearts i {
    font-size: 0.9rem;
}

.pack-hearts .hearts-count {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.pack-download-btn {
    background: var(--gold-gradient);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.pack-download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.pack-download-btn:hover::before {
    left: 100%;
}

.pack-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 161, 74, 0.4);
    color: white;
    text-decoration: none;
}

.pack-download-btn:active {
    transform: translateY(0);
}

/* Featured Pack Enhancement */
.featured-pack-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(201, 161, 74, 0.05) 100%);
    border: 2px solid var(--primary-gold);
    position: relative;
}

.featured-pack-card::after {
    content: '⭐ FEATURED';
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary-gold);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Enhanced CTA Section */
.enhanced-cta {
    background: var(--dark-gradient);
    border-radius: 20px;
    padding: 4rem 2rem;
    margin: 4rem 0;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

/* Light mode override for enhanced-cta */
[data-bs-theme="light"] .enhanced-cta {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e0e0e0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

[data-bs-theme="light"] .cta-title {
    color: #2d3748;
}

[data-bs-theme="light"] .cta-subtitle {
    color: #4a5568;
}

.enhanced-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold-gradient);
}

.enhanced-cta::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--gold-light-gradient);
    border-radius: 50%;
    opacity: 0.1;
}

.cta-title {
    color: var(--text-color);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
}

.cta-subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    background: var(--gold-gradient);
    border: none;
    color: white;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(201, 161, 74, 0.3);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(201, 161, 74, 0.4);
    color: white;
    text-decoration: none;
}

/* Home Hero Enhancement */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
    color: white;
}

.hero-stat-number {
    font-size: 2rem;
    font-weight: 800;
    display: block;
    color: var(--primary-gold);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pack-card {
        margin-bottom: 1.5rem;
    }
    
    .pack-image-container {
        height: 160px;
    }
    
    .pack-card-body {
        padding: 1rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .hero-stat-number {
        font-size: 1.5rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
    }
    
    .cta-btn {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }
}
