/* ══════════════════════════════════════════════════════════════
   INTRO / LANDING PAGE
   ══════════════════════════════════════════════════════════════ */

#intro-section {
    position: relative;
    min-height: 100vh;
    background: #070d1a;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px 80px;
    color: #e2e8f0;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* Subtle animated grid background */
.intro-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridScroll 20s linear infinite;
}

@keyframes gridScroll {
    from { background-position: 0 0; }
    to   { background-position: 60px 60px; }
}

/* Radial gradient overlay */
#intro-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.intro-inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

/* ── Hero ── */
.intro-hero {
    text-align: center;
    margin-bottom: 56px;
}

.intro-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #4ade80;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 99px;
    margin-bottom: 28px;
}

.intro-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 8px #4ade80;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.8); }
}

.intro-title {
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: #f1f5f9;
    margin: 0 0 20px;
}

.intro-title-accent {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-subtitle {
    max-width: 620px;
    margin: 0 auto 36px;
    font-size: 1.05rem;
    color: #94a3b8;
    line-height: 1.7;
}

.intro-markets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.intro-markets span {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: #93c5fd;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Courier New', monospace;
    padding: 5px 14px;
    border-radius: 6px;
    letter-spacing: 0.04em;
}

/* ── Info Cards ── */
.intro-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 56px;
}

.intro-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px 24px;
    transition: border-color 0.2s, background 0.2s;
    backdrop-filter: blur(8px);
}

.intro-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    background: rgba(59, 130, 246, 0.06);
}

.intro-card--highlight {
    border-color: rgba(245, 158, 11, 0.3);
    background: rgba(245, 158, 11, 0.04);
}

.intro-card--highlight:hover {
    border-color: rgba(245, 158, 11, 0.5);
    background: rgba(245, 158, 11, 0.08);
}

.intro-card-icon {
    width: 40px;
    height: 40px;
    color: #60a5fa;
    margin-bottom: 16px;
}

.intro-card--highlight .intro-card-icon {
    color: #fbbf24;
}

.intro-card-icon svg {
    width: 100%;
    height: 100%;
}

.intro-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #e2e8f0;
    margin: 0 0 10px;
}

.intro-card p {
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.65;
    margin: 0;
}

/* ── Badge preview inside intro card ── */
.intro-badge-preview {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fbbf24;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 99px;
}

/* ── Telegram community block ── */
.intro-tg-block {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, rgba(36, 161, 222, 0.1), rgba(36, 161, 222, 0.04));
    border: 1px solid rgba(36, 161, 222, 0.3);
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.intro-tg-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    color: #38bdf8;
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.4));
}

.intro-tg-icon svg {
    width: 100%;
    height: 100%;
}

.intro-tg-text {
    flex: 1;
    min-width: 200px;
}

.intro-tg-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #38bdf8;
    margin-bottom: 6px;
}

.intro-tg-text p {
    margin: 0;
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.6;
}

.intro-tg-btn {
    flex-shrink: 0;
    display: inline-block;
    background: #24a1de;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: background 0.15s, transform 0.15s;
    white-space: nowrap;
}

.intro-tg-btn:hover {
    background: #1a8bc2;
    transform: translateY(-1px);
}

@media (max-width: 600px) {
    .intro-tg-block { flex-direction: column; align-items: flex-start; }
    .intro-tg-btn   { width: 100%; text-align: center; }
}

/* ── Footer ── */
.intro-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.intro-coming-soon {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #64748b;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
}

.intro-coming-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f59e0b;
    box-shadow: 0 0 10px #f59e0b;
    animation: pulse 2s ease-in-out infinite;
}

.intro-cta-btn {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border: none;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 40px;
    border-radius: 10px;
    cursor: pointer;
    letter-spacing: 0.02em;
    transition: opacity 0.2s, transform 0.15s;
    box-shadow: 0 4px 24px rgba(59, 130, 246, 0.35);
}

.intro-cta-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    #intro-section { padding: 40px 16px 60px; }
    .intro-cards   { grid-template-columns: 1fr; }
    .intro-footer  { align-items: center; }
}

/* ══════════════════════════════════════════════════════════════
   BADGE-VERIFIED ICON
   ══════════════════════════════════════════════════════════════ */

.badge-verified-icon {
    display: inline-block;
    color: #f59e0b;
    font-size: 16px;
    line-height: 1;
    text-shadow: 0 0 8px rgba(245, 158, 11, 0.6);
    cursor: default;
    animation: badgeGlow 3s ease-in-out infinite;
    vertical-align: middle;
    margin: 0 4px;
}

@keyframes badgeGlow {
    0%, 100% { text-shadow: 0 0 6px rgba(245, 158, 11, 0.5); }
    50%       { text-shadow: 0 0 14px rgba(245, 158, 11, 0.9), 0 0 24px rgba(245, 158, 11, 0.4); }
}

/* ══════════════════════════════════════════════════════════════
   GENERAL
   ══════════════════════════════════════════════════════════════ */

