/* LeafyStopzNow — WordPress Plugin Styles */

/* ===== ANNOUNCEMENT BAR ===== */
.leafy-announcement {
    background: #1a1a1a;
    padding: 10px 0;
    text-align: center;
    width: 100%;
}
.leafy-announcement__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}
.leafy-announcement__text {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
}
.leafy-announcement__contact {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}
.leafy-announcement__contact a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.2s;
}
.leafy-announcement__contact a:hover {
    opacity: 1;
    text-decoration: underline;
}
.leafy-announcement__contact span {
    color: #ffffff;
}

/* ===== NOTICE BANNER ===== */
.leafy-notice {
    background: #1a1a1a;
    color: #fff;
    border-left: 4px solid #4CAF50;
    padding: 14px 20px;
    margin-bottom: 32px;
    border-radius: 4px;
    text-align: center;
}
.leafy-notice p {
    margin: 0 0 4px;
    font-size: 14px;
    line-height: 1.5;
}
.leafy-notice p:last-child {
    margin-bottom: 0;
    opacity: 0.8;
}

/* ===== CATEGORY SECTION ===== */
.leafy-category-section {
    padding: 24px 16px 40px;
    max-width: 1000px;
    margin: 0 auto;
}

/* ===== CATEGORY GRID ===== */
.leafy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 960px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .leafy-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
    }
}

/* ===== CATEGORY CARD ===== */
.leafy-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background: #111;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.leafy-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.28);
}
.leafy-card__link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    position: relative;
}
.leafy-card__img-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.leafy-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
    display: block;
}
.leafy-card:hover .leafy-card__img {
    transform: scale(1.06);
}
.leafy-card__label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 14px 14px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: center;
}

/* ===== AGE VERIFICATION GATE ===== */
#leafy-age-gate {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.92);
}
.leafy-age-gate__modal {
    background: #111;
    border: 1px solid #333;
    border-radius: 16px;
    padding: 48px 40px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    color: #fff;
}
.leafy-age-gate__site-name {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #4CAF50;
}
.leafy-age-gate__heading {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.2;
    color: #fff;
}
.leafy-age-gate__sub {
    font-size: 15px;
    color: #aaa;
    margin: 0 0 32px;
    line-height: 1.6;
}
.leafy-age-gate__buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-bottom: 24px;
}
.leafy-age-gate__btn {
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s;
    letter-spacing: 0.02em;
}
.leafy-age-gate__btn:hover {
    opacity: 0.85;
}
.leafy-age-gate__btn--yes {
    background: #4CAF50;
    color: #fff;
}
.leafy-age-gate__btn--no {
    background: #333;
    color: #fff;
}
.leafy-age-gate__disclaimer {
    font-size: 12px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* ===== AGE DENIED SCREEN ===== */
#leafy-age-denied {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #000;
    display: none;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    pointer-events: all;
}
.leafy-age-denied__box h2 {
    font-size: 32px;
    margin-bottom: 16px;
    color: #fff;
}
.leafy-age-denied__box p {
    font-size: 16px;
    color: #aaa;
}
