/* =========================================================
   ADS PAGE — SAFE WRAPPER
========================================================= */

.ads-page .content {
    padding-top: 20px;
}

.ads-line-wrapper {
    padding: 30px 0 60px;
    position: relative;
}

/* Мягкий emerald glow по центру */
.ads-line-wrapper::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 750px;
    height: 380px;
    background: radial-gradient(
        circle,
        rgba(0, 200, 150, 0.12) 0%,
        rgba(0, 200, 150, 0.05) 40%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
}

/* =========================================================
   MAIN GLASS CARD
========================================================= */

.ads-line-card {
    position: relative;
    z-index: 1;

    background: linear-gradient(
        145deg,
        rgba(15, 25, 40, 0.55),
        rgba(12, 20, 32, 0.45)
    );

    backdrop-filter: blur(35px);

    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.08);

    box-shadow:
        0 35px 90px rgba(0,0,0,0.75),
        inset 0 1px 0 rgba(255,255,255,0.05);
}

/* Лёгкий верхний блик */
.ads-line-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: radial-gradient(
        circle at 20% 10%,
        rgba(255,255,255,0.08),
        transparent 45%
    );
    pointer-events: none;
}

/* =========================================================
   BADGE
========================================================= */

.ads-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 30px;
    background: rgba(255,255,255,0.05);
    font-size: 11px;
    letter-spacing: 1px;
    margin-bottom: 18px;
    opacity: 0.85;
}

/* =========================================================
   TITLE & TEXT
========================================================= */

.ads-line-card h1 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 12px;
    max-width: 700px;
}

.ads-line-sub {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 35px;
    max-width: 750px;
}

/* =========================================================
   BENEFITS GRID
========================================================= */

.ads-line-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 35px;
}

.ads-line-item {
    background: rgba(255,255,255,0.04);
    border-radius: 18px;
    padding: 22px;
    border: 1px solid rgba(255,255,255,0.08);
    transition: 0.3s ease;
    backdrop-filter: blur(15px);
}

.ads-line-item:hover {
    border-color: rgba(0,200,150,0.35);
    transform: translateY(-4px);
    box-shadow: 0 0 40px rgba(0,200,150,0.12);
}

.ads-icon {
    font-size: 20px;
    margin-bottom: 10px;
}

.ads-line-item h3 {
    font-size: 16px;
    margin-bottom: 6px;
}

.ads-line-item p {
    font-size: 13px;
    opacity: 0.8;
    line-height: 1.6;
}

/* =========================================================
   PRICE
========================================================= */

.ads-price-line {
    font-size: 34px;
    font-weight: 600;
    color: #00C896;
    text-align: center;
    margin-bottom: 22px;
}

/* =========================================================
   BUTTON
========================================================= */

.ads-line-button {
    text-align: center;
}

.ads-line-button button {
    background: linear-gradient(135deg,#00C896,#009e78);
    border: none;
    padding: 12px 26px;
    border-radius: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-size: 14px;
}

.ads-line-button button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0,200,150,0.35);
}

/* =========================================================
   MODAL
========================================================= */

.ads-modal {
    position: fixed;
    inset: 0;
    background: rgba(8, 12, 18, 0.85);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.ads-modal.active {
    display: flex;
}

.ads-modal-card {
    width: 750px;
    max-width: 95%;
    background: rgba(15, 25, 40, 0.85);
    backdrop-filter: blur(40px);
    border-radius: 24px;
    padding: 35px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 40px 120px rgba(0,0,0,0.9);
}

/* HEADER */

.ads-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 17px;
    font-weight: 600;
}

.ads-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #fff;
}

/* =========================================================
   FORM
========================================================= */

.ads-form input,
.ads-form select,
.ads-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.05);
    color: #fff;
    font-size: 13px;
}

.ads-form textarea {
    min-height: 90px;
    resize: none;
}

.ads-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.ads-submit {
    margin-top: 18px;
    width: 100%;
}

/* =========================================================
   TOAST
========================================================= */

.ads-toast {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #00C896;
    color: #000;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 13px;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.3s;
    z-index: 3000;
}

.ads-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.ads-toast.error {
    background: #ff4d4f;
    color: #fff;
}
/* ================= SEO HIDDEN BLOCK ================= */

.seo-content{
    position:absolute;
    left:-9999px;
    top:auto;
    width:1px;
    height:1px;
    overflow:hidden;
}
