/*
Theme Name: BoomPlay
Theme URI: https://boomplay.com
Author: BoomPlay Team
Author URI: https://boomplay.com
Description: Audiomack styled music streaming WordPress theme with dark theme, custom post types for music, albums, artists and playlists.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: music, streaming, dark, responsive, audio-player, custom-logo, custom-menu, featured-images
Text Domain: boomplay
*/

/* ============================================
   CSS Variables
   ============================================ */
:root {
    --bp-primary: #1DB954;
    --bp-primary-hover: #1ed760;
    --bp-dark: #121212;
    --bp-darker: #0a0a0a;
    --bp-dark-secondary: #181818;
    --bp-dark-tertiary: #212121;
    --bp-gray: #282828;
    --bp-gray-light: #404040;
    --bp-text: #ffffff;
    --bp-text-secondary: #b3b3b3;
    --bp-text-muted: #727272;
    --bp-border: #333333;
    --bp-gradient: linear-gradient(135deg, #1DB954 0%, #1ed760 100%);
    --bp-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    --bp-radius: 8px;
    --bp-radius-sm: 4px;
    --bp-radius-lg: 12px;
    --bp-transition: all 0.3s ease;
    --bp-font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --bp-header-height: 70px;
    --bp-player-height: 90px;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--bp-font-primary);
    background-color: var(--bp-dark);
    color: var(--bp-text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--bp-transition);
}

a:hover {
    color: var(--bp-primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

button {
    cursor: pointer;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p {
    margin-bottom: 1rem;
    color: var(--bp-text-secondary);
}

.text-primary { color: var(--bp-primary); }
.text-secondary { color: var(--bp-text-secondary); }
.text-muted { color: var(--bp-text-muted); }

/* ============================================
   Layout
   ============================================ */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-sm {
    max-width: 1000px;
}

.container-lg {
    max-width: 1600px;
}

.section {
    padding: 60px 0;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-title a {
    font-size: 0.875rem;
    color: var(--bp-text-secondary);
    font-weight: 500;
}

.section-title a:hover {
    color: var(--bp-primary);
}

/* ============================================
   Grid System
   ============================================ */
.grid {
    display: grid;
    gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 1200px) {
    .grid-5, .grid-6 { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 992px) {
    .grid-4, .grid-5, .grid-6 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .grid-2, .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: 1fr; }
}

/* ============================================
   Header
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--bp-header-height);
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--bp-border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 30px;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bp-primary);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.header-logo svg {
    width: 32px;
    height: 32px;
}

.header-nav {
    flex: 1;
}

.header-nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-nav a {
    padding: 10px 18px;
    border-radius: var(--bp-radius);
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--bp-text-secondary);
    transition: var(--bp-transition);
}

.header-nav a:hover,
.header-nav a.active {
    color: var(--bp-text);
    background: var(--bp-dark-tertiary);
}

.header-nav a.active {
    color: var(--bp-primary);
}

.header-search {
    display: flex;
    align-items: center;
    background: var(--bp-dark-tertiary);
    border-radius: 500px;
    padding: 8px 16px;
    gap: 10px;
    min-width: 280px;
}

.header-search input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--bp-text);
    font-size: 0.875rem;
}

.header-search input::placeholder {
    color: var(--bp-text-muted);
}

.header-search button {
    color: var(--bp-text-secondary);
    padding: 4px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-actions .btn {
    padding: 10px 24px;
    font-size: 0.875rem;
    font-weight: 600;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--bp-radius);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: var(--bp-transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--bp-primary);
    color: var(--bp-dark);
}

.btn-primary:hover {
    background: var(--bp-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(29, 185, 84, 0.4);
}

.btn-secondary {
    background: var(--bp-dark-tertiary);
    color: var(--bp-text);
}

.btn-secondary:hover {
    background: var(--bp-gray);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--bp-border);
    color: var(--bp-text);
}

.btn-outline:hover {
    border-color: var(--bp-primary);
    color: var(--bp-primary);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.8125rem;
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
}

/* ============================================
   Mobile Navigation
   ============================================ */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    cursor: pointer;
}

.mobile-nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--bp-text);
    transition: var(--bp-transition);
}

@media (max-width: 992px) {
    .header-nav {
        position: fixed;
        top: var(--bp-header-height);
        left: 0;
        right: 0;
        background: var(--bp-dark);
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--bp-transition);
    }

    .header-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .header-nav ul {
        flex-direction: column;
        align-items: stretch;
    }

    .header-nav a {
        padding: 16px;
    }

    .mobile-nav-toggle {
        display: flex;
    }
}

/* ============================================
   Main Content Area
   ============================================ */
