*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a25;
    --accent-gold: #d4af37;
    --accent-gold-light: #f4d03f;
    --accent-gold-dark: #b8962e;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b7b;
    --success: #00d4aa;
    --danger: #ff4757;
    --border: rgba(212, 175, 55, 0.2);
    --glow-gold: rgba(212, 175, 55, 0.4);

    --bs-body-bg: var(--bg-primary);
    --bs-body-color: var(--text-primary);
    --bs-body-font-family: 'DM Sans', sans-serif;
    --bs-primary: var(--accent-gold);
    --bs-success: var(--success);
    --bs-danger: var(--danger);
}
body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--bs-body-font-family);
}
.navbar {
    background: #000 !important;
    backdrop-filter: none;
    border-bottom: 1px solid var(--border);
    box-shadow: none;
}
.navbar .input-group-text {
    background: #000 !important;
    color: var(--text-secondary) !important;
    border-color: rgba(212, 175, 55, 0.25) !important;
}
.navbar .form-select {
    background: #000 !important;
    color: var(--text-primary) !important;
    border-color: rgba(212, 175, 55, 0.25) !important;
}
.navbar .form-select option {
    background: #000;
    color: var(--text-primary);
}
.navbar-brand {
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-primary) !important;
    font-family: 'Cormorant Garamond', serif;
}
.card-dashboard {
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: var(--bg-secondary);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card-dashboard:hover {
    transform: translateY(-2px);
    border-color: rgba(212, 175, 55, 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
.stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
}
.bg-indigo-light { background-color: rgba(212, 175, 55, 0.14); color: var(--accent-gold); }
.bg-green-light { background-color: rgba(0, 212, 170, 0.14); color: var(--success); }
.bg-red-light { background-color: rgba(255, 71, 87, 0.14); color: var(--danger); }
.bg-blue-light { background-color: rgba(212, 175, 55, 0.10); color: var(--accent-gold-light); }
.bg-orange-light { background-color: rgba(212, 175, 55, 0.16); color: var(--accent-gold-light); }

.table-custom th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    background-color: var(--bg-tertiary);
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}
.table-custom td {
    vertical-align: middle;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.profit-pos { color: var(--success); font-weight: 600; }
.profit-neg { color: var(--danger); font-weight: 600; }

.form-control-sm, .form-select-sm {
    border-radius: 0.5rem;
    border-color: rgba(212, 175, 55, 0.25);
    padding: 0.5rem 0.75rem;
    background: var(--bg-tertiary);
    color: var(--text-primary);
}
.form-control::placeholder { color: rgba(160, 160, 176, 0.6); }
.form-control-sm:focus, .form-select-sm:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    color: var(--bg-primary);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 100%);
    box-shadow: 0 4px 20px var(--glow-gold);
}
.btn-outline-primary {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}
.btn-outline-primary:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: var(--accent-gold-light);
    color: var(--accent-gold-light);
}
.btn-info, .btn-warning, .btn-white {
    border-radius: 0.5rem;
}
.btn-info {
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--accent-gold) !important;
}
.btn-info:hover {
    background: rgba(212, 175, 55, 0.18);
    border-color: rgba(212, 175, 55, 0.55);
}
.btn-warning {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--text-primary) !important;
}
.btn-warning:hover {
    border-color: rgba(212, 175, 55, 0.55);
    color: var(--accent-gold) !important;
}
.btn-white {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--text-primary);
}
.btn-white:hover {
    border-color: rgba(212, 175, 55, 0.55);
    color: var(--accent-gold);
}
.pagination .page-link {
    border: none;
    color: var(--text-secondary);
    margin: 0 2px;
    border-radius: 6px;
    background: transparent;
}
.pagination .page-item.active .page-link {
    background: rgba(212, 175, 55, 0.18);
    color: var(--accent-gold);
    border: 1px solid rgba(212, 175, 55, 0.35);
}
.text-muted { color: var(--text-secondary) !important; }
.text-dark { color: var(--text-primary) !important; }
.border { border-color: rgba(212, 175, 55, 0.25) !important; }
.bg-transparent { background-color: transparent !important; }
.table { color: var(--text-primary); }
.table-hover tbody tr:hover { background: rgba(255, 255, 255, 0.03); }
::selection { background: var(--accent-gold); color: var(--bg-primary); }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--accent-gold); border-radius: 4px; }

