/*
Theme Name: Женский бизнес блог БУЛОЧКА (Pop-Art v41)
Theme URI: https://woman-business.vercel.app
Author: Артем Руль
Author URI: https://t.me/tyoma1610
Description: Added Club Landing Page Template
Version: 41.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bulochka-blog-clean
Tags: blog, business, women, minimal, clean
*/

:root {
    --bg: #ffffff;
    --text: #000000;
    --pink: #f582ae;
    --pink-strong: #ff4757;
    --pink-light: #ffc1dc;
    --yellow: #ffd600;
    --blue: #2f80ed;
    --coral: #ff8966;
    --gray: #f5f5f5;
    --gray-border: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */
.site-header {
    background: var(--blue);
    border-bottom: 2px solid #000000 !important;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none !important;
    box-shadow: 2px 2px 0 #000000 !important;
    object-fit: cover;
}

.logo-text h1 {
    font-size: 17px;
    font-weight: 900;
    margin: 0;
    letter-spacing: -0.3px;
    font-family: 'Montserrat', sans-serif;
    transform: none;
}

.logo-text h1 span {
    background: none;
    color: white;
    padding: 0;
    border: none;
    box-shadow: none;
    display: inline;
}

.logo-tagline {
    font-size: 12px;
    font-weight: 600;
    transform: none;
    margin-left: 0;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 2px;
}

.logo-tagline span {
    background: none;
    color: inherit;
    padding: 0;
    border: none;
    box-shadow: none;
    display: inline;
}

.main-nav {
    display: flex;
    gap: 32px;
}

.main-nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: var(--pink);
}

.main-nav .club-link {
    background: var(--yellow);
    color: var(--text);
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    border: 2px solid #000000 !important;
    box-shadow: 3px 3px 0 #000000 !important;
    transition: all 0.2s;
}

.main-nav .club-link:hover {
    background: #ffe100;
    transform: translate(1px, 1px);
    box-shadow: 2px 2px 0 #000000 !important;
}

.main-nav .app-link {
    background: var(--pink-strong);
    color: white;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    border: 2px solid #000000 !important;
    box-shadow: 3px 3px 0 #000000 !important;
    transition: all 0.2s;
}

.main-nav .app-link:hover {
    background: #ff2e43;
    transform: translate(1px, 1px);
    box-shadow: 2px 2px 0 #000000 !important;
}


/* HERO SECTION */
.hero-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--blue);
    background-image: radial-gradient(#ffffff 20%, transparent 20%), radial-gradient(#ffffff 20%, transparent 20%);
    background-position: 0 0, 20px 20px;
    background-size: 40px 40px;
    position: relative;
    overflow: hidden;
}

/* Overlay to reduce pattern intensity */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--blue);
    opacity: 0.9;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 20px;
    display: inline-block;
}

.hero-title span {
    background: var(--pink-strong);
    color: white;
    padding: 10px 20px;
    border: 3px solid black;
    box-shadow: 6px 6px 0 black;
    display: inline-block;
    transform: rotate(-2deg);
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 20px;
    display: inline-block;
}

.hero-subtitle span {
    background: var(--yellow);
    color: black;
    padding: 8px 16px;
    border: 3px solid black;
    box-shadow: 4px 4px 0 black;
    display: inline-block;
    transform: rotate(1deg);
    text-transform: uppercase;
}

/* CATEGORIES PILLS */
.categories-pills {
    padding: 20px 0 40px;
}

