/*
Theme Name: Bashell Zen
Theme URI: https://bashell.com
Author: Bashell
Author URI: https://reactionpromax.com
Description: Ultra-clean, Apple-style minimalist theme. High contrast, fast, SEO optimized.
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bashell-zen
*/
:root {
    --c-bg: #f5f5f7;
    --c-surface: #ffffff;
    --c-text-primary: #1d1d1f;
    --c-text-secondary: #86868b;
    --c-border: #d2d2d7;
    --c-accent: #0066cc;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --radius-sm: 8px;
    --radius-md: 18px;
    --shadow-sm: 0 4px 14px rgba(0,0,0,0.04);
    --shadow-hover: 0 14px 28px rgba(0,0,0,0.08);
    --trans-ease: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    background: var(--c-bg);
    color: var(--c-text-primary);
    font-family: var(--font-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
a { color: var(--c-text-primary); text-decoration: none; transition: all var(--trans-ease); }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-sm); }
.container { max-width: 1400px; margin: 0 auto; padding: 0 24px; width: 100%; }

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 12px 0;
}
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.site-title { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
.nav-menu { display: flex; gap: 24px; list-style: none; }
.nav-menu a { color: var(--c-text-primary); font-size: 0.85rem; font-weight: 500; opacity: 0.8; }
.nav-menu a:hover { opacity: 1; color: var(--c-accent); }
.search-form { display: flex; align-items: center; background: rgba(0,0,0,0.04); border-radius: 20px; padding: 4px 12px; }
.search-field { background: transparent; border: none; font-size: 0.85rem; padding: 6px; outline: none; width: 150px; }
.search-submit { background: transparent; border: none; color: var(--c-text-secondary); cursor: pointer; }

/* Main Grid */
.site-main { padding: 40px 0; flex: 1; }
.section-title { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 30px; text-align: center; }
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; }

/* Video Card */
.video-card { display: flex; flex-direction: column; gap: 12px; }
.video-thumb-wrap { position: relative; border-radius: var(--radius-md); overflow: hidden; background: #e5e5ea; aspect-ratio: 16/9; box-shadow: var(--shadow-sm); transition: transform var(--trans-ease), box-shadow var(--trans-ease); }
.video-card:hover .video-thumb-wrap { transform: scale(1.02) translateY(-4px); box-shadow: var(--shadow-hover); }
.video-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.video-duration { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,0.7); backdrop-filter: blur(4px); color: #fff; font-size: 0.75rem; font-weight: 600; padding: 4px 8px; border-radius: 6px; }
.video-info { padding: 0 4px; }
.video-title { font-size: 1.05rem; font-weight: 600; line-height: 1.3; color: var(--c-text-primary); margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; letter-spacing: -0.01em; }
.video-meta { display: flex; gap: 12px; font-size: 0.85rem; color: var(--c-text-secondary); font-weight: 500; }

/* Single */
.single-video-container { max-width: 1000px; margin: 0 auto; }
.single-header { margin-bottom: 24px; text-align: center; }
.single-title { font-size: 2.5rem; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 12px; }
.single-meta { color: var(--c-text-secondary); font-size: 0.95rem; font-weight: 500; }
.single-video-player { background: #000; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-hover); margin-bottom: 40px; }
.single-video-player iframe, .single-video-player video { width: 100%; aspect-ratio: 16/9; display: block; border: none; }
.related-videos { margin-top: 60px; border-top: 1px solid var(--c-border); padding-top: 40px; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 12px; border-radius: 18px; font-size: 0.9rem; font-weight: 500; color: var(--c-text-primary); background: transparent; }
.pagination a:hover { background: rgba(0,0,0,0.05); }
.pagination .current { background: var(--c-text-primary); color: #fff; }

/* Footer */
.site-footer { border-top: 1px solid var(--c-border); padding: 30px 0; text-align: center; margin-top: auto; background: var(--c-surface); }
.footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 12px; }
.footer-links a { color: var(--c-text-secondary); font-size: 0.85rem; }
.footer-links a:hover { color: var(--c-text-primary); }
.site-info { font-size: 0.8rem; color: var(--c-text-secondary); }

/* Responsive */
@media (max-width: 1024px) {
    .video-grid { grid-template-columns: repeat(3, 1fr); }
    .single-title { font-size: 2rem; }
}
@media (max-width: 768px) {
    .header-inner { flex-direction: column; gap: 16px; }
    .video-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
}
@media (max-width: 480px) {
    .video-grid { grid-template-columns: 1fr; }
}