/* ==========================================================================
   HUB / ÁREA DO MEMBRO / CÓDIGO DE LIBERAÇÃO
   ========================================================================== */
.hub {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}
.hub::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 520px at 20% 35%, rgba(212, 175, 55, 0.12), transparent 60%),
        radial-gradient(900px 520px at 85% 60%, rgba(212, 175, 55, 0.10), transparent 60%);
    pointer-events: none;
}
.hub-card {
    position: relative;
    background: rgba(18, 18, 26, 0.85);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    width: min(720px, 100%);
    text-align: center;
    backdrop-filter: blur(10px);
}
.hub-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    margin-bottom: 10px;
}
.hub-subtitle { color: var(--text-secondary); margin-bottom: 20px; }
.hub-actions { display: grid; gap: 12px; }
@media (min-width: 520px) {
    .hub-actions { grid-template-columns: 1fr 1fr; }
}
.code-row {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}
.code {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 10px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
}
.meta { color: var(--text-secondary); }

/* Custom Portal Elements (Header, Logo, Custom Buttons) */
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text-primary); }
.logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
    color: var(--bg-primary);
}
.logo-text { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 700; }
.logo-text span { color: var(--accent-gold); }

/* Common Custom Buttons (Landing & Hub Pages) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: inherit;
}
.btn-login {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-primary);
}
.btn-login:hover { border-color: var(--accent-gold); color: var(--accent-gold); }

/* ==========================================================================
   LIGHT THEME / REGISTRO DE CONTA / CONTA GRAVADA / SALDOS
   ========================================================================== */
body.light-theme {
    background-color: #f3f5f9;
    color: #374151;
    font-family: 'Inter', sans-serif;
}
.light-theme-center {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}
.card-search, .card-success {
    width: 100%;
    max-width: 500px;
    border: none;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    background: white;
}
.card-success {
    padding: 3rem 2rem;
    text-align: center;
}
.icon-success {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 1.5rem;
}
body.light-theme .table-custom th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: .75rem;
    letter-spacing: .05em;
    background-color: #f9fafb;
    color: #6b7280;
    border-bottom: 1px solid #e5e7eb;
}
body.light-theme .table-custom td {
    vertical-align: middle;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
    padding: 1rem;
}
body.light-theme .navbar {
    background: #ffffff !important;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1);
}
body.light-theme .navbar-brand {
    font-weight: 700;
    color: #1f2937 !important;
    letter-spacing: -0.5px;
}

/* ==========================================================================
   NOTÍCIAS (noticia.php)
   ========================================================================== */
.news-detail-hero {
    position: relative;
    height: 450px;
    display: flex;
    align-items: flex-end;
    margin-top: 84px;
    margin-bottom: 60px;
}
.news-detail-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.news-detail-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.3) 0%, rgba(10, 10, 15, 0.98) 100%);
}
.news-detail-hero-content {
    position: relative;
    z-index: 1;
    padding: 40px 0;
    width: 100%;
}
.news-detail-category {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent-gold);
    color: var(--bg-primary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 16px;
}
.news-detail-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
    max-width: 900px;
}
.news-detail-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.news-detail-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.news-detail-content {
    max-width: 800px;
    margin: 0 auto 60px;
}
.news-detail-summary {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
    font-weight: 500;
}
.news-detail-body {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.9;
}
.news-detail-body p {
    margin-bottom: 24px;
}
.news-detail-actions {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}
.related-news {
    background: var(--bg-secondary);
    padding: 80px 0;
}
.carousel-container {
    position: relative;
    overflow: hidden;
}
.carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.4s ease;
}
.carousel-card {
    flex: 0 0 calc(25% - 18px);
    min-width: 280px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}
.carousel-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-4px);
}
.carousel-card-image {
    height: 140px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.carousel-card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    background: var(--accent-gold);
    color: var(--bg-primary);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 50px;
}
.carousel-card-content {
    padding: 16px;
}
.carousel-card-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.carousel-card-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
}
.carousel-card-excerpt {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}
.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.carousel-btn:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
}
.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    text-align: center;
}
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border);
    border-top-color: var(--accent-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}
