/*
Theme Name: AdultZone
Theme URI: https://example.com/adultzone
Author: Your Name
Author URI: https://example.com
Description: Adult content WordPress theme with blur protection and CPABUILD integration
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: adultzone
*/

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
}

a {
    color: #ff6b9d;
    text-decoration: none;
}

a:hover {
    color: #ff8fb3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
    border-bottom: 1px solid #333;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-branding {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-title {
    font-size: 28px;
    font-weight: 700;
    color: #ff6b9d;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.site-description {
    color: #888;
    font-size: 12px;
    margin-top: 5px;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-navigation a {
    color: #ccc;
    font-weight: 500;
    transition: color 0.3s;
}

.main-navigation a:hover {
    color: #ff6b9d;
}

.header-search {
    display: flex;
    align-items: center;
}

.header-search form {
    display: flex;
    gap: 0;
}

.header-search input {
    background: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    padding: 8px 15px;
    border-radius: 25px 0 0 25px;
    font-size: 14px;
    width: 200px;
}

.header-search input:focus {
    outline: none;
    border-color: #ff6b9d;
}

.header-search button {
    background: #ff6b9d;
    border: none;
    color: #fff;
    padding: 8px 15px;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    font-size: 16px;
}

.header-search button:hover {
    background: #ff8fb3;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a0a1a 0%, #0a0a1a 100%);
    padding: 60px 0;
    text-align: center;
    border-bottom: 2px solid #ff6b9d;
}

.hero h1 {
    font-size: 42px;
    color: #fff;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero p {
    color: #aaa;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* Content Grid */
.content-area {
    padding: 40px 0;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.post-card {
    background: #151515;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #2a2a2a;
    transition: transform 0.3s, border-color 0.3s;
}

.post-card:hover {
    transform: translateY(-5px);
    border-color: #ff6b9d;
}

.post-thumbnail {
    position: relative;
    overflow: hidden;
    background: #000;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.blur-image {
    filter: blur(15px) !important;
    -webkit-filter: blur(15px) !important;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #2a2a2a;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-item.blurred-50 img {
    filter: blur(50%);
}

.blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
}

.blur-message {
    background: #1a1a1a;
    padding: 20px 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #ff6b9d;
}

.blur-message h3 {
    color: #ff6b9d;
    margin-bottom: 10px;
    font-size: 16px;
}

.blur-message p {
    color: #aaa;
    font-size: 13px;
    margin-bottom: 15px;
}

.unlock-btn {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b9d, #ff8fb3);
    color: #fff;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.unlock-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255,107,157,0.4);
}

.post-content {
    padding: 20px;
}

.post-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #fff;
}

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

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

.post-excerpt {
    color: #888;
    font-size: 14px;
    margin-bottom: 15px;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 12px;
}

/* Single Post */
.single-post .post-thumbnail {
    max-height: 600px;
}

.single-post .post-title {
    font-size: 32px;
    margin: 20px 0;
}

.single-post .post-content {
    font-size: 16px;
    line-height: 1.8;
    color: #ccc;
}

/* SEO Meta Box */
.seo-metabox {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.seo-metabox h3 {
    color: #ff6b9d;
    margin-bottom: 15px;
    font-size: 16px;
}

.seo-metabox label {
    display: block;
    color: #aaa;
    margin-bottom: 5px;
    font-size: 13px;
}

.seo-metabox input,
.seo-metabox textarea {
    width: 100%;
    background: #0a0a0a;
    border: 1px solid #333;
    color: #e0e0e0;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 14px;
}

.seo-metabox textarea {
    min-height: 80px;
    resize: vertical;
}

/* Footer */
.site-footer {
    background: #0a0a0a;
    border-top: 1px solid #333;
    padding: 40px 0;
    text-align: center;
    margin-top: 60px;
}

.site-footer p {
    color: #666;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .site-branding {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
}

.pagination a,
.pagination span {
    background: #1a1a1a;
    color: #ccc;
    padding: 10px 18px;
    border-radius: 5px;
    border: 1px solid #333;
}

.pagination a:hover,
.pagination .current {
    background: #ff6b9d;
    color: #fff;
    border-color: #ff6b9d;
}

.content-locker-wrapper {
    text-align: center;
    margin: 30px 0;
}

.unlock-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #ff6b9d, #ff8fb3);
    color: #fff;
    padding: 20px 50px;
    border-radius: 50px;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    animation: pulse 2s infinite;
    box-shadow: 0 5px 30px rgba(255,107,157,0.5);
}

.unlock-all-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 40px rgba(255,107,157,0.7);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255,107,157,0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(255,107,157,0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255,107,157,0);
    }
}

.unlock-icon {
    font-size: 24px;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.password-unlock-wrapper {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin: 30px 0;
    border: 2px solid #ff6b9d;
}

.password-unlock-wrapper .password-form p {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
}

.password-unlock-wrapper input {
    background: #0f3460;
    border: 2px solid #ff6b9d;
    color: #fff;
    font-size: 24px;
    padding: 15px 20px;
    border-radius: 10px;
    width: 150px;
    text-align: center;
    letter-spacing: 8px;
    margin-right: 10px;
}

.password-unlock-wrapper button {
    background: linear-gradient(135deg, #ff6b9d, #ff8fb3);
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.password-unlock-wrapper button:hover {
    transform: scale(1.05);
}

.password-unlock-wrapper .password-error {
    color: #e74c3c;
    margin-top: 15px;
    font-size: 14px;
}