/* CSS для премиальной страницы Межсезонья в стиле Pepeland */
body {
    background-color: var(--card-bg) !important;
    /* Берем фон с навбара */
}

.pepe-landing-wrapper {
    background-color: var(--card-bg);
    color: var(--text-main);
    font-family: 'Onest', sans-serif;
    padding-top: 0;
    overflow-x: hidden;
}

.pepe-container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

/* Секции */
.pepe-section {
    padding: 60px 0;
}

.pepe-section-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-main);
    margin: 0 0 16px 0;
    letter-spacing: -0.02em;
}

.pepe-section-subtitle-small {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-align: center;
    margin: 0 0 50px 0;
}

/* Кнопки */
.pepe-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 0 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1;
    transition: all 0.25s ease;
    cursor: pointer;
    text-decoration: none;
    border: none;
    outline: none;
    box-sizing: border-box;
}

.pepe-btn-primary {
    background: #3b82f6;
    color: #F2EBDD;
    border: none;
}

.pepe-btn-primary:hover {
    opacity: 0.85;
    color: #F2EBDD;
    transform: translateY(-2px);
    box-shadow: none;
}

.pepe-btn-copy-ip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    gap: 12px;
    justify-content: center;
    white-space: nowrap;
    /* Гарантирует, что IP не перенесется на вторую строку */
    flex-shrink: 0;
}

.pepe-btn-copy-ip:hover {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.pepe-btn-copy-ip .ip-label {
    color: var(--text-muted);
    font-weight: 400;
}

.pepe-btn-copy-ip .ip-value {
    color: var(--text-main);
    font-weight: 600;
}

.pepe-btn-copy-ip .copy-icon {
    color: #3b82f6;
    font-size: 1.1rem;
}

.pepe-btn-outline-glow {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    width: 100%;
}

.pepe-btn-outline-glow:hover {
    background: rgba(59, 130, 246, 0.1);
    opacity: 0.85;
    transform: translateY(-2px);
}

.pepe-btn-copy-ip-block {
    background: var(--card-bg);
    border: 1px solid var(--border-highlight);
    color: var(--text-main);
    width: 100%;
    display: flex;
    justify-content: center;
    /* Центрируем текст внутри кнопки, убирая лишнее расстояние */
    align-items: center;
    height: 48px;
    padding: 0 20px;
    gap: 12px;
    white-space: nowrap;
    flex-shrink: 0;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.pepe-btn-copy-ip-block:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-highlight);
    transform: translateY(-2px);
}

.pepe-btn-copy-ip-block .ip-label {
    color: var(--text-muted);
    font-weight: 400;
}

.pepe-btn-copy-ip-block .ip-value {
    color: var(--text-main);
    font-weight: 600;
}

.pepe-btn-copy-ip-block .copy-icon {
    color: #3b82f6;
}

/* Hero Section */
.pepe-hero {
    min-height: 85vh;
    display: flex;
    align-items: flex-start;
    padding-top: 50px;
    /* Паддинг для компенсации навбара */
    padding-bottom: 120px;
    background: var(--card-bg);
    box-sizing: border-box;
}

.pepe-hero .pepe-container {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 64px;
    align-items: stretch;
    width: 100%;
    text-align: left;
}

.pepe-hero-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Large Brand Logo without icon */
.pepe-hero-logo {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 4px;
}

.pepe-logo-text {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #3b82f6;
    font-family: 'Unbounded', sans-serif;
}

.pepe-hero-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.1;
    color: #3b82f6 !important;
    max-width: 900px;
    margin: 0 0 24px 0;
    letter-spacing: -0.03em;
    text-align: left;
}

.pepe-hero-title-tagline {
    display: block;
    font-size: 1.9rem;
    color: #F2EBDD !important;
    margin-top: 12px;
    line-height: 1.3;
    font-weight: 800;
}

.pepe-hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 580px;
    margin: 0 0 56px 0;
    text-align: left;
}

.pepe-hero-actions {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.pepe-hero-notice {
    font-size: 0.8rem;
    color: rgba(242, 235, 221, 0.4);
    margin-top: auto;
    margin-bottom: 0;
    max-width: 500px;
    text-align: left;
}

/* Visual Bento Grid Styles */
.pepe-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.pepe-bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
    max-width: 480px;
    box-sizing: border-box;
}

.pepe-bento-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-highlight);
    border-radius: 16px;
    padding: 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
    text-align: left;
}

.pepe-bento-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.pepe-bento-card.span-2 {
    grid-column: span 2;
}

.pepe-bento-card h3 {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 8px 0;
    letter-spacing: -0.01em;
}

.pepe-bento-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Tags inside Survival card */
.bento-tags {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.bento-tag {
    font-size: 0.72rem;
    font-weight: 600;
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.08);
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.15);
}

/* Link inside Towns card */
.bento-link {
    font-size: 0.82rem;
    font-weight: 700;
    color: #3b82f6;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    transition: opacity 0.2s;
    width: fit-content;
}

.bento-link:hover {
    opacity: 0.85;
}

/* Media query to stack split layout on tablets/mobiles */
@media (max-width: 992px) {
    .pepe-hero .pepe-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }

    .pepe-hero-logo {
        justify-content: center;
    }

    .pepe-hero-title {
        text-align: center;
        margin: 0 auto 16px auto;
    }

    .pepe-hero-title-tagline {
        text-align: center;
    }



    .pepe-hero-subtitle {
        text-align: center;
        margin: 0 auto 32px auto;
    }

    .pepe-hero-actions {
        justify-content: center;
    }

    .pepe-hero-notice {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .pepe-bento-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .pepe-bento-card.span-2 {
        grid-column: span 1;
    }
}

