:root {
    --bg-dark: #0a0e14;
    --card-bg: #111827;
    --primary-green: #22c55e;
    --primary-blue: #3b82f6;
    --text-white: #ffffff;
    --text-gray: #9ca3af;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header com logos e saldo */
.header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-top: 20px;
}

.logos {
    display: flex;
    align-items: center;
}

.logo-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    margin-right: -10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(255,255,255,0.2);
}

.saldo-box {
    text-align: right;
    background: rgba(255,255,255,0.05);
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

.saldo-label {
    font-size: 10px;
    color: var(--text-gray);
    text-transform: uppercase;
}

.saldo-value {
    font-weight: bold;
    font-size: 18px;
}

/* Card principal */
.card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 30px;
    width: 100%;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.check-icon {
    width: 60px;
    height: 60px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    font-size: 30px;
}

h1 {
    font-size: 28px;
    margin-bottom: 15px;
}

.description {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.highlight-text {
    font-weight: bold;
    color: var(--text-white);
    margin-bottom: 10px;
}

.blue-text {
    color: #38bdf8;
}

.btn {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    transition: transform 0.2s;
}

.btn:active {
    transform: scale(0.98);
}

/* Trading Page Styles */
.trading-status {
    font-size: 12px;
    color: #38bdf8;
    margin-bottom: 30px;
    font-weight: bold;
    letter-spacing: 1px;
}

.grid-trading {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    width: 100%;
}

.trading-item {
    background: rgba(255,255,255,0.03);
    border-radius: 16px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s;
}

.trading-item.active {
    border-color: var(--primary-green);
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.2);
}

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

.modal-content {
    background: #111827;
    border-radius: 24px;
    padding: 30px;
    width: 100%;
    max-width: 400px;
    border: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

/* Slider Customization */
input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    margin-top: -8px;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

/* Operaciones List */
.operaciones-list {
    width: 100%;
    margin-top: 20px;
}

.operacion-item {
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.05);
}

.operacion-info {
    text-align: left;
}

.operacion-title {
    font-size: 12px;
    font-weight: bold;
}

.operacion-sub {
    font-size: 10px;
    color: var(--text-gray);
}

.operacion-value {
    font-weight: bold;
    color: var(--primary-green);
}

.operacion-value.negative {
    color: #ef4444;
}


.company-logo {
    width: 35px;
    height: 35px;
    margin-bottom: 10px;
}

.company-name {
    font-weight: bold;
    font-size: 12px;
}

.company-sub {
    font-size: 10px;
    color: var(--text-gray);
}

/* VSL Page Styles */
.vsl-header {
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.3);
    color: #facc15;
    padding: 10px;
    border-radius: 12px;
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

.video-container {
    width: 100%;
    aspect-ratio: 16/9;
    background: black;
    border-radius: 12px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
}

.progress-circle {
    width: 100px;
    height: 100px;
    border: 4px solid rgba(255,255,255,0.1);
    border-top: 4px solid #ef4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.comments-section {
    width: 100%;
    margin-top: 30px;
}

.comment {
    background: rgba(255,255,255,0.03);
    border-radius: 16px;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid rgba(255,255,255,0.05);
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #333;
}

.user-name {
    font-weight: bold;
    font-size: 14px;
}

.comment-body {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.4;
}

.comment-footer {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    font-size: 11px;
    color: var(--text-gray);
}