.pills-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.category-pill {
    padding: 8px 20px;
    border: 1px solid var(--gray-border);
    border-radius: 20px;
    background: var(--bg);
    text-decoration: none;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.category-pill:hover {
    background: var(--pink-light);
    border-color: var(--pink);
    color: var(--text);
}

.category-pill.active {
    background: var(--pink);
    border-color: var(--pink);
    color: white;
}

/* POSTS GRID */
.posts-section {
    padding: 40px 0 80px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.post-card {
    background: var(--bg);
    text-decoration: none;
    color: var(--text);
    display: block;
    transition: transform 0.2s;
}

.post-card:hover {
    transform: translateY(-4px);
}

.post-card a {
    text-decoration: none !important;
}

.post-thumbnail {
    width: 100%;
    aspect-ratio: 16/10;
    background: var(--gray);
    margin-bottom: 20px;
    object-fit: cover;
    border: 2px solid #000000;
    border-radius: 8px;
    box-shadow: 4px 4px 0 #000000;
}

.post-meta-top {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.post-category-badge {
    display: inline-block;
    padding: 6px 14px;
    border: 2px solid #000000;
    border-radius: 6px;
    /* Boxy */
    font-size: 11px;
    font-weight: 800;
    color: #000000;
    text-transform: uppercase;
    background: var(--yellow);
    /* Vibrant Yellow */
    box-shadow: 2px 2px 0 #000000;
}

.post-date {
    font-size: 13px;
    color: #555;
    font-weight: 600;
}

.post-title {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
    color: var(--text);
    text-decoration: none !important;
}



/* BOLD BACK BUTTON (v34) */
/* BOLD BACK BUTTON (v36 - Small) */
.btn-back {
    display: inline-block;
    margin-bottom: 25px;
    font-weight: 800;
    /* Match category pill */
    font-size: 12px;
    /* Smaller font */
    text-transform: uppercase;
    color: #000000;
    text-decoration: none;
    border: 2px solid #000000;
    /* Thinner border (was 3px) */
    padding: 7px 20px;
    /* Reduced padding (was 12px 28px) */
    border-radius: 999px;
    background: #ffd600;
    box-shadow: 3px 3px 0 #000000;
    /* Slightly smaller shadow */
    transition: all 0.2s;
}

.btn-back:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 #000000;
    background: #ffe100;
    color: #000;
}

.post-read-more {
    display: inline-block;
    padding: 10px 24px;
    background: var(--pink-light);
    color: var(--text);
    border: 2px solid #000000;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 2px 2px 0 #000000;
    transition: all 0.2s;
}

.post-read-more:hover {
    background: var(--pink);
    color: var(--text);
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0 #000000;
}

/* SUBSCRIPTION SECTION */
.subscription-section {
    background: var(--gray);
    padding: 40px 0 60px 0;
    margin: 0;
    /* FIXED: Removed 60px margin */
    border-top: 3px solid #000;
    /* Added separation line */
}

.subscription-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: var(--yellow);
    /* YELLOW BACKGROUND for visibility */
    padding: 40px;
    border: 2px solid #000000;
    /* Reverted to v14 */
    border-radius: 8px;
    box-shadow: 4px 4px 0 #000000;
    position: relative;
    /* For pseudo-elements */
    overflow: hidden;
    /* Keep gifts inside */
}

/* DECORATIVE GIFTS */
.subscription-card::before {
    content: "🎁";
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 60px;
    transform: rotate(-20deg);
    opacity: 0.5;
    z-index: 0;
}

.subscription-card::after {
    content: "🎁";
    position: absolute;
    bottom: -10px;
    right: -10px;
    font-size: 60px;
    transform: rotate(20deg);
    opacity: 0.5;
    z-index: 0;
}

.subscription-card h2,
.subscription-card p,
.subscription-form {
    position: relative;
    /* Bring content above gifts */
    z-index: 1;
}

.subscription-card h2 {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 16px;
}

.subscription-card p {
    font-size: 16px;
    color: #666;
    margin-bottom: 32px;
}

.subscription-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-input {
    padding: 14px 20px;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    border: 2px solid #000000;
    /* Reverted to v14 */
    border-radius: 6px;
    background: white;
    box-shadow: 2px 2px 0 #eeeeee;
    transition: all 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: #000000;
    box-shadow: 2px 2px 0 #000000;
}

.btn-submit {
    display: block;
    width: 100%;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    background: #ff3333;
    /* RED BUTTON */
    color: white;
    border: 2px solid #000000;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 4px 4px 0 #000000;
    transition: all 0.2s;
    margin-top: 10px;
}

.btn-submit:hover {
    background: #000000;
    /* BLACK ON HOVER */
    color: white;
    transform: translate(1px, 1px);
    box-shadow: 2px 2px 0 #000000;
}

/* FOOTER */
.site-footer {
    background: var(--bg);
    border-top: 2px solid #000000;
    padding: 48px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 32px;
}

.footer-logo {
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 12px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.footer-col a {
    display: block;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 500;
}

.footer-col a:hover {
    color: var(--pink);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--gray-border);
    font-size: 13px;
    color: #999;
}

/* CATEGORIES PILLS */
.categories-pills {
    padding: 30px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.pills-wrapper {
    display: flex;
    gap: 12px;
    padding-bottom: 10px;
}

.category-pill {
    display: inline-block;
    padding: 10px 24px;
    background: #ffffff;
    color: var(--text);
    border: 2px solid #000000;
    border-radius: 8px;
    /* Boxy */
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 3px 3px 0 #000000;
    /* Stonger shadow */
    transition: all 0.2s;
    white-space: nowrap;
}

.category-pill:hover {
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0 #000000;
    background: #f9f9f9;
}

.category-pill.active {
    background: var(--pink);
    color: #000000;
    box-shadow: 2px 2px 0 #000000;
}

.category-pill.active:hover {
    background: #ff6b9d;
}

/* CONTENT BLOCKS (Pop-Art Styles) */

.post-content-single h2 {
    font-size: 28px;
    font-weight: 900;
    margin-top: 40px;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: var(--text);
    border-left: 5px solid var(--pink);
    padding-left: 15px;
}

.post-content-single h3 {
    font-size: 24px;
    font-weight: 800;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text);
}

.post-content-single p {
    margin-bottom: 20px;
    font-size: 18px;
    /* Slightly larger for serif */
    line-height: 1.8;
    font-family: 'Georgia', serif;
    /* GEORGIA FONT as requested */
    color: #111;
    /* Darker text for readability */
}

/* QUOTES */
.post-content-single blockquote {
    background: var(--yellow);
    border: 2px solid #000000;
    box-shadow: 4px 4px 0 #000000;
    border-radius: 8px;
    padding: 30px;
    margin: 40px 0;
    font-size: 20px;
    /* Larger quote */
    font-weight: 400;
    /* Regular weight for Georgia */
    font-style: italic;
    font-family: 'Georgia', serif;
    /* Georgia for quotes too */
    position: relative;
}

.post-content-single blockquote::before {
    content: "💬";
    position: absolute;
    top: -15px;
    left: 20px;
    font-size: 30px;
    background: white;
    border: 2px solid black;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* LISTS */
.post-content-single ul,
.post-content-single ol {
    margin-bottom: 30px;
    padding-left: 20px;
}

.post-content-single ul li {
    list-style: none;
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-weight: 500;
    font-family: 'Georgia', serif;
    /* Georgia for Lists */
    font-size: 18px;
}

.post-content-single ul li::before {
    content: "👉";
    position: absolute;
    left: 0;
    top: 2px;
}

.post-content-single ol li {
    margin-bottom: 12px;
    font-weight: 700;
    font-family: 'Georgia', serif;
    /* Georgia for Ordered Lists */
    font-size: 18px;
}

/* IMAGES & MEDIA */
.post-content-single img,
.wp-block-image img {
    border: 2px solid #000000;
    border-radius: 8px;
    box-shadow: 4px 4px 0 #000000;
    max-width: 100%;
    height: auto;
    margin: 30px 0;
}

.wp-block-embed-youtube iframe,
.wp-block-video video {
    border: 2px solid #000000;
    border-radius: 8px;
    box-shadow: 4px 4px 0 #000000;
    width: 100%;
    aspect-ratio: 16/9;
}

/* FILES & DOWNLOADS (Lead Magnets) */
.wp-block-file {
    background: #f0f8ff;
    border: 2px solid #000000;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 4px 4px 0 #000000;
}

.wp-block-file a.wp-block-file__button {
    background: var(--pink);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    border: 2px solid #000000;
    box-shadow: 2px 2px 0 #000000;
    transition: all 0.2s;
}

.wp-block-file a.wp-block-file__button:hover {
    background: #000000;
    color: white;
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0 #000000;
}

/* AUDIO BLOCK */
.wp-block-audio figcaption {
    font-weight: 700;
    margin-bottom: 10px;
}

.wp-block-audio audio {
    width: 100%;
    border: 2px solid #000000;
    border-radius: 30px;
    /* Pill Shape Player */
    box-shadow: 4px 4px 0 #000000;
    background: #ffffff;
}

/* VIDEO BLOCK */
.wp-block-video,
.wp-block-embed {
    margin: 30px 0;
}

.wp-block-video video,
.wp-block-embed iframe {
    border: 3px solid #000000;
    border-radius: 12px;
    box-shadow: 6px 6px 0 #000000;
}

/* PREVIEW BOX (User only) */
.style-preview-box {
    background: #f0f8ff;
    border: 2px dashed var(--blue);
    padding: 40px;
    margin-bottom: 50px;
    border-radius: 12px;
}

.style-preview-label {
    background: var(--blue);
    color: white;
    display: inline-block;
    padding: 5px 15px;
    font-weight: bold;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* GAMIFICATION: WHEEL OF FORTUNE (v26 - Casino Pop-Art) */
.wheel-game-container {
    background: transparent;
    border: none;
    padding: 20px 0;
    margin: 40px 0;
    text-align: center;
    position: relative;
    overflow: visible;
}

.wheel-wrapper {
    position: relative;
    width: 260px;
    /* Larger for detail */
    height: 260px;
    margin: 20px auto;
    border-radius: 50%;
    /* RIM WITH LIGHTS EFFECT */
    background: #ff4757;
    /* Pink Rim */
    padding: 12px;
    /* Thickness of rim */
    box-shadow:
        0 0 0 4px #000000,
        /* Outer Border */
        inset 0 0 0 2px rgba(0, 0, 0, 0.2);
}

/* The "Lights" - Dashed line on the rim */
.wheel-wrapper::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border-radius: 50%;
    border: 3px dashed #ffffff;
    /* White Lights */
    pointer-events: none;
    z-index: 5;
}

.wheel-pointer {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 40px;
    background: #ffd600;
    /* Yellow Pointer */
    border: 3px solid #000;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    z-index: 20;
    /* On top of everything */
    filter: drop-shadow(0 4px 0 rgba(0, 0, 0, 0.2));
}

.wheel-spinner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid #000000;
    box-sizing: border-box;
    /* High contrast Casino Segments (Yellow/Blue) */
    background: conic-gradient(#ffd600 0deg 45deg,
            #70a1ff 45deg 90deg,
            #ffd600 90deg 135deg,
            #70a1ff 135deg 180deg,
            #ffd600 180deg 225deg,
            #70a1ff 225deg 270deg,
            #ffd600 270deg 315deg,
            #70a1ff 315deg 360deg);
    transition: transform 3s cubic-bezier(0.2, 0.8, 0.3, 1);
}

/* Center Knob */
.wheel-spinner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: #ffffff;
    border: 4px solid #000000;
    border-radius: 50%;
    z-index: 15;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.1);
}

