:root {
    --bg: #212121;
    --card-bg: #37474f;
    --bord-bg: #37474f;
    --text: #f5f5f5;
    --card-shadow: rgba(245, 245, 245, 0.5);
    --accent: #3498db;
    --accent-hover: #2980b9;
    --border: #555555;
    --header-bg: #2b323b;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, sans-serif;
    line-height: 1.5;
}
.ajaxCntntW {
    position: relative;
    min-height: 250px;
}
#loadIconSm,
#loadIcon {
    border: 16px solid var(--text);
    border-top: 16px solid var(--accent);
    border-bottom: 16px solid var(--accent);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;position: fixed;
    left: 50%;
    margin-left: -60px;
    top: 50%;
    margin-top: -60px;
    z-index: 20000;
    display: none;
    /*filter: blur(0.8px);*/
}
#loadIconSm {
    position: absolute;
    left: 50%;
    top: 180px;
    filter: none;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
body.stop-scroll-and-blur {
    height: 100vh;
    overflow: hidden;
}

body.stop-scroll-and-blur > *:not(.header):not(.c-modal):not(.modal):not(.modal-auth):not(#modal-cookie):not(.iti--container):not(.modal-hint):not(#loadIcon):not(#loadIconSm) {
    filter: blur(3.5px);
    pointer-events: none;
}
body.stop-scroll-and-blur #notifications-container,
body.stop-scroll-and-blur #notifications-container * {
    filter: blur(3.5px);
    pointer-events: none;
}

a { text-decoration: underline; color: inherit; }
a:hover { text-decoration: none; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

#particles {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ===== Header ===== */
header {
    position: fixed;
    top: 20px; left: 20px; right: 20px;
    z-index: 50;
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--header-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 12px 20px;
    border-radius: 16px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 1.2rem;
    text-decoration: none;
}
.logo span { color: var(--accent); }

.nav-links {
    display: flex;
    gap: 24px;
}
.nav-links a {
    font-size: 0.95rem;
    color: rgba(245,245,245,0.6);
    transition: color 0.2s;
    text-decoration: none;
}
.nav-links a:hover { color: var(--accent); }

.lang-dropdown {
    position: relative;
}
.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.05);
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    color: rgba(245,245,245,0.7);
    border: 1px solid transparent;
    font-size: 0.9rem;
    font-family: inherit;
    transition: background 0.2s, border-color 0.2s;
}
.lang-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(53,152,219,0.3);
}
.lang-btn svg {
    width: 14px; height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    transition: transform 0.2s;
}
.lang-btn.open svg {
    transform: rotate(180deg);
}
.lang-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: var(--header-bg);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.5);
    z-index: 100;
}
.lang-menu.open {
    display: block;
}
.lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: rgba(245,245,245,0.7);
    transition: background 0.15s, color 0.15s;
}
.lang-option:hover {
    background: rgba(53,152,219,0.15);
    color: var(--accent);
}
.lang-option.active {
    background: rgba(53,152,219,0.1);
    color: var(--accent);
    font-weight: 600;
}
.lang-option span {
    font-size: 1.1rem;
}


/* Mobile menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    background: none;
    border: none;
}
.menu-toggle span {
    width: 24px; height: 3px;
    background: var(--text);
    border-radius: 2px;
    transition: 0.3s;
}
@media (max-width: 767px) {
    .menu-toggle { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        flex-direction: column;
        background: var(--header-bg);
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 16px;
        padding: 16px;
        gap: 16px;
        margin-top: 8px;
    }
    .nav-links.open { display: flex; }
}

/* ===== Hero ===== */
main {
    padding-top: 180px;
    padding-bottom: 80px;
}
main.guestHeader {
    padding-top: 115px;
}
.hero {
    text-align: center;
    max-width: 768px;
    margin: 0 auto 60px;
}
.hero h1 {
    font-size: 3rem;
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 16px;
}
.gradient-text {
    background: linear-gradient(90deg, #fff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p {
    color: rgba(245,245,245,0.5);
    margin-bottom: 32px;
    font-size: 1.1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
@media (min-width: 640px) {
    .form-group { flex-direction: row; }
}
input[type="email"] {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    color: white;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 1rem;
    flex: 1;
    transition: border-color 0.2s, background 0.2s;
}
input[type="email"]:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255,255,255,0.1);
}
.btn-primary {
    background: var(--accent);
    color: #000;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, transform 0.1s;
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:active { transform: scale(0.98); }

.crypto-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}
.tag {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(85,85,85,0.4);
}

.stats-bar {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(55,71,79,0.8);
    border: 1px solid rgba(53,152,219,0.2);
    padding: 12px 16px;
    border-radius: 16px;
    margin-top: 32px;
    font-size: 0.9rem;
    color: rgba(245,245,245,0.6);
}
.stat-chip {
    background: rgba(53,152,219,0.15);
    border: 1px solid rgba(53,152,219,0.4);
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 700;
    color: var(--accent);
    white-space: nowrap;
}

/* ===== Sections ===== */
.section { padding: 60px 0; }
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 40px;
}

/* How it works */
.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 768px) {
    .steps { grid-template-columns: repeat(3, 1fr); }
}
.step-card {
    background: var(--card-bg);
    border: 1px solid rgba(85,85,85,0.3);
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.step-icon-wrapper {
    width: 56px; height: 56px;
    background: rgba(53,152,219,0.1);
    border: 1px solid rgba(53,152,219,0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--accent);
}
.step-number {
    position: absolute;
    top: 16px; right: 16px;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(245,245,245,0.04);
}
.step-card h3 { margin-bottom: 8px; }
.step-card p { color: rgba(245,245,245,0.5); }

/* Live payouts */
.payout-list {
    border: 1px solid rgba(85,85,85,0.3);
    border-radius: 16px;
    overflow: hidden;
}
.payout-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(85,85,85,0.2);
    transition: background 0.15s;
}
.payout-row:last-child { border-bottom: none; }
.payout-row:hover { background: rgba(255,255,255,0.03); }
.flag { width: 20px; height: 15px; border-radius: 2px; object-fit: cover; }
.user-name { font-family: monospace; color: rgba(245,245,245,0.6); }
.amount { color: var(--accent); font-weight: 600; }
.currency { color: rgba(245,245,245,0.5); margin-left: 4px; }
.type-tag {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid rgba(85,85,85,0.3);
}
.time {
    margin-left: auto;
    color: rgba(245,245,245,0.3);
    font-size: 0.8rem;
    white-space: nowrap;
}

/* FAQ */
details {
    background: var(--card-bg);
    border: 1px solid rgba(85,85,85,0.3);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}
summary {
    padding: 16px 20px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
summary::marker, summary::-webkit-details-marker { display: none; }
.faq-arrow { transition: transform 0.2s; color: var(--accent); }
details[open] .faq-arrow { transform: rotate(180deg); }
.faq-content {
    padding: 0 20px 16px 20px;
    color: rgba(245,245,245,0.6);
    line-height: 1.6;
}

/* Footer */
footer {
    border-top: 1px solid rgba(245,245,245,0.08);
    padding: 40px 0;
    color: rgba(245,245,245,0.4);
    text-align: center;
    font-size: 0.9rem;
}
.footer-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 16px;
    flex-wrap: wrap;
}
.footer-links a { color: inherit; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.6s ease forwards; }
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
.auth-error-block {
    display:none;
    color:#d9534f;
    margin-bottom:15px;
    font-size:13px;
}