/* --- MAIN NAVIGATION --- */
.main-nav {
    display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
    background: #ffffff; padding: 15px; border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); margin-bottom: 30px;
    border: 1px solid #f1f5f9;
}
.main-nav a {
    text-decoration: none; color: #64748b; font-weight: 600;
    padding: 10px 20px; border-radius: 10px; transition: all 0.3s ease;
    display: flex; align-items: center; gap: 8px; font-size: 0.95rem;
}
.main-nav a:hover, .main-nav a.active {
    background: #eff6ff; color: #2563eb; transform: translateY(-2px);
}
.main-nav a.zalo-link { background: #0068ff; color: white; }
.main-nav a.zalo-link:hover { background: #0054cc; box-shadow: 0 4px 10px rgba(0, 104, 255, 0.3); }

/* Common Content Layout */
.page-content { background: white; padding: 40px; border-radius: 16px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); margin-bottom: 30px; border: 1px solid #f1f5f9; }
.page-content h2 { color: #1e293b; margin-bottom: 20px; font-weight: 800; font-size: 1.8rem; border-bottom: 2px solid #f1f5f9; padding-bottom: 10px; }
.page-content h3 { color: #2563eb; margin: 25px 0 15px 0; font-size: 1.3rem; }
.page-content p { margin-bottom: 15px; color: #475569; font-size: 1.05rem; }
.page-content ul { margin-left: 20px; margin-bottom: 20px; color: #475569; }
.page-content li { margin-bottom: 10px; }

@media (max-width: 768px) {
    .main-nav { flex-direction: column; align-items: stretch; text-align: center; }
    .main-nav a { justify-content: center; }
    .page-content { padding: 20px; }
}

        /* Import Fonts */
        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&family=Patrick+Hand&family=Playfair+Display:wght@700&display=swap');

        :root {
            --primary: #2563eb;
            --primary-dark: #1e40af;
            --secondary: #64748b;
            --bg: #f8fafc;
            --card: #ffffff;
            --text-main: #1e293b;
            --text-light: #64748b;
            
            /* Color Palette */
            --col-1: #3b82f6; /* Blue */
            --col-2: #10b981; /* Green */
            --col-3: #f59e0b; /* Orange */
            --col-4: #8b5cf6; /* Purple */
            --col-5: #ef4444; /* Red */
            --col-6: #eab308; /* Yellow */
            
            /* Donate Color */
            --coffee: #FFDD00;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', system-ui, sans-serif; }
        
        body { background: var(--bg); color: var(--text-main); line-height: 1.6; padding-bottom: 40px; }
        
        .container { max-width: 1200px; margin: 0 auto; padding: 20px; }

        /* --- HEADER --- */
        header { text-align: center; margin-bottom: 40px; padding-top: 30px; }
        h1 { font-size: 2.2rem; color: var(--text-main); margin-bottom: 15px; font-weight: 800; line-height: 1.2; background: -webkit-linear-gradient(45deg, #ea580c, #facc15); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
        .subtitle { color: var(--text-light); font-size: 1.1rem; max-width: 800px; margin: 0 auto; font-style: italic;}

        /* --- LEVEL GRID --- */
        .level-grid {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 12px;
            margin-bottom: 30px;
        }

        .level-card {
            background: white;
            padding: 15px 5px;
            border-radius: 12px;
            border: 1px solid #e2e8f0;
            text-align: center;
            opacity: 0.8; 
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative; 
            cursor: pointer;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            min-height: 110px; 
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }

        /* 5. HIỆU ỨNG RÊ CHUỘT ĐẸP */
        .level-card:hover { opacity: 1; transform: translateY(-5px); box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.15); z-index: 10; border-color: var(--primary); }
        .level-card.active { opacity: 1; border: 2px solid currentColor; transform: scale(1.05); box-shadow: 0 8px 15px -3px rgba(0,0,0,0.1); z-index: 5; background-color: #fff; }

        .lvl-badge { display: inline-block; padding: 4px 8px; border-radius: 6px; color: white; font-weight: bold; font-size: 0.75rem; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
        .lvl-name { font-weight: 700; font-size: 0.85rem; line-height: 1.2; color: #334155; }
        .lvl-sub { display: block; font-size: 0.8rem; color: #64748b; margin-top: 4px; font-weight: 500; }

        /* Level Colors */
        .c-0 { background: #ef4444; } .t-0 { color: #ef4444; }
        .c-1 { background: #f97316; } .t-1 { color: #f97316; }
        .c-2 { background: #eab308; } .t-2 { color: #eab308; }
        .c-3 { background: #06b6d4; } .t-3 { color: #06b6d4; }
        .c-4 { background: #3b82f6; } .t-4 { color: #3b82f6; }
        .c-5 { background: #7e22ce; } .t-5 { color: #7e22ce; }

        /* Tooltip */
        .tooltip-box { display: none; position: absolute; bottom: 125%; left: 50%; transform: translateX(-50%); width: 260px; background: #1e293b; color: white; padding: 15px; border-radius: 8px; font-size: 0.85rem; text-align: left; box-shadow: 0 10px 25px rgba(0,0,0,0.25); pointer-events: none; z-index: 100; opacity: 0; transition: opacity 0.2s; }
        .tooltip-box::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -8px; border-width: 8px; border-style: solid; border-color: #1e293b transparent transparent transparent; }
        .level-card:hover .tooltip-box { display: block; opacity: 1; animation: fadeIn 0.2s ease-out; }
        @keyframes fadeIn { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }

        /* --- INPUT FORM --- */
        .card { background: var(--card); border-radius: 16px; padding: 30px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); margin-bottom: 30px; border: 1px solid #f1f5f9; }
        .card-header { font-size: 1.3rem; font-weight: 700; margin-bottom: 25px; padding-bottom: 10px; border-bottom: 2px solid #f1f5f9; color: var(--text-main); display: flex; align-items: center; gap: 10px; }
        
        .input-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
        label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; color: #334155; text-transform: uppercase; letter-spacing: 0.5px; }
        .input-wrapper { position: relative; }
        .input-wrapper span { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: #94a3b8; font-weight: 500; font-size: 0.9rem;}
        
        input[type="text"] { width: 100%; padding: 12px 15px; border: 1px solid #cbd5e1; border-radius: 10px; font-size: 1.1rem; font-family: 'Inter', monospace; font-weight: 600; color: #1e293b; transition: all 0.2s; background: #f8fafc; }
        input[type="text"]:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1); background: #fff; }
        
        /* Shake Animation for Validation */
        @keyframes shake { 0% { transform: translateX(0); } 25% { transform: translateX(-5px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-5px); } 100% { transform: translateX(0); } }
        .input-error { border-color: #ef4444 !important; background-color: #fef2f2 !important; animation: shake 0.3s ease-in-out; }

        /* BUTTONS GROUP */
        .btn-group { display: flex; gap: 15px; margin-top: 25px; }
        
        .btn { padding: 16px 24px; border: none; border-radius: 12px; font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: 0.3s; display: flex; justify-content: center; align-items: center; gap: 10px; }
        
        .btn-primary { flex: 2; background: linear-gradient(135deg, #2563eb, #1d4ed8); color: white; box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3); }
        .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(37, 99, 235, 0.4); background: linear-gradient(135deg, #1d4ed8, #1e40af); }
        
        /* 2. NÚT RESET */
        .btn-secondary { flex: 1; background: #f1f5f9; color: #64748b; border: 1px solid #cbd5e1; }
        .btn-secondary:hover { background: #e2e8f0; color: #334155; transform: translateY(-2px); }

        /* --- RESULT SECTION --- */
        #resultSection { display: none; animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
        @keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

        .big-result { text-align: center; padding: 40px 30px; border-radius: 16px; color: white; margin-bottom: 30px; position: relative; overflow: hidden; }
        .big-result::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(rgba(255,255,255,0.1), rgba(0,0,0,0.1)); pointer-events: none; }
        
        .result-badge { display: inline-block; background: rgba(0,0,0,0.2); padding: 6px 16px; border-radius: 30px; font-size: 0.85rem; margin-bottom: 15px; font-weight: 600; letter-spacing: 1px; backdrop-filter: blur(5px); }
        .result-title { font-size: 3rem; font-weight: 800; margin-bottom: 5px; line-height: 1.1; }
        
        .progress-container { margin-top: 25px; text-align: left; background: rgba(0,0,0,0.15); border-radius: 12px; padding: 20px; backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.1); }
        .progress-bg { height: 12px; background: rgba(255,255,255,0.2); border-radius: 6px; overflow: hidden; margin: 10px 0; }
        .progress-fill { height: 100%; background: white; width: 0%; transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 0 10px rgba(255,255,255,0.5); }
        
        /* --- 4. GLOSSARY SECTION (COLORFUL) --- */
        .info-section { background: #fff; border-radius: 16px; padding: 30px; margin-top: 40px; border: 1px solid #e2e8f0; }
        .info-title { font-weight: 800; font-size: 1.2rem; margin-bottom: 20px; color: var(--text-main); display: flex; align-items: center; gap: 10px; border-bottom: 2px solid #f1f5f9; padding-bottom: 10px; }
        
        .def-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
        
        .def-item { padding: 15px; border-radius: 10px; background: #fff; border: 1px solid #e2e8f0; border-left-width: 5px; transition: transform 0.2s; box-shadow: 0 2px 4px rgba(0,0,0,0.02); }
        .def-item:hover { transform: translateY(-3px); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
        
        .def-item h4 { font-size: 1rem; margin-bottom: 8px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
        .def-item p { font-size: 0.9rem; color: var(--text-light); line-height: 1.5; }

        /* Coloring specific items based on order */
        .def-item:nth-child(1) { border-left-color: var(--col-1); } .def-item:nth-child(1) h4 { color: var(--col-1); }
        .def-item:nth-child(2) { border-left-color: var(--col-2); } .def-item:nth-child(2) h4 { color: var(--col-2); }
        .def-item:nth-child(3) { border-left-color: var(--col-3); } .def-item:nth-child(3) h4 { color: var(--col-3); }
        .def-item:nth-child(4) { border-left-color: var(--col-4); } .def-item:nth-child(4) h4 { color: var(--col-4); }
        .def-item:nth-child(5) { border-left-color: var(--col-5); } .def-item:nth-child(5) h4 { color: var(--col-5); }
        .def-item:nth-child(6) { border-left-color: var(--col-6); } .def-item:nth-child(6) h4 { color: var(--col-6); }

        /* --- QUOTES & BOOK --- */
        .inspiration-container { display: flex; gap: 40px; margin-top: 60px; align-items: flex-start; }
        .book-column { flex: 0 0 300px; text-align: center; position: sticky; top: 20px; }
        .quotes-column { flex: 1; }

        .book-wrapper { perspective: 1000px; display: inline-block; margin-bottom: 20px; }
        .book-cover { width: 200px; height: 300px; background: linear-gradient(135deg, #1e3a8a, #2563eb); border-radius: 4px 10px 10px 4px; box-shadow: -15px 10px 20px rgba(0,0,0,0.3), inset 5px 0 10px rgba(255,255,255,0.1); position: relative; transform: rotateY(-15deg) rotateX(5deg); transition: transform 0.5s ease; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 20px; border-left: 12px solid #1e40af; }
        .book-wrapper:hover .book-cover { transform: rotateY(0deg) rotateX(0deg) scale(1.05); }
        .book-title { font-family: 'Playfair Display', serif; color: #fff; font-size: 2rem; line-height: 1; text-transform: uppercase; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); margin-bottom: 10px; border-top: 2px solid rgba(255,255,255,0.3); border-bottom: 2px solid rgba(255,255,255,0.3); padding: 15px 0; }
        .book-author { color: #93c5fd; font-size: 1rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; }
        .book-subtitle { font-size: 0.7rem; color: #e0f2fe; margin-top: auto; opacity: 0.8; font-style: italic; }

        .quotes-header h2 { font-size: 1.8rem; color: var(--text-main); font-weight: 800; margin-bottom: 5px; }
        .quotes-header p { color: var(--text-light); font-size: 1rem; margin-bottom: 30px; }

        .notes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 25px; padding: 10px; }
        .note-card { background-color: #fef08a; padding: 25px 20px 20px 20px; position: relative; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); transition: transform 0.3s ease; font-family: 'Patrick Hand', cursive; min-height: 220px; display: flex; flex-direction: column; }
        .note-pin { width: 14px; height: 14px; border-radius: 50%; background: #ef4444; position: absolute; top: -7px; left: 50%; transform: translateX(-50%); box-shadow: 2px 2px 4px rgba(0,0,0,0.2); z-index: 10; }
        .note-card:hover { transform: scale(1.05) rotate(0deg) !important; z-index: 20; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.15); }
        
        .note-yellow { background: linear-gradient(to bottom right, #fef9c3, #fef08a); transform: rotate(-1deg); }
        .note-blue { background: linear-gradient(to bottom right, #e0f2fe, #bae6fd); transform: rotate(1deg); }
        .note-purple { background: linear-gradient(to bottom right, #f3e8ff, #d8b4fe); transform: rotate(-1.5deg); }
        .note-green { background: linear-gradient(to bottom right, #dcfce7, #bbf7d0); transform: rotate(1.5deg); }
        .note-orange { background: linear-gradient(to bottom right, #ffedd5, #fed7aa); transform: rotate(2deg); }
        .note-rose { background: linear-gradient(to bottom right, #ffe4e6, #fda4af); transform: rotate(1deg); }
        .note-cyan { background: linear-gradient(to bottom right, #cffafe, #a5f3fc); transform: rotate(-1deg); }
        
        .note-content { font-size: 1.1rem; color: #334155; line-height: 1.4; flex-grow: 1; margin-top: 10px; }
        .highlight-text { background: rgba(255,255,0,0.3); padding: 0 2px; border-radius: 2px; font-weight: bold;}

        /* --- DONATE SECTION --- */
        .donate-cta { text-align: center; margin: 40px 0 20px 0; }
        .btn-donate { background-color: var(--coffee); color: #422006; padding: 14px 30px; border-radius: 50px; border: none; font-weight: 700; font-size: 1rem; cursor: pointer; box-shadow: 0 4px 15px rgba(255, 221, 0, 0.3); display: inline-flex; align-items: center; gap: 10px; transition: all 0.2s; }
        .btn-donate:hover { transform: scale(1.05); background-color: #ffea00; box-shadow: 0 6px 20px rgba(255, 221, 0, 0.4); }
        
        /* Modal Donate */
        .modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 1000; justify-content: center; align-items: center; backdrop-filter: blur(5px); }
        .modal-content { background: white; padding: 30px; border-radius: 20px; text-align: center; max-width: 400px; width: 90%; position: relative; animation: popIn 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28); box-shadow: 0 20px 50px rgba(0,0,0,0.2); }
        .close-modal { position: absolute; top: 15px; right: 20px; font-size: 1.5rem; cursor: pointer; color: #94a3b8; transition: color 0.2s; }
        .close-modal:hover { color: #1e293b; }
        .qr-img { width: 100%; max-width: 250px; border-radius: 12px; margin: 20px 0; border: 1px solid #e2e8f0; padding: 5px; }
        
        /* --- FOOTER --- */
        footer { text-align: center; font-size: 0.9rem; margin-top: 50px; padding: 30px; border-radius: 16px; background-color: #fffbeb; border: 1px solid #fcd34d; color: #b45309; }
        
        /* --- 5. RESPONSIVE --- */
        @media (max-width: 900px) {
            .level-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
            .input-grid { grid-template-columns: 1fr; gap: 20px; }
            .inspiration-container { flex-direction: column; align-items: center; }
            .book-column { position: static; margin-bottom: 30px; }
            .notes-grid { grid-template-columns: 1fr; }
            .note-card { transform: rotate(0deg) !important; margin-bottom: 10px; }
            /* Mobile Buttons */
            .btn-group { flex-direction: column; }
            .btn { width: 100%; }
        }
		
		/* --- SECURITY NOTICE --- */
		.security-notice {
			background: #fef2f2; /* Nền đỏ rất nhạt (Red-50) */
			border: 1px solid #fef2f2; /* Viền đỏ nhạt (Red-100) */
			border-left: 5px solid #fef2f2; /* Viền nhấn bên trái màu chủ đạo */
			border-radius: 12px;
			padding: 20px;
			margin-bottom: 30px; /* Cách phần nhập liệu bên dưới */
			display: flex;
			align-items: flex-start;
			gap: 15px;
			box-shadow: 0 2px 4px rgba(0,0,0,0.02);
		}

		.security-notice i {
			font-size: 1.5rem;
			color: #ff0000;
			margin-top: 2px; /* Căn chỉnh icon với dòng đầu tiên */
		}

		.notice-content h4 {
			margin: 0 0 5px 0;
			color: #ff0000; /* Màu chữ tiêu đề đậm hơn */
			font-size: 1rem;
			font-weight: 700;
		}

		.notice-content p {
			margin: 0;
			font-size: 0.95rem;
			color: #475569;
			line-height: 1.5;
		}

		/* Mobile responsive cho notice */
		@media (max-width: 600px) {
			.security-notice {
				flex-direction: column;
				gap: 10px;
			}
		}
		
		/* --- ZALO BUTTON STYLE --- */
		.contact-section {
			margin-top: 20px;
			padding-top: 20px;
			border-top: 1px dashed #f59e0b; /* Đường kẻ ngăn cách */
		}

		.zalo-btn {
			display: inline-flex;
			align-items: center;
			background-color: #0068ff; /* Màu xanh chuẩn Zalo */
			color: white !important; /* Màu chữ trắng */
			padding: 10px 20px;
			border-radius: 50px;
			text-decoration: none;
			font-weight: 700;
			font-size: 1rem;
			margin-top: 10px;
			transition: all 0.3s ease;
			box-shadow: 0 4px 10px rgba(0, 104, 255, 0.3);
			border: 1px solid #0068ff;
		}

		.zalo-btn:hover {
			background-color: #0054cc;
			transform: translateY(-2px);
			box-shadow: 0 6px 15px rgba(0, 104, 255, 0.4);
		}

		.zalo-icon {
			font-size: 1.2rem;
			margin-right: 8px;
			background: white;
			color: #0068ff;
			width: 24px;
			height: 24px;
			border-radius: 50%;
			display: flex;
			justify-content: center;
			align-items: center;
			font-size: 14px; /* Chỉnh lại size icon cho vừa vòng tròn */
		}
		
		/* --- CẬP NHẬT CSS CHO DÒNG CÔNG THỨC (Hiển thị đầy đủ) --- */
		.lvl-formula {
			margin-top: 8px;
			font-size: 0.68rem; /* Giảm font nhỏ lại (cũ là 0.75rem) */
			background-color: #f8fafc;
			border: 1px dashed #cbd5e1;
			padding: 4px 2px; /* Giảm lề để có thêm không gian cho chữ */
			border-radius: 6px;
			color: #475569;
			font-family: 'Consolas', 'Monaco', monospace;
			font-weight: 600;
			width: 98%; /* Tận dụng tối đa chiều rộng thẻ */
			
			/* QUAN TRỌNG: Cho phép xuống dòng để không bị mất chữ */
			white-space: normal; 
			line-height: 1.3;     /* Dãn dòng vừa phải dễ đọc */
			word-wrap: break-word; /* Ngắt dòng thông minh */
			min-height: 28px;      /* Giữ chiều cao đồng đều cho các ô */
			display: flex;         /* Căn giữa nội dung theo chiều dọc */
			align-items: center;
			justify-content: center;
		}

		/* Đổi màu viền công thức khi hover vào card */
		.level-card:hover .lvl-formula {
			border-color: var(--primary);
			background-color: #eff6ff;
			color: var(--primary);
		}
		
		/* --- NEW TAB SECTION STYLES --- */
		.tab-container { margin: 50px 0; background: #fff; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); overflow: hidden; border: 1px solid #e2e8f0; }

		/* Header Tabs */
		.tab-header { display: flex; padding: 10px; gap: 10px; background: #f8fafc; border-bottom: 1px solid #e2e8f0; }
		.tab-btn { 
			flex: 1; padding: 16px; border: none; background: #fff; 
			cursor: pointer; font-weight: 700; color: #64748b; 
			border-radius: 12px; transition: all 0.3s; 
			font-size: 1rem; display: flex; align-items: center; justify-content: center; gap: 10px;
			box-shadow: 0 2px 5px rgba(0,0,0,0.02);
		}

		/* Hover Effect */
		.tab-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }

		/* --- ACTIVE STATE COLORS --- */
		/* Tab 1: Jobs - Blue */
		.tab-btn.t-jobs.active { background: linear-gradient(135deg, #2563eb, #1d4ed8); color: white; box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3); }
		/* Tab 2: Invest - Green */
		.tab-btn.t-invest.active { background: linear-gradient(135deg, #059669, #047857); color: white; box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3); }
		/* Tab 3: Habits - Orange */
		.tab-btn.t-habits.active { background: linear-gradient(135deg, #d97706, #b45309); color: white; box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3); }

		/* Content Area */
		.tab-content-area { padding: 30px; background: #fff; min-height: 300px; }
		.tab-pane { display: none; animation: fadeIn 0.4s ease; }
		.tab-pane.active { display: block; }

		/* Grid Responsive: Mobile 2 cột, PC 6 cột */
		.items-grid { 
			display: grid; 
			grid-template-columns: repeat(2, 1fr); /* Mặc định Mobile 2 cột */
			gap: 15px; 
		}

		/* Tablet & PC */
		@media (min-width: 768px) {
			.items-grid { grid-template-columns: repeat(3, 1fr); }
		}
		@media (min-width: 1024px) {
			.items-grid { grid-template-columns: repeat(6, 1fr); }
		}

		/* Card Styling */
		.item-card { 
			background: #fff; border: 1px solid #f1f5f9; border-radius: 12px; 
			padding: 20px 10px; text-align: center; transition: all 0.3s; 
			display: flex; flex-direction: column; align-items: center; height: 100%;
			position: relative; overflow: hidden;
		}

		.item-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px -5px rgba(0,0,0,0.1); border-color: transparent; }

		/* Icon Styling */
		.item-icon { 
			width: 50px; height: 50px; border-radius: 50%; 
			display: flex; align-items: center; justify-content: center; 
			font-size: 1.4rem; margin-bottom: 12px; color: white; 
			box-shadow: 0 4px 10px rgba(0,0,0,0.1);
		}

		/* Text */
		.item-title { font-weight: 700; font-size: 0.9rem; margin-bottom: 4px; color: #334155; line-height: 1.3;}
		.item-desc { font-size: 0.75rem; color: #94a3b8; font-weight: 500; }

		/* Màu icon theo từng Tab */
		.theme-jobs .item-icon { background: linear-gradient(135deg, #3b82f6, #2563eb); }
		.theme-invest .item-icon { background: linear-gradient(135deg, #10b981, #059669); }
		.theme-habits .item-icon { background: linear-gradient(135deg, #f59e0b, #d97706); }

		/* Active Border Color for Cards */
		.theme-jobs .item-card:hover { border-top: 4px solid #2563eb; }
		.theme-invest .item-card:hover { border-top: 4px solid #10b981; }
		.theme-habits .item-card:hover { border-top: 4px solid #f59e0b; }
    