/* GTA 6 Mod Hub - Ultra-Sleek Modern Gaming Style */

/* Global Custom CSS Variables */
:root {
    --bg-main: #060608;
    --bg-card: rgba(18, 18, 24, 0.55);
    --bg-card-hover: rgba(26, 26, 36, 0.75);
    --border-color: rgba(255, 255, 255, 0.05);
    --border-color-hover: rgba(255, 255, 255, 0.15);
    --color-text-primary: #ffffff;
    --color-text-secondary: #94a3b8;
    --color-text-muted: #64748b;
    --accent-glow: rgba(168, 85, 247, 0.15);
    --accent-color: #a855f7; /* Soft Purple */
    --accent-color-rgb: 168, 85, 247;
    --green-pulse: #10b981;
    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-premium: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
}

/* Reset & Basics */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

/* Webkit Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

body {
    background-color: var(--bg-main);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Top Indicator Line */
.top-glow-bar {
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #a855f7, #ec4899);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
}

/* Header & Sticky Glass Navbar */
.navbar {
    position: fixed;
    top: 3px;
    left: 0;
    right: 0;
    background: rgba(6, 6, 8, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 999;
    height: 72px;
    display: flex;
    align-items: center;
}

.nav-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Brand */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.gta-text {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #ffffff 30%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.six-text {
    font-weight: 900;
    font-style: italic;
}

.mod-hub {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--color-text-primary);
    text-transform: uppercase;
}

/* Live Stats Badges */
.nav-stats {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.stat-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 0.45rem 1rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--green-pulse);
    box-shadow: 0 0 8px var(--green-pulse);
    position: relative;
    display: inline-block;
}

.status-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--green-pulse);
    animation: pulse 2s infinite;
    top: 0;
    left: 0;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    70% { transform: scale(2.2); opacity: 0; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* Hero Section */
.hero {
    position: relative;
    padding: 10rem 2rem 5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 75vh;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top;
    z-index: -1;
    opacity: 0.35;
    filter: saturate(1.1) brightness(0.8);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
}

.hero-content {
    max-width: 850px;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.highlight-text {
    background: linear-gradient(90deg, #ffffff 40%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    margin-bottom: 3rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

/* Floating Stats Grid */
.stats-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 1rem;
    margin-bottom: 4rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 1.25rem 3rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: inline-flex;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-item.divider {
    width: 1px;
    height: 32px;
    background-color: var(--border-color);
    align-self: center;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-text-primary);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 0.25rem;
    letter-spacing: 0.05em;
}

/* Main Content Wrapper */
.mods-section {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem 6rem 2rem;
    position: relative;
    z-index: 10;
}

.grid-container {
    width: 100%;
}

/* Dynamic Filter and Search Bar */
.search-filter-panel {
    background: rgba(13, 13, 18, 0.6);
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 16px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--shadow-premium);
    width: 100%;
    margin-top: 1rem;
}

/* Search input wrapper */
.search-box {
    position: relative;
    flex: 1;
    max-width: 450px;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 1.25rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.search-box input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem 0.75rem 3rem;
    border-radius: 10px;
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-smooth);
}

.search-box input:focus {
    border-color: var(--border-color-hover);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.02);
}

/* Filters Tabs layout */
.filter-tabs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.filter-tabs::-webkit-scrollbar {
    display: none;
}

.filter-tab {
    background: transparent;
    border: 1px solid transparent;
    color: var(--color-text-secondary);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.filter-tab:hover {
    color: var(--color-text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.filter-tab.active {
    color: var(--color-text-primary);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Grid layout for Mods */
.mods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 2.25rem;
    transition: var(--transition-smooth);
    margin-top: 2.5rem;
}

/* Elegant Card styling */
.mod-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.3);
}

.mod-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: var(--border-color-hover);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
}

/* Mod card Image Section */
.card-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.category-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(6, 6, 8, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-primary);
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
    backdrop-filter: blur(4px);
}

.card-rating {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Mod Card Content */
.card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    gap: 1rem;
}

.mod-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-primary);
    line-height: 1.3;
}