.loading-text {
    color: var(--text-secondary);
}
.error-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    text-align: center;
    padding: 20px;
}
.error-container h2 {
    color: var(--danger);
    margin-bottom: 16px;
}
.error-container p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}
@media (max-width: 1024px) {
    .carousel-card { flex: 0 0 calc(33.333% - 16px); }
}
@media (max-width: 768px) {
    .news-detail-hero { height: 350px; margin-top: 70px; }
    .carousel-card { flex: 0 0 calc(50% - 12px); }
}
@media (max-width: 480px) {
    .carousel-card { flex: 0 0 100%; }
}

/* ==========================================================================
   LANDING PAGE (index.php / site.php)
   ========================================================================== */
html {
    scroll-behavior: smooth;
}
h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.2;
}
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}
header.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}
header.landing-header.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
header.landing-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.logo-icon::before {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--bg-primary);
    border-radius: 8px;
}
.logo-icon svg {
    position: relative;
    z-index: 1;
    color: var(--accent-gold);
}
.logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}
.logo-text span {
    color: var(--accent-gold);
}
nav.landing-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}
.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}
.hero {
    min-height: 78vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 90px 0 50px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: -50px;
    background: 
        linear-gradient(180deg, rgba(10, 10, 15, 0.7) 0%, rgba(10, 10, 15, 0.85) 50%, rgba(10, 10, 15, 0.95) 100%),
        url('https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?w=1920&q=80') center/cover no-repeat;
    z-index: 0;
}
.hero-bg-parallax {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1590283603385-17ffb3a7f29f?w=1920&q=80') center/cover no-repeat;
    opacity: 0.3;
    transform: translateZ(0);
    will-change: transform;
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
    z-index: 1;
}
.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.hero-content {
    animation: fadeInUp 0.8s ease;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--accent-gold);
    margin-bottom: 24px;
}
.hero-badge svg { width: 16px; height: 16px; }
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual {
    position: relative;
    animation: fadeInRight 0.8s ease 0.2s both;
}
.hero-logo {
    width: 100%;
    max-width: 520px;
    height: auto;
    display: block;
    margin-left: auto;
    filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.55));
}
.hero-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    overflow: hidden;
}
.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light), var(--accent-gold));
}
.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.hero-card-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    color: var(--text-secondary);
}
.hero-card-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--success);
}
.hero-card-chart {
    height: 120px;
    display: flex;
    align-items: flex-end;
    gap: 4px;
    margin-top: 24px;
}
.chart-bar {
    flex: 1;
    background: linear-gradient(180deg, var(--accent-gold) 0%, rgba(212, 175, 55, 0.3) 100%);
    border-radius: 4px 4px 0 0;
    transition: height 0.5s ease;
}
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}
.hero-stat {
    text-align: center;
    padding: 16px;
    background: var(--bg-tertiary);
    border-radius: 12px;
}
.hero-stat-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-gold);
}
.hero-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}
section.landing-section {
    padding: 100px 0;
    position: relative;
}
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}
.section-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-bottom: 16px;
}
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}
.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
}
.analytics { background: var(--bg-secondary); }
.analytics-filters {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 10px 24px;
    background: var(--bg-tertiary);
    border: 1px solid transparent;
    border-radius: 50px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    font-size: 0.9rem;
}
.filter-btn:hover, .filter-btn.active {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}
.assets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.asset-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    cursor: pointer;
}
.asset-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 30px var(--glow-gold);
}
.asset-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.asset-info { display: flex; align-items: center; gap: 12px; }
.asset-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--accent-gold);
}
.asset-name { font-weight: 600; }
.asset-symbol { font-size: 0.85rem; color: var(--text-muted); }
.asset-badge { padding: 4px 10px; border-radius: 50px; font-size: 0.75rem; font-weight: 600; }
.badge-high { background: rgba(0, 212, 170, 0.15); color: var(--success); }
.badge-low { background: rgba(255, 71, 87, 0.15); color: var(--danger); }
.asset-price {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.asset-change {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
}
.asset-change.positive { color: var(--success); }
.asset-change.negative { color: var(--danger); }
.asset-chart {
    height: 80px;
    margin-top: 20px;
    display: flex;
    align-items: flex-end;
    gap: 3px;
}
.asset-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.asset-stat { display: flex; flex-direction: column; }
.asset-stat-label { font-size: 0.75rem; color: var(--text-muted); }
.asset-stat-value { font-family: 'JetBrains Mono', monospace; font-size: 0.9rem; font-weight: 500; }
.asset-live-indicator { display: flex; align-items: center; gap: 6px; font-size: 0.7rem; color: var(--success); }
.live-dot {
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.statistics { background: var(--bg-primary); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}
.stat-card:hover { transform: translateY(-8px); border-color: var(--accent-gold); }
.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent-gold);
}
.stat-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 8px;
}
.stat-label { color: var(--text-secondary); font-size: 0.95rem; }
.stats-highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.highlight-card {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}
.highlight-card:hover { border-color: var(--accent-gold); }
.highlight-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    flex-shrink: 0;
}
.highlight-content h4 { font-family: 'DM Sans', sans-serif; font-size: 1rem; margin-bottom: 4px; }
.highlight-content p { font-size: 0.85rem; color: var(--text-muted); }
.strategies { background: var(--bg-secondary); }
.tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 48px; }
.tab {
    padding: 12px 32px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
}
.tab:hover { border-color: var(--text-secondary); color: var(--text-primary); }
.tab.active { background: var(--accent-gold); border-color: var(--accent-gold); color: var(--bg-primary); }
.strategies-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 24px; }
.strategy-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
}
.strategy-card:hover { border-color: var(--accent-gold); transform: translateY(-4px); }
.strategy-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.strategy-title { font-family: 'DM Sans', sans-serif; font-size: 1.2rem; font-weight: 600; }
.strategy-risk { padding: 4px 10px; border-radius: 50px; font-size: 0.75rem; font-weight: 600; }
.risk-high { background: rgba(255, 71, 87, 0.15); color: var(--danger); }
.risk-medium { background: rgba(212, 175, 55, 0.15); color: var(--accent-gold); }
.risk-low { background: rgba(0, 212, 170, 0.15); color: var(--success); }
.strategy-desc { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 20px; line-height: 1.6; }
.strategy-indicators { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.indicator { padding: 4px 10px; background: var(--bg-tertiary); border-radius: 50px; font-size: 0.75rem; color: var(--text-muted); }
.strategy-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; border-top: 1px solid var(--border); }
.strategy-performance { display: flex; flex-direction: column; }
.performance-label { font-size: 0.75rem; color: var(--text-muted); }
.performance-value { font-family: 'JetBrains Mono', monospace; font-size: 1.1rem; font-weight: 600; color: var(--success); }
.strategy-link { color: var(--accent-gold); font-size: 0.9rem; font-weight: 500; display: flex; align-items: center; gap: 4px; text-decoration: none; transition: gap 0.2s ease; }
.strategy-link:hover { gap: 8px; }
.news { background: var(--bg-primary); }
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.news-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}
.news-card:hover { border-color: var(--accent-gold); transform: translateY(-4px); }
.news-image {
    height: 180px;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-primary) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.news-image:empty, .news-image:not([style*="background"]) {
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-primary) 100%);
}
.news-image i { color: var(--accent-gold); opacity: 0.5; }
.news-image-placeholder { color: var(--accent-gold); opacity: 0.5; display: flex; align-items: center; justify-content: center; }
.news-detail-page { display: none; min-height: 100vh; padding-top: 100px; }
.news-detail-page.active { display: block; }
.news-carousel-section { background: var(--bg-secondary); padding: 80px 0; }
.carousel-card { flex: 0 0 calc(25% - 18px); min-width: 280px; }
.main-page { display: block; }
.main-page.hidden { display: none; }
.news-category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    background: var(--accent-gold);
    color: var(--bg-primary);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 50px;
}
.news-content { padding: 24px; }
.news-date { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 12px; }
.news-title { font-family: 'DM Sans', sans-serif; font-size: 1.1rem; font-weight: 600; margin-bottom: 12px; line-height: 1.4; }
.news-excerpt { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }
.mentorship { background: var(--bg-secondary); }
.mentorship-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.mentorship-card { background: var(--bg-primary); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; transition: all 0.3s ease; }
.mentorship-card:hover { border-color: var(--accent-gold); transform: translateY(-8px); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4); }
.mentorship-image {
    height: 200px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, var(--bg-tertiary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.mentorship-image i { color: var(--accent-gold); opacity: 0.6; }
.mentorship-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 12px;
    background: var(--bg-primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}
.mentorship-badge.online { color: var(--success); }
.mentorship-badge.presencial { color: var(--accent-gold); }
.mentorship-content { padding: 28px; }
.mentorship-type { font-size: 0.8rem; color: var(--accent-gold); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.mentorship-title { font-family: 'DM Sans', sans-serif; font-size: 1.3rem; font-weight: 600; margin-bottom: 12px; }
.mentorship-desc { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 20px; line-height: 1.6; }
.mentorship-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; border-top: 1px solid var(--border); }
.mentorship-price { display: flex; flex-direction: column; }
.price-label { font-size: 0.75rem; color: var(--text-muted); }
.price-value { font-family: 'JetBrains Mono', monospace; font-size: 1.5rem; font-weight: 700; color: var(--accent-gold); }
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-overlay .modal {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 24px;
    width: 100%;
    max-width: 440px;
    padding: 40px;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    position: relative;
}
.modal-overlay.active .modal { transform: scale(1) translateY(0); }
.modal-close { position: absolute; top: 20px; right: 20px; background: none; border: none; color: var(--text-muted); cursor: pointer; transition: color 0.2s ease; }
.modal-close:hover { color: var(--text-primary); }
.modal-header { text-align: center; margin-bottom: 32px; }
.modal-title { font-size: 1.75rem; margin-bottom: 8px; }
.modal-subtitle { color: var(--text-secondary); font-size: 0.95rem; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 8px; }
.form-input {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
}
.form-input:focus { outline: none; border-color: var(--accent-gold); box-shadow: 0 0 0 3px var(--glow-gold); }
.form-input::placeholder { color: var(--text-muted); }
.form-options { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.checkbox-wrapper { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.checkbox-wrapper input { width: 18px; height: 18px; accent-color: var(--accent-gold); }
.checkbox-wrapper span { font-size: 0.85rem; color: var(--text-secondary); }
.forgot-link { font-size: 0.85rem; color: var(--accent-gold); text-decoration: none; }
.forgot-link:hover { text-decoration: underline; }
.modal-btn { width: 100%; padding: 16px; font-size: 1rem; }
.modal-footer { text-align: center; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
.modal-footer p { color: var(--text-secondary); font-size: 0.9rem; }
.modal-footer a { color: var(--accent-gold); text-decoration: none; font-weight: 500; }
.modal-footer a:hover { text-decoration: underline; }
.login-error { margin-top: 16px; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255, 71, 87, 0.35); background: rgba(255, 71, 87, 0.08); color: #ffd3d7; font-size: 0.95rem; }
.login-success { margin-top: 16px; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(0, 212, 170, 0.35); background: rgba(0, 212, 170, 0.08); color: #bff6ea; font-size: 0.95rem; }
.modal-view { display: none; }
.modal-view.active { display: block; }
footer.landing-footer {
    background: var(--bg-primary);
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 60px; }
.footer-brand p { color: var(--text-secondary); margin-top: 16px; font-size: 0.95rem; max-width: 300px; }
.footer-social { display: flex; gap: 12px; margin-top: 24px; }
.social-link {
    width: 44px;
    height: 44px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}
.social-link:hover { border-color: var(--accent-gold); color: var(--accent-gold); }
.footer-col h4 { font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 600; margin-bottom: 20px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--accent-gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 40px; border-top: 1px solid var(--border); }
.footer-bottom p { color: var(--text-muted); font-size: 0.85rem; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; transition: color 0.2s ease; }
.footer-legal a:hover { color: var(--text-secondary); }
.loading-card { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 20px; text-align: center; }
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--accent-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}
.error-message { color: var(--danger); text-align: center; padding: 20px; }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}
.fade-in { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    nav.landing-nav { display: none; }
    .mobile-toggle { display: block; }
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        z-index: 999;
        display: none;
    }
    .nav-links.active { display: flex; }
    .hero-title { font-size: 2rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .strategies-grid, .news-grid, .mentorship-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand { display: flex; flex-direction: column; align-items: center; }
    .footer-social { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-subtitle { margin: 0 auto 40px; }
    .hero-cta { justify-content: center; }
    .hero-visual { max-width: 500px; margin: 0 auto; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-highlights { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
}