.site-content {
    padding-top: var(--bp-header-height);
    padding-bottom: var(--bp-player-height);
    min-height: 100vh;
}

.content-area {
    display: flex;
    gap: 30px;
}

.main-content {
    flex: 1;
    min-width: 0;
}

.sidebar {
    width: 320px;
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .sidebar {
        display: none;
    }
}

/* ============================================
   Cards
   ============================================ */
.card {
    background: var(--bp-dark-secondary);
    border-radius: var(--bp-radius-lg);
    overflow: hidden;
    transition: var(--bp-transition);
}

.card:hover {
    background: var(--bp-dark-tertiary);
    transform: translateY(-4px);
}

.card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--bp-radius-lg);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--bp-transition);
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-play {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 48px;
    height: 48px;
    background: var(--bp-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(8px);
    transition: var(--bp-transition);
    box-shadow: 0 4px 15px rgba(29, 185, 84, 0.5);
}

.card:hover .card-play {
    opacity: 1;
    transform: translateY(0);
}

.card-play svg {
    width: 20px;
    height: 20px;
    fill: var(--bp-dark);
    margin-left: 2px;
}

.card-content {
    padding: 16px 0;
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-title a:hover {
    color: var(--bp-primary);
}

.card-subtitle {
    font-size: 0.875rem;
    color: var(--bp-text-secondary);
}

.card-subtitle a:hover {
    color: var(--bp-primary);
}

/* ============================================
   Track List
   ============================================ */
.track-list {
    display: flex;
    flex-direction: column;
}

.track-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border-radius: var(--bp-radius);
    transition: var(--bp-transition);
}

.track-item:hover {
    background: var(--bp-dark-tertiary);
}

.track-number {
    width: 24px;
    text-align: center;
    color: var(--bp-text-muted);
    font-size: 0.875rem;
}

.track-item:hover .track-number {
    display: none;
}

.track-play {
    display: none;
    width: 24px;
    justify-content: center;
}

.track-item:hover .track-play {
    display: flex;
}

.track-play svg {
    width: 14px;
    height: 14px;
    fill: var(--bp-text);
}

.track-image {
    width: 48px;
    height: 48px;
    border-radius: var(--bp-radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.track-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.track-info {
    flex: 1;
    min-width: 0;
}

.track-title {
    font-weight: 500;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-artist {
    font-size: 0.8125rem;
    color: var(--bp-text-secondary);
}

.track-duration {
    color: var(--bp-text-muted);
    font-size: 0.875rem;
    margin-left: auto;
    padding-right: 16px;
}

.track-actions {
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: var(--bp-transition);
}

.track-item:hover .track-actions {
    opacity: 1;
}

.track-action-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--bp-text-secondary);
    transition: var(--bp-transition);
}

.track-action-btn:hover {
    background: var(--bp-gray);
    color: var(--bp-text);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bp-dark-tertiary) 0%, var(--bp-dark) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%231DB954" stroke-width="0.5" opacity="0.1"/></svg>');
    background-size: 200px;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-image {
    width: 280px;
    height: 280px;
    border-radius: var(--bp-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-info {
    flex: 1;
}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--bp-primary);
    color: var(--bp-dark);
    border-radius: 500px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
}

.hero-title span {
    color: var(--bp-primary);
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    color: var(--bp-text-secondary);
}

.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .hero-image {
        width: 200px;
        height: 200px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-meta {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }
}

/* ============================================
   Music Player
   ============================================ */
.music-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--bp-player-height);
    background: var(--bp-dark-secondary);
    border-top: 1px solid var(--bp-border);
    z-index: 1001;
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 20px;
}

.player-track-info {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 280px;
    flex-shrink: 0;
}

.player-image {
    width: 56px;
    height: 56px;
    border-radius: var(--bp-radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.player-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-info {
    min-width: 0;
}

.player-title {
    font-size: 0.9375rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-artist {
    font-size: 0.8125rem;
    color: var(--bp-text-secondary);
}

.player-like {
    margin-left: auto;
    color: var(--bp-text-muted);
}

.player-like.active {
    color: #e91e63;
}

.player-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    max-width: 700px;
}

.player-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.player-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bp-text-secondary);
    border-radius: 50%;
    transition: var(--bp-transition);
}

.player-btn:hover {
    color: var(--bp-text);
}

.player-btn-play {
    width: 40px;
    height: 40px;
    background: var(--bp-text);
    color: var(--bp-dark);
}

.player-btn-play:hover {
    transform: scale(1.1);
    background: var(--bp-primary);
}

.player-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.player-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.player-time {
    font-size: 0.75rem;
    color: var(--bp-text-muted);
    min-width: 40px;
}