/* Center Star/Icon */
.wheel-spinner::after {
    content: '★';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -52%);
    font-size: 24px;
    color: #000;
    z-index: 16;
}

.btn-spin {
    background: #ff4757;
    /* Pink Button */
    color: white;
    font-size: 20px;
    font-weight: 900;
    padding: 14px 40px;
    border-radius: 50px;
    border: 3px solid black;
    cursor: pointer;
    box-shadow: 4px 4px 0 black;
    transition: all 0.2s;
    text-transform: uppercase;
    margin-top: 20px;
}

.btn-spin:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 black;
}

.btn-spin:disabled {
    background: #ccc;
    cursor: wait;
}

/* WIN MODAL */
.wheel-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.wheel-modal-content {
    background: var(--yellow);
    border: 4px solid #000000;
    border-radius: 12px;
    padding: 40px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 10px 10px 0 var(--pink);
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.btn-claim {
    display: inline-block;
    background: #ff3333;
    color: white;
    font-weight: 900;
    padding: 15px 30px;
    border: 3px solid #000000;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 20px;
    box-shadow: 4px 4px 0 #000000;
}

.btn-claim:hover {
    background: #000;
    color: #fff;
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 #000;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }

    /* Show Mobile Nav */
    .main-nav {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
        width: 100%;
    }

    .main-nav a {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .hero-title {
        font-size: 24px;
        /* Slightly smaller */
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    /* Resize Gifts on Mobile */
    .subscription-card::before,
    .subscription-card::after {
        font-size: 30px;
        opacity: 0.3;
    }

    .subscription-card {
        padding: 30px 20px;
        /* Less padding */
    }
}