/* General */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f7f7f7;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.intro-return-btn {
    background: none;
    border: 1px solid #c7d2fe;
    color: #6366f1;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 99px;
    cursor: pointer;
    letter-spacing: 0.02em;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.intro-return-btn:hover {
    background: #eef2ff;
    color: #4338ca;
}

.login-btn {
    padding: 8px 20px;
    background: #1452f0;
    border: 0px solid #000;
    cursor: pointer;
    color: white;
    border-radius: 5px;
}

.login-btn:hover {
    background: #0d3a9e;
}

#username {
    display: block;
    font-size: 20px;
    margin-top: 5px;
    margin-left: 10px;
    margin-right: 15px;
}

#userInfo-pane {
    display: none;
}

#icon-circle {
    height: 32px;
    width: 32px;
    border-radius: 50%;
    background-color: rgb(8, 202, 132);
    background-image: radial-gradient(at 66% 77%, rgb(10, 53, 184) 0px, transparent 50%), radial-gradient(at 29% 97%, rgb(13, 207, 93) 0px, transparent 50%), radial-gradient(at 99% 86%, rgb(174, 69, 133) 0px, transparent 50%), radial-gradient(at 29% 88%, rgb(2, 26, 36) 0px, transparent 50%);
}

.prices {
    margin-top: 5px;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

.price-section {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    min-width: 250px;
}

.price-box {
    text-align: center;
}

.price-box .label {
    display: block;
    font-size: 14px;
    color: #555;
}

.price-box .value {
    margin-top: 5px;
    font-size: 20px;
    font-weight: bold;
}

.plus {
    color: green !important;
}

.minus {
    color: red !important;
}

.time-box {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
}

.time {
    font-size: 18px;
    color: #555;
}
/* Chart placeholder */
.chart-box {
    margin-top: 5px;
    height: 400px;
    background: white;
    border: 1px solid #aaa;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chart-placeholder {
    height: 400px;
    width: 100%
}

.content-section {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
/* Table Section */
.table-section {
    margin-top: 10px;
    padding: 20px;
    background: white;
    border: 1px solid #aaa;
    border-radius: 5px;
    width: 70%;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead tr {
    background: #eee;
}

th, td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

/* Pagination */
.pagination {
    margin-top: 15px;
    text-align: center;
}

.page-btn {
    padding: 5px 12px;
    border: 1px solid #aaa;
    border-radius: 5px;
    background: white;
    cursor: pointer;
}

.page-number {
    padding: 5px 10px;
    cursor: pointer;
}

.page-number.active {
    font-weight: bold;
    text-decoration: underline;
}

/* Balances */
.balances {
    width: 30%;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid #aaa;
    border-radius: 5px;
    padding: 30px;
    background: white;
}

.balance-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.balance-item label {
    font-size: 20px;
    color: #000;
}

.action-btn {
    padding: 10px 20px;
    background: #1452f0;
    border: 0px solid #000;
    cursor: pointer;
    color: white;
    border-radius: 5px;
}

.action-btn:hover {
    background: #0d3a9e;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* MODAL BOX */
.modal-content {
    width: 100%;
    max-width: 420px;
    background: white;
    border-radius: 14px;
    padding: 30px;
    position: relative;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    animation: fadeIn 0.25s ease;
}

/* CLOSE BUTTON */
.close-btn {
    position: absolute;
    right: 15px;
    top: 12px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

h2 {
    text-align: center;
}
/* GOOGLE BUTTON */
.google-btn {
    width: 100%;
    background: #4285F4;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
}

.google-btn img {
    width: 22px;
}

/* OR LINE */
.or-line {
    text-align: center;
    margin: 18px 0;
    position: relative;
}

.or-line span {
    background: white;
    padding: 0 10px;
    font-size: 14px;
    color: #777;
}

.or-line:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    height: 1px;
    width: 100%;
    background: #ddd;
    z-index: -1;
}

/* EMAIL BOX */
.email-box {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.email-box input {
    flex: 1;
    padding: 10px;
    border: 1px solid #bbb;
    border-radius: 8px;
}

.email-continue {
    padding: 10px 15px;
    background: #3b7cff;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
}

/* WALLETS */
.wallet-row {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.wallet-btn {
    width: 70px;
    height: 70px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 10px;
    cursor: pointer;
    padding: 8px;
}

.wallet-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tx-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 12px;
    flex-wrap: wrap;
}
.tx-toolbar h3 { color: #e0e0e0; font-size: 14px; margin: 0; }
.tx-filters { display: flex; gap: 8px; }
.tx-filters select {
    background: #fff;
    border: 1px solid #aaa;
    color: #000;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 12px;
    cursor: pointer;
}

/* ── Table cells ── */
.tx-empty  { text-align: center; color: #555; padding: 24px; }
.tx-error  { color: #f87171; }
.tx-hash   { font-size: 12px; font-family: monospace; }
.tx-hash a { color: #4f8ef7; text-decoration: none; }
.tx-hash a:hover { text-decoration: underline; }

/* ── Type badge ── */
.tx-type {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}
.tx-type--deposit    { background: rgba(34,197,94,.15);  color: #86efac; }
.tx-type--withdrawal { background: rgba(249,115,22,.15); color: #fdba74; }

/* ── Status badge ── */
.tx-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}
.tx-status--pending   { background: rgba(234,179,8,.15);  color: #fde68a; }
.tx-status--completed { background: rgba(34,197,94,.15);  color: #86efac; }
.tx-status--failed    { background: rgba(239,68,68,.15);  color: #fca5a5; }
.tx-status--cancelled { background: rgba(107,114,128,.15);color: #9ca3af; }

/* ── Cancel button ── */
.tx-cancel-btn {
    background: none;
    border: 1px solid #ef4444;
    color: #ef4444;
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 11px;
    cursor: pointer;
    transition: background .15s;
}
.tx-cancel-btn:hover { background: rgba(239,68,68,.15); }

/* ── Modal form ── */
.modal-help {
    color: #8888aa;
    font-size: 13px;
    margin: 0 0 20px;
    line-height: 1.5;
}
.deposit-address-box {
    background: #fff;
    border: 1px solid #aaa;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.deposit-address-box .label { color: #555; font-size: 11px; }
.deposit-address-box code {
    flex: 1;
    color: #000;
    font-size: 16px;
    word-break: break-all;
}
.copy-btn {
    background: #2e2e4a;
    border: none;
    color: #ccc;
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}
.copy-btn:hover { background: #3b3b5a; }

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 16px;
}
.form-group label { color: #aaa; font-size: 13px; }
.form-group input {
    background: #fff;
    border: 1px solid #aaa;
    border-radius: 8px;
    color: #000;
    padding: 10px 12px;
    font-size: 14px;
    outline: none;
    transition: border-color .15s;
}
.form-group input:focus { border-color: #4f8ef7; }
.form-hint { color: #555; font-size: 11px; }
.form-error {
    background: rgba(239,68,68,.12);
    border: 1px solid rgba(239,68,68,.4);
    border-radius: 6px;
    color: #fca5a5;
    font-size: 13px;
    padding: 8px 12px;
    margin-bottom: 12px;
}
.action-btn--primary {
    width: 100%;
    padding: 13px;
    font-size: 15px;
    font-weight: 600;
    background: #4f8ef7;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background .15s, opacity .15s;
}
.action-btn--primary:hover:not(:disabled) { background: #3b7de0; }
.action-btn--primary:disabled { opacity: .6; cursor: not-allowed; }

/* ── Toast notifications ── */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    color: #fff;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .25s, transform .25s;
    z-index: 9999;
    max-width: 360px;
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.toast--success { background: #16a34a; }
.toast--error   { background: #dc2626; }
.toast--visible { opacity: 1; transform: translateY(0); }

/* ANIMATION */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .prices {
        gap: 20px;
    }

    .chart-box {
        height: 200px;
    }

    .balances {
        gap: 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ── My Bots panel ───────────────────────────────────────────── */
#bots-panel {
    margin: 12px 0;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px 16px;
}

.bots-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.bots-panel-header h3 { margin: 0; font-size: 15px; color: #111; }

.bots-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bot-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 14px;
    cursor: pointer;
    min-width: 130px;
    transition: border-color .15s, box-shadow .15s;
}

.bot-card:hover { border-color: #3b82f6; }
.bot-card--active { border-color: #3b82f6; box-shadow: 0 0 0 2px #bfdbfe; }

.bot-card-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.bot-card-name { font-weight: 600; font-size: 13px; }

.bot-card-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.bot-card-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #555;
}

/* ── Bot selection modal ────────────────────────────────────── */
.bots-modal-list { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }

.bots-modal-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
}

.bots-modal-item-left { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.bots-modal-item-right { display: flex; align-items: center; gap: 8px; }

.badge { display: inline-block; padding: 2px 8px; border-radius: 12px; font-size: 11px; font-weight: 600; }
.badge-green  { background: #dcfce7; color: #166534; }
.badge-yellow { background: #fef9c3; color: #854d0e; }
.badge-red    { background: #fee2e2; color: #991b1b; }
.badge-grey   { background: #f3f4f6; color: #374151; }
.badge-blue   { background: #dbeafe; color: #1e40af; }
.badge-purple { background: #f3e8ff; color: #6b21a8; }

/* ── Leaderboard ────────────────────────────────────────────── */
.leaderboard-section {
    margin-top: 16px;
    padding: 20px;
    background: white;
    border: 1px solid #aaa;
    border-radius: 5px;
    width: 50%;
}

.leaderboard-section h3 {
    margin: 0 0 12px;
    font-size: 16px;
    color: #111;
}

/* ── Profile panel ──────────────────────────────────────────── */
.portfolio-section {
    margin-top: 16px;
    padding: 20px;
    background: white;
    border: 1px solid #aaa;
    border-radius: 5px;
    width: 50%;
}

.portfolio-section h3 {
    margin: 0 0 12px;
    font-size: 16px;
    color: #111;
}