.player-time:last-child {
    text-align: right;
}

.progress-bar {
    flex: 1;
    height: 4px;
    background: var(--bp-gray);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.progress-bar:hover {
    height: 6px;
}

.progress-bar-fill {
    height: 100%;
    background: var(--bp-text);
    border-radius: 2px;
    position: relative;
    transition: width 0.1s;
}

.progress-bar:hover .progress-bar-fill::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--bp-text);
    border-radius: 50%;
}

.player-volume {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 180px;
    flex-shrink: 0;
}

.volume-icon {
    color: var(--bp-text-secondary);
    cursor: pointer;
}

.volume-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.volume-slider {
    flex: 1;
    height: 4px;
    background: var(--bp-gray);
    border-radius: 2px;
    cursor: pointer;
}

.volume-slider-fill {
    height: 100%;
    background: var(--bp-text);
    border-radius: 2px;
    width: 70%;
}

@media (max-width: 768px) {
    .player-track-info {
        width: auto;
        flex: 1;
    }

    .player-volume {
        display: none;
    }
}

/* ============================================
   Sidebar
   ============================================ */
.sidebar-section {
    margin-bottom: 40px;
}

.sidebar-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-link {
    font-size: 0.8125rem;
    color: var(--bp-text-secondary);
}

.sidebar-link:hover {
    color: var(--bp-primary);
}

.sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--bp-radius);
    transition: var(--bp-transition);
}

.sidebar-list-item:hover {
    background: var(--bp-dark-tertiary);
}

.sidebar-list-image {
    width: 40px;
    height: 40px;
    border-radius: var(--bp-radius-sm);
    overflow: hidden;
}

.sidebar-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-list-info {
    min-width: 0;
}

.sidebar-list-title {
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-list-subtitle {
    font-size: 0.75rem;
    color: var(--bp-text-muted);
}

/* ============================================
   Artist Card
   ============================================ */
.artist-card .card-image {
    border-radius: 50%;
    aspect-ratio: 1;
}

.artist-card .card-image img {
    border-radius: 50%;
}

.artist-card .card-content {
    text-align: center;
}

.artist-card .card-title {
    margin-bottom: 4px;
}

.artist-card .card-subtitle {
    font-size: 0.8125rem;
}

/* ============================================
   Album Card
   ============================================ */
.album-card .card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 500px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
}

.album-card .card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 0.8125rem;
    color: var(--bp-text-muted);
}

/* ============================================
   Playlist Card
   ============================================ */
.playlist-card .card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    background: var(--bp-primary);
    border-radius: 500px;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--bp-dark);
}

.playlist-card .card-description {
    font-size: 0.8125rem;
    color: var(--bp-text-muted);
    margin-top: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   Charts Section
   ============================================ */
.chart-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px;
    background: var(--bp-dark-secondary);
    border-radius: var(--bp-radius-lg);
    margin-bottom: 12px;
    transition: var(--bp-transition);
}

.chart-item:hover {
    background: var(--bp-dark-tertiary);
    transform: translateX(8px);
}

.chart-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bp-text-muted);
    width: 40px;
    text-align: center;
}

.chart-item:nth-child(1) .chart-number { color: #ffd700; }
.chart-item:nth-child(2) .chart-number { color: #c0c0c0; }
.chart-item:nth-child(3) .chart-number { color: #cd7f32; }

.chart-image {
    width: 60px;
    height: 60px;
    border-radius: var(--bp-radius-sm);
    overflow: hidden;
}

.chart-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chart-info {
    flex: 1;
    min-width: 0;
}

.chart-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.chart-artist {
    font-size: 0.875rem;
    color: var(--bp-text-secondary);
}

.chart-plays {
    font-size: 0.875rem;
    color: var(--bp-text-muted);
}

/* ============================================
   Categories/Genres
   ============================================ */
.genre-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.genre-card {
    position: relative;
    aspect-ratio: 1.5;
    border-radius: var(--bp-radius-lg);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.genre-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.8) 100%);
}

.genre-card:nth-child(1) { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.genre-card:nth-child(2) { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.genre-card:nth-child(3) { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.genre-card:nth-child(4) { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.genre-card:nth-child(5) { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.genre-card:nth-child(6) { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); }
.genre-card:nth-child(7) { background: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%); }
.genre-card:nth-child(8) { background: linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%); }

.genre-title {
    position: relative;
    z-index: 1;
    font-size: 1.25rem;
    font-weight: 700;
}

.genre-card .genre-title {
    color: var(--bp-text);
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: var(--bp-darker);
    padding: 80px 0 40px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bp-primary);
    text-transform: uppercase;
}

.footer-description {
    color: var(--bp-text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bp-dark-tertiary);
    border-radius: 50%;
    color: var(--bp-text-secondary);
    transition: var(--bp-transition);
}

.social-link:hover {
    background: var(--bp-primary);
    color: var(--bp-dark);
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--bp-text-muted);
    font-size: 0.9375rem;
    transition: var(--bp-transition);
}

.footer-links a:hover {
    color: var(--bp-primary);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 40px;
    border-top: 1px solid var(--bp-border);
}

.footer-copyright {
    color: var(--bp-text-muted);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--bp-text-muted);
    font-size: 0.875rem;
}

