/* ============================================
   PUREWIN - Pure Black & White Minimalism
   Main Stylesheet
   ============================================ */

/* ============================================
   1. CSS RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: #000;
    transition: all 0.3s ease;
}

a:hover {
    color: #000;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%);
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -2px;
    color: #000;
}

p {
    margin-bottom: 1rem;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    border: 1px solid #000;
    padding: 10px;
    outline: none;
    background: transparent;
}

/* ============================================
   2. LAYOUT & CONTAINER
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.content-wrapper {
    display: flex;
    gap: 40px;
    padding: 60px 0;
}

.main-content {
    flex: 1;
    min-width: 0;
}

/* ============================================
   3. HEADER
   ============================================ */
.site-header {
    background: #000;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #fff;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: block;
}

.logo-text {
    font-family: 'Space Mono', monospace;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -1px;
}

.logo-text:hover {
    color: #fff;
}

.header-btn-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-login,
.btn-register {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 24px;
    border: 2px solid #fff;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-login {
    background: transparent;
    color: #fff;
}

.btn-login:hover {
    background: #fff;
    color: #000;
}

.btn-register {
    background: #fff;
    color: #000;
}

.btn-register:hover {
    background: transparent;
    color: #fff;
}

/* ============================================
   4. NAVIGATION
   ============================================ */
.main-navigation {
    background: #000;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 15px 18px;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.nav-link:hover {
    color: #fff;
    border-bottom-color: #fff;
}

.mobile-menu-toggle {
    display: none;
    color: #fff;
    font-size: 24px;
    padding: 10px;
    background: none;
    border: none;
}

/* Dropdown */
.nav-item.has-dropdown .nav-link::after {
    content: ' ▾';
    font-size: 10px;
}

.nav-item .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #000;
    border: 1px solid #fff;
    z-index: 100;
}

.nav-item:hover .sub-menu {
    display: block;
}