.mod-desc {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.file-size {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
}

.btn-card-download {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-primary);
    padding: 0.5rem 0.9rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.mod-card:hover .btn-card-download {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

/* No results state */
.no-results {
    text-align: center;
    padding: 5rem 2rem;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.no-results-icon {
    font-size: 3rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.no-results p {
    color: var(--color-text-secondary);
}

/* Modal Overlay Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 3, 5, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    transition: var(--transition-smooth);
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-card {
    background: rgba(10, 10, 15, 0.95);
    border: 1px solid var(--border-color-hover);
    border-radius: 20px;
    width: 100%;
    max-width: 960px;
    max-height: 90vh;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.btn-close-modal {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: var(--transition-smooth);
}

.btn-close-modal:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: rotate(90deg);
}

/* Modal Content Layout */
.modal-split {
    display: flex;
    flex-direction: row;
    flex: 1;
    min-height: 0;
}

@media (max-width: 768px) {
    .modal-split {
        flex-direction: column;
        flex: none;
    }
}

.modal-media {
    flex: 1.2;
    position: relative;
    background: #000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .modal-media {
        aspect-ratio: 16/9;
        flex: none;
    }
}

.modal-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-details {
    flex: 1;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(13, 13, 20, 0.4);
    overflow-y: auto;
    max-height: 90vh;
}

@media (max-width: 768px) {
    .modal-details {
        max-height: none;
        overflow-y: visible;
        padding: 1.75rem;
    }
}

.modal-header-info {
    margin-bottom: 1.25rem;
}

.modal-category {
    color: var(--accent-color);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 0.35rem;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.modal-rating {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.modal-desc {
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.modal-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.75rem;
}

.spec-item {
    display: flex;
    flex-direction: column;
}

.spec-label {
    font-size: 0.65rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.15rem;
}

.spec-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

/* Modal Action Panels */
.modal-action-wrapper {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
}

.action-panel {
    display: none;
}

.action-panel.active {
    display: block;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}

.benefits-list div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.benefits-list i {
    color: var(--green-pulse);
    font-size: 0.9rem;
}

/* Interactive Buttons */
.btn {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: #ffffff;
    color: #000000;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(255, 255, 255, 0.25);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-block {
    width: 100%;
}

.btn-pulse {
    position: relative;
    overflow: hidden;
}

.btn-pulse::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    animation: buttonPulse 2.5s infinite;
}

@keyframes buttonPulse {
    0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.4); opacity: 0; }
    100% { transform: translate(-50%, -50%) scale(1.4); opacity: 0; }
}

.verification-note {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: 0.75rem;
}

/* Spinner & Verifying state */
.verification-spinner-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.glow-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(255, 255, 255, 0.05);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.verify-status-title {
    font-size: 1.15rem;
    font-weight: 700;
}

.verification-steps {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.step-line {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text-secondary);
}

.step-line.checked {
    color: var(--green-pulse);
    border-color: rgba(16, 185, 129, 0.2);
    background: rgba(16, 185, 129, 0.02);
}

.step-line.active {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
}

/* Download Progress Bar */
.download-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.download-status-title {
    font-size: 0.95rem;
    font-weight: 700;
}

.download-pct {
    font-size: 1.1rem;
    font-weight: 800;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #c084fc, #818cf8);
    border-radius: 10px;
    transition: width 0.15s ease-out;
}

.download-meta {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Blog Section */
.blog-section {
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.section-subtitle-blog {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: 3rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2.5rem;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.blog-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: var(--border-color-hover);
}

.blog-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.blog-card:hover .blog-img {
    transform: scale(1.03);
}

.blog-category-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #ffffff;
    color: #000000;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.blog-title {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.75rem;
    color: var(--color-text-primary);
}

.blog-excerpt {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex: 1;
}

.btn-blog-read {
    align-self: flex-start;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
}

/* Blog Reader Modal adjustments */
.blog-modal-card {
    max-width: 750px;
}

.blog-modal-content {
    padding: 2.5rem;
    overflow-y: auto;
    max-height: 90vh;
}

.blog-modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.blog-modal-body {
    font-size: 1rem;
    line-height: 1.7;
    color: #e2e8f0;
}

.blog-modal-body p {
    margin-bottom: 1.5rem;
}

.blog-modal-body h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.blog-modal-body ul, .blog-modal-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.blog-modal-body li {
    margin-bottom: 0.5rem;
}

.blog-modal-body blockquote {
    border-left: 3px solid var(--accent-color);
    padding-left: 1.25rem;
    font-style: italic;
    color: var(--color-text-secondary);
    margin: 2rem 0;
}

.blog-modal-body code {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9em;
}

/* Footer layout */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(3, 3, 5, 0.8);
    padding: 3rem 2rem;
    margin-top: 8rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    max-width: 600px;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

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

/* Responsive Overrides */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.75rem;
    }
    .search-filter-panel {
        flex-direction: column;
        align-items: stretch;
    }
    .search-box {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .nav-stats {
        display: none;
    }
    .hero-title {
        font-size: 2.25rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .stats-row {
        gap: 1.5rem;
        padding: 1rem 1.5rem;
    }
    .stat-value {
        font-size: 1.35rem;
    }
    .modal-details-grid {
        grid-template-columns: 1fr;
    }
    .modal-body, .blog-modal-content {
        padding: 1.5rem;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

/* Helper Utilities */
.hidden {
    display: none !important;
}

/* Static Blog Page Styling Overrides */
.blog-article-page {
    background-color: var(--bg-main);
}

.blog-article-page .blog-modal-card {
    max-width: 850px;
    margin: 8rem auto 6rem auto;
    background: rgba(13, 13, 20, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3rem;
    box-shadow: var(--shadow-premium);
}

@media (max-width: 768px) {
    .blog-article-page .blog-modal-card {
        margin: 6rem 1rem 3rem 1rem;
        padding: 1.5rem;
    }
    .blog-article-page .blog-modal-card .modal-title {
        font-size: 1.75rem !important;
    }
}