.footer-legal a:hover {
    color: var(--bp-text);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* ============================================
   Pagination
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px 0;
}

.page-numbers {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--bp-radius);
    color: var(--bp-text-secondary);
    font-weight: 500;
    transition: var(--bp-transition);
}

.page-numbers:hover,
.page-numbers.current {
    background: var(--bp-dark-tertiary);
    color: var(--bp-text);
}

.page-numbers.current {
    background: var(--bp-primary);
    color: var(--bp-dark);
}

/* ============================================
   Search Results
   ============================================ */
.search-results-header {
    margin-bottom: 40px;
}

.search-results-header h1 {
    margin-bottom: 8px;
}

.search-results-count {
    color: var(--bp-text-secondary);
}

.search-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--bp-border);
    padding-bottom: 16px;
}

.search-tab {
    padding: 10px 20px;
    border-radius: var(--bp-radius);
    color: var(--bp-text-secondary);
    font-weight: 500;
    transition: var(--bp-transition);
}

.search-tab:hover,
.search-tab.active {
    color: var(--bp-text);
    background: var(--bp-dark-tertiary);
}

.search-tab.active {
    color: var(--bp-primary);
}

/* ============================================
   404 Error
   ============================================ */
.error-404 {
    text-align: center;
    padding: 100px 20px;
}

.error-404 h1 {
    font-size: 8rem;
    font-weight: 800;
    color: var(--bp-primary);
    line-height: 1;
    margin-bottom: 20px;
}

.error-404 h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.error-404 p {
    color: var(--bp-text-muted);
    margin-bottom: 30px;
}

/* ============================================
   WordPress Specific
   ============================================ */
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img {
    margin-bottom: 0.5em;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: var(--bp-text-muted);
}

.gallery {
    display: grid;
    gap: 20px;
    margin: 40px 0;
}

.gallery-item {
    text-align: center;
}

.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.sticky {
    position: relative;
}

.bypostauthor {
    color: inherit;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.animate-slide-up {
    animation: slideUp 0.5s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ============================================
   Utility Classes
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.d-flex { display: flex; }
.d-block { display: block; }
.d-none { display: none; }
.d-grid { display: grid; }

.align-items-center { align-items: center; }
.align-items-start { align-items: flex-start; }
.align-items-end { align-items: flex-end; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-end { justify-content: flex-end; }
.flex-wrap { flex-wrap: wrap; }
.flex-column { flex-direction: column; }

.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.p-0 { padding: 0; }
.p-1 { padding: 8px; }
.p-2 { padding: 16px; }
.p-3 { padding: 24px; }
.p-4 { padding: 32px; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.rounded { border-radius: var(--bp-radius); }
.rounded-sm { border-radius: var(--bp-radius-sm); }
.rounded-lg { border-radius: var(--bp-radius-lg); }
.rounded-full { border-radius: 9999px; }

.overflow-hidden { overflow: hidden; }
.position-relative { position: relative; }
.position-absolute { position: absolute; }

.cursor-pointer { cursor: pointer; }
.transition { transition: var(--bp-transition); }

.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }

.bg-dark { background-color: var(--bp-dark); }
.bg-dark-secondary { background-color: var(--bp-dark-secondary); }
.bg-dark-tertiary { background-color: var(--bp-dark-tertiary); }

/* ============================================
   Loading States
   ============================================ */
.skeleton {
    background: linear-gradient(90deg, var(--bp-dark-tertiary) 25%, var(--bp-gray) 50%, var(--bp-dark-tertiary) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--bp-radius-sm);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text {
    height: 1em;
    margin-bottom: 0.5em;
}

.skeleton-title {
    height: 1.5em;
    width: 60%;
    margin-bottom: 1em;
}

.skeleton-image {
    aspect-ratio: 1;
}

/* ============================================
   Responsive Utilities
   ============================================ */
@media (max-width: 768px) {
    .hide-mobile { display: none !important; }
}

@media (min-width: 769px) {
    .hide-desktop { display: none !important; }
}