.nav-item .sub-menu .nav-link {
    padding: 10px 18px;
    font-size: 11px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* ============================================
   5. HERO SPLIT SECTION
   ============================================ */
.hero-split {
    display: flex;
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-left {
    width: 50%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: splitRevealLeft 1.2s ease-out;
}

.hero-right {
    width: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: splitRevealRight 1.2s ease-out;
}

.hero-divider {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #fff;
    z-index: 10;
    animation: lineGrow 1.5s ease-out;
}

.hero-text {
    font-family: 'Space Mono', monospace;
    font-size: 120px;
    font-weight: 700;
    letter-spacing: -3px;
    line-height: 1;
    margin: 0;
}

.hero-left .hero-text {
    color: #fff;
}

.hero-right .hero-text {
    color: #000;
}

.hero-tagline {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 20;
    animation: textFadeIn 2s ease-out 0.5s both;
}

.hero-tagline p {
    font-family: 'Space Mono', monospace;
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: #000;
    padding: 10px 30px;
    border: 1px solid #fff;
}

/* ============================================
   6. TYPOGRAPHY SECTION
   ============================================ */
.typography-section {
    background: #000;
    padding: 120px 0;
    text-align: center;
    overflow: hidden;
}

.typo-large {
    font-family: 'Space Mono', monospace;
    font-size: 100px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -3px;
    line-height: 1.1;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(30px);
    animation: textFadeIn 1s ease-out forwards;
}

.typo-large:nth-child(2) {
    animation-delay: 0.3s;
}

.typo-description {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: rgba(255,255,255,0.6);
    max-width: 600px;
    margin: 40px auto;
    line-height: 1.8;
}

.typo-cta {
    font-family: 'Space Mono', monospace;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 8px;
    text-decoration-thickness: 2px;
    transition: all 0.3s ease;
    display: inline-block;
    letter-spacing: 2px;
}

.typo-cta:hover {
    color: #fff;
    text-decoration: none;
    letter-spacing: 4px;
}

/* ============================================
   7. PURE GRID SECTION (Checkerboard)
   ============================================ */
.pure-grid-section {
    padding: 100px 0;
    background: #fff;
}

.section-title {
    font-family: 'Space Mono', monospace;
    font-size: 48px;
    font-weight: 700;
    color: #000;
    text-align: center;
    letter-spacing: -2px;
    margin-bottom: 60px;
    text-transform: uppercase;
}

.pure-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.grid-item {
    border: 1px solid #000;
    padding: 0;
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Checkerboard pattern */
.grid-item:nth-child(odd) {
    background: #000;
}

.grid-item:nth-child(odd) .grid-item-content h3 {
    color: #fff;
}

.grid-item:nth-child(odd) .grid-item-content .grid-item-link {
    color: #fff;
    border-color: #fff;
}

.grid-item:nth-child(odd) .grid-item-content .grid-item-link:hover {
    background: #fff;
    color: #000;
}

.grid-item:nth-child(even) {
    background: #fff;
}

.grid-item:nth-child(even) .grid-item-content h3 {
    color: #000;
}

.grid-item:nth-child(even) .grid-item-content .grid-item-link {
    color: #000;
    border-color: #000;
}

.grid-item:nth-child(even) .grid-item-content .grid-item-link:hover {
    background: #000;
    color: #fff;
}

.grid-item-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.grid-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform 0.5s ease;
}

.grid-item:hover .grid-item-image img {
    transform: scale(1.05);
}

.grid-item-content {
    padding: 25px;
    text-align: center;
}

.grid-item-content h3 {
    font-family: 'Space Mono', monospace;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.grid-item-link {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 8px 20px;
    border: 2px solid currentColor;
    background: transparent;
    display: inline-block;
    transition: all 0.3s ease;
}

/* ============================================
   8. FOOTER CTA SECTION
   ============================================ */
.footer-cta {
    background: #000;
    padding: 100px 0;
    text-align: center;
}

.cta-title {
    font-family: 'Space Mono', monospace;
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -2px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.cta-link {
    font-family: 'Space Mono', monospace;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 8px;
    text-decoration-thickness: 2px;
    transition: all 0.3s ease;
    display: inline-block;
    letter-spacing: 3px;
}

.cta-link:hover {
    color: #fff;
    letter-spacing: 5px;
}

/* ============================================
   9. FOOTER
   ============================================ */
.site-footer {
    background: #000;
    color: #fff;
    padding: 80px 0 0;
    border-top: 1px solid #fff;
}

.footer-columns-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.footer-col h4 {
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-brand-logo {
    margin-bottom: 20px;
}

.footer-logo-text {
    font-family: 'Space Mono', monospace;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -1px;
}

.footer-brand-text {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-18plus {
    font-family: 'Space Mono', monospace;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    border: 2px solid #fff;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.footer-social-links {
    display: flex;
    gap: 15px;
}

.footer-social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.footer-social-links a:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* License Bar */
.footer-license-bar {
    padding: 40px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    text-align: center;
}

.footer-license-bar h4 {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.license-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.license-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.license-item i {
    font-size: 24px;
    color: #fff;
}

.license-item span {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer Bottom */
.footer-bottom {
    padding: 30px 0;
    text-align: center;
}

.footer-copyright {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.footer-disclaimer {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

/* ============================================
   10. SIDEBAR
   ============================================ */
.sidebar {
    width: 300px;
    flex-shrink: 0;
}

.sidebar-widget {
    border: 1px solid #000;
    padding: 25px;
    margin-bottom: 30px;
    background: #fff;
}

.sidebar-widget h3 {
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #000;
}

.sidebar-cskh {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 2px solid #000;
    transition: all 0.3s ease;
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-cskh:hover {
    background: #000;
    color: #fff;
}

.sidebar-cskh i {
    font-size: 20px;
}

.sidebar-social {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-social-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    border: 1px solid #000;
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.sidebar-social-link:hover {
    background: #000;
    color: #fff;
}

.sidebar-news li {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding: 12px 0;
}

.sidebar-news li:last-child {
    border-bottom: none;
}

.sidebar-news a {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sidebar-news .news-title {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    color: #000;
    line-height: 1.4;
}

.sidebar-news .news-date {
    font-size: 11px;
    color: rgba(0,0,0,0.5);
    font-family: 'Space Mono', monospace;
}

/* ============================================
   11. BLOG / POST LISTING
   ============================================ */
.site-main {
    min-height: 60vh;
}

.page-title {
    font-family: 'Space Mono', monospace;
    font-size: 48px;
    font-weight: 700;
    color: #000;
    letter-spacing: -2px;
    text-transform: uppercase;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #000;
}

.post-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.post-item {
    display: flex;
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.post-thumbnail {
    width: 300px;
    flex-shrink: 0;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform 0.3s ease;
}

.post-item:hover .post-thumbnail img {
    transform: scale(1.03);
}

.post-content {
    flex: 1;
}

.post-title {
    font-family: 'Space Mono', monospace;
    font-size: 24px;
    font-weight: 700;
    color: #000;
    letter-spacing: -1px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.post-title a {
    color: #000;
}

.post-title a:hover {
    text-decoration: underline;
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    color: rgba(0,0,0,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-excerpt {
    font-size: 15px;
    color: rgba(0,0,0,0.7);
    line-height: 1.7;
    margin-bottom: 15px;
}

.read-more {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 2px solid #000;
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.read-more:hover {
    letter-spacing: 3px;
}

/* ============================================
   12. PAGINATION
   ============================================ */
.pagination {
    margin-top: 60px;
    text-align: center;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-family: 'Space Mono', monospace;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid #000;
    color: #000;
    transition: all 0.3s ease;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: #000;
    color: #fff;
}

/* ============================================
   13. CATEGORY PAGE
   ============================================ */
.category-header {
    margin-bottom: 30px;
}

.category-description {
    font-size: 15px;
    color: rgba(0,0,0,0.6);
    margin-top: 10px;
}

.filter-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 40px;
    flex-wrap: wrap;
    border-bottom: 1px solid #000;
}

.filter-tab {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 20px;
    border: 1px solid #000;
    border-bottom: none;
    transition: all 0.3s ease;
    background: #fff;
}

.filter-tab:hover,
.filter-tab.active {
    background: #000;
    color: #fff;
}

/* ============================================
   14. SINGLE POST
   ============================================ */
.single-post {
    margin-bottom: 60px;
}

.single-post .post-title {
    font-size: 42px;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.single-post .post-meta {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.single-post .post-thumbnail {
    width: 100%;
    margin-bottom: 40px;
}

.single-post .post-thumbnail img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    filter: grayscale(100%);
}

.post-body {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(0,0,0,0.8);
}

.post-body p {
    margin-bottom: 20px;
}

.post-body h2,
.post-body h3,
.post-body h4 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.post-body blockquote {
    border-left: 3px solid #000;
    padding: 20px 30px;
    margin: 30px 0;
    font-style: italic;
    background: rgba(0,0,0,0.02);
}

.post-body img {
    margin: 30px 0;
}

.post-body ul,
.post-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.post-body ul li {
    list-style: disc;
    margin-bottom: 10px;
}

.post-body ol li {
    list-style: decimal;
    margin-bottom: 10px;
}

.post-tags {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.post-tags a {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border: 1px solid #000;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.post-tags a:hover {
    background: #000;
    color: #fff;
}

/* Related Posts */
.related-posts {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #000;
}

.related-posts h3 {
    font-family: 'Space Mono', monospace;
    font-size: 18px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.related-item {
    border: 1px solid #000;
    padding: 0;
    overflow: hidden;
}

.related-thumb {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.related-item h4 {
    font-family: 'Space Mono', monospace;
    font-size: 14px;
    font-weight: 700;
    padding: 15px;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.related-item h4 a {
    color: #000;
}

.related-item h4 a:hover {
    text-decoration: underline;
}

.related-date {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    color: rgba(0,0,0,0.5);
    padding: 0 15px 15px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   15. PAGE TEMPLATE
   ============================================ */
.page-content {
    max-width: 800px;
}

.page-body {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(0,0,0,0.8);
}

.page-body p {
    margin-bottom: 20px;
}

.page-body h2,
.page-body h3 {
    margin-top: 40px;
    margin-bottom: 20px;
}

/* ============================================
   16. FLOATING SIDEBAR (CSKH)
   ============================================ */
.floating-sidebar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-btn {
    width: 50px;
    height: 50px;
    border: 1px solid #000;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #000;
    transition: all 0.3s ease;
}

.floating-btn:hover {
    background: #000;
    color: #fff;
}

/* ============================================
   17. UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.pt-40 {
    padding-top: 40px;
}

.pb-40 {
    padding-bottom: 40px;
}

.d-none {
    display: none;
}

.d-flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.gap-20 {
    gap: 20px;
}

/* ============================================
   18. KEYFRAME ANIMATIONS
   ============================================ */
@keyframes splitRevealLeft {
    0% {
        clip-path: inset(0 100% 0 0);
    }
    100% {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes splitRevealRight {
    0% {
        clip-path: inset(0 0 0 100%);
    }
    100% {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes splitReveal {
    0% {
        clip-path: inset(0 50% 0 50%);
    }
    100% {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes textFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lineGrow {
    0% {
        height: 0;
    }
    100% {
        height: 100%;
    }
}

@keyframes lineGrowWidth {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-40px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(40px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromBottom {
    0% {
        opacity: 0;
        transform: translateY(60px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes borderDraw {
    0% {
        border-color: transparent;
    }
    100% {
        border-color: #000;
    }
}

@keyframes typeWriter {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ============================================
   19. SCROLL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   20. FORM STYLES
   ============================================ */
.search-form {
    display: flex;
    border: 1px solid #000;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 12px 15px;
    border: none;
    font-family: 'Space Mono', monospace;
    font-size: 13px;
}

.search-form button {
    padding: 12px 20px;
    background: #000;
    color: #fff;
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.search-form button:hover {
    background: #fff;
    color: #000;
}

/* ============================================
   21. WIDGET STYLES
   ============================================ */
.widget {
    border: 1px solid #000;
    padding: 25px;
    margin-bottom: 30px;
}

.widget-title {
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #000;
}

.widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    font-size: 14px;
    color: #000;
}

.widget ul li a:hover {
    text-decoration: underline;
}

/* ============================================
   22. COMMENT STYLES
   ============================================ */
.comments-area {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #000;
}

.comments-title {
    font-family: 'Space Mono', monospace;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.comment-list {
    margin-bottom: 40px;
}

.comment {
    padding: 20px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.comment-author {
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 5px;
}

.comment-date {
    font-size: 12px;
    color: rgba(0,0,0,0.5);
    font-family: 'Space Mono', monospace;
    margin-bottom: 10px;
}

.comment-content {
    font-size: 14px;
    line-height: 1.7;
}

.comment-respond {
    margin-top: 40px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #000;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    margin-bottom: 15px;
    background: transparent;
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.comment-form .submit {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    padding: 12px 30px;
    border: 2px solid #000;
    background: #000;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.comment-form .submit:hover {
    background: #fff;
    color: #000;
}

/* ============================================
   23. ADDITIONAL B&W COMPONENTS
   ============================================ */
.bw-divider {
    width: 100%;
    height: 1px;
    background: #000;
    margin: 60px 0;
}

.bw-divider.thin {
    height: 1px;
}

.bw-box {
    border: 1px solid #000;
    padding: 30px;
}

.bw-box.filled {
    background: #000;
    color: #fff;
}

.bw-button {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 12px 30px;
    border: 2px solid #000;
    background: transparent;
    color: #000;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.bw-button:hover {
    background: #000;
    color: #fff;
}

.bw-button.filled {
    background: #000;
    color: #fff;
}

.bw-button.filled:hover {
    background: #fff;
    color: #000;
}

.bw-tag {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border: 1px solid #000;
    display: inline-block;
}

.bw-badge {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    background: #000;
    color: #fff;
    display: inline-block;
}

/* ============================================
   24. NOTIFICATION / ALERT BOXES
   ============================================ */
.bw-alert {
    padding: 15px 20px;
    border: 1px solid #000;
    margin-bottom: 20px;
    font-size: 14px;
}

.bw-alert.filled {
    background: #000;
    color: #fff;
}

.bw-alert-title {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

/* ============================================
   25. TABLE STYLES
   ============================================ */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table th,
table td {
    padding: 12px 15px;
    border: 1px solid #000;
    text-align: left;
    font-size: 14px;
}

table th {
    background: #000;
    color: #fff;
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

table tr:nth-child(even) {
    background: rgba(0,0,0,0.02);
}

/* ============================================
   26. CODE & PRE STYLES
   ============================================ */
code {
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    padding: 2px 6px;
    border: 1px solid #000;
    background: rgba(0,0,0,0.02);
}

pre {
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    padding: 20px;
    border: 1px solid #000;
    background: rgba(0,0,0,0.02);
    overflow-x: auto;
    margin: 20px 0;
}

/* ============================================
   27. GALLERY STYLES
   ============================================ */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    margin: 30px 0;
}

.gallery-item {
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    filter: grayscale(100%) brightness(0.8);
}

/* ============================================
   28. ACCESSIBILITY
   ============================================ */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #fff;
    clip: auto !important;
    clip-path: none;
    color: #000;
    display: block;
    font-size: 14px;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ============================================
   29. PRINT STYLES
   ============================================ */
@media print {
    .site-header,
    .site-footer,
    .sidebar,
    .floating-sidebar,
    .mobile-menu-toggle {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }

    .container {
        max-width: 100%;
    }

    img {
        filter: grayscale(100%);
    }
}

/* ============================================
   30. MISCELLANEOUS
   ============================================ */
::selection {
    background: #000;
    color: #fff;
}

::-moz-selection {
    background: #000;
    color: #fff;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #fff;
}

::-webkit-scrollbar-thumb {
    background: #000;
}

::-webkit-scrollbar-thumb:hover {
    background: #000;
}

/* Focus styles */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #000;
    outline-offset: 2px;
}

/* WordPress Core */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #000;
    max-width: 96%;
    padding: 3px 10px 10px;
    text-align: center;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

.sticky {
    display: block;
}

.bypostauthor {
    display: block;
}
