/* Viral Partner — стиль в унисон с Forex MarketPlace v6 Opus */

:root {
    --bg-dark: #050507;
    --bg-section: #0a0a12;
    --bg-card: #111122;
    --text-gold: #D4AF37;
    --text-white: #EAEAEA;
    --text-grey: #888899;
    --accent-blue: #00A3FF;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Manrope', sans-serif;
    --border-gold: rgba(212, 175, 55, 0.3);
    --glow-gold: rgba(212, 175, 55, 0.15);
}

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

.viral-body {
    background: linear-gradient(-45deg, #05030a, #0f0518, #1a0b2e, #090410);
    background-size: 400% 400%;
    animation: purpleFlow 15s ease infinite;
    color: var(--text-white);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

@keyframes purpleFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.gold { color: var(--text-gold); }
.gold-text { color: var(--text-gold); font-weight: 700; }

/* NAV (единый стиль с основным сайтом) */
.opus-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(8, 5, 18, 0.9), transparent);
}

.nav-logo,
.nav-logo a {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    color: #ffffff;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #a5b4fc;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--text-white);
}

.nav-links a.active {
    color: var(--text-gold);
}

.nav-btn-gold {
    border: 1px solid var(--text-gold);
    padding: 0.8rem 1.5rem;
    color: var(--text-gold) !important;
    transition: all 0.3s;
}

.nav-btn-gold:hover {
    background: rgba(212, 175, 55, 0.15);
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.lang-btn {
    color: #a5b4fc;
    cursor: pointer;
    font-size: 0.8rem;
    transition: color 0.3s;
}

.lang-btn.active {
    color: var(--text-gold);
    text-decoration: underline;
}

.lang-switcher .divider {
    color: #555;
    font-size: 0.8rem;
}

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: relative;
}

.hero-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-grey);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* BUTTONS */
.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--text-gold), #B8941E);
    color: #050507;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--text-gold);
    border: 1px solid var(--text-gold);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
}

/* SECTIONS */
.section {
    padding: 6rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-dark {
    background: rgba(0, 0, 0, 0.3);
    max-width: 100%;
    padding-left: 4rem;
    padding-right: 4rem;
}

.section-dark > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 3rem;
}

.section-text {
    text-align: center;
    color: var(--text-grey);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* ABOUT CARDS */
.about-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s;
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-card h3 {
    font-family: var(--font-heading);
    color: var(--text-gold);
    margin-bottom: 0.5rem;
}

.about-card p {
    color: var(--text-grey);
    font-size: 0.95rem;
}

/* STEPS */
.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--text-gold);
    color: var(--bg-dark);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.2rem;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.step h3 {
    font-family: var(--font-heading);
    color: var(--text-gold);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--text-grey);
    font-size: 0.9rem;
}

.step-arrow {
    color: var(--text-gold);
    font-size: 2rem;
    align-self: center;
    padding-top: 3rem;
}

/* BONUS TABLE */
.bonus-table-wrap {
    overflow-x: auto;
}

.bonus-table {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    border-collapse: collapse;
}

.bonus-table th {
    font-family: var(--font-heading);
    color: var(--text-gold);
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-gold);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.bonus-table td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 1rem;
}

.bonus-note {
    text-align: center;
    color: var(--text-grey);
    margin-top: 2rem;
    font-size: 0.95rem;
}

/* RULES */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.rule-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.rule-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.rule-card h3 {
    font-family: var(--font-heading);
    color: var(--text-gold);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.rule-card p {
    color: var(--text-grey);
    font-size: 0.9rem;
}

/* PRODUCT CARDS */
.product-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.product-card:hover {
    border-color: var(--text-gold);
    box-shadow: 0 0 30px var(--glow-gold);
}

.product-card h3 {
    font-family: var(--font-heading);
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.product-price {
    color: var(--text-gold);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-card p {
    color: var(--text-grey);
    font-size: 0.9rem;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 1.5rem 0;
}

.faq-q {
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem;
}

.faq-q::after {
    content: '+';
    color: var(--text-gold);
    font-size: 1.3rem;
    transition: transform 0.3s;
}

.faq-item.open .faq-q::after {
    transform: rotate(45deg);
}

.faq-a {
    color: var(--text-grey);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
    font-size: 0.95rem;
}

.faq-item.open .faq-a {
    max-height: 200px;
    padding-top: 1rem;
}

/* CTA */
.cta-section {
    text-align: center;
    padding: 8rem 4rem;
}

.cta-text {
    color: var(--text-grey);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* FOOTER */
.viral-footer {
    padding: 2rem 4rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-grey);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-grey);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--text-gold);
}

/* MOBILE */
@media (max-width: 768px) {
    .opus-nav {
        padding: 1rem 1.5rem;
        flex-wrap: wrap;
        gap: 1rem;
        background: #0b0b14 !important;
    }

    .nav-logo,
    .nav-logo a {
        font-size: 0.9rem;
    }

    .nav-links {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex-wrap: nowrap;
    }

    .nav-links a {
        font-size: 0.7rem;
        padding: 0.4rem 0.6rem;
        white-space: nowrap;
    }

    .nav-btn-gold {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.7rem !important;
    }

    .hero {
        padding: 6rem 1.5rem 3rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section {
        padding: 4rem 1.5rem;
    }

    .section-dark {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .about-cards,
    .product-cards {
        grid-template-columns: 1fr;
    }

    .rules-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }

    .step-arrow {
        transform: rotate(90deg);
        padding-top: 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .rules-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 1.6rem;
    }
}

/* Materials section */
.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.2rem;
    max-width: 900px;
    margin: 2rem auto 0;
}

.material-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.material-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px var(--glow-gold);
}

.material-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.material-card h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: var(--text-white);
}

.material-bonus {
    color: var(--text-gold);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.material-bonus span {
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--text-grey);
}

.btn-material {
    background: linear-gradient(135deg, var(--text-gold), #c49a2c);
    color: #000;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1.2rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-material:hover {
    opacity: 0.85;
}

.btn-material:disabled {
    opacity: 0.5;
    cursor: wait;
}

@media (max-width: 480px) {
    .materials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
}