/* Steps Grid */
.pepe-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.pepe-step-card {
    background: var(--card-bg);
    /* Выделение карточек тем же фоном, что и бэграунд */
    border: 1px solid var(--border-highlight);
    border-radius: 16px;
    padding: 35px 30px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.pepe-step-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}

.step-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
    align-items: center;
}

.step-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 24px;
}

.step-icon-box.icon-blue {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}



.pepe-step-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0 0 12px 0;
}

.pepe-step-card .step-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0 0 24px 0;
    min-height: 68px;
}

.step-inner-box {
    width: 100%;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    min-height: 160px;
    /* ensure uniform sizing */
}

.copy-ip-footer:hover {
    opacity: 0.8;
}

.step-user-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--border-color);
    border: 1px solid var(--border-highlight);
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
}

.step-user-avatar {
    image-rendering: pixelated;
    border-radius: 4px;
}

.step-discount-badge {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.20);
    color: #3b82f6;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.step-price-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
}

.step-price-period {
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 500;
    margin-bottom: 4px;
}

.step-price-subtext {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.3;
}

.pepe-btn-white-action {
    background: #F2EBDD;
    color: #0A0A0A;
    border: none;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 12px 20px;
    border-radius: 8px;
    width: 100%;
    text-align: center;
    transition: opacity 0.2s ease;
    cursor: pointer;
}

.pepe-btn-white-action:hover {
    opacity: 0.85;
}



.pepe-step-card .step-card-footer {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-top: auto;
}

/* CTA Section */
.pepe-cta-section {
    background: var(--card-bg);
}

.pepe-cta-card {
    max-width: 500px;
    margin: 40px auto;
    background: var(--card-bg);
    border: 1px solid var(--border-highlight);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-sizing: border-box;
    box-shadow: none;
}

.pepe-cta-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.pepe-cta-card-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
}

.cta-card-icon {
    font-size: 1.5rem;
    color: #3b82f6;
}

.pepe-cta-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}

.pepe-cta-price .price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
}

.pepe-cta-price .price-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.pepe-cta-subtext {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0 0 28px 0;
}

.pepe-cta-btn {
    width: 100%;
    margin-bottom: 20px;
}

.pepe-cta-description-link {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: underline;
}

.pepe-cta-description-link:hover {
    color: #3b82f6;
}

.pepe-cta-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.cta-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 400px;
}

.cta-feature-item .cta-icon {
    font-size: 1.2rem;
    color: #3b82f6;
}

/* FAQ / Social links grid */
.pepe-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.pepe-faq-card {
    background: var(--card-bg);
    border: 1px solid var(--border-highlight);
    border-radius: 16px;
    padding: 30px;
    box-sizing: border-box;
}

.pepe-faq-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
}

.faq-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.faq-icon-header {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.faq-icon-header.icon-blue {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.pepe-faq-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0 0 10px 0;
}

.pepe-faq-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.pepe-faq-btn {
    align-self: flex-start;
    background: var(--card-bg);
    border: 1px solid var(--border-highlight);
    color: var(--text-main);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pepe-faq-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--text-main);
}

/* Toast Notification */
.pepe-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #323338;
    border: 1px solid #3b82f6;
    color: #F2EBDD;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    /* box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); */
    z-index: 9999;
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.pepe-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .pepe-steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pepe-faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .pepe-hero {
        padding-top: 60px;
        padding-bottom: 60px;
        min-height: 100vh;
        min-height: 100dvh;
    }

    .pepe-logo-text {
        font-size: 1.8rem;
    }

    .pepe-hero-title {
        font-size: 1.85rem;
        margin-bottom: 16px;
    }

    .pepe-hero-title-tagline {
        font-size: 1.25rem;
        margin-top: 8px;
    }

    .pepe-hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .pepe-hero-actions {
        flex-direction: column;
        align-items: stretch;
        max-width: 320px;
        width: 100%;
        margin: 0 auto 20px auto;
        gap: 12px;
    }

    .pepe-hero-actions .pepe-btn {
        width: 100%;
        justify-content: center;
    }

    .pepe-section-title {
        font-size: 1.8rem;
    }

    .pepe-section {
        padding: 40px 0;
    }

    .pepe-step-card {
        padding: 24px 20px;
    }

    .pepe-faq-card {
        padding: 20px;
    }

    .pepe-cta-card {
        padding: 24px;
        margin: 20px auto;
    }

    .pepe-cta-price .price-amount {
        font-size: 2.5rem;
    }

    .pepe-cta-features {
        gap: 20px;
        margin-top: 30px;
    }

    .cta-feature-item {
        font-size: 0.9rem;
    }
}

/* Marquee running text strip */
.pepe-marquee-container {
    overflow: hidden;
    width: 100%;
    background: #0C0D0E;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding: 18px 0;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.pepe-marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 35s linear infinite;
}

.pepe-marquee-container:hover .pepe-marquee-track {
    animation-play-state: paused;
}

.pepe-marquee-list {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-right: 40px;
    white-space: nowrap;
}

.pepe-marquee-list span {
    font-family: 'Unbounded', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.pepe-marquee-list span.marquee-highlight {
    color: #3b82f6;
}

@keyframes marquee-scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Arrow Directional Divider */
.pepe-arrow-divider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 64px auto;
    max-width: 1200px;
}

.pepe-arrow-circle {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #3b82f6;
    border-radius: 50%;
    color: #F2EBDD;
    font-size: 0.8rem;
}