/*
Theme Name: Cinema Fun Premium Header
Theme URI: https://thecinemafun.com
Description: Premium mobile-optimized WordPress theme with stunning header design, cinema effects, and perfect mobile experience. Features include animated gradients, golden borders, rotating cinema icons, glass morphism effects, and responsive design.
Author: TheCinemaFun Team
Author URI: https://thecinemafun.com
Version: 2.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cinema-fun-premium
Tags: blog, entertainment, movies, cinema, reviews, mobile-first, responsive, dark-theme, premium, gradient, animations, one-column, two-columns, three-columns, custom-colors, custom-header, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, post-formats, sticky-post, theme-options, threaded-comments, translation-ready
Network: false
*/

/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: #000;
    color: #fff;
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* PREMIUM HEADER DESIGN */
.site-header {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 25%, #2d2d2d 50%, #1a1a1a 75%, #000000 100%);
    border-bottom: 4px solid transparent;
    border-image: linear-gradient(90deg, #FFD700, #FFF200, #FFD700) 1;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 
        0 4px 20px rgba(0,0,0,0.6),
        0 0 40px rgba(255,215,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at top, rgba(255,215,0,0.05) 0%, transparent 50%),
        radial-gradient(ellipse at bottom, rgba(255,215,0,0.03) 0%, transparent 50%);
    pointer-events: none;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 2;
}

/* Premium Site Title */
.site-title {
    font-size: 2rem;
    color: #FFD700;
    text-decoration: none;
    font-weight: 800;
    font-family: 'Georgia', 'Times New Roman', serif;
    text-shadow: 
        2px 2px 4px rgba(0,0,0,0.8),
        0 0 20px rgba(255,215,0,0.3),
        0 0 40px rgba(255,215,0,0.1);
    transition: all 0.4s ease;
    position: relative;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.site-title::before {
    content: '🎬';
    font-size: 1.8rem;
    margin-right: 12px;
    animation: rotate 3s ease-in-out infinite alternate;
    display: inline-block;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
}

@keyframes rotate {
    0% { transform: rotate(-5deg) scale(1); }
    100% { transform: rotate(5deg) scale(1.1); }
}

.site-title:hover {
    color: #FFF200;
    text-shadow: 
        2px 2px 6px rgba(0,0,0,0.9),
        0 0 30px rgba(255,215,0,0.5),
        0 0 60px rgba(255,215,0,0.2);
    transform: translateY(-2px);
}

/* Premium Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: linear-gradient(135deg, #FFD700 0%, #FFF200 50%, #FFD700 100%);
    color: #000;
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    min-height: 50px;
    min-width: 120px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 4px 15px rgba(255,215,0,0.4),
        0 2px 8px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.menu-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.menu-toggle:hover::before {
    left: 100%;
}

.menu-toggle:hover {
    background: linear-gradient(135deg, #FFF200 0%, #FFD700 50%, #FFF200 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 8px 25px rgba(255,215,0,0.5),
        0 4px 15px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.4);
}

/* Premium Search Form */
.header-search {
    position: relative;
    max-width: 350px;
    width: 100%;
    flex: 1;
    min-width: 250px;
}

.search-form {
    position: relative;
    width: 100%;
}

.search-field {
    width: 100%;
    background: rgba(255,255,255,0.08);
    border: 2px solid rgba(255,215,0,0.3);
    color: #fff;
    padding: 16px 60px 16px 25px;
    border-radius: 50px;
    font-size: 16px;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 
        inset 0 2px 10px rgba(0,0,0,0.3),
        0 2px 15px rgba(255,215,0,0.1);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.search-field:focus {
    outline: none;
    border-color: #FFD700;
    background: rgba(255,255,255,0.12);
    box-shadow: 
        inset 0 2px 10px rgba(0,0,0,0.2),
        0 0 0 4px rgba(255,215,0,0.2),
        0 4px 20px rgba(255,215,0,0.3);
    transform: translateY(-1px);
}

.search-field::placeholder {
    color: rgba(255,255,255,0.6);
    font-style: italic;
}

.search-submit {
    position: absolute;
    right: 4px;
    top: 4px;
    background: linear-gradient(135deg, #FFD700 0%, #FFF200 100%);
    border: none;
    color: #000;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 
        0 3px 12px rgba(255,215,0,0.4),
        0 1px 6px rgba(0,0,0,0.2);
    font-weight: bold;
}

.search-submit:hover {
    background: linear-gradient(135deg, #FFF200 0%, #FFD700 100%);
    transform: scale(1.1) rotate(10deg);
    box-shadow: 
        0 5px 18px rgba(255,215,0,0.5),
        0 2px 10px rgba(0,0,0,0.3);
}

/* Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.main-nav a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 30px;
    transition: all 0.4s ease;
    font-weight: 600;
    min-height: 50px;
    display: flex;
    align-items: center;
    position: relative;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(5px);
    border: 1px solid transparent;
    background: rgba(255,255,255,0.03);
}

.main-nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #FFD700, #FFF200);
    opacity: 0;
    border-radius: 30px;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.main-nav a:hover::before {
    opacity: 1;
}

.main-nav a:hover {
    color: #000;
    transform: translateY(-3px);
    border-color: rgba(255,215,0,0.5);
    box-shadow: 
        0 8px 20px rgba(255,215,0,0.3),
        0 4px 10px rgba(0,0,0,0.2);
}

/* Main Content */
.site-main {
    padding: 30px 0;
    min-height: 60vh;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a1a1a, #333);
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 30px;
    border-radius: 15px;
    border: 2px solid rgba(255,215,0,0.2);
}

.hero-section h1 {
    color: #FFD700;
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-section p {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
}

/* Posts Grid */
.posts-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 30px;
}

/* Post Cards */
.post-item {
    background: linear-gradient(135deg, #222 0%, #2a2a2a 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.post-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FFD700, #FFF200);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255,215,0,0.3);
    border-color: rgba(255,215,0,0.5);
}

.post-item:hover::before {
    transform: scaleX(1);
}

/* Thumbnail */
.post-thumbnail {
    height: 220px;
    overflow: hidden;
    background: #333;
    position: relative;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.no-thumb {
    height: 220px;
    background: linear-gradient(45deg, #333, #555);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #777;
}

.no-thumb::before {
    content: "🎬";
    font-size: 3rem;
    margin-bottom: 10px;
}

.no-thumb::after {
    content: "No Image";
    font-size: 0.9rem;
    font-weight: 500;
}

/* Post Content */
.post-details {
    padding: 20px;
}

.post-title {
    font-size: 1.3rem;
    margin: 0 0 15px 0;
    line-height: 1.3;
    font-weight: 700;
}

.post-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    -webkit-tap-highlight-color: rgba(255,215,0,0.2);
}

.post-title a:hover {
    color: #FFD700;
}

/* Meta */
.post-meta {
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.post-meta a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-meta a:hover {
    color: #FFD700;
}

/* Rating */
.post-rating {
    margin: 15px 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,215,0,0.1);
    padding: 8px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255,215,0,0.2);
}

.star {
    color: #FFD700;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.star.empty {
    color: #555;
}

.rating-text {
    color: #FFD700;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 5px;
}

/* Excerpt */
.post-excerpt {
    color: #ccc;
    line-height: 1.5;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Read More */
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #FFD700, #FFF200);
    color: #000;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    min-height: 44px;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255,215,0,0.3);
    -webkit-tap-highlight-color: transparent;
}

.read-more::after {
    content: "→";
    font-weight: bold;
    transition: transform 0.3s ease;
}

.read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,215,0,0.4);
}

.read-more:hover::after {
    transform: translateX(3px);
}

/* Single Post */
.single-post-content {
    background: linear-gradient(135deg, #222 0%, #2a2a2a 100%);
    padding: 30px 25px;
    border-radius: 15px;
    margin: 20px 0;
    border: 2px solid rgba(255,215,0,0.2);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.single-post-title {
    color: #FFD700;
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.3;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.single-post-meta {
    text-align: center;
    color: #999;
    margin-bottom: 25px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.single-content {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #ddd;
}

.single-content h2,
.single-content h3 {
    color: #FFD700;
    margin: 25px 0 15px;
    font-weight: 600;
}

.single-content p {
    margin-bottom: 18px;
}

.single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 15px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    border-top: 3px solid #FFD700;
    padding: 40px 0 20px;
    margin-top: 60px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.footer-section h3 {
    color: #FFD700;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    padding: 8px 0;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.footer-section a:hover {
    color: #FFD700;
}

/* Newsletter */
.newsletter-form input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    margin-bottom: 10px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: #FFD700;
    background: rgba(255,255,255,0.15);
}

.newsletter-form button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #FFD700, #FFF200);
    color: #000;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    min-height: 44px;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,215,0,0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #777;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Pagination */
.pagination {
    text-align: center;
    margin: 40px 0;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    margin: 0 5px 5px 5px;
    background: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    min-width: 44px;
    min-height: 44px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.pagination a:hover,
.pagination .current {
    background: linear-gradient(135deg, #FFD700, #FFF200);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,215,0,0.3);
}

/* No Posts */
.no-posts {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255,255,255,0.03);
    border-radius: 15px;
    border: 2px solid rgba(255,215,0,0.1);
}

.no-posts h2 {
    color: #FFD700;
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.no-posts p {
    color: #999;
    font-size: 1.1rem;
    line-height: 1.5;
}

/* MOBILE RESPONSIVE STYLES */
@media (max-width: 1023px) {
    .menu-toggle {
        display: block;
        order: 3;
    }

    .site-title {
        font-size: 1.8rem;
        order: 1;
        flex: 1;
        justify-content: center;
    }

    .header-search {
        order: 2;
        max-width: 100%;
        margin: 15px 0;
        min-width: auto;
    }

    .header-wrapper {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 15px;
    }

    /* Mobile Navigation */
    .main-nav {
        order: 4;
        width: 100%;
        display: none;
        background: rgba(0,0,0,0.95);
        border-radius: 20px;
        margin-top: 20px;
        padding: 20px;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 2px solid rgba(255,215,0,0.2);
        box-shadow: 
            0 10px 30px rgba(0,0,0,0.5),
            inset 0 1px 0 rgba(255,255,255,0.1);
    }

    .main-nav.active {
        display: block;
        animation: slideDownBounce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .main-nav ul {
        flex-direction: column;
        gap: 8px;
    }

    .main-nav li {
        border-bottom: 1px solid rgba(255,215,0,0.1);
        border-radius: 15px;
        overflow: hidden;
    }

    .main-nav li:last-child {
        border-bottom: none;
    }

    .main-nav a {
        padding: 18px 25px;
        justify-content: center;
        width: 100%;
        border-radius: 15px;
        font-size: 1.05rem;
        background: rgba(255,255,255,0.05);
        margin-bottom: 5px;
    }

    .main-nav a:hover {
        background: linear-gradient(135deg, #FFD700, #FFF200);
        transform: translateX(10px);
        padding-left: 35px;
    }
}

@keyframes slideDownBounce {
    0% {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    50% {
        opacity: 0.8;
        transform: translateY(5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 767px) {
    .container {
        padding: 0 10px;
    }

    .site-header {
        padding: 15px 0;
    }

    .site-title {
        font-size: 1.6rem;
    }

    .site-title::before {
        font-size: 1.5rem;
        margin-right: 10px;
    }

    .menu-toggle {
        padding: 12px 20px;
        min-width: 110px;
        font-size: 0.85rem;
        min-height: 46px;
    }

    .search-field {
        padding: 14px 55px 14px 20px;
        font-size: 16px;
    }

    .search-submit {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }

    .hero-section {
        padding: 30px 15px;
        margin-bottom: 20px;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .posts-wrapper {
        gap: 20px;
        margin-top: 20px;
    }

    .post-thumbnail {
        height: 200px;
    }

    .post-details {
        padding: 18px 15px;
    }

    .post-title {
        font-size: 1.15rem;
        margin-bottom: 12px;
    }

    .post-meta {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }

    .post-excerpt {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .read-more {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    .single-post-content {
        padding: 20px 15px;
        margin: 10px 0;
    }

    .single-post-title {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .single-post-meta {
        font-size: 0.85rem;
        margin-bottom: 20px;
    }

    .single-content {
        font-size: 1rem;
        line-height: 1.6;
    }

    .single-content h2,
    .single-content h3 {
        font-size: 1.3rem;
        margin: 20px 0 12px;
    }

    .site-footer {
        padding: 30px 0 15px;
        margin-top: 40px;
    }

    .footer-content {
        gap: 25px;
    }

    .footer-section h3 {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .footer-section a {
        font-size: 0.9rem;
        padding: 8px 0;
    }

    .footer-bottom {
        font-size: 0.8rem;
        padding-top: 15px;
    }

    .pagination {
        margin: 30px 0;
    }

    .pagination a,
    .pagination span {
        padding: 8px 12px;
        margin: 0 2px 3px 2px;
        font-size: 0.85rem;
    }

    .no-posts {
        padding: 40px 15px;
    }

    .no-posts h2 {
        font-size: 1.4rem;
    }

    .no-posts p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 12px 0;
    }

    .site-title {
        font-size: 1.4rem;
    }

    .site-title::before {
        font-size: 1.3rem;
        margin-right: 8px;
    }

    .menu-toggle {
        padding: 10px 18px;
        min-width: 100px;
        font-size: 0.8rem;
        min-height: 44px;
    }

    .search-field {
        padding: 12px 50px 12px 18px;
    }

    .search-submit {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .hero-section h1 {
        font-size: 1.6rem;
    }

    .post-details {
        padding: 15px 12px;
    }

    .post-title {
        font-size: 1.1rem;
    }

    .single-post-content {
        padding: 18px 12px;
    }

    .single-post-title {
        font-size: 1.4rem;
    }
}

/* Tablet styles */
@media (min-width: 768px) and (max-width: 1023px) {
    .posts-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
    }

    .footer-section a {
        justify-content: flex-start;
    }
}

/* Desktop styles */
@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }

    .main-nav {
        display: block !important;
        order: 2;
        width: auto;
        background: transparent;
        margin-top: 0;
        padding: 0;
        box-shadow: none;
        border: none;
    }

    .main-nav ul {
        flex-direction: row;
        gap: 8px;
    }

    .main-nav li {
        border-bottom: none;
        border-radius: 0;
    }

    .main-nav a {
        padding: 14px 20px;
        border-radius: 30px;
        width: auto;
        background: rgba(255,255,255,0.03);
        margin-bottom: 0;
    }

    .main-nav a:hover {
        transform: translateY(-3px);
        padding-left: 20px;
    }

    .header-search {
        order: 3;
        width: auto;
        max-width: 350px;
        margin: 0;
        flex: none;
    }

    .site-title {
        order: 1;
        flex: none;
        justify-content: flex-start;
    }

    .header-wrapper {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }

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

    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        text-align: left;
    }

    .footer-section a {
        justify-content: flex-start;
    }
}

/* Additional Premium States */
.site-header.header-scrolled {
    padding: 12px 0;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.8);
}

.menu-toggle.menu-open {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%) !important;
    transform: scale(1.05);
}

.search-form.search-focused {
    transform: scale(1.02);
}

/* Touch active states */
.touch-active {
    transform: scale(0.98) !important;
    transition: transform 0.1s ease !important;
}

/* Accessibility */
.menu-toggle:focus,
.search-field:focus,
.search-submit:focus,
.main-nav a:focus,
.read-more:focus {
    outline: 3px solid rgba(255,215,0,0.5);
    outline-offset: 2px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .site-header {
        background: #000;
        border-bottom-color: #FFD700;
    }

    .site-title,
    .menu-toggle,
    .search-submit {
        border: 2px solid #FFD700;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .site-title::before {
        animation: none;
    }

    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .main-nav.active {
        animation: none;
    }
}

/* Print styles */
@media print {
    .site-header,
    .site-footer,
    .menu-toggle,
    .search-form {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .post-item,
    .single-post-content {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* Loading states */
.search-form.loading .search-submit {
    animation: searchSpin 1s linear infinite;
}

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

/* Dark mode support (already dark but for consistency) */
@media (prefers-color-scheme: dark) {
    body {
        background: #000;
        color: #fff;
    }
}

/* End of styles */
