/* Page-specific: Money management card, tutorial cards, modals */
.container-custom {
    max-width: 1280px;
    margin: 0 auto 3rem auto;
}

.section-title {
    padding-top: 100px; /* offset fixed navbar */
}

.money-card {
    background: rgba(15, 23, 42, 0.85);
    border-radius: 1.8rem;
    padding: 2rem 1.8rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.3);
    max-width: 480px;
    margin: 0 auto;
}
.money-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 40px -15px rgba(0, 0, 0, 0.3);
    border-color: #4da8f0;
}
.money-card h3 {
    font-size: 1.9rem;
    font-weight: 800;
    background: linear-gradient(115deg, #4da8f0, #4da8f0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
}
.money-card p {
    color: #cbd5e1;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,240,0.08);
    padding: 0.4rem 1.2rem;
    border-radius: 40px;
}
.click-hint {
    font-size: 0.75rem;
    background: rgba(0,0,0,0.5);
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: 30px;
    color: #4da8f0;
    margin-top: 8px;
}

.tutorial-card {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    height: 100%;
}
.tutorial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -12px rgba(79, 70, 229, 0.15);
    border-color: #c7d2fe;
}
.logo-pair {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.logo-item {
    background: #f8fafc;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.3rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 2px solid #eef2ff;
    transition: 0.2s;
}
.tutorial-card:hover .logo-item {
    border-color: #4f46e5;
    background: #eef2ff;
}
.arrow-symbol {
    font-size: 1.8rem;
    font-weight: 600;
    color: #4f46e5;
}
.card-title-sm {
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 0.5rem;
    color: #0f172a;
}
.card-desc {
    font-size: 0.8rem;
    color: #475569;
}

/* Modal video */
.modal-content {
    border-radius: 1.2rem;
    border: none;
}
.modal-header {
    background: #0f172a;
    border-bottom: 1px solid #facc1520;
    border-radius: 1.2rem 1.2rem 0 0;
}
.ratio-16x9 iframe {
    border-radius: 0.8rem;
}
.video-wrapper {
    background: #000;
    border-radius: 1rem;
    overflow: hidden;
}
.risk-note {
    background: #fef9e6;
    padding: 0.8rem 1rem;
    border-radius: 1rem;
    border-left: 4px solid #4da8f0;
    font-size: 0.85rem;
    margin-top: 1.2rem;
}

@media (max-width: 768px) {
    .logo-item {
        width: 65px;
        height: 65px;
        font-size: 1.8rem;
    }
    .arrow-symbol {
        font-size: 1.4rem;
    }
    .section-title {
        font-size: 1.7rem;
    }
}

/* Tutorial card images */
.tutorial-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 50%;
    background: #f8fafc;
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 2px solid #eef2ff;
    transition: 0.2s;
}
.tutorial-card:hover .tutorial-img {
    border-color: #4f46e5;
    background: #eef2ff;
    transform: scale(1.02);
}
@media (max-width: 768px) {
    .tutorial-img {
        width: 55px;
        height: 55px;
    }
}

/* Light, professional tables for Money Management */
.table-light-manager {
    width: 100%;
    background-color: #ffffff;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.table-light-manager thead tr {
    background-color: #f8f9fc;
    border-bottom: 1px solid #e2e8f0;
}

.table-light-manager th {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1e293b;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #e9edf2;
    letter-spacing: 0.3px;
}

.table-light-manager td {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: #2d3a4b;
    border-bottom: 1px solid #f0f2f5;
    background-color: #ffffff;
}

.table-light-manager tbody tr:hover td {
    background-color: #fafbff;
    transition: 0.1s ease;
}

/* Optional: remove bottom border on last row */
.table-light-manager tbody tr:last-child td {
    border-bottom: none;
}

/* Small variant for profit table */
.table-light-manager.table-sm th,
.table-light-manager.table-sm td {
    padding: 0.5rem 1rem;
}

/* Center text for all cells (optional, but looks clean) */
.table-light-manager th,
.table-light-manager td {
    text-align: center;
    vertical-align: middle;
}

.money-management-card{
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(18px);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(91,60,196,.12);
    border: 1px solid rgba(139,92,246,.15);
}

.table-header{
    text-align:center;
    margin-bottom:25px;
}

.table-header h3{
    font-weight:800;
    background: linear-gradient(135deg,#8B5CF6,#3B82F6);
    -webkit-background-clip:text;
    color:transparent;
}

.table-header p{
    color:#64748b;
}

.table-grid{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:25px;
}

.table-box{
    background:#fff;
    border-radius:18px;
    padding:20px;
    box-shadow:0 8px 25px rgba(0,0,0,.05);
}

.table-box h5{
    margin-bottom:15px;
    font-weight:700;
    color:#5b3cc4;
}

.pro-table{
    width:100%;
    border-collapse:collapse;
}

.pro-table th{
    background:linear-gradient(135deg,#8B5CF6,#3B82F6);
    color:white;
    padding:14px;
}

.pro-table td{
    padding:14px;
    text-align:center;
    border-bottom:1px solid #eef2ff;
}

.pro-table tr:hover{
    background:#f8faff;
}

@media(max-width:768px){
    .table-grid{
        grid-template-columns:1fr;
    }
}